ReactOS  0.4.14-dev-552-g2fad488
winspool.idl
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Spooler API
3  * LICENSE: This file is in the public domain
4  * PURPOSE: WIDL-compatible interface definition for the Spooler API
5  * AUTHORS: Colin Finck <colin@reactos.org>
6  */
7 
8 #include <ms-dtyp.idl>
9 
10 /*
11  * Handle definitions
12  */
13 typedef [context_handle] void* WINSPOOL_GDI_HANDLE;
14 typedef [context_handle] void* WINSPOOL_PRINTER_HANDLE;
16 
17 
18 /*
19  * Type definitions and enumerations
20  */
22 
23 typedef enum
24 {
33 }
35 
36 typedef enum
37 {
43 }
45 
46 
47 /*
48  * Various definitions
49  */
50 typedef struct _WINSPOOL_RECTL
51 {
56 }
58 
59 typedef struct _WINSPOOL_SIZEL
60 {
63 }
65 
66 
67 /*
68  * INFO structures
69  */
70 typedef struct _WINSPOOL_DOC_INFO_1 {
74 }
76 
78 {
80 }
82 
84 {
91 }
93 
95 {
107 }
109 
111 {
125 }
127 
129 {
149 }
151 
153 {
183 }
185 
186 typedef struct _WINSPOOL_FORM_INFO_1
187 {
192 }
194 
195 typedef struct _WINSPOOL_FORM_INFO_2
196 {
207 }
209 
210 typedef struct _WINSPOOL_JOB_INFO_1
211 {
225 }
227 
228 typedef struct _WINSPOOL_JOB_INFO_2
229 {
253 }
255 
256 typedef struct _WINSPOOL_JOB_INFO_3
257 {
261 }
263 
264 typedef struct _WINSPOOL_JOB_INFO_4
265 {
290 }
292 
294 {
296 }
298 
300 {
304 }
306 
307 typedef struct _WINSPOOL_PORT_INFO_1
308 {
310 }
312 
313 typedef struct _WINSPOOL_PORT_INFO_2
314 {
320 }
322 
323 typedef struct _WINSPOOL_PORT_INFO_3
324 {
328 }
330 
332 {
336 }
338 
369 }
371 
373 {
378 }
380 
382 {
404 }
406 
408 {
410 }
412 
414 {
418 }
420 
422 {
428 }
430 
432 {
434 }
436 
438 {
441 }
443 
445 {
447 }
449 
451 {
453 }
455 
457 {
461 }
463 
465 {
467 }
469 
471 {
479 }
481 
483 {
485 }
487 
489 {
500 }
502 
503 
504 /*
505  * CONTAINER structures
506  */
508 {
510  [size_is(cbBuf), unique] BYTE* pszString;
511 }
513 
514 typedef struct _WINSPOOL_BIDI_DATA
515 {
517 
518  [switch_is(dwBidiType)] union
519  {
522  [case(WINSPOOL_BIDI_INT)]
526  [case(WINSPOOL_BIDI_FLOAT)]
528  [case(WINSPOOL_BIDI_BLOB)]
530  }
531  u;
532 }
534 
536 {
540 }
542 
544 {
549 }
551 
553 {
558 }
560 
562 {
567 }
569 
571 {
573 
574  [switch_is(Level)] union
575  {
576  [case(1)]
578  }
579  DocInfo;
580 }
582 
584 {
586  [size_is(cbBuf), unique] BYTE* pDevMode;
587 }
589 
591 {
593 
594  [switch_is(Level)] union
595  {
596  [case(1)]
598  [case(2)]
600  [case(3)]
602  [case(4)]
604  [case(6)]
606  [case(8)]
608  }
609  DriverInfo;
610 }
612 
614 {
616 
617  [switch_is(Level)] union
618  {
619  [case(1)]
621  [case(2)]
623  }
624  FormInfo;
625 }
627 
629 {
631 
632  [switch_is(Level)] union
633  {
634  [case(1)]
636  [case(2)]
638  [case(3)]
640  [case(4)]
642  }
643  JobInfo;
644 }
646 
648 {
650 
651  [switch_is(Level)] union
652  {
653  [case(1)]
655  [case(2)]
657  }
658  MonitorInfo;
659 }
661 
663 {
665 
666  [switch_is(0x00FFFFFF & Level)]
667  union
668  {
669  [case(1)]
671  [case(2)]
673  [case(3)]
675  [case(0x00FFFFFF)]
677  }
678  PortInfo;
679 }
681 
683 {
686 }
688 
690 {
692 
693  [switch_is(Level)] union
694  {
695  [case(0)]
697  [case(1)]
699  [case(2)]
701  [case(3)]
703  [case(4)]
705  [case(5)]
707  [case(6)]
709  [case(7)]
711  [case(8)]
713  [case(9)]
715  }
716  PrinterInfo;
717 }
719 
721 {
723 
724  [switch_is(Level)] union
725  {
726  [case(1)]
728  [case(2)]
730  }
731  ProvidorInfo;
732 }
734 
736 {
738  [size_is(cbBuf), unique] BYTE* pSecurity;
739 }
741 
743 {
745 
746  [switch_is(Level)] union
747  {
748  [case(1)]
750  [case(2)]
752  [case(3)]
754  }
755  ClientInfo;
756 }
758 
760 {
762  [size_is(cbBuf / 2), unique] WCHAR* pszString;
763 }
765 
769 }
771 
772 
773 /*
774  * Various definitions
775  */
777 {
783  [size_is(Count), unique] USHORT* pFields;
784 }
786 
788 {
793 }
795 
796 typedef [switch_type(DWORD)] union _WINSPOOL_V2_NOTIFY_INFO_DATA_DATA
797 {
798  [case(WINSPOOL_TABLE_STRING)]
800  [case(WINSPOOL_TABLE_DWORD)]
802  [case(WINSPOOL_TABLE_TIME)]
804  [case(WINSPOOL_TABLE_DEVMODE)]
808 }
810 
812 {
818 }
820 
822 {
827 }
829 
830 typedef [switch_type(DWORD)] union _WINSPOOL_V2_UREPLY_PRINTER
831 {
832  [case(0)]
834 }
836 
837 
838 /*
839  * The actual interface
840  */
841 [
842  uuid(12345678-1234-ABCD-EF00-0123456789AB),
843  version(1.0),
844  endpoint("ncalrpc:[spoolss]", "ncacn_np:[\\pipe\\spoolss]"),
846 ]
847 
848 interface winspool {
849  /* Function 0x00 */
851  [in] DWORD Flags,
853  [in] DWORD Level,
854  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPrinterEnum,
855  [in] DWORD cbBuf,
856  [out] DWORD* pcbNeeded,
857  [out] DWORD* pcReturned
858  );
859 
860  /* Function 0x01 */
862  [in, unique] WINSPOOL_HANDLE pPrinterName,
863  [out] WINSPOOL_PRINTER_HANDLE* phPrinter,
864  [in, string, unique] WCHAR* pDatatype,
865  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer,
866  [in] DWORD AccessRequired
867  );
868 
869  /* Function 0x02 */
871  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
872  [in] DWORD JobId,
873  [in, unique] WINSPOOL_JOB_CONTAINER* pJobContainer,
874  [in] DWORD Command
875  );
876 
877  /* Function 0x03 */
879  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
880  [in] DWORD JobId,
881  [in] DWORD Level,
882  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pJob,
883  [in] DWORD cbBuf,
884  [out] DWORD* pcbNeeded
885  );
886 
887  /* Function 0x04 */
889  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
890  [in] DWORD FirstJob,
891  [in] DWORD NoJobs,
892  [in] DWORD Level,
893  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pJob,
894  [in] DWORD cbBuf,
895  [out] DWORD* pcbNeeded,
896  [out] DWORD* pcReturned
897  );
898 
899  /* Function 0x05 */
902  [in] WINSPOOL_PRINTER_CONTAINER* pPrinterContainer,
903  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer,
904  [in] WINSPOOL_SECURITY_CONTAINER* pSecurityContainer,
905  [out] WINSPOOL_PRINTER_HANDLE* pHandle
906  );
907 
908  /* Function 0x06 */
910  [in] WINSPOOL_PRINTER_HANDLE hPrinter
911  );
912 
913  /* Function 0x07 */
915  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
916  [in] WINSPOOL_PRINTER_CONTAINER* pPrinterContainer,
917  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer,
918  [in] WINSPOOL_SECURITY_CONTAINER* pSecurityContainer,
919  [in] DWORD Command
920  );
921 
922  /* Function 0x08 */
924  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
925  [in] DWORD Level,
926  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPrinter,
927  [in] DWORD cbBuf,
928  [out] DWORD* pcbNeeded
929  );
930 
931  /* Function 0x09 */
934  [in] WINSPOOL_DRIVER_CONTAINER* pDriverContainer
935  );
936 
937  /* Function 0x0A */
940  [in, string, unique] WCHAR* pEnvironment,
941  [in] DWORD Level,
942  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pDrivers,
943  [in] DWORD cbBuf,
944  [out] DWORD* pcbNeeded,
945  [out] DWORD* pcReturned
946  );
947 
948  /* Function 0x0B */
950  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
951  [in, string, unique] WCHAR* pEnvironment,
952  [in] DWORD Level,
953  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pDriver,
954  [in] DWORD cbBuf,
955  [out] DWORD* pcbNeeded
956  );
957 
958  /* Function 0x0C */
961  [in, string, unique] WCHAR* pEnvironment,
962  [in] DWORD Level,
963  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pDriverDirectory,
964  [in] DWORD cbBuf,
965  [out] DWORD* pcbNeeded
966  );
967 
968  /* Function 0x0D */
971  [in, string] WCHAR* pEnvironment,
972  [in, string] WCHAR* pDriverName
973  );
974 
975  /* Function 0x0E */
978  [in, string] WCHAR* pEnvironment,
979  [in, string] WCHAR* pPathName,
980  [in, string] WCHAR* pPrintProcessorName
981  );
982 
983  /* Function 0x0F */
986  [in, string, unique] WCHAR* pEnvironment,
987  [in] DWORD Level,
988  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPrintProcessorInfo,
989  [in] DWORD cbBuf,
990  [out] DWORD* pcbNeeded,
991  [out] DWORD* pcReturned
992  );
993 
994  /* Function 0x10 */
997  [in, string, unique] WCHAR* pEnvironment,
998  [in] DWORD Level,
999  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPrintProcessorDirectory,
1000  [in] DWORD cbBuf,
1001  [out] DWORD* pcbNeeded
1002  );
1003 
1004  /* Function 0x11 */
1006  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1007  [in] WINSPOOL_DOC_INFO_CONTAINER* pDocInfoContainer,
1008  [out] DWORD* pJobId
1009  );
1010 
1011  /* Function 0x12 */
1013  [in] WINSPOOL_PRINTER_HANDLE hPrinter
1014  );
1015 
1016  /* Function 0x13 */
1018  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1019  [in, size_is(cbBuf)] BYTE* pBuf,
1020  [in] DWORD cbBuf,
1021  [out] DWORD* pcWritten
1022  );
1023 
1024  /* Function 0x14 */
1026  [in] WINSPOOL_PRINTER_HANDLE hPrinter
1027  );
1028 
1029  /* Function 0x15 */
1031  [in] WINSPOOL_PRINTER_HANDLE hPrinter
1032  );
1033 
1034  /* Function 0x16 */
1036  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1037  [out, size_is(cbBuf)] BYTE* pBuf,
1038  [in] DWORD cbBuf,
1039  [out] DWORD* pcNoBytesRead
1040  );
1041 
1042  /* Function 0x17 */
1044  [in] WINSPOOL_PRINTER_HANDLE hPrinter
1045  );
1046 
1047  /* Function 0x18 */
1048  DWORD _RpcAddJob(
1049  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1050  [in] DWORD Level,
1051  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pAddJob,
1052  [in] DWORD cbBuf,
1053  [out] DWORD* pcbNeeded
1054  );
1055 
1056  /* Function 0x19 */
1058  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1059  [in] DWORD JobId
1060  );
1061 
1062  /* Function 0x1A */
1064  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1065  [in, string] WCHAR* pValueName,
1066  [out] DWORD* pType,
1067  [out, size_is(nSize)] BYTE* pData,
1068  [in] DWORD nSize,
1069  [out] DWORD* pcbNeeded
1070  );
1071 
1072  /* Function 0x1B */
1074  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1075  [in, string] WCHAR* pValueName,
1076  [in] DWORD Type,
1077  [in, size_is(cbData)] BYTE* pData,
1078  [in] DWORD cbData
1079  );
1080 
1081  /* Function 0x1C */
1083  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1084  [in] DWORD Flags,
1085  [out] DWORD* pFlags
1086  );
1087 
1088  /* Function 0x1D */
1090  [in, out] WINSPOOL_PRINTER_HANDLE* phPrinter
1091  );
1092 
1093  /* Function 0x1E */
1095  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1096  [in] WINSPOOL_FORM_CONTAINER* pFormInfoContainer
1097  );
1098 
1099  /* Function 0x1F */
1101  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1102  [in, string] WCHAR* pFormName
1103  );
1104 
1105  /* Function 0x20 */
1107  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1108  [in, string] WCHAR* pFormName,
1109  [in] DWORD Level,
1110  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pForm,
1111  [in] DWORD cbBuf,
1112  [out] DWORD* pcbNeeded
1113  );
1114 
1115  /* Function 0x21 */
1117  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1118  [in, string] WCHAR* pFormName,
1119  [in] WINSPOOL_FORM_CONTAINER* pFormInfoContainer
1120  );
1121 
1122  /* Function 0x22 */
1124  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1125  [in] DWORD Level,
1126  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pForm,
1127  [in] DWORD cbBuf,
1128  [out] DWORD* pcbNeeded,
1129  [out] DWORD* pcReturned
1130  );
1131 
1132  /* Function 0x23 */
1135  [in] DWORD Level,
1136  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPort,
1137  [in] DWORD cbBuf,
1138  [out] DWORD* pcbNeeded,
1139  [out] DWORD* pcReturned
1140  );
1141 
1142  /* Function 0x24 */
1145  [in] DWORD Level,
1146  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pMonitor,
1147  [in] DWORD cbBuf,
1148  [out] DWORD* pcbNeeded,
1149  [out] DWORD* pcReturned
1150  );
1151 
1152  /* Function 0x25 */
1155  [in] ULONG_PTR hWnd,
1156  [in] WCHAR* pMonitorName
1157  );
1158 
1159  /* Function 0x26 */
1162  [in] ULONG_PTR hWnd,
1163  [in] WCHAR* pPortName
1164  );
1165 
1166  /* Function 0x27 */
1169  [in] ULONG_PTR hWnd,
1170  [in, string] WCHAR* pPortName
1171  );
1172 
1173  /* Function 0x28 */
1175  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1176  [out] WINSPOOL_GDI_HANDLE* pHandle,
1177  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer
1178  );
1179 
1180  /* Function 0x29 */
1182  [in] WINSPOOL_GDI_HANDLE hPrinterIC,
1183  [in, size_is(cIn)] BYTE* pIn,
1184  [in] DWORD cIn,
1185  [out, size_is(cOut)] BYTE* pOut,
1186  [in] DWORD cOut,
1187  [in] DWORD ul
1188  );
1189 
1190  /* Function 0x2A */
1192  [in, out] WINSPOOL_GDI_HANDLE* phPrinterIC
1193  );
1194 
1195  /* Function 0x2B */
1198  );
1199 
1200  /* Function 0x2C */
1203  );
1204 
1205  /* Function 0x2D */
1207  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1208  [in] DWORD Error,
1209  [in] ULONG_PTR hWnd,
1210  [in, string] WCHAR* pText,
1211  [in, string] WCHAR* pCaption,
1212  [in] DWORD dwType
1213  );
1214 
1215  /* Function 0x2E */
1218  [in] WINSPOOL_MONITOR_CONTAINER* pMonitorContainer
1219  );
1220 
1221  /* Function 0x2F */
1224  [in, string, unique] WCHAR* pEnvironment,
1225  [in, string] WCHAR* pMonitorName
1226  );
1227 
1228  /* Function 0x30 */
1231  [in, string, unique] WCHAR* pEnvironment,
1232  [in, string] WCHAR* pPrintProcessorName
1233  );
1234 
1235  /* Function 0x31 */
1238  [in] WINSPOOL_PROVIDOR_CONTAINER* pProvidorContainer
1239  );
1240 
1241  /* Function 0x32 */
1244  [in, string, unique] WCHAR* pEnvironment,
1245  [in, string] WCHAR* pPrintProviderName
1246  );
1247 
1248  /* Function 0x33 */
1251  [in, string, unique] WCHAR* pPrintProcessorName,
1252  [in] DWORD Level,
1253  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pDatatypes,
1254  [in] DWORD cbBuf,
1255  [out] DWORD* pcbNeeded,
1256  [out] DWORD* pcReturned
1257  );
1258 
1259  /* Function 0x34 */
1261  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1262  [in, string, unique] WCHAR* pDatatype,
1263  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer
1264  );
1265 
1266  /* Function 0x35 */
1268  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1269  [in, string, unique] WCHAR* pEnvironment,
1270  [in] DWORD Level,
1271  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pDriver,
1272  [in] DWORD cbBuf,
1273  [out] DWORD* pcbNeeded,
1274  [in] DWORD dwClientMajorVersion,
1275  [in] DWORD dwClientMinorVersion,
1276  [out] DWORD* pdwServerMaxVersion,
1277  [out] DWORD* pdwServerMinVersion
1278  );
1279 
1280  /* Function 0x36 (TODO) */
1282  /* TODO */
1283  );
1284 
1285  /* Function 0x37 (TODO) */
1287  /* TODO */
1288  );
1289 
1290  /* Function 0x38 (TODO) */
1292  /* TODO */
1293  );
1294 
1295  /* Function 0x39 (TODO) */
1297  /* TODO */
1298  );
1299 
1300  /* Function 0x3A */
1302  [in] WINSPOOL_HANDLE pMachine,
1303  [out] WINSPOOL_PRINTER_HANDLE* phPrinterNotify,
1304  [in] DWORD dwPrinterRemote,
1305  [in] DWORD dwType,
1306  [in, range(0, 512)] DWORD cbBuffer,
1307  [in, unique, size_is(cbBuffer), disable_consistency_check] BYTE* pBuffer
1308  );
1309 
1310  /* Function 0x3B */
1312  [in] WINSPOOL_PRINTER_HANDLE hNotify,
1313  [in] DWORD fdwFlags,
1314  [in, range(0, 512)] DWORD cbBuffer,
1315  [in, unique, size_is(cbBuffer), disable_consistency_check] BYTE* pBuffer
1316  );
1317 
1318  /* Function 0x3C */
1320  [in, out] WINSPOOL_PRINTER_HANDLE* phNotify
1321  );
1322 
1323  /* Function 0x3D */
1326  [in] WINSPOOL_PORT_CONTAINER* pPortContainer,
1327  [in] WINSPOOL_PORT_VAR_CONTAINER* pPortVarContainer,
1328  [in, string] WCHAR* pMonitorName
1329  );
1330 
1331  /* Function 0x3E */
1333  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1334  [in] DWORD fdwFlags,
1335  [in] DWORD fdwOptions,
1336  [in, string, unique] WCHAR* pszLocalMachine,
1337  [in] DWORD dwPrinterLocal,
1338  [in, range(0, 512)] DWORD cbBuffer,
1339  [in, out, unique, size_is(cbBuffer), disable_consistency_check] BYTE* pBuffer
1340  );
1341 
1342  /* Function 0x3F */
1344 
1345  /* Function 0x40 (TODO) */
1347  /* TODO */
1348  );
1349 
1350  /* Function 0x41 */
1352  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1353  [in] DWORD fdwFlags,
1354  [in] DWORD fdwOptions,
1355  [in, string, unique] WCHAR* pszLocalMachine,
1356  [in] DWORD dwPrinterLocal,
1357  [in, unique] WINSPOOL_V2_NOTIFY_OPTIONS* pOptions
1358  );
1359 
1360  /* Function 0x42 */
1362  [in] WINSPOOL_PRINTER_HANDLE hNotify,
1363  [in] DWORD dwColor,
1364  [in] DWORD fdwFlags,
1365  [out] DWORD* pdwResult,
1366  [in] DWORD dwReplyType,
1367  [in, switch_is(dwReplyType)] WINSPOOL_V2_UREPLY_PRINTER Reply
1368  );
1369 
1370  /* Function 0x43 */
1372  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1373  [in] DWORD dwColor,
1374  [in, unique] WINSPOOL_V2_NOTIFY_OPTIONS* pOptions,
1375  [out] WINSPOOL_V2_NOTIFY_INFO** ppInfo
1376  );
1377 
1378  /* Function 0x44 (TODO) */
1380  /* TODO */
1381  );
1382 
1383  /* Function 0x45 */
1385  [in, unique] WINSPOOL_HANDLE pPrinterName,
1386  [out] WINSPOOL_PRINTER_HANDLE* pHandle,
1387  [in, string, unique] WCHAR* pDatatype,
1388  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer,
1389  [in] DWORD AccessRequired,
1390  [in] WINSPOOL_SPLCLIENT_CONTAINER* pClientInfo
1391  );
1392 
1393  /* Function 0x46 */
1396  [in] WINSPOOL_PRINTER_CONTAINER* pPrinterContainer,
1397  [in] WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer,
1398  [in] WINSPOOL_SECURITY_CONTAINER* pSecurityContainer,
1399  [in] WINSPOOL_SPLCLIENT_CONTAINER* pClientInfo,
1400  [out] WINSPOOL_PRINTER_HANDLE* pHandle
1401  );
1402 
1403  /* Function 0x47 */
1406  [in, string, unique] WCHAR* pPortName,
1407  [in] WINSPOOL_PORT_CONTAINER* pPortContainer
1408  );
1409 
1410  /* Function 0x48 */
1412  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1413  [in] DWORD dwIndex,
1414  [out, size_is(cbValueName / sizeof(WCHAR))] WCHAR* pValueName,
1415  [in] DWORD cbValueName,
1416  [out] DWORD* pcbValueName,
1417  [out] DWORD* pType,
1418  [out, size_is(cbData)] BYTE* pData,
1419  [in] DWORD cbData,
1420  [out] DWORD* pcbData
1421  );
1422 
1423  /* Function 0x49 */
1425  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1426  [in, string] WCHAR* pValueName
1427  );
1428 
1429  /* Function 0x4A (TODO) */
1431  /* TODO */
1432  );
1433 
1434  /* Function 0x4B (TODO) */
1436  /* TODO */
1437  );
1438 
1439  /* Function 0x4C (TODO) */
1441  /* TODO */
1442  );
1443 
1444  /* Function 0x4D */
1446  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1447  [in, string] const WCHAR* pKeyName,
1448  [in, string] const WCHAR* pValueName,
1449  [in] DWORD Type,
1450  [in, size_is(cbData)] BYTE* pData,
1451  [in] DWORD cbData
1452  );
1453 
1454  /* Function 0x4E */
1456  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1457  [in, string] const WCHAR* pKeyName,
1458  [in, string] const WCHAR* pValueName,
1459  [out] DWORD* pType,
1460  [out, size_is(nSize)] BYTE* pData,
1461  [in] DWORD nSize,
1462  [out] DWORD* pcbNeeded
1463  );
1464 
1465  /* Function 0x4F */
1467  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1468  [in, string] const WCHAR* pKeyName,
1469  [out, size_is(cbEnumValues)] BYTE* pEnumValues,
1470  [in] DWORD cbEnumValues,
1471  [out] DWORD* pcbEnumValues,
1472  [out] DWORD* pnEnumValues
1473  );
1474 
1475  /* Function 0x50 */
1477  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1478  [in, string] const WCHAR* pKeyName,
1479  [out, size_is(cbSubkey / sizeof(WCHAR))] WCHAR* pSubkey,
1480  [in] DWORD cbSubkey,
1481  [out] DWORD* pcbSubkey
1482  );
1483 
1484  /* Function 0x51 */
1486  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1487  [in, string] const WCHAR* pKeyName,
1488  [in, string] const WCHAR* pValueName
1489  );
1490 
1491  /* Function 0x52 */
1493  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1494  [in, string] const WCHAR* pKeyName
1495  );
1496 
1497  /* Function 0x53 (TODO) */
1499  /* TODO */
1500  );
1501 
1502  /* Function 0x54 */
1505  [in, string] WCHAR* pEnvironment,
1506  [in, string] WCHAR* pDriverName,
1507  [in] DWORD dwDeleteFlag,
1508  [in] DWORD dwVersionNum
1509  );
1510 
1511  /* Function 0x55 */
1513  [in, unique] WINSPOOL_HANDLE pServer,
1514  [in, string] const WCHAR* pPrinterName,
1515  [in, string] const WCHAR* pPrintServer,
1516  [in, string] const WCHAR* pProvider
1517  );
1518 
1519  /* Function 0x56 */
1521  [in, unique] WINSPOOL_HANDLE pServer,
1522  [in, string] const WCHAR* pPrinterName
1523  );
1524 
1525  /* Function 0x57 */
1527  [in, unique] WINSPOOL_HANDLE pServer,
1528  [in, out, unique, size_is(cbBuf), disable_consistency_check] BYTE* pPrinterEnum,
1529  [in] DWORD cbBuf,
1530  [out] DWORD* pcbNeeded,
1531  [out] DWORD* pcReturned
1532  );
1533 
1534  /* Function 0x58 */
1537  [in, string] const WCHAR* pszDataName,
1538  [in, size_is(cbInputData)] BYTE* pInputData,
1539  [in] DWORD cbInputData,
1540  [out, size_is(cbOutputData)] BYTE* pOutputData,
1541  [in] DWORD cbOutputData,
1542  [out] DWORD* pcbOutputNeeded,
1543  [in, out] DWORD* pdwStatus
1544  );
1545 
1546  /* Function 0x59 */
1549  [in] WINSPOOL_DRIVER_CONTAINER* pDriverContainer,
1550  [in] DWORD dwFileCopyFlags
1551  );
1552 
1553  /* Function 0x5A (TODO) */
1555  /* TODO */
1556  );
1557 
1558  /* Function 0x5B (TODO) */
1560  /* TODO */
1561  );
1562 
1563  /* Function 0x5C (TODO) */
1565  /* TODO */
1566  );
1567 
1568  /* Function 0x5D (TODO) */
1570  /* TODO */
1571  );
1572 
1573  /* Function 0x5E */
1575  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1576  [in, size_is(cbBuf)] BYTE* pBuf,
1577  [in] DWORD cbBuf,
1578  [out] DWORD* pcWritten,
1579  [in] DWORD cSleep
1580  );
1581 
1582  /* Function 0x5F */
1584  [in] WINSPOOL_PRINTER_HANDLE hPrinter,
1585  [in, string, unique] const WCHAR* pAction,
1586  [in] WINSPOOL_BIDI_REQUEST_CONTAINER* pReqData,
1587  [out] WINSPOOL_BIDI_RESPONSE_CONTAINER** ppRespData
1588  );
1589 
1590  /* Function 0x60 (TODO) */
1592  /* TODO */
1593  );
1594 }
DWORD _RpcRouterReplyPrinterEx(WINSPOOL_PRINTER_HANDLE hNotify, DWORD dwColor, DWORD fdwFlags, DWORD *pdwResult, DWORD dwReplyType, WINSPOOL_V2_UREPLY_PRINTER Reply)
Definition: notifications.c:81
struct _WINSPOOL_PRINTER_INFO_2 WINSPOOL_PRINTER_INFO_2
DWORD _RpcStartPagePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
Definition: printers.c:267
struct _WINSPOOL_DRIVER_INFO_1 WINSPOOL_DRIVER_INFO_1
DWORDLONG dwlMinInboxDriverVerVersion
Definition: winspool.idl:182
struct _WINSPOOL_FORM_INFO_2 WINSPOOL_FORM_INFO_2
struct _WINSPOOL_SYSTEMTIME_CONTAINER WINSPOOL_SYSTEMTIME_CONTAINER
DWORD _RpcGetSpoolFileInfo(VOID)
Definition: rpcstubs.c:109
DWORD _RpcResetPrinterEx(VOID)
Definition: printers.c:227
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED LPLOOKUPSERVICE_COMPLETION_ROUTINE HANDLE * handle
Definition: sock.c:82
WINSPOOL_PROVIDOR_INFO_2 * pProvidorInfo2
Definition: winspool.idl:729
WINSPOOL_V2_NOTIFY_INFO * pInfo
Definition: winspool.idl:833
LPCSTR pText
Definition: txtscale.cpp:79
struct _WINSPOOL_DRIVER_INFO_8 WINSPOOL_DRIVER_INFO_8
Type
Definition: Type.h:6
DWORD _RpcAddPort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pMonitorName)
Definition: ports.c:12
void * WINSPOOL_GDI_HANDLE
Definition: winspool.idl:13
WINSPOOL_FORM_INFO_1 * pFormInfo1
Definition: winspool.idl:620
struct _WINSPOOL_JOB_INFO_2 WINSPOOL_JOB_INFO_2
DWORD _RpcFindNextPrinterChangeNotification(VOID)
Definition: notifications.c:25
DWORD _RpcAddPerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR *pPrinterName, const WCHAR *pPrintServer, const WCHAR *pProvider)
Definition: rpcstubs.c:81
struct _WINSPOOL_PRINTER_INFO_9 WINSPOOL_PRINTER_INFO_9
DWORD _RpcRouterReplyPrinter(WINSPOOL_PRINTER_HANDLE hNotify, DWORD fdwFlags, DWORD cbBuffer, BYTE *pBuffer)
Definition: notifications.c:74
struct _WINSPOOL_PORT_INFO_1 WINSPOOL_PORT_INFO_1
DWORD _RpcEndDocPrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
Definition: printers.c:61
DWORD _RpcSetPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName, DWORD Type, BYTE *pData, DWORD cbData)
Definition: printerdata.c:84
WINSPOOL_DEVMODE_CONTAINER DevMode
Definition: winspool.idl:805
WINSPOOL_DRIVER_INFO_2 * Level2
Definition: winspool.idl:599
WINSPOOL_BINARY_CONTAINER biData
Definition: winspool.idl:529
DWORD _RpcResetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer)
Definition: printers.c:220
DWORD _RpcDeletePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
Definition: printers.c:54
struct _WINSPOOL_PRINTER_INFO_6 WINSPOOL_PRINTER_INFO_6
WINSPOOL_V2_NOTIFY_INFO_DATA aData[]
Definition: winspool.idl:826
union _WINSPOOL_MONITOR_CONTAINER::@3308 MonitorInfo
struct _WINSPOOL_BIDI_RESPONSE_CONTAINER WINSPOOL_BIDI_RESPONSE_CONTAINER
*nSize LPSTR _Inout_ LPDWORD nSize
Definition: winbase.h:2031
WINSPOOL_BIDI_DATA data
Definition: winspool.idl:539
struct _WINSPOOL_DRIVER_INFO_6 WINSPOOL_DRIVER_INFO_6
WINSPOOL_PRINTER_INFO_7 * pPrinterInfo7
Definition: winspool.idl:710
HWND hWnd
Definition: settings.c:17
DWORD _RpcDeleteMonitor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pMonitorName)
Definition: monitors.c:19
DWORD _RpcEnumPrinters(DWORD Flags, WINSPOOL_HANDLE Name, DWORD Level, BYTE *pPrinterEnum, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: printers.c:99
struct _WINSPOOL_V2_NOTIFY_OPTIONS WINSPOOL_V2_NOTIFY_OPTIONS
DWORD _RpcEnumPrinterKey(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, WCHAR *pSubkey, DWORD cbSubkey, DWORD *pcbSubkey)
Definition: printerdata.c:39
DWORD _RpcAddForm(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_FORM_CONTAINER *pFormInfoContainer)
Definition: forms.c:11
FILETIME ftMinInboxDriverVerDate
Definition: winspool.idl:181
WINSPOOL_PORT_INFO_1 * pPortInfo1
Definition: winspool.idl:670
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:55
DWORD _RpcGetPrinterDriver2(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pEnvironment, DWORD Level, BYTE *pDriver, DWORD cbBuf, DWORD *pcbNeeded, DWORD dwClientMajorVersion, DWORD dwClientMinorVersion, DWORD *pdwServerMaxVersion, DWORD *pdwServerMinVersion)
DWORD _RpcRouterFindFirstPrinterChangeNotificationOld(VOID)
Definition: notifications.c:60
struct _WINSPOOL_STRING_CONTAINER WINSPOOL_STRING_CONTAINER
DWORD _RpcAddDriverCatalog(VOID)
Definition: rpcstubs.c:137
DWORD _RpcSetPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName, DWORD Type, BYTE *pData, DWORD cbData)
Definition: printerdata.c:78
DWORD _RpcSetAllocFailCount(VOID)
Definition: rpcstubs.c:53
DWORD _RpcSpoolerInit(VOID)
Definition: init.c:11
Definition: shell.h:41
struct _WINSPOOL_PRINTER_INFO_8 WINSPOOL_PRINTER_INFO_8
struct _WINSPOOL_V2_NOTIFY_OPTIONS_TYPE WINSPOOL_V2_NOTIFY_OPTIONS_TYPE
ULONG_PTR pSecurityDescriptor
Definition: winspool.idl:278
DWORD _RpcDeletePerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR *pPrinterName)
Definition: rpcstubs.c:88
struct _WINSPOOL_PROVIDOR_INFO_1 WINSPOOL_PROVIDOR_INFO_1
WINSPOOL_PRINTER_INFO_6 * pPrinterInfo6
Definition: winspool.idl:708
struct _WINSPOOL_RECTL WINSPOOL_RECTL
DWORD _RpcCloseSpoolFileHandle(VOID)
Definition: rpcstubs.c:123
int32_t INT
Definition: typedefs.h:56
DWORD _RpcAddPortEx(WINSPOOL_HANDLE pName, WINSPOOL_PORT_CONTAINER *pPortContainer, WINSPOOL_PORT_VAR_CONTAINER *pPortVarContainer, WCHAR *pMonitorName)
Definition: ports.c:19
struct _WINSPOOL_PRINTER_INFO_7 WINSPOOL_PRINTER_INFO_7
struct _WINSPOOL_DEVMODE_CONTAINER WINSPOOL_DEVMODE_CONTAINER
DWORD _RpcRemoteFindFirstPrinterChangeNotification(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, WCHAR *pszLocalMachine, DWORD dwPrinterLocal, DWORD cbBuffer, BYTE *pBuffer)
Definition: notifications.c:32
struct _WINSPOOL_PORT_INFO_2 WINSPOOL_PORT_INFO_2
WINSPOOL_BIDI_REQUEST_DATA aData[]
Definition: winspool.idl:557
union _WINSPOOL_BIDI_DATA::@3303 u
DWORD _RpcFlushPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcWritten, DWORD cSleep)
Definition: printers.c:131
uint32_t ULONG_PTR
Definition: typedefs.h:63
WINSPOOL_SIZEL Size
Definition: winspool.idl:190
WINSPOOL_PROVIDOR_INFO_1 * pProvidorInfo1
Definition: winspool.idl:727
const WCHAR * pName
Definition: winspool.idl:198
DWORD _RpcAddPrinter(WINSPOOL_HANDLE pName, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, WINSPOOL_PRINTER_HANDLE *pHandle)
Definition: printers.c:19
union _WINSPOOL_PROVIDOR_CONTAINER::@3311 ProvidorInfo
union _WINSPOOL_SPLCLIENT_CONTAINER::@3312 ClientInfo
DWORD _RpcSeekPrinter(VOID)
Definition: printers.c:234
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
DWORD _RpcStartDocPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_DOC_INFO_CONTAINER *pDocInfoContainer, DWORD *pJobId)
Definition: printers.c:248
struct _WINSPOOL_PRINTER_INFO_5 WINSPOOL_PRINTER_INFO_5
WINSPOOL_PRINTER_INFO_2 * pPrinterInfo2
Definition: winspool.idl:700
WINSPOOL_SIZEL Size
Definition: winspool.idl:199
DWORD _RpcAddPrinterConnection(WINSPOOL_HANDLE pName)
Definition: rpcstubs.c:32
WINSPOOL_PRINTER_INFO_3 * pPrinterInfo3
Definition: winspool.idl:702
DWORD _RpcAddPrinterDriver(WINSPOOL_HANDLE pName, WINSPOOL_DRIVER_CONTAINER *pDriverContainer)
ULONG_PTR pSecurityDescriptor
Definition: winspool.idl:395
WINSPOOL_BIDI_DATA data
Definition: winspool.idl:548
struct _WINSPOOL_FORM_CONTAINER WINSPOOL_FORM_CONTAINER
WINSPOOL_PRINTER_INFO_1 * pPrinterInfo1
Definition: winspool.idl:698
long LONG
Definition: pedump.c:60
union _WINSPOOL_PORT_CONTAINER::@3309 PortInfo
DWORD _RpcEnumPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, BYTE *pEnumValues, DWORD cbEnumValues, DWORD *pcbEnumValues, DWORD *pnEnumValues)
Definition: printerdata.c:46
struct _WINSPOOL_PRINTER_INFO_3 WINSPOOL_PRINTER_INFO_3
WORD WINSPOOL_LANGID
Definition: winspool.idl:21
WINSPOOL_PRINTER_INFO_9 * pPrinterInfo9
Definition: winspool.idl:714
WINSPOOL_JOB_INFO_3 * Level3
Definition: winspool.idl:639
struct _WINSPOOL_DRIVER_CONTAINER WINSPOOL_DRIVER_CONTAINER
WINSPOOL_PORT_INFO_2 * pPortInfo2
Definition: winspool.idl:672
DWORD _RpcEndPagePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
Definition: printers.c:80
DWORD _RpcSetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, WINSPOOL_JOB_CONTAINER *pJobContainer, DWORD Command)
Definition: jobs.c:129
struct _WINSPOOL_BIDI_DATA WINSPOOL_BIDI_DATA
WINSPOOL_MONITOR_INFO_1 * pMonitorInfo1
Definition: winspool.idl:654
DWORD _RpcCommitSpoolData(VOID)
Definition: rpcstubs.c:116
DWORD _RpcXcvData(WINSPOOL_PRINTER_HANDLE hXcv, const WCHAR *pszDataName, BYTE *pInputData, DWORD cbInputData, BYTE *pOutputData, DWORD cbOutputData, DWORD *pcbOutputNeeded, DWORD *pdwStatus)
Definition: xcv.c:11
struct _WINSPOOL_DOC_INFO_1 WINSPOOL_DOC_INFO_1
WINSPOOL_DRIVER_INFO_8 * Level8
Definition: winspool.idl:607
PVOID pBuffer
static const WCHAR version[]
Definition: asmname.c:66
DWORD _RpcGetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded)
Definition: jobs.c:78
WINSPOOL_JOB_INFO_2 * Level2
Definition: winspool.idl:637
WINSPOOL_DRIVER_INFO_6 * Level6
Definition: winspool.idl:605
WINSPOOL_JOB_INFO_1 * Level1
Definition: winspool.idl:635
WINSPOOL_MONITOR_INFO_2 * pMonitorInfo2
Definition: winspool.idl:656
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
union _WINSPOOL_V2_NOTIFY_INFO_DATA_DATA WINSPOOL_V2_NOTIFY_INFO_DATA_DATA
struct _WINSPOOL_V2_NOTIFY_INFO_DATA WINSPOOL_V2_NOTIFY_INFO_DATA
struct _WINSPOOL_PORT_INFO_3 WINSPOOL_PORT_INFO_3
DWORD _RpcAddPrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPathName, WCHAR *pPrintProcessorName)
WINSPOOL_BIDI_RESPONSE_DATA aData[]
Definition: winspool.idl:566
DWORD _RpcGetPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName, DWORD *pType, BYTE *pData, DWORD nSize, DWORD *pcbNeeded)
Definition: printerdata.c:53
WINSPOOL_JOB_INFO_4 * Level4
Definition: winspool.idl:641
DWORD _RpcSetPort(WINSPOOL_HANDLE pName, WCHAR *pPortName, WINSPOOL_PORT_CONTAINER *pPortContainer)
Definition: ports.c:72
struct _WINSPOOL_JOB_INFO_4 WINSPOOL_JOB_INFO_4
DWORD _RpcPrinterMessageBox(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Error, ULONG_PTR hWnd, WCHAR *pText, WCHAR *pCaption, DWORD dwType)
Definition: rpcstubs.c:46
DWORD _RpcDeletePrinterIC(WINSPOOL_GDI_HANDLE *phPrinterIC)
Definition: rpcstubs.c:25
WINSPOOL_V2_NOTIFY_OPTIONS_TYPE * pTypes
Definition: winspool.idl:792
WINSPOOL_PORT_INFO_3 * pPortInfo3
Definition: winspool.idl:674
DWORD _RpcEnumPrintProcessorDatatypes(WINSPOOL_HANDLE pName, WCHAR *pPrintProcessorName, DWORD Level, BYTE *pDatatypes, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
ULONG_PTR pSecurityDescriptor
Definition: winspool.idl:242
DWORD _RpcRemoteFindFirstPrinterChangeNotificationEx(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, WCHAR *pszLocalMachine, DWORD dwPrinterLocal, WINSPOOL_V2_NOTIFY_OPTIONS *pOptions)
Definition: notifications.c:39
DWORD _RpcReplyClosePrinter(WINSPOOL_PRINTER_HANDLE *phNotify)
Definition: notifications.c:46
WINSPOOL_BIDI_TYPE
Definition: winspool.idl:23
WINSPOOL_SPLCLIENT_INFO_2 * pNotUsed1
Definition: winspool.idl:751
const WCHAR * pKeyword
Definition: winspool.idl:201
struct _WINSPOOL_SPLCLIENT_INFO_3 WINSPOOL_SPLCLIENT_INFO_3
SYSTEMTIME Submitted
Definition: winspool.idl:286
WINSPOOL_FORM_INFO_2 * pFormInfo2
Definition: winspool.idl:622
WINSPOOL_PRINTER_INFO_5 * pPrinterInfo5
Definition: winspool.idl:706
DWORD _RpcPlayGdiScriptOnPrinterIC(WINSPOOL_GDI_HANDLE hPrinterIC, BYTE *pIn, DWORD cIn, BYTE *pOut, DWORD cOut, DWORD ul)
Definition: rpcstubs.c:18
DWORD _RpcAddPrintProvidor(WINSPOOL_HANDLE pName, WINSPOOL_PROVIDOR_CONTAINER *pProvidorContainer)
WINSPOOL_SPLCLIENT_INFO_1 * pClientInfo1
Definition: winspool.idl:749
struct _WINSPOOL_SPLCLIENT_INFO_2 WINSPOOL_SPLCLIENT_INFO_2
struct _WINSPOOL_JOB_INFO_1 WINSPOOL_JOB_INFO_1
static LPSTR pName
Definition: security.c:75
WINSPOOL_SPLCLIENT_INFO_3 * pNotUsed2
Definition: winspool.idl:753
WINSPOOL_V2_NOTIFY_INFO_DATA_DATA Data
Definition: winspool.idl:817
struct _WINSPOOL_PRINTER_INFO_4 WINSPOOL_PRINTER_INFO_4
union _WINSPOOL_V2_UREPLY_PRINTER WINSPOOL_V2_UREPLY_PRINTER
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD _RpcDeletePrinterKey(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName)
Definition: printerdata.c:25
DWORD _RpcClientFindFirstPrinterChangeNotification(VOID)
Definition: notifications.c:11
DWORD _RpcClusterSplIsAlive(VOID)
Definition: rpcstubs.c:74
DWORD _RpcSplOpenPrinter(VOID)
Definition: rpcstubs.c:102
DWORD _RpcOpenPrinterEx(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE *pHandle, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, DWORD AccessRequired, WINSPOOL_SPLCLIENT_CONTAINER *pClientInfo)
Definition: printers.c:194
ncacn_np pointer_default(unique)] interface winspool
Definition: winspool.idl:845
DWORD _RpcScheduleJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId)
Definition: jobs.c:110
DWORD _RpcWritePrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcWritten)
Definition: printers.c:286
DWORD _RpcDeletePrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName)
Definition: printerdata.c:18
union _WINSPOOL_PRINTER_CONTAINER::@3310 PrinterInfo
struct endpoint endpoint
Definition: nis.h:15
DWORD _RpcSendRecvBidiData(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pAction, WINSPOOL_BIDI_REQUEST_CONTAINER *pReqData, WINSPOOL_BIDI_RESPONSE_CONTAINER **ppRespData)
Definition: rpcstubs.c:130
DWORD _RpcFindClosePrinterChangeNotification(VOID)
Definition: notifications.c:18
unsigned short WORD
Definition: ntddk_ex.h:93
static FILE * out
Definition: regtests2xml.c:44
struct _WINSPOOL_MONITOR_INFO_2 WINSPOOL_MONITOR_INFO_2
const WCHAR * pDisplayName
Definition: winspool.idl:205
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD _RpcDeleteForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName)
Definition: forms.c:18
WINSPOOL_PRINTER_INFO_STRESS * pPrinterInfoStress
Definition: winspool.idl:696
WINSPOOL_RECTL ImageableArea
Definition: winspool.idl:200
BOOL Error
Definition: chkdsk.c:66
DWORD _RpcReadPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcNoBytesRead)
Definition: printers.c:201
DWORD _RpcRouterRefreshPrinterChangeNotification(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwColor, WINSPOOL_V2_NOTIFY_OPTIONS *pOptions, WINSPOOL_V2_NOTIFY_INFO **ppInfo)
Definition: notifications.c:67
WCHAR * pszzCoreDriverDependencies
Definition: winspool.idl:180
WINSPOOL_STRING_CONTAINER String
Definition: winspool.idl:799
DWORD _RpcDeletePrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName)
Definition: printerdata.c:11
DWORD _RpcEnumPerMachineConnections(WINSPOOL_HANDLE pServer, BYTE *pPrinterEnum, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: rpcstubs.c:95
struct _WINSPOOL_JOB_CONTAINER WINSPOOL_JOB_CONTAINER
struct _WINSPOOL_DRIVER_INFO_3 WINSPOOL_DRIVER_INFO_3
ULONG_PTR pSecurityDescriptor
Definition: winspool.idl:409
struct _WINSPOOL_PRINTER_INFO_1 WINSPOOL_PRINTER_INFO_1
DWORD _RpcClusterSplClose(VOID)
Definition: rpcstubs.c:67
DWORD _RpcSetForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName, WINSPOOL_FORM_CONTAINER *pFormInfoContainer)
Definition: forms.c:39
struct _WINSPOOL_PORT_INFO_FF WINSPOOL_PORT_INFO_FF
DWORD _RpcEnumJobs(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: jobs.c:43
const WCHAR * pMuiDll
Definition: winspool.idl:203
unsigned char BYTE
Definition: mem.h:68
DWORD _RpcOpenPrinter(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE *phPrinter, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, DWORD AccessRequired)
Definition: printers.c:170
WINSPOOL_DOC_INFO_1 * pDocInfo1
Definition: winspool.idl:577
DWORD _RpcEnumPrinterDrivers(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pDrivers, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
struct _WINSPOOL_DRIVER_INFO_4 WINSPOOL_DRIVER_INFO_4
WINSPOOL_PRINTER_INFO_8 * pPrinterInfo8
Definition: winspool.idl:712
struct _WINSPOOL_PROVIDOR_INFO_2 WINSPOOL_PROVIDOR_INFO_2
struct _WINSPOOL_PRINTER_CONTAINER WINSPOOL_PRINTER_CONTAINER
DWORD _RpcEnumPrintProcessors(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorInfo, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
DWORD _RpcDeletePrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPrintProcessorName)
char string[160]
Definition: util.h:11
GLenum GLint * range
Definition: glext.h:7539
struct _WINSPOOL_BIDI_RESPONSE_DATA WINSPOOL_BIDI_RESPONSE_DATA
DWORDLONG dwlDriverVersion
Definition: winspool.idl:144
struct _WINSPOOL_BIDI_REQUEST_DATA WINSPOOL_BIDI_REQUEST_DATA
struct _WINSPOOL_JOB_INFO_3 WINSPOOL_JOB_INFO_3
WINSPOOL_SECURITY_CONTAINER SecurityDescriptor
Definition: winspool.idl:807
DWORD _RpcAddPrinterEx(WINSPOOL_HANDLE pName, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, WINSPOOL_SPLCLIENT_CONTAINER *pClientInfo, WINSPOOL_PRINTER_HANDLE *pHandle)
Definition: printers.c:26
struct _WINSPOOL_SECURITY_CONTAINER WINSPOOL_SECURITY_CONTAINER
struct _WINSPOOL_SPLCLIENT_INFO_1 WINSPOOL_SPLCLIENT_INFO_1
DWORD _RpcDeletePrintProvidor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPrintProviderName)
DWORD _RpcDeletePrinterDriver(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pDriverName)
DWORD _RpcGetPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName, DWORD *pType, BYTE *pData, DWORD nSize, DWORD *pcbNeeded)
Definition: printerdata.c:59
struct _WINSPOOL_MONITOR_INFO_1 WINSPOOL_MONITOR_INFO_1
GLuint in
Definition: glext.h:9616
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:248
_In_ DWORD _Out_ PDWORD pcbNeeded
Definition: winddi.h:3827
struct _WINSPOOL_SIZEL WINSPOOL_SIZEL
unsigned short USHORT
Definition: pedump.c:61
struct _WINSPOOL_PROVIDOR_CONTAINER WINSPOOL_PROVIDOR_CONTAINER
WINSPOOL_DRIVER_INFO_4 * Level4
Definition: winspool.idl:603
DWORD _RpcCreatePrinterIC(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_GDI_HANDLE *pHandle, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer)
Definition: rpcstubs.c:11
SYSTEMTIME Submitted
Definition: winspool.idl:250
DWORD _RpcEnumPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwIndex, WCHAR *pValueName, DWORD cbValueName, DWORD *pcbValueName, DWORD *pType, BYTE *pData, DWORD cbData, DWORD *pcbData)
Definition: printerdata.c:32
DWORD _RpcDeletePrinterConnection(WINSPOOL_HANDLE pName)
Definition: rpcstubs.c:39
DWORD _RpcDeletePrinterDriverEx(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pDriverName, DWORD dwDeleteFlag, DWORD dwVersionNum)
DWORD _RpcGetForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName, DWORD Level, BYTE *pForm, DWORD cbBuf, DWORD *pcbNeeded)
Definition: forms.c:32
struct _WINSPOOL_SPLCLIENT_CONTAINER WINSPOOL_SPLCLIENT_CONTAINER
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
DWORD _RpcWaitForPrinterChange(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Flags, DWORD *pFlags)
Definition: notifications.c:88
unsigned int UINT
Definition: ndis.h:50
union _WINSPOOL_DRIVER_CONTAINER::@3305 DriverInfo
struct _WINSPOOL_V2_NOTIFY_INFO WINSPOOL_V2_NOTIFY_INFO
struct _WINSPOOL_BIDI_REQUEST_CONTAINER WINSPOOL_BIDI_REQUEST_CONTAINER
DWORD _RpcClosePrinter(WINSPOOL_PRINTER_HANDLE *phPrinter)
Definition: printers.c:33
WINSPOOL_PRINTER_INFO_4 * pPrinterInfo4
Definition: winspool.idl:704
DWORDLONG dwlDriverVersion
Definition: winspool.idl:168
struct _WINSPOOL_PRINTER_INFO_STRESS WINSPOOL_PRINTER_INFO_STRESS
SYSTEMTIME Submitted
Definition: winspool.idl:224
union _WINSPOOL_FORM_CONTAINER::@3306 FormInfo
struct _WINSPOOL_DOC_INFO_CONTAINER WINSPOOL_DOC_INFO_CONTAINER
struct _WINSPOOL_FORM_INFO_1 WINSPOOL_FORM_INFO_1
DWORD _RpcEnumForms(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pForm, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: forms.c:25
DWORD _RpcAbortPrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
Definition: printers.c:12
unsigned long long DWORDLONG
Definition: intsafe.h:99
union _WINSPOOL_JOB_CONTAINER::@3307 JobInfo
DWORD _RpcSetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, DWORD Command)
Definition: printers.c:241
DWORD _RpcGetPrinterDriverDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pDriverDirectory, DWORD cbBuf, DWORD *pcbNeeded)
float FLOAT
Definition: typedefs.h:67
struct _WINSPOOL_DRIVER_INFO_2 WINSPOOL_DRIVER_INFO_2
_ForwardIter unique(_ForwardIter __first, _ForwardIter __last)
Definition: _algo.h:298
struct _WINSPOOL_PORT_CONTAINER WINSPOOL_PORT_CONTAINER
DWORD _RpcEnumPorts(WINSPOOL_HANDLE pName, DWORD Level, BYTE *pPort, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: ports.c:40
WINSPOOL_RECTL ImageableArea
Definition: winspool.idl:191
DWORD _RpcDeletePort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pPortName)
Definition: ports.c:33
DWORD _RpcGetPrintProcessorDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorDirectory, DWORD cbBuf, DWORD *pcbNeeded)
static HANDLE hXcv
Definition: localmon.c:73
void * WINSPOOL_PRINTER_HANDLE
Definition: winspool.idl:14
unsigned long long UINT64
WINSPOOL_DRIVER_INFO_3 * Level3
Definition: winspool.idl:601
struct _WINSPOOL_BINARY_CONTAINER WINSPOOL_BINARY_CONTAINER
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
DWORD _RpcEnumMonitors(WINSPOOL_HANDLE pName, DWORD Level, BYTE *pMonitor, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
Definition: monitors.c:26
DWORD _RpcAddMonitor(WINSPOOL_HANDLE pName, WINSPOOL_MONITOR_CONTAINER *pMonitorContainer)
Definition: monitors.c:12
DWORD _RpcAddPrinterDriverEx(WINSPOOL_HANDLE pName, WINSPOOL_DRIVER_CONTAINER *pDriverContainer, DWORD dwFileCopyFlags)
WINSPOOL_PORT_INFO_FF * pPortInfoFF
Definition: winspool.idl:676
WINSPOOL_TABLE_TYPE
Definition: winspool.idl:36
DWORD _RpcGetPrinterDriver(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pEnvironment, DWORD Level, BYTE *pDriver, DWORD cbBuf, DWORD *pcbNeeded)
DWORD _RpcReplyOpenPrinter(WINSPOOL_HANDLE pMachine, WINSPOOL_PRINTER_HANDLE *phPrinterNotify, DWORD dwPrinterRemote, DWORD dwType, DWORD cbBuffer, BYTE *pBuffer)
Definition: notifications.c:53
WINSPOOL_LANGID wLangID
Definition: winspool.idl:206
DWORD _RpcConfigurePort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pPortName)
Definition: ports.c:26
DWORD _RpcGetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pPrinter, DWORD cbBuf, DWORD *pcbNeeded)
Definition: printers.c:138
WCHAR * WINSPOOL_HANDLE
Definition: winspool.idl:15
WINSPOOL_SYSTEMTIME_CONTAINER SystemTime
Definition: winspool.idl:803
union _WINSPOOL_DOC_INFO_CONTAINER::@3304 DocInfo
_In_ DWORD _Out_writes_bytes_to_opt_ pcbData void _Inout_ DWORD * pcbData
Definition: wincrypt.h:4953
struct _WINSPOOL_MONITOR_CONTAINER WINSPOOL_MONITOR_CONTAINER
struct _WINSPOOL_PORT_VAR_CONTAINER WINSPOOL_PORT_VAR_CONTAINER
WINSPOOL_DRIVER_INFO_1 * pNotUsed
Definition: winspool.idl:597
DWORD _RpcAddJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pAddJob, DWORD cbBuf, DWORD *pcbNeeded)
Definition: jobs.c:12
DWORD _RpcClusterSplOpen(VOID)
Definition: rpcstubs.c:60