mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Added some logging to the GetPrinterDriverDirectoryA tests.
This commit is contained in:
parent
d8e9b8f7aa
commit
d3278b6f41
1 changed files with 4 additions and 2 deletions
|
@ -115,10 +115,12 @@ static void test_default_printer(void)
|
|||
|
||||
static void test_printer_directory(void)
|
||||
{ LPBYTE buffer = NULL;
|
||||
DWORD cbBuf, pcbNeeded;
|
||||
DWORD cbBuf = 0, pcbNeeded = 0;
|
||||
BOOL res;
|
||||
|
||||
(void) GetPrinterDriverDirectoryA( NULL, NULL, 1, NULL, 0, &cbBuf);
|
||||
res = GetPrinterDriverDirectoryA( NULL, NULL, 1, NULL, 0, &cbBuf);
|
||||
trace("GetPrinterDriverDirectoryA: first call returned 0x%04x, "
|
||||
"buffer size 0x%08lx\n", res, cbBuf);
|
||||
|
||||
buffer = HeapAlloc( GetProcessHeap(), 0, cbBuf*2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue