[WinSpool.idl] Add File Info Structure
authorJames Tabor <james.tabor@reactos.org>
Fri, 31 Jul 2020 17:45:18 +0000 (12:45 -0500)
committerJames Tabor <james.tabor@reactos.org>
Fri, 31 Jul 2020 17:45:18 +0000 (12:45 -0500)
This is for 2 RPC functions. Update at a later time.

sdk/include/reactos/idl/winspool.idl

index 736b532..558b030 100644 (file)
@@ -834,6 +834,26 @@ typedef [switch_type(DWORD)] union _WINSPOOL_V2_UREPLY_PRINTER
 }
 WINSPOOL_V2_UREPLY_PRINTER;
 
 }
 WINSPOOL_V2_UREPLY_PRINTER;
 
+typedef struct _WINSPOOL_FILE_INFO
+{
+    BOOL   bInheritHandle;
+    HANDLE hSpoolFileHandle;
+    DWORD  dwOptions;
+}
+WINSPOOL_FILE_INFO_1;
+
+typedef struct _WINSPOOL_FILE_INFO_CONTAINER
+{
+    DWORD Level;
+
+    [switch_is(Level)] union
+    {
+        [case(1)]
+            WINSPOOL_FILE_INFO_1 *pFileInfo1;
+    }
+    FileInfo;
+}
+WINSPOOL_FILE_INFO_CONTAINER;
 
 /*
  * The actual interface
 
 /*
  * The actual interface