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.

72 lines
3.2 KiB

  1. //---------------------------------------------------------------------------
  2. // File: TSrvWsx.h
  3. //
  4. // Contents: TSrvWsx public include file
  5. //
  6. // Copyright: (c) 1992 - 2000, Microsoft Corporation.
  7. // All Rights Reserved.
  8. // Information Contained Herein is Proprietary
  9. // and Confidential.
  10. //
  11. // History: 17-JUL-97 BrianTa Created.
  12. //---------------------------------------------------------------------------
  13. #ifndef _TSRVWXS_H_
  14. #define _TSRVWXS_H_
  15. #include <TSrvInfo.h>
  16. #include <ctxver.h>
  17. //
  18. // Prototypes
  19. //
  20. EXTERN_C BOOL WsxInitialize(IN PICASRVPROCADDR pIcaSrvProcAddr);
  21. EXTERN_C NTSTATUS WsxWinStationInitialize(OUT PVOID *ppvContext);
  22. EXTERN_C NTSTATUS WsxWinStationReInitialize(IN OUT PVOID pvContext,
  23. IN PVOID pvWsxInfo);
  24. EXTERN_C NTSTATUS WsxWinStationRundown(IN PVOID pvContext);
  25. EXTERN_C NTSTATUS WsxDuplicateContext(IN PVOID pvContext,
  26. OUT PVOID *ppvDupContext);
  27. EXTERN_C NTSTATUS WsxCopyContext(OUT PVOID pvDstContext,
  28. IN PVOID pvSrcContext);
  29. EXTERN_C NTSTATUS WsxClearContext(IN PVOID pvContext);
  30. EXTERN_C NTSTATUS WsxIcaStackIoControl(IN PVOID pvContext,
  31. IN HANDLE hIca,
  32. IN HANDLE hStack,
  33. IN ULONG IoControlCode,
  34. IN PVOID pInBuffer,
  35. IN ULONG InBufferSize,
  36. OUT PVOID pOutBuffer,
  37. IN ULONG OutBufferSize,
  38. OUT PULONG pBytesReturned);
  39. EXTERN_C NTSTATUS WsxInitializeClientData(IN PVOID pvContext,
  40. IN HANDLE hStack,
  41. IN HANDLE hIca,
  42. IN HANDLE hIcaThinwireChannel,
  43. IN PBYTE pVideoModuleName,
  44. IN ULONG cbVideoModuleNameLen,
  45. IN PUSERCONFIG pUserConfig,
  46. IN PUSHORT HRes,
  47. IN PUSHORT VRes,
  48. IN PUSHORT fColorCaps,
  49. IN WINSTATIONDOCONNECTMSG * DoConnect);
  50. EXTERN_C NTSTATUS WsxBrokenConnection(IN PVOID pvContext,
  51. IN HANDLE hStack,
  52. IN PICA_BROKEN_CONNECTION pBroken);
  53. EXTERN_C NTSTATUS WsxEscape(IN PVOID pvContext,
  54. IN INFO_TYPE InfoType,
  55. IN PVOID pInBuffer,
  56. IN ULONG InBufferSize,
  57. OUT PVOID pOutBuffer,
  58. IN ULONG OutBufferSize,
  59. OUT PULONG pBytesReturned);
  60. #endif // _TSRVWXS_H_