diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/nw/svcdlls/nwwks/idl.tmp | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/nw/svcdlls/nwwks/idl.tmp')
-rw-r--r-- | private/nw/svcdlls/nwwks/idl.tmp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/private/nw/svcdlls/nwwks/idl.tmp b/private/nw/svcdlls/nwwks/idl.tmp new file mode 100644 index 000000000..8b9404c32 --- /dev/null +++ b/private/nw/svcdlls/nwwks/idl.tmp @@ -0,0 +1,34 @@ + + + +// +// Sample .idl definition +// + +typedef [switch_type(unsigned long)] union _NW_PRINTER_INFO { + [case(1)] + LPPRINTER_INFO_1 PrinterInfo1; + [case(2)] + LPPRINTER_INFO_2 PrinterInfo2; + [default] + ; +} NW_PRINTER_INFO, *PNW_PRINTER_INFO, *LPNW_PRINTER_INFO; + +DWORD +NwrGetPrinter( + [in] NWWKSTA_PRINTER_CONTEXT PrinterHandle, + [in] DWORD Level, + [out,switch_is(Level)] LPPRINTER_INFO PrinterInfo, + [in] DWORD BufferSize, + [out] LPDWORD BytesNeeded + ); + + +---------------------------------------------------------------------- + + +// +// Sample .acf definition (put this between the curly braces) +// + +NwrGetPrinter([byte_count(BufferSize)] PrinterInfo); |