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.

144 lines
2.0 KiB

  1. #ifndef __LDFUNCS_HPP__
  2. #define __LDFUNCS_HPP__
  3. #include <wingdip.h>
  4. typedef
  5. BOOL
  6. (WINAPI *PFNMONITORFNS)(
  7. PCWSTR,
  8. HWND,
  9. PCWSTR
  10. );
  11. typedef
  12. BOOL
  13. (WINAPI *PFNMONITORADD)(
  14. PCWSTR,
  15. HWND,
  16. PCWSTR,
  17. PWSTR*
  18. );
  19. typedef
  20. int
  21. (FAR WINAPI *INT_FARPROC)(
  22. HANDLE,
  23. PWSTR,
  24. WORD,
  25. PVOID,
  26. PDEVMODE
  27. );
  28. typedef
  29. ULONG
  30. (*PFNGDIPRINTERTHUNKPROC)(
  31. UMTHDR*,
  32. PVOID,
  33. ULONG
  34. );
  35. typedef
  36. VOID
  37. (FAR WINAPI *PFNPRINTUIMETHOD)(
  38. HWND,
  39. LPCWSTR,
  40. INT,
  41. LPARAM
  42. );
  43. typedef
  44. BOOL
  45. (FAR WINAPI *PFNDRVPRINTEREVENT)(
  46. LPWSTR,
  47. int,
  48. DWORD,
  49. LPARAM
  50. );
  51. typedef
  52. INT
  53. (FAR WINAPI *PFNDRVDOCUMENTEVENT)(
  54. HANDLE,
  55. HDC,
  56. INT,
  57. ULONG,
  58. PVOID,
  59. ULONG,
  60. PVOID
  61. );
  62. typedef
  63. LONG
  64. (FAR WINAPI *PFNDOCPROPSHEETS)(
  65. PPROPSHEETUI_INFO pCPSUIInfo,
  66. LPARAM lParam
  67. );
  68. typedef
  69. LONG
  70. (FAR WINAPI *PFNDEVICEPROPSHEETS)(
  71. PPROPSHEETUI_INFO pCPSUIInfo,
  72. LPARAM lParam
  73. );
  74. typedef
  75. LONG
  76. (FAR WINAPI *PFNCALLCOMMONPROPSHEETUI)(
  77. HWND hWndOwner,
  78. PFNPROPSHEETUI pfnPropSheetUI,
  79. LPARAM lParam,
  80. LPDWORD pResult
  81. );
  82. typedef
  83. LONG
  84. (FAR WINAPI *PFNPRINTUIDOCUMENTPROPERTIES)(
  85. HWND,
  86. HANDLE,
  87. LPWSTR,
  88. PDEVMODE,
  89. PDEVMODE,
  90. DWORD,
  91. DWORD
  92. );
  93. typedef
  94. BOOL
  95. (FAR WINAPI *PFNPRINTUIPRINTERSETUP)(
  96. HWND,
  97. UINT,
  98. UINT,
  99. LPWSTR,
  100. UINT*,
  101. LPCWSTR
  102. );
  103. LONG
  104. DocumentPropertySheets(
  105. IN PPROPSHEETUI_INFO pCPSUIInfo,
  106. IN LPARAM lParam
  107. );
  108. EXTERN_C
  109. DWORD
  110. GDIThunkingVIALPCThread(
  111. IN PVOID pData
  112. );
  113. enum EPortOp
  114. {
  115. KConfigurePortOp = 0,
  116. KDeletePortOp,
  117. KAddPortOp
  118. };
  119. struct SGDITHNKTHRDDATA
  120. {
  121. ULONG_PTR* pData;
  122. HANDLE hEvent;
  123. DWORD ErrorCode;
  124. };
  125. typedef struct SGDITHNKTHRDDATA SGDIThnkThrdData,*PSGDIThunkThrdData;
  126. #endif //__LDFUNCS_HPP__