Commit d3278b6f authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Added some logging to the GetPrinterDriverDirectoryA tests.

parent d8e9b8f7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment