1 | #include <odin.h>
|
---|
2 | #include <odinwrap.h>
|
---|
3 | #include <os2sel.h>
|
---|
4 |
|
---|
5 | #include <os2win.h>
|
---|
6 | #include <winreg.h>
|
---|
7 | #include <winnt.h>
|
---|
8 | #include <wincon.h>
|
---|
9 | #include <winthunk.h>
|
---|
10 | #include <winuser.h>
|
---|
11 | #include <ddeml.h>
|
---|
12 | #include <dde.h>
|
---|
13 | #include <winnls.h>
|
---|
14 | #include <ntddk.h>
|
---|
15 | #include <heapstring.h>
|
---|
16 | #include <winspool.h>
|
---|
17 |
|
---|
18 | #define DBGWRAP_MODULE "WINSPOOL"
|
---|
19 | #include <dbgwrap.h>
|
---|
20 |
|
---|
21 |
|
---|
22 | DEBUGWRAP4(AbortPrinter)
|
---|
23 | DEBUGWRAP12(AddFormA)
|
---|
24 | DEBUGWRAP12(AddFormW)
|
---|
25 | DEBUGWRAP20(AddJobA)
|
---|
26 | DEBUGWRAP20(AddJobW)
|
---|
27 | DEBUGWRAP12(AddMonitorA)
|
---|
28 | DEBUGWRAP12(AddPortA)
|
---|
29 | // AddPortExA @113
|
---|
30 | // AddPortExW @114
|
---|
31 | DEBUGWRAP12(AddPortW)
|
---|
32 | DEBUGWRAP16(AddPrintProcessorA)
|
---|
33 | DEBUGWRAP16(AddPrintProcessorW)
|
---|
34 | DEBUGWRAP12(AddPrintProvidorA)
|
---|
35 | DEBUGWRAP12(AddPrintProvidorW)
|
---|
36 | DEBUGWRAP12(AddPrinterA)
|
---|
37 | DEBUGWRAP4(AddPrinterConnectionA)
|
---|
38 | // AddPrinterConnectionUI @122
|
---|
39 | DEBUGWRAP4(AddPrinterConnectionW)
|
---|
40 | DEBUGWRAP12(AddPrinterDriverA)
|
---|
41 | DEBUGWRAP12(AddPrinterDriverW)
|
---|
42 | DEBUGWRAP12(AddPrinterW)
|
---|
43 | DEBUGWRAP20(AdvancedDocumentPropertiesA)
|
---|
44 | // AdvancedSetupDialog @129
|
---|
45 | DEBUGWRAP4(ClosePrinter)
|
---|
46 | DEBUGWRAP12(ConfigurePortA)
|
---|
47 | DEBUGWRAP12(ConfigurePortW)
|
---|
48 | DEBUGWRAP8(ConnectToPrinterDlg)
|
---|
49 | // ConvertAnsiDevModeToUnicodeDevmode @134
|
---|
50 | // ConvertUnicodeDevModeToAnsiDevmode @135
|
---|
51 | // CreatePrinterIC @136
|
---|
52 | // DEVICECAPABILITIES @137
|
---|
53 | // DEVICEMODE @138
|
---|
54 | DEBUGWRAP8(DeleteFormA)
|
---|
55 | DEBUGWRAP8(DeleteFormW)
|
---|
56 | DEBUGWRAP12(DeleteMonitorA)
|
---|
57 | DEBUGWRAP12(DeleteMonitorW)
|
---|
58 | DEBUGWRAP12(DeletePortA)
|
---|
59 | DEBUGWRAP12(DeletePortW)
|
---|
60 | DEBUGWRAP12(DeletePrintProcessorA)
|
---|
61 | DEBUGWRAP12(DeletePrintProcessorW)
|
---|
62 | DEBUGWRAP12(DeletePrintProvidorA)
|
---|
63 | DEBUGWRAP12(DeletePrintProvidorW)
|
---|
64 | DEBUGWRAP4(DeletePrinter)
|
---|
65 | DEBUGWRAP4(DeletePrinterConnectionA)
|
---|
66 | DEBUGWRAP4(DeletePrinterConnectionW)
|
---|
67 | DEBUGWRAP8(DeletePrinterDataA)
|
---|
68 | DEBUGWRAP8(DeletePrinterDataW)
|
---|
69 | DEBUGWRAP12(DeletePrinterDriverA)
|
---|
70 | DEBUGWRAP12(DeletePrinterDriverW)
|
---|
71 | // DeletePrinterIC @156
|
---|
72 | // DevQueryPrint @157
|
---|
73 | // DevQueryPrintEx @158
|
---|
74 | DEBUGWRAP20(DeviceCapabilitiesA)
|
---|
75 | DEBUGWRAP20(DeviceCapabilitiesW)
|
---|
76 | // DeviceMode @162
|
---|
77 | // DevicePropertySheets @163
|
---|
78 | // DocumentEvent @164
|
---|
79 | DEBUGWRAP24(DocumentPropertiesA)
|
---|
80 | DEBUGWRAP24(DocumentPropertiesW)
|
---|
81 | // DocumentPropertySheets @167
|
---|
82 | // EXTDEVICEMODE @168
|
---|
83 | DEBUGWRAP4(EndDocPrinter)
|
---|
84 | DEBUGWRAP4(EndPagePrinter)
|
---|
85 | DEBUGWRAP24(EnumFormsA)
|
---|
86 | DEBUGWRAP24(EnumFormsW)
|
---|
87 | DEBUGWRAP32(EnumJobsA)
|
---|
88 | DEBUGWRAP32(EnumJobsW)
|
---|
89 | DEBUGWRAP24(EnumMonitorsA)
|
---|
90 | DEBUGWRAP24(EnumMonitorsW)
|
---|
91 | DEBUGWRAP24(EnumPortsA)
|
---|
92 | DEBUGWRAP24(EnumPortsW)
|
---|
93 | DEBUGWRAP28(EnumPrintProcessorDatatypesA)
|
---|
94 | DEBUGWRAP28(EnumPrintProcessorDatatypesW)
|
---|
95 | DEBUGWRAP28(EnumPrintProcessorsA)
|
---|
96 | DEBUGWRAP28(EnumPrintProcessorsW)
|
---|
97 | DEBUGWRAP36(EnumPrinterDataA)
|
---|
98 | DEBUGWRAP36(EnumPrinterDataW)
|
---|
99 | DEBUGWRAP28(EnumPrinterDriversA)
|
---|
100 | DEBUGWRAP28(EnumPrintersA)
|
---|
101 | DEBUGWRAP28(EnumPrintersW)
|
---|
102 | // ExtDeviceMode @189
|
---|
103 | DEBUGWRAP4(FindClosePrinterChangeNotification)
|
---|
104 | DEBUGWRAP16(FindFirstPrinterChangeNotification)
|
---|
105 | DEBUGWRAP16(FindNextPrinterChangeNotification)
|
---|
106 | DEBUGWRAP4(FreePrinterNotifyInfo)
|
---|
107 | DEBUGWRAP24(GetFormA)
|
---|
108 | DEBUGWRAP24(GetFormW)
|
---|
109 | DEBUGWRAP24(GetJobA)
|
---|
110 | DEBUGWRAP24(GetJobW)
|
---|
111 | DEBUGWRAP24(GetPrintProcessorDirectoryA)
|
---|
112 | DEBUGWRAP24(GetPrintProcessorDirectoryW)
|
---|
113 | DEBUGWRAP20(GetPrinterA)
|
---|
114 | DEBUGWRAP24(GetPrinterDataA)
|
---|
115 | DEBUGWRAP24(GetPrinterDataW)
|
---|
116 | DEBUGWRAP24(GetPrinterDriverA)
|
---|
117 | DEBUGWRAP24(GetPrinterDriverDirectoryA)
|
---|
118 | DEBUGWRAP24(GetPrinterDriverDirectoryW)
|
---|
119 | DEBUGWRAP24(GetPrinterDriverW)
|
---|
120 | DEBUGWRAP20(GetPrinterW)
|
---|
121 | // InitializeDll @208
|
---|
122 | DEBUGWRAP12(OpenPrinterA)
|
---|
123 | DEBUGWRAP12(OpenPrinterW)
|
---|
124 | // PlayGdiScriptOnPrinterIC @211
|
---|
125 | DEBUGWRAP24(PrinterMessageBoxA)
|
---|
126 | DEBUGWRAP24(PrinterMessageBoxW)
|
---|
127 | DEBUGWRAP8(PrinterProperties)
|
---|
128 | // QueryRemoteFonts @215
|
---|
129 | // QuerySpoolMode @216
|
---|
130 | DEBUGWRAP16(ReadPrinter)
|
---|
131 | DEBUGWRAP8(ResetPrinterA)
|
---|
132 | DEBUGWRAP8(ResetPrinterW)
|
---|
133 | DEBUGWRAP8(ScheduleJob)
|
---|
134 | // SetAllocFailCount @221
|
---|
135 | DEBUGWRAP16(SetFormA)
|
---|
136 | DEBUGWRAP16(SetFormW)
|
---|
137 | DEBUGWRAP20(SetJobA)
|
---|
138 | DEBUGWRAP16(SetPortA)
|
---|
139 | DEBUGWRAP16(SetPortW)
|
---|
140 | DEBUGWRAP16(SetPrinterA)
|
---|
141 | DEBUGWRAP20(SetPrinterDataA)
|
---|
142 | DEBUGWRAP20(SetPrinterDataW)
|
---|
143 | DEBUGWRAP16(SetPrinterW)
|
---|
144 | // SpoolerDevQueryPrintW @232
|
---|
145 | // SpoolerInit @233
|
---|
146 | // SpoolerPrinterEvent @234
|
---|
147 | // StartDocDlgA @235
|
---|
148 | // StartDocDlgW @236
|
---|
149 | DEBUGWRAP12(StartDocPrinterA)
|
---|
150 | DEBUGWRAP12(StartDocPrinterW)
|
---|
151 | DEBUGWRAP4(StartPagePrinter)
|
---|
152 | // WaitForPrinterChange @240
|
---|
153 | DEBUGWRAP16(WritePrinter)
|
---|