search for: printerinfo

Displaying 4 results from an estimated 4 matches for "printerinfo".

2002 Oct 07
9
GetPrinter Level 2 does not get devmode
.... My code looks like HANDLE hPrinter=NULL; PRINTER_DEFAULTS pDefaults; pDefaults.DesiredAccess = PRINTER_ACCESS_USE; pDefaults.pDatatype=NULL; pDefaults.pDevMode=NULL; BOOL b = OpenPrinter(cPrinterName,&hPrinter,&pDefaults); if (b) { LPBYTE printerInfo=NULL; DWORD dwNeeded; b = GetPrinter(hPrinter,2,NULL,NULL,&dwNeeded); printerInfo = (LPBYTE) new BYTE [dwNeeded]; b = GetPrinter(hPrinter,2,printerInfo,dwNeeded,&dwNeeded); if(b) { PRINTER_INFO_2 * pInfo = (PRINTER_I...
2002 Jul 24
0
enumerating shared printers to the print browse master
...Pipe, FID = 0x200c MSRPC: c/o RPC Request: call 0x1 opnum 0x5 context 0x0 hint 0x11C R_WINSPOOL: RPC Client call winspool:RpcAddPrinter(..) R_WINSPOOL: STRING_HANDLE pName = \\NTSERVER R_WINSPOOL: PPRINTER_CONTAINER pPrinterContainer {..} R_WINSPOOL: DWORD Level = 1 (0x1) R_WINSPOOL: (Untyped 1) PrinterInfo {..} R_WINSPOOL: Switch Value = 1 (0x1) R_WINSPOOL: LPPRINTER_INFO_1W pPrinterInfo1 {..} R_WINSPOOL: DWORD Flags = 24 (0x18) R_WINSPOOL: LPWSTR pDescription = 35780264 (0x221F6A8) R_WINSPOOL: LPWSTR pName = 35781864 (0x221FCE8) R_WINSPOOL: LPWSTR pComment = 12163832 (0xB99AF8) R_WINSPOOL: LPWSTR pD...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...mb2 max credits = 65535". * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Andreas Schneider <asn at samba.org> * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error. * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac(). * BUG 11058: utils: Fix 'net time' segfault. * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate()....
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...mb2 max credits = 65535". * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Andreas Schneider <asn at samba.org> * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error. * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac(). * BUG 11058: utils: Fix 'net time' segfault. * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate()....