ReactOS 0.4.16-dev-197-g92996da
winsplp.h
Go to the documentation of this file.
1/*
2 * winsplp.h
3 *
4 * This file is part of the ReactOS PSDK package.
5 *
6 * Contributors:
7 * Created by Amine Khaldi.
8 *
9 * THIS SOFTWARE IS NOT COPYRIGHTED
10 *
11 * This source code is offered for use in the public domain. You may
12 * use, modify or distribute it freely.
13 *
14 * This code is distributed in the hope that it will be useful but
15 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
16 * DISCLAIMED. This includes but is not limited to warranties of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 *
19 */
20
21#pragma once
22
23#ifndef _WINSPLP_
24#define _WINSPLP_
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#if (STRICT && (NTDDI_VERSION >= NTDDI_VISTA))
31#define HKEYMONITOR HKEY
32#else
33#define HKEYMONITOR HANDLE
34#endif
35
36#define PRINTER_NOTIFY_STATUS_ENDPOINT 1
37#define PRINTER_NOTIFY_STATUS_POLL 2
38#define PRINTER_NOTIFY_STATUS_INFO 4
39
40#define ROUTER_UNKNOWN 0
41#define ROUTER_SUCCESS 1
42#define ROUTER_STOP_ROUTING 2
43
44#if (NTDDI_VERSION >= NTDDI_WINXP)
45#define MONITOR2_SIZE_WIN2K (sizeof(DWORD) + (sizeof(PVOID)*18))
46#endif
47
48#define COPYFILE_EVENT_SET_PRINTER_DATAEX 1
49#define COPYFILE_EVENT_DELETE_PRINTER 2
50#define COPYFILE_EVENT_ADD_PRINTER_CONNECTION 3
51#define COPYFILE_EVENT_DELETE_PRINTER_CONNECTION 4
52#define COPYFILE_EVENT_FILES_CHANGED 5
53
54#define COPYFILE_FLAG_CLIENT_SPOOLER 0x00000001
55#define COPYFILE_FLAG_SERVER_SPOOLER 0x00000002
56
57#define PRINTER_NOTIFY_INFO_DATA_COMPACT 1
58
59typedef struct _PRINTER_NOTIFY_INIT {
64
65typedef struct _SPLCLIENT_INFO_1 {
74
75typedef struct _SPLCLIENT_INFO_2_V1{
78
79typedef struct _SPLCLIENT_INFO_2_V2{
80#ifdef _WIN64
82#else
84#endif
86
87typedef struct _SPLCLIENT_INFO_2_V3{
90
91typedef struct _PRINTPROVIDOR {
92
94 (WINAPI *fpOpenPrinter)(
95 _In_opt_ PWSTR lpPrinterName,
98
100 (WINAPI *fpSetJob)(
101 _In_ HANDLE hPrinter,
104 _In_reads_opt_(_Inexpressible_(0)) LPBYTE pJob,
106
108 (WINAPI *fpGetJob)(
109 _In_ HANDLE hPrinter,
115
117 (WINAPI *fpEnumJobs)(
118 _In_ HANDLE hPrinter,
126
128 (WINAPI *fpAddPrinter)(
131 _In_reads_(_Inexpressible_(0)) LPBYTE pPrinter);
132
133 BOOL (WINAPI *fpDeletePrinter)(_In_ HANDLE hPrinter);
134
136 (WINAPI *fpSetPrinter)(
137 _In_ HANDLE hPrinter,
139 _In_reads_(_Inexpressible_(0)) LPBYTE pPrinter,
141
143 (WINAPI *fpGetPrinter)(
144 _In_ HANDLE hPrinter,
149
151 (WINAPI *fpEnumPrinters)(
159
161 (WINAPI *fpAddPrinterDriver)(
164 _In_reads_(_Inexpressible_(0)) LPBYTE pDriverInfo);
165
167 (WINAPI *fpEnumPrinterDrivers)(
175
177 (WINAPI *fpGetPrinterDriver)(
178 _In_ HANDLE hPrinter,
184
186 (WINAPI *fpGetPrinterDriverDirectory)(
193
195 (WINAPI *fpDeletePrinterDriver)(
199
201 (WINAPI *fpAddPrintProcessor)(
206
208 (WINAPI *fpEnumPrintProcessors)(
216
218 (WINAPI *fpGetPrintProcessorDirectory)(
225
227 (WINAPI *fpDeletePrintProcessor)(
231
233 (WINAPI *fpEnumPrintProcessorDatatypes)(
241
243 (WINAPI *fpStartDocPrinter)(
244 _In_ HANDLE hPrinter,
246 _In_reads_(_Inexpressible_(0)) LPBYTE pDocInfo);
247
249
251 (WINAPI *fpWritePrinter)(
252 _In_ HANDLE hPrinter,
256
258
260
263 _In_ HANDLE hPrinter,
267
269
271 (WINAPI *fpAddJob)(
272 _In_ HANDLE hPrinter,
277
278 BOOL (WINAPI *fpScheduleJob)(_In_ HANDLE hPrinter, _In_ DWORD JobID);
279
281 (WINAPI *fpGetPrinterData)(
282 _In_ HANDLE hPrinter,
288
290 (WINAPI *fpSetPrinterData)(
291 _In_ HANDLE hPrinter,
296
298 (WINAPI *fpWaitForPrinterChange)(
299 _In_ HANDLE hPrinter,
301
303
305 (WINAPI *fpAddForm)(
306 _In_ HANDLE hPrinter,
308 _In_reads_(_Inexpressible_(0)) LPBYTE pForm);
309
310 BOOL (WINAPI *fpDeleteForm)(_In_ HANDLE hPrinter, _In_ LPWSTR pFormName);
311
313 (WINAPI *fpGetForm)(
314 _In_ HANDLE hPrinter,
320
322 (WINAPI *fpSetForm)(
323 _In_ HANDLE hPrinter,
326 _In_reads_(_Inexpressible_(0)) LPBYTE pForm);
327
329 (WINAPI *fpEnumForms)(
330 _In_ HANDLE hPrinter,
336
338 (WINAPI *fpEnumMonitors)(
345
347 (WINAPI *fpEnumPorts)(
354
356 (WINAPI *fpAddPort)(
360
362 (WINAPI *fpConfigurePort)(
364 _In_ HWND hWnd,
366
368 (WINAPI *fpDeletePort)(
370 _In_ HWND hWnd,
372
374 (WINAPI *fpCreatePrinterIC)(
375 _In_ HANDLE hPrinter,
377
379 (WINAPI *fpPlayGdiScriptOnPrinterIC)(
380 _In_ HANDLE hPrinterIC,
386
387 BOOL (WINAPI *fpDeletePrinterIC)(_In_ HANDLE hPrinterIC);
388
389 BOOL (WINAPI *fpAddPrinterConnection)(_In_ LPWSTR pName);
390
391 BOOL (WINAPI *fpDeletePrinterConnection)(_In_ LPWSTR pName);
392
394 (WINAPI *fpPrinterMessageBox)(
395 _In_ HANDLE hPrinter,
401
403 (WINAPI *fpAddMonitor)(
406 _In_reads_(_Inexpressible_(0)) LPBYTE pMonitors);
407
409 (WINAPI *fpDeleteMonitor)(
413
415 (WINAPI *fpResetPrinter)(
416 _In_ HANDLE hPrinter,
418
420 (WINAPI *fpGetPrinterDriverEx)(
421 _In_ HANDLE hPrinter,
431
432 HANDLE (WINAPI *fpFindFirstPrinterChangeNotification)(HANDLE hPrinter,
436
437 BOOL (WINAPI *fpFindClosePrinterChangeNotification)(_In_ HANDLE hChange);
438
440 (WINAPI *fpAddPortEx)(
443 _In_reads_(_Inexpressible_(0)) LPBYTE lpBuffer,
445
447
449 (WINAPI *fpRefreshPrinterChangeNotification)(
450 _In_ HANDLE hPrinter,
454
456 (WINAPI *fpOpenPrinterEx)(
460 _In_reads_opt_(_Inexpressible_(0)) LPBYTE pClientInfo,
462
464 (WINAPI *fpAddPrinterEx)(
467 _In_reads_(_Inexpressible_(0)) LPBYTE pPrinter,
468 _In_reads_opt_(_Inexpressible_(0)) LPBYTE pClientInfo,
470
472 (WINAPI *fpSetPort)(
476 _In_reads_(_Inexpressible_(0)) LPBYTE pPortInfo);
477
479 (WINAPI *fpEnumPrinterData)(
480 _In_ HANDLE hPrinter,
489
491 (WINAPI *fpDeletePrinterData)(
492 _In_ HANDLE hPrinter,
494
496 (WINAPI *fpClusterSplOpen)(
497 _In_ LPCWSTR pszServer,
502
503 DWORD (WINAPI *fpClusterSplClose)(_In_ HANDLE hSpooler);
504
505 DWORD (WINAPI *fpClusterSplIsAlive)(_In_ HANDLE hSpooler);
506
508 (WINAPI *fpSetPrinterDataEx)(
509 _In_ HANDLE hPrinter,
515
517 (WINAPI *fpGetPrinterDataEx)(
518 _In_ HANDLE hPrinter,
525
527 (WINAPI *fpEnumPrinterDataEx)(
528 _In_ HANDLE hPrinter,
534
536 (WINAPI *fpEnumPrinterKey)(
537 _In_ HANDLE hPrinter,
542
544 (WINAPI *fpDeletePrinterDataEx)(
545 _In_ HANDLE hPrinter,
548
550 (WINAPI *fpDeletePrinterKey)(
551 _In_ HANDLE hPrinter,
553
556 _In_ HANDLE hPrinter,
561
563 (WINAPI *fpDeletePrinterDriverEx)(
569
571 (WINAPI *fpAddPerMachineConnection)(
572 _In_opt_ LPCWSTR pServer,
576
578 (WINAPI *fpDeletePerMachineConnection)(
579 _In_opt_ LPCWSTR pServer,
581
583 (WINAPI *fpEnumPerMachineConnections)(
584 _In_opt_ LPCWSTR pServer,
589
591 (WINAPI *fpXcvData)(
600
602 (WINAPI *fpAddPrinterDriverEx)(
605 _In_reads_(_Inexpressible_(0)) LPBYTE pDriverInfo,
607
610 _In_ HANDLE hPrinter,
613
614 BOOL (WINAPI *fpDriverUnloadComplete)(_In_ LPWSTR pDriverFile);
615
617 (WINAPI *fpGetSpoolFileInfo)(
618 _In_ HANDLE hPrinter,
623
625
627
629 (WINAPI *fpFlushPrinter)(
630 _In_ HANDLE hPrinter,
635
637 (WINAPI *fpSendRecvBidiData)(
638 _In_ HANDLE hPort,
642
643 BOOL (WINAPI *fpAddDriverCatalog)(HANDLE hPrinter, DWORD dwLevel,
646
656
657typedef struct _MONITORREG {
659
661 (WINAPI *fpCreateKey)(
662 _In_ HANDLE hcKey,
670
672 (WINAPI *fpOpenKey)(
673 _In_ HANDLE hcKey,
674 _In_ LPCWSTR pszSubKey,
678
679 LONG (WINAPI *fpCloseKey)(_In_ HANDLE hcKey, _In_ HANDLE hSpooler);
680
682 (WINAPI *fpDeleteKey)(
683 _In_ HANDLE hcKey,
684 _In_ LPCWSTR pszSubKey,
686
688 (WINAPI *fpEnumKey)(
689 _In_ HANDLE hcKey,
691 _Inout_updates_to_(*pcchName, *pcchName) LPWSTR pszName,
695
697 (WINAPI *fpQueryInfoKey)(
698 _In_ HANDLE hcKey,
707
709 (WINAPI *fpSetValue)(
710 _In_ HANDLE hcKey,
716
718 (WINAPI *fpDeleteValue)(
719 _In_ HANDLE hcKey,
720 _In_ LPCWSTR pszValue,
721 _In_ HANDLE hSpooler);
722
724 (WINAPI *fpEnumValue)(
725 _In_ HANDLE hcKey,
726 _In_ DWORD dwIndex,
727 _Inout_updates_to_(*pcbValue, *pcbValue) LPWSTR pszValue,
733
735 (WINAPI *fpQueryValue)(
736 _In_ HANDLE hcKey,
737 _In_ LPCWSTR pszValue,
742
744
745typedef struct _MONITORINIT {
753
754typedef struct _MONITOR {
755
757 (WINAPI *pfnEnumPorts)(
764
765 BOOL (WINAPI *pfnOpenPort)(_In_ LPWSTR pName, _Out_ PHANDLE pHandle);
766
768 (WINAPI *pfnOpenPortEx)(
769 _In_ LPWSTR pPortName,
773
775 (WINAPI *pfnStartDocPort)(
776 _In_ HANDLE hPort,
777 _In_ LPWSTR pPrinterName,
780 _In_reads_(_Inexpressible_(0)) LPBYTE pDocInfo);
781
783 (WINAPI *pfnWritePort)(
784 _In_ HANDLE hPort,
786 _In_ DWORD cbBuf,
787 _Out_ LPDWORD pcbWritten);
788
790 (WINAPI *pfnReadPort)(
791 _In_ HANDLE hPort,
793 _In_ DWORD cbBuffer,
794 _Out_ LPDWORD pcbRead);
795
796 BOOL (WINAPI *pfnEndDocPort)(_In_ HANDLE hPort);
797
798 BOOL (WINAPI *pfnClosePort)(_In_ HANDLE hPort);
799
801 (WINAPI *pfnAddPort)(
804 _In_ LPWSTR pMonitorName);
805
807 (WINAPI *pfnAddPortEx)(
810 _In_reads_(_Inexpressible_(0)) LPBYTE lpBuffer,
811 _In_ LPWSTR lpMonitorName);
812
814 (WINAPI *pfnConfigurePort)(
816 _In_ HWND hWnd,
817 _In_ LPWSTR pPortName);
818
820 (WINAPI *pfnDeletePort)(
822 _In_ HWND hWnd,
823 _In_ LPWSTR pPortName);
824
826 (WINAPI *pfnGetPrinterDataFromPort)(
827 _In_ HANDLE hPort,
828 _In_ DWORD ControlID,
829 _In_ LPWSTR pValueName,
830 _In_reads_bytes_(cbInBuffer) LPWSTR lpInBuffer,
831 _In_ DWORD cbInBuffer,
832 _Out_writes_bytes_to_opt_(cbOutBuffer, *lpcbReturned) LPWSTR lpOutBuffer,
833 _In_ DWORD cbOutBuffer,
834 _Out_ LPDWORD lpcbReturned);
835
837 (WINAPI *pfnSetPortTimeOuts)(
838 _In_ HANDLE hPort,
841
843 (WINAPI *pfnXcvOpenPort)(
844 _In_ LPCWSTR pszObject,
847
849 (WINAPI *pfnXcvDataPort)(
851 _In_ LPCWSTR pszDataName,
852 _In_reads_bytes_(cbInputData) PBYTE pInputData,
853 _In_ DWORD cbInputData,
854 _Out_writes_bytes_to_opt_(cbOutputData, *pcbOutputNeeded) PBYTE pOutputData,
855 _In_ DWORD cbOutputData,
856 _Out_ PDWORD pcbOutputNeeded);
857
858 BOOL (WINAPI *pfnXcvClosePort)(_In_ HANDLE hXcv);
859
861
866
867typedef struct _MONITOR2 {
869
871 (WINAPI *pfnEnumPorts)(
872 _In_ HANDLE hMonitor,
879
881 (WINAPI *pfnOpenPort)(
882 _In_ HANDLE hMonitor,
885
887 (WINAPI *pfnOpenPortEx)(
888 _In_ HANDLE hMonitor,
894
896 (WINAPI *pfnStartDocPort)(
897 _In_ HANDLE hPort,
901 _In_reads_(_Inexpressible_(0)) LPBYTE pDocInfo);
902
904 (WINAPI *pfnWritePort)(
905 _In_ HANDLE hPort,
907 _In_ DWORD cbBuf,
908 _Out_ LPDWORD pcbWritten);
909
911 (WINAPI *pfnReadPort)(
912 _In_ HANDLE hPort,
914 _In_ DWORD cbBuffer,
915 _Out_ LPDWORD pcbRead);
916
917 BOOL (WINAPI *pfnEndDocPort)(_In_ HANDLE hPort);
918
919 BOOL (WINAPI *pfnClosePort)(_In_ HANDLE hPort);
920
922 (WINAPI *pfnAddPort)(
923 _In_ HANDLE hMonitor,
926 _In_ LPWSTR pMonitorName);
927
929 (WINAPI *pfnAddPortEx)(
930 _In_ HANDLE hMonitor,
933 _In_reads_(_Inexpressible_(0)) LPBYTE lpBuffer,
934 _In_ LPWSTR lpMonitorName);
935
937 (WINAPI *pfnConfigurePort)(
938 _In_ HANDLE hMonitor,
940 _In_ HWND hWnd,
941 _In_ LPWSTR pPortName);
942
944 (WINAPI *pfnDeletePort)(
945 _In_ HANDLE hMonitor,
947 _In_ HWND hWnd,
948 _In_ LPWSTR pPortName);
949
951 (WINAPI *pfnGetPrinterDataFromPort)(
952 _In_ HANDLE hPort,
953 _In_ DWORD ControlID,
954 _In_ LPWSTR pValueName,
955 _In_reads_bytes_(cbInBuffer) LPWSTR lpInBuffer,
956 _In_ DWORD cbInBuffer,
957 _Out_writes_bytes_to_opt_(cbOutBuffer, *lpcbReturned) LPWSTR lpOutBuffer,
958 _In_ DWORD cbOutBuffer,
959 _Out_ LPDWORD lpcbReturned);
960
962 (WINAPI *pfnSetPortTimeOuts)(
963 _In_ HANDLE hPort,
966
968 (WINAPI *pfnXcvOpenPort)(
969 _In_ HANDLE hMonitor,
970 _In_ LPCWSTR pszObject,
973
975 (WINAPI *pfnXcvDataPort)(
977 _In_ LPCWSTR pszDataName,
978 _In_reads_bytes_(cbInputData) PBYTE pInputData,
979 _In_ DWORD cbInputData,
980 _Out_writes_bytes_to_opt_(cbOutputData, *pcbOutputNeeded) PBYTE pOutputData,
981 _In_ DWORD cbOutputData,
982 _Out_ PDWORD pcbOutputNeeded);
983
984 BOOL (WINAPI *pfnXcvClosePort)(_In_ HANDLE hXcv);
985
986 VOID (WINAPI *pfnShutdown)(_In_ HANDLE hMonitor);
987
988#if (NTDDI_VERSION >= NTDDI_WINXP)
990 (WINAPI *pfnSendRecvBidiDataFromPort)(
991 _In_ HANDLE hPort,
996#endif
997
998#if (NTDDI_VERSION >= NTDDI_WIN7)
999
1001 (WINAPI *pfnNotifyUsedPorts)(
1002 _In_ HANDLE hMonitor,
1004 _In_reads_(cPorts) PCWSTR *ppszPorts);
1005
1007 (WINAPI *pfnNotifyUnusedPorts)(
1008 _In_ HANDLE hMonitor,
1009 _In_ DWORD cPorts,
1010 _In_reads_(cPorts) PCWSTR *ppszPorts);
1011
1012#endif
1013
1015
1016typedef struct _MONITORUI {
1018
1020 (WINAPI *pfnAddPortUI)(
1021 _At_(return, _Success_(return != 0)) _In_opt_ PCWSTR pszServer,
1023 _In_ PCWSTR pszPortNameIn,
1025
1027 (WINAPI *pfnConfigurePortUI)(
1029 _In_ HWND hWnd,
1030 _In_ PCWSTR pPortName);
1031
1033 (WINAPI *pfnDeletePortUI)(
1034 _In_opt_ PCWSTR pszServer,
1035 _In_ HWND hWnd,
1036 _In_ PCWSTR pszPortName);
1037
1039
1040#if (NTDDI_VERSION >= NTDDI_WINXP)
1041
1042typedef enum {
1043 kMessageBox = 0
1045
1046typedef struct {
1054
1055typedef struct {
1059
1060#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
1061
1062#if (NTDDI_VERSION >= NTDDI_WS03)
1063#ifndef __ATTRIBUTE_INFO_3__
1064#define __ATTRIBUTE_INFO_3__
1065typedef struct _ATTRIBUTE_INFO_3 {
1077#endif /* __ATTRIBUTE_INFO_3__ */
1078#endif /* (NTDDI_VERSION >= NTDDI_WS03) */
1079
1080#if (NTDDI_VERSION >= NTDDI_VISTA)
1081
1082typedef BOOL
1084 _In_ DWORD dwCommand,
1085 _In_ PVOID pContext,
1086 _In_ DWORD dwColor,
1087 _In_ PPRINTER_NOTIFY_INFO pNofityInfo,
1088 _In_ DWORD fdwFlags,
1090
1096
1103
1110
1111typedef struct _SPLCLIENT_INFO_3 {
1123
1124#ifndef __ATTRIBUTE_INFO_4__
1125#define __ATTRIBUTE_INFO_4__
1126
1127typedef struct _ATTRIBUTE_INFO_4 {
1144
1145#define REVERSE_PAGES_FOR_REVERSE_DUPLEX (0x00000001)
1146#define DONT_SEND_EXTRA_PAGES_FOR_DUPLEX (0x00000001 << 1)
1147
1148#define RIGHT_THEN_DOWN (0x00000001)
1149#define DOWN_THEN_RIGHT (0x00000001 << 1)
1150#define LEFT_THEN_DOWN (0x00000001 << 2)
1151#define DOWN_THEN_LEFT (0x00000001 << 3)
1152
1153#define BOOKLET_EDGE_LEFT 0x00000000
1154#define BOOKLET_EDGE_RIGHT 0x00000001
1155
1156#endif /* __ATTRIBUTE_INFO_4__ */
1157
1158#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
1159
1160#if (OSVER(NTDDI_VERSION) == NTDDI_W2K)
1162#elif ((OSVER(NTDDI_VERSION) == NTDDI_WINXP) || (OSVER(NTDDI_VERSION) == NTDDI_WS03))
1164#else
1166#endif /* (OSVER(NTDDI_VERSION) == NTDDI_W2K) */
1167
1168BOOL
1169WINAPI
1171 _Out_writes_bytes_(cbPrintProvidor) LPPRINTPROVIDOR pPrintProvidor,
1172 _In_ DWORD cbPrintProvidor,
1173 _In_opt_ LPWSTR pFullRegistryPath);
1174
1175HANDLE
1176WINAPI
1178 _In_ LPWSTR pPrinterName,
1179 _In_ PPRINTPROCESSOROPENDATA pPrintProcessorOpenData);
1180
1181BOOL
1182WINAPI
1184 _In_ HANDLE hPrintProcessor,
1185 _In_ LPWSTR pDocumentName);
1186
1187BOOL
1188WINAPI
1190 _Inout_ HANDLE hPrintProcessor);
1191
1192BOOL
1193WINAPI
1195 _In_ HANDLE hPrintProcessor,
1197
1198DWORD
1199WINAPI
1201 _In_ LPTSTR pValueName,
1206
1207BOOL
1208WINAPI
1210 _In_ LPWSTR pRegistryRoot);
1211
1212BOOL
1213WINAPI
1216 _Out_ PHANDLE pHandle);
1217
1218BOOL
1219WINAPI
1221 _In_ HANDLE hPort,
1223 _In_ DWORD cbBuf,
1224 _Out_ LPDWORD pcbWritten);
1225
1226BOOL
1227WINAPI
1229 _In_ HANDLE hPort,
1231 _In_ DWORD cbBuffer,
1232 _Out_ LPDWORD pcbRead);
1233
1234BOOL
1235WINAPI
1237 _In_ HANDLE hPort);
1238
1239BOOL
1240WINAPI
1242 _In_ LPCWSTR pszObject,
1244 _Out_ PHANDLE phXcv);
1245
1246DWORD
1247WINAPI
1250 _In_ LPCWSTR pszDataName,
1251 _In_reads_bytes_(cbInputData) PBYTE pInputData,
1252 _In_ DWORD cbInputData,
1253 _Out_writes_bytes_(cbOutputData) PBYTE pOutputData,
1254 _In_ DWORD cbOutputData,
1255 _Out_ PDWORD pcbOutputNeeded);
1256
1257BOOL
1258WINAPI
1260 _In_ HANDLE hXcv);
1261
1262_Success_(return != 0)
1263BOOL
1264WINAPI
1265AddPortUI(
1266 _In_opt_ PCWSTR pszServer,
1270
1271BOOL
1272WINAPI
1274 _In_ PCWSTR pszServer,
1275 _In_ HWND hWnd,
1276 _In_ PCWSTR pszPortName);
1277
1278BOOL
1279WINAPI
1281 _In_ PCWSTR pszServer,
1282 _In_ HWND hWnd,
1283 _In_ PCWSTR pszPortName);
1284
1285BOOL
1286WINAPI
1288 _In_ PCWSTR pPortName);
1289
1290BOOL
1291WINAPI
1294 _In_ BOOL bDeletePort);
1295
1296BOOL
1297WINAPI
1299 _In_ LPWSTR pszPrinterName,
1300 _In_ LPWSTR pszKey,
1301 _In_ DWORD dwCopyFileEvent);
1302
1303DWORD
1304WINAPI
1306 _In_ LPCWSTR pszPrinterName,
1307 _In_ LPCWSTR pszDirectory,
1308 _In_ LPBYTE pSplClientInfo,
1309 _In_ DWORD dwLevel,
1310 _Inout_updates_(*pcchSourceDirSize) LPWSTR pszSourceDir,
1311 _Inout_ LPDWORD pcchSourceDirSize,
1312 _Inout_updates_(*pcchTargetDirSize) LPWSTR pszTargetDir,
1313 _Inout_ LPDWORD pcchTargetDirSize,
1315
1316HANDLE
1317WINAPI
1319 _In_ HANDLE hPrinter,
1320 _In_opt_ LPDEVMODEW pDevMode);
1321
1322BOOL
1323WINAPI
1325 _In_ HANDLE hPrinterIC,
1326 _In_reads_bytes_(cIn) LPBYTE pIn,
1327 _In_ DWORD cIn,
1328 _Out_writes_bytes_(cOut) LPBYTE pOut,
1329 _In_ DWORD cOut,
1330 _In_ DWORD ul);
1331
1333
1334BOOL
1335WINAPI
1337 _In_ HANDLE hPrinter,
1338 _In_ LPDEVMODEW pDevMode,
1339 _Out_ DWORD *pResID);
1340
1343
1344BOOL
1345WINAPI
1347 _In_ HANDLE hNotify,
1348 _In_ DWORD fdwFlags,
1350 _In_opt_ PVOID pPrinterNotifyInfo);
1351
1352BOOL
1353WINAPI
1355 _In_ HANDLE hNotify,
1356 _In_ DWORD dwColor,
1357 _In_ DWORD fdwFlags,
1359 _In_ PVOID pPrinterNotifyInfo);
1360
1361BOOL
1362WINAPI
1364 _In_ HANDLE hNotify,
1365 _In_opt_ PPRINTER_NOTIFY_INFO_DATA pInfoDataSrc);
1366
1368WINAPI
1370 _In_ DWORD cPrinterNotifyInfoData);
1371
1373
1374BOOL
1375WINAPI
1377 _In_ PPRINTER_NOTIFY_INFO pInfoDest,
1379 _In_ DWORD fdwFlags);
1380
1381DWORD
1382WINAPI
1384 _In_ HANDLE hPrinter,
1385 _In_ DWORD fdwFlags,
1386 _In_ DWORD fdwOptions,
1387 _In_ HANDLE hNotify,
1388 _In_ PPRINTER_NOTIFY_OPTIONS pPrinterNotifyOptions);
1389
1390BOOL
1391WINAPI
1393 _In_ HANDLE hPrinter,
1394 _In_ DWORD fdwFlags,
1395 _In_ DWORD fdwOptions,
1396 _In_ HANDLE hNotify,
1397 _In_opt_ PVOID pvReserved0,
1398 _Out_opt_ PVOID pvReserved1);
1399
1401
1402/* Spooler */
1404 DWORD fdwFlags,
1405 DWORD fdwOptions,
1406 PHANDLE phEvent,
1407 PVOID pPrinterNotifyOptions,
1409
1410BOOL
1411WINAPI
1413 _In_ HANDLE hPrinter,
1414 _Out_ LPDWORD pfdwChange,
1415 _In_opt_ LPVOID pPrinterNotifyOptions,
1416 _Inout_opt_ LPVOID *ppPrinterNotifyInfo);
1417
1420
1421/* Port monitor / Language monitor / Print monitor */
1422
1424WINAPI
1426 _In_ PMONITORINIT pMonitorInit,
1427 _Out_ PHANDLE phMonitor);
1428
1431
1432BOOL
1433WINAPI
1435 _In_ LPWSTR pRegistryRoot,
1436 _Out_ LPMONITOR pMonitor);
1437
1438#if (NTDDI_VERSION >= NTDDI_WINXP)
1439
1441WINAPI
1443 _In_ DWORD Count);
1444
1446
1447DWORD
1448WINAPI
1451
1453
1454BOOL
1455WINAPI
1457 _In_ HANDLE hPrinter,
1458 _In_ DWORD JobId,
1459 _In_ PSHOWUIPARAMS pUIParams,
1460 _Out_ DWORD *pResponse);
1461
1462DWORD
1463WINAPI
1465 _In_ HANDLE hPrinter,
1466 _In_ DWORD JobId,
1467 _Out_ BOOL *pIsSessionZero);
1468
1469#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
1470
1471#if (NTDDI_VERSION >= NTDDI_WS03)
1472BOOL
1473WINAPI
1475 _In_ LPWSTR pPrinterName,
1476 _In_ LPDEVMODEW pDevmode,
1477 _Out_ PATTRIBUTE_INFO_3 pAttributeInfo);
1478#endif
1479
1480#if (NTDDI_VERSION >= NTDDI_VISTA)
1481
1482#define FILL_WITH_DEFAULTS 0x1
1483
1484BOOL
1485WINAPI
1487 _In_ LPWSTR pPrinterName,
1488 _In_ LPDEVMODEW pDevmode,
1489 _In_ DWORD dwLevel,
1490 _Out_writes_bytes_(nSize) LPBYTE pAttributeInfo,
1493
1494BOOL
1495WINAPI
1497 _In_ HANDLE hPrinter,
1498 _In_ DWORD dwColor,
1501
1502#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
1503
1504/* FIXME : The following declarations are not present in the official header */
1505
1510
1511#ifdef __cplusplus
1512}
1513#endif
1514
1515#endif /* _WINSPLP_ */
unsigned long long UINT64
Type
Definition: Type.h:7
HWND hWnd
Definition: settings.c:17
unsigned int DWORD32
Definition: basetsd.h:124
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
#define CALLBACK
Definition: compat.h:35
BOOL WINAPI SpoolerCopyFileEvent(LPWSTR printer, LPWSTR key, DWORD event)
Definition: stub.c:185
DWORD WINAPI GenerateCopyFilePaths(LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo, DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize, LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags)
Definition: stub.c:91
r reserved
Definition: btrfs.c:3006
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
CLOSEPRINTER fpClosePrinter
Definition: printdrv.c:43
static HANDLE hXcv
Definition: localmon.c:73
static LPSTR pName
Definition: security.c:75
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
#define _Out_opt_
Definition: ms_sal.h:346
#define _Success_(expr)
Definition: ms_sal.h:259
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Out_writes_bytes_to_(size, count)
Definition: ms_sal.h:360
#define _Outptr_result_maybenull_
Definition: ms_sal.h:428
#define _Inout_updates_(size)
Definition: ms_sal.h:387
#define _Outptr_
Definition: ms_sal.h:427
#define _Inout_updates_to_(size, count)
Definition: ms_sal.h:392
#define _At_(target, annos)
Definition: ms_sal.h:244
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _In_reads_opt_(size)
Definition: ms_sal.h:320
#define _Out_writes_bytes_to_opt_(size, count)
Definition: ms_sal.h:361
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _In_reads_(size)
Definition: ms_sal.h:319
unsigned int UINT
Definition: ndis.h:50
int Count
Definition: noreturn.cpp:7
#define BOOL
Definition: nt_native.h:43
ULONG ACCESS_MASK
Definition: nt_native.h:40
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:250
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
BYTE * PBYTE
Definition: pedump.c:66
DWORD * PDWORD
Definition: pedump.c:68
long LONG
Definition: pedump.c:60
static ABORTPRINTER fpAbortPrinter
Definition: printdrv.c:42
static ENDPAGEPRINTER fpEndPagePrinter
Definition: printdrv.c:50
static CLOSESPOOLFILEHANDLE fpCloseSpoolFileHandle
Definition: printdrv.c:44
static ENDDOCPRINTER fpEndDocPrinter
Definition: printdrv.c:49
static COMMITSPOOLDATA fpCommitSpoolData
Definition: printdrv.c:45
static SPLREADPRINTER fpSplReadPrinter
Definition: printdrv.c:63
static SEEKPRINTER fpSeekPrinter
Definition: printdrv.c:61
static STARTPAGEPRINTER fpStartPagePrinter
Definition: printdrv.c:66
static READPRINTER fpReadPrinter
Definition: printdrv.c:59
BOOL WINAPI OpenPrinterToken(PHANDLE phToken)
struct _PRINTER_NOTIFY_INIT * PPRINTER_NOTIFY_INIT
HANDLE WINAPI RevertToPrinterSelf(VOID)
Definition: context.c:64
BOOL WINAPI ReplyPrinterChangeNotificationEx(_In_ HANDLE hNotify, _In_ DWORD dwColor, _In_ DWORD fdwFlags, _Out_ PDWORD pdwResult, _In_ PVOID pPrinterNotifyInfo)
struct _ATTRIBUTE_INFO_4 * PATTRIBUTE_INFO_4
BOOL WINAPI ProvidorFindClosePrinterChangeNotification(_In_ HANDLE hPrinter)
BOOL WINAPI SpoolerFindFirstPrinterChangeNotification(HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, PHANDLE phEvent, PVOID pPrinterNotifyOptions, PVOID pvReserved)
HANDLE WINAPI OpenPrintProcessor(_In_ LPWSTR pPrinterName, _In_ PPRINTPROCESSOROPENDATA pPrintProcessorOpenData)
struct _SPLCLIENT_INFO_3 SPLCLIENT_INFO_3
VOID WINAPI SpoolerFreePrinterNotifyInfo(_In_ PPRINTER_NOTIFY_INFO pInfo)
LPMONITOR2 WINAPI InitializePrintMonitor2(_In_ PMONITORINIT pMonitorInit, _Out_ PHANDLE phMonitor)
struct _PRINTER_NOTIFY_INIT * LPPRINTER_NOTIFY_INIT
struct _PRINTPROCESSOROPENDATA PRINTPROCESSOROPENDATA
VOID WINAPI RouterFreeBidiMem(_In_ PVOID pMemPointer)
_In_ HWND _In_ PCWSTR pszMonitorNameIn
Definition: winsplp.h:1268
PPRINTER_NOTIFY_INFO WINAPI RouterAllocPrinterNotifyInfo(_In_ DWORD cPrinterNotifyInfoData)
BOOL WINAPI XcvOpenPort(_In_ LPCWSTR pszObject, _In_ ACCESS_MASK GrantedAccess, _Out_ PHANDLE phXcv)
struct _MONITOREX MONITOREX
struct _MONITORINIT MONITORINIT
UI_TYPE
Definition: winsplp.h:1042
@ kMessageBox
Definition: winsplp.h:1043
struct _MONITORINIT * PMONITORINIT
struct SHOWUIPARAMS * PSHOWUIPARAMS
DWORD WINAPI RouterFreeBidiResponseContainer(_In_ PBIDI_RESPONSE_CONTAINER pData)
struct _SPLCLIENT_INFO_2_V3 SPLCLIENT_INFO_2_LONGHORN
BOOL WINAPI InitializePrintProvidor(_Out_writes_bytes_(cbPrintProvidor) LPPRINTPROVIDOR pPrintProvidor, _In_ DWORD cbPrintProvidor, _In_opt_ LPWSTR pFullRegistryPath)
BOOL WINAPI GetJobAttributes(_In_ LPWSTR pPrinterName, _In_ LPDEVMODEW pDevmode, _Out_ PATTRIBUTE_INFO_3 pAttributeInfo)
BOOL WINAPI PartialReplyPrinterChangeNotification(_In_ HANDLE hNotify, _In_opt_ PPRINTER_NOTIFY_INFO_DATA pInfoDataSrc)
struct _SPLCLIENT_INFO_2_V2 SPLCLIENT_INFO_2_WINXP
BOOL WINAPI InitializeMonitor(_In_ LPWSTR pRegistryRoot)
BOOL WINAPI DeletePortUI(_In_ PCWSTR pszServer, _In_ HWND hWnd, _In_ PCWSTR pszPortName)
BOOL WINAPI ControlPrintProcessor(_In_ HANDLE hPrintProcessor, _In_ DWORD Command)
DWORD WINAPI CallRouterFindFirstPrinterChangeNotification(_In_ HANDLE hPrinter, _In_ DWORD fdwFlags, _In_ DWORD fdwOptions, _In_ HANDLE hNotify, _In_ PPRINTER_NOTIFY_OPTIONS pPrinterNotifyOptions)
HANDLE WINAPI CreatePrinterIC(_In_ HANDLE hPrinter, _In_opt_ LPDEVMODEW pDevMode)
Definition: printers.c:4065
struct _PRINTER_NOTIFY_INIT PRINTER_NOTIFY_INIT
struct _ATTRIBUTE_INFO_3 ATTRIBUTE_INFO_3
struct MESSAGEBOX_PARAMS * PMESSAGEBOX_PARAMS
DWORD WINAPI XcvDataPort(_In_ HANDLE hXcv, _In_ LPCWSTR pszDataName, _In_reads_bytes_(cbInputData) PBYTE pInputData, _In_ DWORD cbInputData, _Out_writes_bytes_(cbOutputData) PBYTE pOutputData, _In_ DWORD cbOutputData, _Out_ PDWORD pcbOutputNeeded)
struct _MONITORREG * PMONITORREG
BOOL WINAPI SpoolerFindClosePrinterChangeNotification(_In_ HANDLE hPrinter)
struct _MONITOR2 * PMONITOR2
struct _MONITORREG MONITORREG
BOOL WINAPI RouterFreePrinterNotifyInfo(_In_opt_ PPRINTER_NOTIFY_INFO pInfo)
BOOL WINAPI ClosePrintProcessor(_Inout_ HANDLE hPrintProcessor)
BOOL WINAPI SpoolerFindNextPrinterChangeNotification(_In_ HANDLE hPrinter, _Out_ LPDWORD pfdwChange, _In_opt_ LPVOID pPrinterNotifyOptions, _Inout_opt_ LPVOID *ppPrinterNotifyInfo)
struct _SPLCLIENT_INFO_1 * LPSPLCLIENT_INFO_1
BOOL WINAPI AppendPrinterNotifyInfoData(_In_ PPRINTER_NOTIFY_INFO pInfoDest, _In_opt_ PPRINTER_NOTIFY_INFO_DATA pInfoDataSrc, _In_ DWORD fdwFlags)
BOOL WINAPI PlayGdiScriptOnPrinterIC(_In_ HANDLE hPrinterIC, _In_reads_bytes_(cIn) LPBYTE pIn, _In_ DWORD cIn, _Out_writes_bytes_(cOut) LPBYTE pOut, _In_ DWORD cOut, _In_ DWORD ul)
Definition: printers.c:4084
BOOL WINAPI ImpersonatePrinterClient(_In_ HANDLE hToken)
BOOL WINAPI ClosePrinterToken(HANDLE hToken)
_In_ HWND _In_ PCWSTR _Out_opt_ PWSTR * ppszPortNameOut
Definition: winsplp.h:1269
BOOL WINAPI ConfigurePortUI(_In_ PCWSTR pszServer, _In_ HWND hWnd, _In_ PCWSTR pszPortName)
struct _PRINTPROCESSOROPENDATA * PPRINTPROCESSOROPENDATA
struct _MONITOR2 * LPMONITOR2
BOOL WINAPI ReadPort(_In_ HANDLE hPort, _Out_writes_bytes_(cbBuffer) LPBYTE pBuffer, _In_ DWORD cbBuffer, _Out_ LPDWORD pcbRead)
struct _MONITOR2 MONITOR2
BOOL WINAPI ReplyPrinterChangeNotification(_In_ HANDLE hNotify, _In_ DWORD fdwFlags, _Out_opt_ PDWORD pdwResult, _In_opt_ PVOID pPrinterNotifyInfo)
struct _SPLCLIENT_INFO_3 * LPSPLCLIENT_INFO_3
BOOL WINAPI DevQueryPrint(_In_ HANDLE hPrinter, _In_ LPDEVMODEW pDevMode, _Out_ DWORD *pResID)
_NOTIFICATION_CALLBACK_COMMANDS
Definition: winsplp.h:1091
@ NOTIFICATION_COMMAND_NOTIFY
Definition: winsplp.h:1092
@ NOTIFICATION_COMMAND_CONTEXT_RELEASE
Definition: winsplp.h:1094
@ NOTIFICATION_COMMAND_CONTEXT_ACQUIRE
Definition: winsplp.h:1093
PBIDI_RESPONSE_CONTAINER WINAPI RouterAllocBidiResponseContainer(_In_ DWORD Count)
BOOL(CALLBACK * ROUTER_NOTIFY_CALLBACK)(_In_ DWORD dwCommand, _In_ PVOID pContext, _In_ DWORD dwColor, _In_ PPRINTER_NOTIFY_INFO pNofityInfo, _In_ DWORD fdwFlags, _Out_ PDWORD pdwResult)
Definition: winsplp.h:1083
struct _PRINTPROCESSOROPENDATA * LPPRINTPROCESSOROPENDATA
DWORD WINAPI GetPrintProcessorCapabilities(_In_ LPTSTR pValueName, _In_ DWORD dwAttributes, _Out_writes_bytes_(nSize) LPBYTE pData, _In_ DWORD nSize, _Out_ LPDWORD pcbNeeded)
BOOL WINAPI SetPrinterToken(HANDLE hToken)
LPMONITOREX WINAPI InitializePrintMonitor(_In_ LPWSTR pRegistryRoot)
BOOL WINAPI XcvClosePort(_In_ HANDLE hXcv)
SPLCLIENT_INFO_2_W2K * LPSPLCLIENT_INFO_2
Definition: winsplp.h:1161
struct _SPLCLIENT_INFO_1 SPLCLIENT_INFO_1
PVOID WINAPI RouterAllocBidiMem(_In_ size_t NumBytes)
_NOTIFICATION_CONFIG_FLAGS
Definition: winsplp.h:1104
@ NOTIFICATION_CONFIG_REGISTER_CALLBACK
Definition: winsplp.h:1106
@ NOTIFICATION_CONFIG_CREATE_EVENT
Definition: winsplp.h:1105
@ NOTIFICATION_CONFIG_EVENT_TRIGGER
Definition: winsplp.h:1107
@ NOTIFICATION_CONFIG_ASYNC_CHANNEL
Definition: winsplp.h:1108
BOOL WINAPI SplDeleteSpoolerPortEnd(_In_ PCWSTR pName, _In_ BOOL bDeletePort)
BOOL WINAPI SplPromptUIInUsersSession(_In_ HANDLE hPrinter, _In_ DWORD JobId, _In_ PSHOWUIPARAMS pUIParams, _Out_ DWORD *pResponse)
BOOL WINAPI PrintDocumentOnPrintProcessor(_In_ HANDLE hPrintProcessor, _In_ LPWSTR pDocumentName)
struct _ATTRIBUTE_INFO_4 ATTRIBUTE_INFO_4
struct _MONITOREX * LPMONITOREX
struct _ATTRIBUTE_INFO_3 * PATTRIBUTE_INFO_3
SPLCLIENT_INFO_2_W2K * PSPLCLIENT_INFO_2
Definition: winsplp.h:1161
BOOL WINAPI WritePort(_In_ HANDLE hPort, _In_reads_bytes_(cbBuf) LPBYTE pBuffer, _In_ DWORD cbBuf, _Out_ LPDWORD pcbWritten)
BOOL WINAPI OpenPort(_In_ LPWSTR pName, _Out_ PHANDLE pHandle)
enum _NOTIFICATION_CALLBACK_COMMANDS NOTIFICATION_CALLBACK_COMMANDS
BOOL WINAPI SpoolerRefreshPrinterChangeNotification(_In_ HANDLE hPrinter, _In_ DWORD dwColor, _In_ PPRINTER_NOTIFY_OPTIONS pOptions, _Inout_opt_ PPRINTER_NOTIFY_INFO *ppInfo)
BOOL WINAPI ClosePort(_In_ HANDLE hPort)
BOOL WINAPI InstallPrintProcessor(HWND hWnd)
struct _NOTIFICATION_CONFIG_1 NOTIFICATION_CONFIG_1
enum _NOTIFICATION_CONFIG_FLAGS NOTIFICATION_CONFIG_FLAGS
DWORD WINAPI SplIsSessionZero(_In_ HANDLE hPrinter, _In_ DWORD JobId, _Out_ BOOL *pIsSessionZero)
BOOL WINAPI SplDeleteSpoolerPortStart(_In_ PCWSTR pPortName)
BOOL WINAPI ProvidorFindFirstPrinterChangeNotification(_In_ HANDLE hPrinter, _In_ DWORD fdwFlags, _In_ DWORD fdwOptions, _In_ HANDLE hNotify, _In_opt_ PVOID pvReserved0, _Out_opt_ PVOID pvReserved1)
struct _SPLCLIENT_INFO_2_V1 SPLCLIENT_INFO_2_W2K
struct _NOTIFICATION_CONFIG_1 * PNOTIFICATION_CONFIG_1
struct _SPLCLIENT_INFO_3 * PSPLCLIENT_INFO_3
BOOL WINAPI DeletePrinterIC(_In_ HANDLE hPrinterIC)
Definition: printers.c:4075
BOOL WINAPI GetJobAttributesEx(_In_ LPWSTR pPrinterName, _In_ LPDEVMODEW pDevmode, _In_ DWORD dwLevel, _Out_writes_bytes_(nSize) LPBYTE pAttributeInfo, _In_ DWORD nSize, _In_ DWORD dwFlags)
#define HKEYMONITOR
Definition: winsplp.h:33
BOOL WINAPI InitializeMonitorEx(_In_ LPWSTR pRegistryRoot, _Out_ LPMONITOR pMonitor)
SPLCLIENT_INFO_2_W2K SPLCLIENT_INFO_2
Definition: winsplp.h:1161
struct _SPLCLIENT_INFO_1 * PSPLCLIENT_INFO_1
PVOID pBuffer
Definition: shell.h:41
MESSAGEBOX_PARAMS MessageBoxParams
Definition: winsplp.h:1057
UI_TYPE UIType
Definition: winsplp.h:1056
DWORD dwJobNumberOfPagesPerSide
Definition: winsplp.h:1066
short dmYResolution
Definition: winsplp.h:1075
DWORD dwDrvNumberOfPagesPerSide
Definition: winsplp.h:1067
DWORD dwColorOptimization
Definition: winsplp.h:1073
DWORD dwNupBorderFlags
Definition: winsplp.h:1068
DWORD dwJobPageOrderFlags
Definition: winsplp.h:1069
DWORD dwDrvNumberOfCopies
Definition: winsplp.h:1072
DWORD dwDrvPageOrderFlags
Definition: winsplp.h:1070
DWORD dwJobNumberOfCopies
Definition: winsplp.h:1071
short dmPrintQuality
Definition: winsplp.h:1074
DWORD dwDrvNumberOfPagesPerSide
Definition: winsplp.h:1129
DWORD dwJobPageOrderFlags
Definition: winsplp.h:1131
DWORD dwJobNumberOfPagesPerSide
Definition: winsplp.h:1128
DWORD dwJobNumberOfCopies
Definition: winsplp.h:1133
DWORD dwNupDirection
Definition: winsplp.h:1139
DWORD dwDuplexFlags
Definition: winsplp.h:1138
short dmPrintQuality
Definition: winsplp.h:1136
DWORD dwBookletFlags
Definition: winsplp.h:1140
DWORD dwDrvNumberOfCopies
Definition: winsplp.h:1134
DWORD dwNupBorderFlags
Definition: winsplp.h:1130
DWORD dwColorOptimization
Definition: winsplp.h:1135
DWORD dwDrvPageOrderFlags
Definition: winsplp.h:1132
DWORD dwScalingPercentX
Definition: winsplp.h:1141
short dmYResolution
Definition: winsplp.h:1137
DWORD dwScalingPercentY
Definition: winsplp.h:1142
_In_ LPWSTR pPrinterName
Definition: winsplp.h:898
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD pcReturned
Definition: winsplp.h:878
_In_ DWORD _In_ LPCWSTR _In_ PBIDI_REQUEST_CONTAINER _Outptr_ PBIDI_RESPONSE_CONTAINER * ppResData
Definition: winsplp.h:995
_In_ DWORD cPorts
Definition: winsplp.h:1003
_In_ DWORD dwAccessBit
Definition: winsplp.h:992
_In_ DWORD _In_ LPCWSTR _In_ PBIDI_REQUEST_CONTAINER pReqData
Definition: winsplp.h:994
_In_ HANDLE _In_ LPWSTR _In_ LPWSTR pPrinterName
Definition: winsplp.h:891
DWORD(WINAPI *pfnNotifyUsedPorts)(_In_ HANDLE hMonitor
_In_ HANDLE _In_ LPWSTR _In_ LPWSTR _Out_ PHANDLE _In_ struct _MONITOR2 * pMonitor2
Definition: winsplp.h:893
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD cbBuf
Definition: winsplp.h:876
DWORD(WINAPI *pfnSendRecvBidiDataFromPort)(_In_ HANDLE hPort
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD pcbNeeded
Definition: winsplp.h:877
BOOL(WINAPI *pfnOpenPortEx)(_In_ HANDLE hMonitor
_In_ HANDLE _In_ LPWSTR pPortName
Definition: winsplp.h:890
_In_ LPWSTR _In_ DWORD _In_ DWORD Level
Definition: winsplp.h:900
_In_opt_ LPWSTR _In_ DWORD _Out_writes_bytes_to_opt_(cbBuf, *pcbNeeded) LPBYTE pPorts
BOOL(WINAPI *pfnStartDocPort)(_In_ HANDLE hPort
_In_opt_ LPWSTR _In_ DWORD Level
Definition: winsplp.h:874
BOOL(WINAPI *pfnEnumPorts)(_In_ HANDLE hMonitor
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_reads_(_Inexpressible_(0)) LPBYTE pDocInfo)
_In_ HANDLE _In_ LPWSTR _In_ LPWSTR _Out_ PHANDLE pHandle
Definition: winsplp.h:892
_In_opt_ LPWSTR pName
Definition: winsplp.h:873
BOOL(WINAPI *pfnOpenPort)(_In_ HANDLE hMonitor
_In_ DWORD _In_reads_(cPorts) PCWSTR *ppszPorts)
_In_ DWORD _In_ LPCWSTR pAction
Definition: winsplp.h:993
_In_ LPWSTR _Out_ PHANDLE pHandle
Definition: winsplp.h:884
DWORD cbSize
Definition: winsplp.h:868
_In_ LPWSTR _In_ DWORD JobId
Definition: winsplp.h:899
_In_ HANDLE hMonitorPort
Definition: winsplp.h:889
DWORD(WINAPI *pfnNotifyUnusedPorts)(_In_ HANDLE hMonitor
MONITOR Monitor
Definition: winsplp.h:864
DWORD dwMonitorSize
Definition: winsplp.h:863
BOOL bLocal
Definition: winsplp.h:750
HANDLE hSpooler
Definition: winsplp.h:747
DWORD cbSize
Definition: winsplp.h:746
HKEYMONITOR hckRegistryRoot
Definition: winsplp.h:748
PMONITORREG pMonitorReg
Definition: winsplp.h:749
LPCWSTR pszServerName
Definition: winsplp.h:751
_In_ LPCWSTR _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE _Inout_ PDWORD _In_ HANDLE hSpooler
Definition: winsplp.h:741
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR pszValue
Definition: winsplp.h:727
_In_ LPCWSTR _In_ DWORD _In_ REGSAM _In_opt_ PSECURITY_ATTRIBUTES _Out_ PHANDLE phckResult
Definition: winsplp.h:667
_In_ DWORD _Inout_updates_to_ pcchName LPWSTR pszName
Definition: winsplp.h:691
_In_ DWORD _Inout_updates_to_ pcchName LPWSTR _Inout_ PDWORD _Out_opt_ PFILETIME _In_ HANDLE hSpooler
Definition: winsplp.h:694
DWORD cbSize
Definition: winsplp.h:658
LONG(WINAPI *fpDeleteValue)(_In_ HANDLE hcKey
_Out_opt_ PDWORD pcSubKeys
Definition: winsplp.h:699
LONG(WINAPI *fpDeleteKey)(_In_ HANDLE hcKey
_In_ LPCWSTR _In_ DWORD _In_ REGSAM _In_opt_ PSECURITY_ATTRIBUTES pSecurityAttributes
Definition: winsplp.h:666
LONG(WINAPI *fpCreateKey)(_In_ HANDLE hcKey
_In_ LPCWSTR _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE _Inout_ PDWORD pcbData
Definition: winsplp.h:740
_In_ LPCWSTR _In_ DWORD _In_ REGSAM _In_opt_ PSECURITY_ATTRIBUTES _Out_ PHANDLE _Out_opt_ PDWORD _In_ HANDLE hSpooler
Definition: winsplp.h:669
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD pcbSecurityDescriptor
Definition: winsplp.h:704
_Out_opt_ PDWORD _Out_opt_ PDWORD pcbKey
Definition: winsplp.h:700
_In_ LPCWSTR pszSubKey
Definition: winsplp.h:663
_In_ LPCWSTR _In_ DWORD dwOptions
Definition: winsplp.h:664
_In_ LPCWSTR _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE pData
Definition: winsplp.h:739
_In_ LPCWSTR _In_ DWORD _In_ DWORD cbData
Definition: winsplp.h:714
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD pcValues
Definition: winsplp.h:701
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PFILETIME _In_ HANDLE hSpooler
Definition: winsplp.h:706
_In_ LPCWSTR _In_ REGSAM _Out_ PHANDLE _In_ HANDLE hSpooler
Definition: winsplp.h:677
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR _Inout_ PDWORD pcbValue
Definition: winsplp.h:728
_In_ LPCWSTR _In_ REGSAM _Out_ PHANDLE phkResult
Definition: winsplp.h:676
_In_ LPCWSTR _In_ DWORD _In_reads_bytes_(cbData) const BYTE *pData
_In_ LPCWSTR _In_ DWORD dwType
Definition: winsplp.h:712
_In_ DWORD _Inout_updates_to_ pcchName LPWSTR _Inout_ PDWORD pcchName
Definition: winsplp.h:692
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR _Inout_ PDWORD _Out_opt_ PDWORD pType
Definition: winsplp.h:729
LONG(WINAPI *fpEnumValue)(_In_ HANDLE hcKey
_In_ DWORD dwIndex
Definition: winsplp.h:690
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PFILETIME pftLastWriteTime
Definition: winsplp.h:705
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR _Inout_ PDWORD _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE pData
Definition: winsplp.h:730
_In_ LPCWSTR _In_ DWORD _In_ REGSAM samDesired
Definition: winsplp.h:665
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD pcbValue
Definition: winsplp.h:702
_In_ DWORD _Inout_updates_to_ pcchName LPWSTR _Inout_ PDWORD _Out_opt_ PFILETIME pftLastWriteTime
Definition: winsplp.h:693
LONG(WINAPI *fpQueryValue)(_In_ HANDLE hcKey
_In_ LPCWSTR _In_ REGSAM samDesired
Definition: winsplp.h:675
LONG(WINAPI *fpEnumKey)(_In_ HANDLE hcKey
_In_ LPCWSTR _In_ DWORD _In_ REGSAM _In_opt_ PSECURITY_ATTRIBUTES _Out_ PHANDLE _Out_opt_ PDWORD pdwDisposition
Definition: winsplp.h:668
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR _Inout_ PDWORD _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE _Inout_ PDWORD _In_ HANDLE hSpooler
Definition: winsplp.h:732
LONG(WINAPI *fpSetValue)(_In_ HANDLE hcKey
_In_ LPCWSTR _In_ DWORD _In_ DWORD _In_ HANDLE hSpooler
Definition: winsplp.h:715
_In_ HANDLE hSpooler
Definition: winsplp.h:679
_In_ LPCWSTR _Out_opt_ PDWORD pType
Definition: winsplp.h:738
_Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD _Out_opt_ PDWORD pcbData
Definition: winsplp.h:703
LONG(WINAPI *fpQueryInfoKey)(_In_ HANDLE hcKey
LONG(WINAPI *fpOpenKey)(_In_ HANDLE hcKey
_In_ LPCWSTR pszValue
Definition: winsplp.h:711
_In_ DWORD _Inout_updates_to_ pcbValue LPWSTR _Inout_ PDWORD _Out_opt_ PDWORD _Out_writes_bytes_to_opt_ pcbData PBYTE _Inout_ PDWORD pcbData
Definition: winsplp.h:731
BOOL(WINAPI *pfnAddPortUI)(_At_(return
_Success_(return !=0)) _In_opt_ PCWSTR pszServer
DWORD dwMonitorUISize
Definition: winsplp.h:1017
BOOL(WINAPI *pfnOpenPort)(_In_ LPWSTR pName
_In_ DWORD _In_ DWORD _Out_ LPDWORD pcbNeeded
Definition: winsplp.h:762
_In_ LPWSTR _Out_ PHANDLE pHandle
Definition: winsplp.h:771
BOOL(WINAPI *pfnOpenPortEx)(_In_ LPWSTR pPortName
_In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD pcReturned
Definition: winsplp.h:763
BOOL(WINAPI *pfnStartDocPort)(_In_ HANDLE hPort
_In_ LPWSTR _In_ DWORD _In_ DWORD Level
Definition: winsplp.h:779
_In_ DWORD _Out_writes_bytes_to_opt_(cbBuf, *pcbNeeded) LPBYTE pPorts
_In_ DWORD Level
Definition: winsplp.h:759
_In_ LPWSTR pPrinterName
Definition: winsplp.h:770
_In_ LPWSTR _Out_ PHANDLE _In_ struct _MONITOR * pMonitor
Definition: winsplp.h:772
_In_ DWORD _In_ DWORD cbBuf
Definition: winsplp.h:761
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_reads_(_Inexpressible_(0)) LPBYTE pDocInfo)
_In_ LPWSTR _In_ DWORD JobId
Definition: winsplp.h:778
BOOL(WINAPI *pfnEnumPorts)(_In_opt_ LPWSTR pName
ROUTER_NOTIFY_CALLBACK pfnNotifyCallback
Definition: winsplp.h:1100
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD lpdwReturned
Definition: winsplp.h:158
_In_opt_ LPWSTR _In_ LPWSTR pDriverName
Definition: winsplp.h:198
_In_ DWORD _In_ HWND _In_ LPWSTR pText
Definition: winsplp.h:398
_In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_opt_ LPDWORD _In_ DWORD _Out_ LPDWORD pcbData
Definition: winsplp.h:488
_In_ HWND _In_ LPWSTR pMonitorName
Definition: winsplp.h:359
_In_ DWORD Error
Definition: winsplp.h:396
_In_opt_ LPWSTR _In_ LPWSTR _In_ DWORD dwDeleteFlag
Definition: winsplp.h:567
_In_ LPCWSTR _In_ DWORD _In_ DWORD _Out_ PDWORD _Out_ PDWORD pdwStatus
Definition: winsplp.h:599
_In_opt_ LPWSTR _In_ LPWSTR pPathName
Definition: winsplp.h:204
_In_ LPCWSTR pPrinterName
Definition: winsplp.h:573
_In_ LPCWSTR _In_ LPCWSTR pPrintServer
Definition: winsplp.h:574
_In_ LPCWSTR _Out_ PHANDLE _In_ LPCWSTR pszName
Definition: winsplp.h:500
BOOL(WINAPI *fpOpenPrinter)(_In_opt_ PWSTR lpPrinterName
_In_ DWORD _In_ DWORD _In_reads_opt_(_Inexpressible_(0)) LPBYTE pJob
_In_ LPCWSTR _In_ LPBIDI_REQUEST_CONTAINER pReqData
Definition: winsplp.h:640
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD lpdwNeeded
Definition: winsplp.h:157
_In_ DWORD _In_ DWORD _In_ DWORD cbBuf
Definition: winsplp.h:113
DWORD fdwFlags
Definition: winsplp.h:433
_In_ LPWSTR pFormName
Definition: winsplp.h:310
_In_ LPCWSTR _In_ DWORD cbInputData
Definition: winsplp.h:595
_In_ DWORD _Out_ LPDWORD _In_ DWORD cSleep
Definition: winsplp.h:634
_In_ LARGE_INTEGER _Out_ PLARGE_INTEGER _In_ DWORD dwMoveMethod
Definition: winsplp.h:559
_In_opt_ LPWSTR _In_ LPWSTR _In_ LPWSTR pPrintProcessorName
Definition: winsplp.h:205
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _In_ DWORD _In_ DWORD _Out_ PDWORD pdwServerMajorVersion
Definition: winsplp.h:429
_In_ DWORD _In_ DWORD ClientInfoLevel
Definition: winsplp.h:469
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _In_ DWORD _In_ DWORD _Out_ PDWORD _Out_ PDWORD pdwServerMinorVersion
Definition: winsplp.h:430
_In_ LPCWSTR _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD pnEnumValues
Definition: winsplp.h:533
_In_opt_ LPWSTR pEnvironment
Definition: winsplp.h:169
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD pcbReturned
Definition: winsplp.h:174
_In_ LPCWSTR pKeyName
Definition: winsplp.h:510
_In_ DWORD _In_ DWORD dwFileCopyFlags
Definition: winsplp.h:606
_In_ DWORD _In_opt_ PVOID _In_ PVOID pPrinterNotifyInfo
Definition: winsplp.h:453
_In_ LPWSTR _In_ DWORD _In_ DWORD cbData
Definition: winsplp.h:295
_In_ DWORD _In_ DWORD _In_ DWORD ul
Definition: winsplp.h:385
_In_ LPCWSTR pAction
Definition: winsplp.h:639
_In_ DWORD _In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD _Out_ LPDWORD pcReturned
Definition: winsplp.h:125
_In_ DWORD dwIndex
Definition: winsplp.h:481
_In_ LPCWSTR _In_ DWORD _Out_ LPDWORD pcbSubkey
Definition: winsplp.h:541
_In_ LPCWSTR _In_ DWORD _Out_ LPDWORD pcbEnumValues
Definition: winsplp.h:532
_In_opt_ LPDEVMODEW pDevMode
Definition: winsplp.h:376
_In_ LARGE_INTEGER _Out_ PLARGE_INTEGER _In_ DWORD _In_ BOOL bWrite
Definition: winsplp.h:560
_In_ LPCWSTR _In_ DWORD _In_ DWORD cbOutputData
Definition: winsplp.h:597
_In_ DWORD JobID
Definition: winsplp.h:102
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _In_ DWORD _In_ DWORD dwClientMinorVersion
Definition: winsplp.h:428
_In_ DWORD _In_ DWORD cOut
Definition: winsplp.h:384
_In_ DWORD _In_ DWORD Level
Definition: winsplp.h:103
_In_ DWORD cIn
Definition: winsplp.h:382
_In_opt_ LPWSTR _In_ DWORD _In_ DWORD _Out_ LPDWORD _In_ DWORD dwClientMajorVersion
Definition: winsplp.h:427
_In_ HWND hWnd
Definition: winsplp.h:358
_In_ DWORD _Out_ LPDWORD pcWritten
Definition: winsplp.h:255
BOOL(WINAPI *fpSetJob)(_In_ HANDLE hPrinter
_In_ DWORD _In_opt_ PVOID pvReserved
Definition: winsplp.h:452
_In_ LPCWSTR _Out_ PHANDLE phSpooler
Definition: winsplp.h:499
_In_opt_ LPWSTR lpszName
Definition: winsplp.h:153
_Outptr_result_maybenull_ LPWSTR _Out_ LPHANDLE _In_ HANDLE hSpoolerProcess
Definition: winsplp.h:621
_In_ LPCWSTR _In_ LPCWSTR _In_ LPCWSTR pProvider
Definition: winsplp.h:575
_In_ LPCWSTR _Out_ PHANDLE _In_ LPCWSTR _In_ LPCWSTR pszAddress
Definition: winsplp.h:501
_In_ LPCWSTR pszResource
Definition: winsplp.h:498
_In_ LARGE_INTEGER liDistanceToMove
Definition: winsplp.h:557
_In_ DWORD _In_ LPWSTR lpMonitorName
Definition: winsplp.h:444
_In_opt_ LPWSTR _In_ DWORD dwLevel
Definition: winsplp.h:154
_Out_ HANDLE _In_opt_ PPRINTER_DEFAULTSW pDefault
Definition: winsplp.h:97
DWORD DWORD fdwOptions
Definition: winsplp.h:434
_In_ LPCWSTR pszDataName
Definition: winsplp.h:593
_In_ DWORD _In_ DWORD _Out_ LPDWORD pcbValueName
Definition: winsplp.h:484
_In_ DWORD _In_ DWORD NoJobs
Definition: winsplp.h:120
_In_ HWND _In_ LPWSTR pPortName
Definition: winsplp.h:365
_In_ DWORD cbCommit
Definition: winsplp.h:624
_Out_ HANDLE * phPrinter
Definition: winsplp.h:96
DWORD VOID * pvDriverInfCatInfo
Definition: winsplp.h:644
_Outptr_result_maybenull_ LPWSTR _Out_ LPHANDLE _In_ HANDLE _In_ HANDLE hAppProcess
Definition: winsplp.h:622
_In_ DWORD _In_ HWND _In_ LPWSTR _In_ LPWSTR _In_ DWORD dwType
Definition: winsplp.h:400
_In_ DWORD _Out_ LPDWORD pNoBytesRead
Definition: winsplp.h:266
_In_ LPCWSTR _In_ DWORD _In_ DWORD _Out_ PDWORD pcbOutputNeeded
Definition: winsplp.h:598
_In_ DWORD _In_ DWORD cbValueName
Definition: winsplp.h:483
_In_ LPWSTR _Out_opt_ LPDWORD pType
Definition: winsplp.h:284
_In_ DWORD FirstJob
Definition: winsplp.h:119
_In_opt_ LPWSTR _In_ LPWSTR _In_ DWORD _In_ DWORD dwVersionNum
Definition: winsplp.h:568
_In_ LPCWSTR _In_ DWORD cbSubkey
Definition: winsplp.h:540
_In_ LPWSTR _Out_opt_ LPDWORD _In_ DWORD nSize
Definition: winsplp.h:286
_In_ LPWSTR pValueName
Definition: winsplp.h:283
_In_ LARGE_INTEGER _Out_ PLARGE_INTEGER pliNewPointer
Definition: winsplp.h:558
_In_ LPCWSTR _In_ DWORD cbEnumValues
Definition: winsplp.h:531
DWORD VOID DWORD dwCatalogCopyFlags
Definition: winsplp.h:644
_Outptr_result_maybenull_ LPWSTR _Out_ LPHANDLE phFile
Definition: winsplp.h:620
DWORD DWORD LPVOID pPrinterNotifyOptions
Definition: winsplp.h:435
_In_ LPCWSTR _In_ LPBIDI_REQUEST_CONTAINER _Outptr_ LPBIDI_RESPONSE_CONTAINER * ppResData
Definition: winsplp.h:641
_Outptr_result_maybenull_ LPWSTR * pSpoolDir
Definition: winsplp.h:619
_In_ DWORD _In_ HWND _In_ LPWSTR _In_ LPWSTR pCaption
Definition: winsplp.h:399
LPWSTR pUserName
Definition: winsplp.h:68
DWORD dwMajorVersion
Definition: winsplp.h:70
DWORD dwBuildNum
Definition: winsplp.h:69
DWORD dwMinorVersion
Definition: winsplp.h:71
WORD wProcessorArchitecture
Definition: winsplp.h:72
LPWSTR pMachineName
Definition: winsplp.h:67
ULONG_PTR hSplPrinter
Definition: winsplp.h:76
DWORD32 hSplPrinter
Definition: winsplp.h:83
UINT64 hSplPrinter
Definition: winsplp.h:88
PWSTR pMachineName
Definition: winsplp.h:1115
UINT64 hSplPrinter
Definition: winsplp.h:1121
WORD wProcessorArchitecture
Definition: winsplp.h:1120
DWORD dwMajorVersion
Definition: winsplp.h:1118
DWORD dwMinorVersion
Definition: winsplp.h:1119
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
uint16_t * PWSTR
Definition: typedefs.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
uint64_t DWORD64
Definition: typedefs.h:67
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65
DWORD dwAttributes
Definition: vdmdbg.h:34
PMONITORUI WINAPI InitializePrintMonitorUI(void)
Definition: localui.c:665
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE phToken
Definition: winbase.h:2739
*nSize LPSTR _Inout_ LPDWORD nSize
Definition: winbase.h:2108
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ DWORD _Out_writes_bytes_to_opt_ pcbData void _Inout_ DWORD * pcbData
Definition: wincrypt.h:4950
_In_ DWORD _Out_ PDWORD pcbNeeded
Definition: winddi.h:3828
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6
ACCESS_MASK REGSAM
Definition: winreg.h:69
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:20
WCHAR * LPWSTR
Definition: xmlstorage.h:184
CHAR * LPTSTR
Definition: xmlstorage.h:192
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193