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.

67 lines
2.2 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // File: TSrvCom.h
  4. //
  5. // Contents: TSrvCom public include file
  6. //
  7. // Copyright: (c) 1992 - 1997, Microsoft Corporation.
  8. // All Rights Reserved.
  9. // Information Contained Herein is Proprietary
  10. // and Confidential.
  11. //
  12. // History: 17-JUL-97 BrianTa Created.
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef _TSRVCOM_H_
  16. #define _TSRVCOM_H_
  17. #include <TSrvExp.h>
  18. //
  19. // Prototypes
  20. //
  21. T120Boolean
  22. APIENTRY
  23. TSrvGCCCallBack(GCCMessage *pGCCMessage);
  24. EXTERN_C BOOL TSrvRegisterNC(void);
  25. EXTERN_C void TSrvUnregisterNC(void);
  26. #ifdef _TSRVINFO_H_
  27. EXTERN_C NTSTATUS TSrvBindStack(PTSRVINFO pTSrvInfo);
  28. EXTERN_C NTSTATUS TSrvConfDisconnectReq(PTSRVINFO pTSrvInfo, ULONG ulReason);
  29. EXTERN_C NTSTATUS TSrvConfCreateResp(PTSRVINFO pTSrvInfo);
  30. EXTERN_C NTSTATUS TSrvValidateServerCertificate(
  31. HANDLE hStack,
  32. CERT_TYPE *pCertType,
  33. PULONG pcbServerPubKey,
  34. PBYTE *ppbServerPubKey,
  35. ULONG cbShadowRandom,
  36. PBYTE pShadowRandom,
  37. LONG ulTimeout);
  38. EXTERN_C NTSTATUS TSrvInitWDConnectInfo(IN HANDLE hStack,
  39. IN PTSRVINFO pTSrvInfo,
  40. IN OUT PUSERDATAINFO *ppUserDataInfo,
  41. IN ULONG ioctl,
  42. IN PBYTE pInBuffer,
  43. IN ULONG pInBufferSize,
  44. IN BOOLEAN bGetCert,
  45. OUT PVOID *pSecInfo);
  46. EXTERN_C NTSTATUS TSrvShadowTargetConnect(HANDLE hStack,
  47. PTSRVINFO pTSrvInfo,
  48. PBYTE pModuleData,
  49. ULONG cbModuleData);
  50. EXTERN_C NTSTATUS TSrvShadowClientConnect(HANDLE hStack, PTSRVINFO pTSrvInfo);
  51. #endif // _TSRVINFO_H_
  52. #endif // _TSRVCOM_H_