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.0 KiB

  1. #ifndef __GDITHNK_HPP__
  2. #define __GDITHNK_HPP__
  3. /*++
  4. Copyright (C) 2000 Microsoft Corporation
  5. All rights reserved.
  6. Module Name:
  7. gdithnk.hpp
  8. Abstract:
  9. Author:
  10. Khaled Sedky (khaleds) 19-Jun-2000
  11. Revision History:
  12. --*/
  13. typedef struct PROXYMSG {
  14. PORT_MESSAGE h;
  15. ULONG cjIn;
  16. } SPROXYMSG, *PSPROXYMSG;
  17. struct PROXYMSGEXTENSION
  18. {
  19. ULONG cjIn;
  20. PVOID pvIn;
  21. ULONG cjOut;
  22. PVOID pvOut;
  23. };
  24. typedef struct PROXYMSGEXTENSION SPROXYMSGEXTENSION , *PSPROXYMSGEXTENSION;
  25. struct PROXY_MSG
  26. {
  27. PORT_MESSAGE Msg;
  28. CCHAR MsgData[ sizeof(SPROXYMSGEXTENSION) ];
  29. };
  30. typedef struct PROXY_MSG SPROXY_MSG , *PSPROXY_MSG;
  31. struct LPCMSGSTHRDDATA
  32. {
  33. PVOID pData;
  34. };
  35. typedef LPCMSGSTHRDDATA SLPCMSGSTHRDDATA,*PSLPCMSGSTHRDDATA;
  36. struct REQUESTTHRDDATA
  37. {
  38. PVOID p;
  39. HANDLE PortHandle;
  40. };
  41. typedef REQUESTTHRDDATA SREQUESTTHRDDATA,*PSREQUESTTHRDDATA;
  42. HRESULT
  43. GetCurrentUserSID(
  44. OUT PWSTR* ppszUserSID,
  45. IN OUT PDWORD pErrorCode
  46. );
  47. EXTERN_C
  48. DWORD
  49. LPCRequestsServingThread(
  50. PVOID pThrdData
  51. );
  52. #endif