Stefan Leichter Stefan.Leichter@camLine.com writes:
- if ((ptr = wcschr(buffer, (WCHAR) ',')) == NULL) {
- SetLastError (ERROR_INVALID_NAME);
You can't use wcs functions in Wine.
+BOOL WINAPI GetDefaultPrinterA(LPSTR name, LPDWORD namesize) +{ DWORD insize = namesize ? *namesize : 0;
- WCHAR bufferW[1000] = {0};
Please don't allocate huge buffers on the stack. Use HeapAlloc to get a buffer of reasonable size (based on the namesize parameter).