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.

91 lines
1.6 KiB

  1. /*++
  2. * File name:
  3. * misc.h
  4. * Contents:
  5. * Help functions from tclient.c
  6. *
  7. * Copyright (C) 1998-1999 Microsoft Corp.
  8. --*/
  9. #ifndef __MISCHEADER_H
  10. #define __MISCHEADER_H
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. VOID
  15. SetAllowBackgroundInput(
  16. VOID
  17. );
  18. VOID _SetClientRegistry(
  19. LPCWSTR lpszServerName,
  20. LPCWSTR lpszShell,
  21. LPCWSTR lpszUsername,
  22. LPCWSTR lpszPassword,
  23. LPCWSTR lpszDomain,
  24. INT xRes, INT yRes,
  25. INT Bpp,
  26. INT AuidioOpts,
  27. PCONNECTINFO *ppCI,
  28. INT ConnectionFlags,
  29. INT KeyboardHook
  30. );
  31. VOID _DeleteClientRegistry(PCONNECTINFO pCI);
  32. BOOL _CreateFeedbackThread(VOID);
  33. VOID _DestroyFeedbackThread(VOID);
  34. VOID ConstructCmdLine(
  35. LPCWSTR lpszServerName,
  36. LPCWSTR lpszUserName,
  37. LPCWSTR lpszPassword,
  38. LPCWSTR lpszDomain,
  39. LPCWSTR lpszShell,
  40. IN const int xRes,
  41. IN const int yRes,
  42. IN const int ConnectionFlags,
  43. LPWSTR szCommandLine,
  44. DWORD dwCmdLineSize,
  45. PCONFIGINFO pConfig
  46. );
  47. VOID
  48. ConstructLogonString(
  49. LPCWSTR lpszServerName,
  50. LPCWSTR lpszUserName,
  51. LPCWSTR lpszPassword,
  52. LPCWSTR lpszDomain,
  53. LPWSTR szLine,
  54. DWORD dwSize,
  55. PCONFIGINFO pConfig
  56. );
  57. VOID
  58. _SendRunHotkey(
  59. IN CONST PCONNECTINFO pCI,
  60. IN BOOL bFallBack
  61. );
  62. #if 0
  63. INT
  64. GetWindowTextWrp(
  65. HWND hwnd,
  66. LPWSTR szText,
  67. INT max
  68. );
  69. INT
  70. GetClassNameWrp(
  71. HWND hwnd,
  72. LPWSTR szName,
  73. INT max
  74. );
  75. #endif
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79. #endif // __MISCHEADER_H