Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.9 KiB

  1. #ifndef __SCFUNCSHEADER_H
  2. #define __SCFUNCSHEADER_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. * Internal exported functions
  8. */
  9. LPCSTR Wait4Str(PCONNECTINFO, LPCWSTR);
  10. LPCSTR Wait4StrTimeout(PCONNECTINFO, LPCWSTR);
  11. LPCSTR Wait4MultipleStr(PCONNECTINFO, LPCWSTR);
  12. LPCSTR Wait4MultipleStrTimeout(PCONNECTINFO, LPCWSTR);
  13. LPCSTR GetWait4MultipleStrResult(PCONNECTINFO, LPCWSTR);
  14. LPCSTR Wait4Disconnect(PCONNECTINFO);
  15. LPCSTR Wait4Connect(PCONNECTINFO);
  16. LPCSTR RegisterChat(PCONNECTINFO pCI, LPCWSTR lpszParam);
  17. LPCSTR UnregisterChat(PCONNECTINFO pCI, LPCWSTR lpszParam);
  18. LPCSTR GetDisconnectReason(PCONNECTINFO pCI);
  19. /*
  20. * Intenal functions definition
  21. */
  22. LPCSTR _Wait4ConnectTimeout(PCONNECTINFO pCI, DWORD dwTimeout);
  23. LPCSTR _Wait4ClipboardTimeout(PCONNECTINFO pCI, DWORD dwTimeout);
  24. LPCSTR _Wait4Str(PCONNECTINFO, LPCWSTR, DWORD dwTimeout, WAITTYPE);
  25. LPCSTR _WaitSomething(PCONNECTINFO pCI, PWAIT4STRING pWait, DWORD dwTimeout);
  26. VOID _CloseConnectInfo(PCONNECTINFO);
  27. LPCSTR _Login(PCONNECTINFO, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
  28. HWND _FindTopWindow(LPTSTR, LPTSTR, LONG_PTR);
  29. HWND _FindWindow(HWND, LPTSTR, LPTSTR);
  30. BOOL _IsExtendedScanCode(INT scancode);
  31. BOOL _IsSmartcardActive();
  32. DWORD _LoadSmartcardLibrary();
  33. DWORD _GetSmartcardRoutines();
  34. LPCTSTR _FirstString(IN LPCTSTR szMultiString);
  35. LPCTSTR _NextString(IN LPCTSTR szMultiString);
  36. /*
  37. * Clipboard help functions (clputil.c)
  38. */
  39. VOID
  40. Clp_GetClipboardData(
  41. UINT format,
  42. HGLOBAL hClipData,
  43. INT *pnClipDataSize,
  44. HGLOBAL *phNewData);
  45. BOOL
  46. Clp_SetClipboardData(
  47. UINT formatID,
  48. HGLOBAL hClipData,
  49. INT nClipDataSize,
  50. BOOL *pbFreeHandle);
  51. UINT
  52. Clp_GetClipboardFormat(LPCSTR szFormatLookup);
  53. BOOL
  54. Clp_EmptyClipboard(VOID);
  55. BOOL
  56. Clp_CheckEmptyClipboard(VOID);
  57. UINT
  58. _GetKnownClipboardFormatIDByName(LPCSTR szFormatName);
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif // __SCFUNCSHEADER_H