[Printing] Fix Typos and Test Regressions

Fix WinSpool API regressions.
Fix typos and debug prints.
This commit is contained in:
James Tabor 2020-09-08 13:15:16 -05:00
parent 8313483202
commit 3ca217621d
3 changed files with 7 additions and 5 deletions

View file

@ -582,7 +582,7 @@ DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pO
{
if (!IsValidDevmodeNoSizeW( (PDEVMODEW)pDevMode ) )
{
ERR("DeviceCapabilitiesW : Devode Invalid");
ERR("DeviceCapabilitiesW : Devode Invalid\n");
return -1;
}
}
@ -916,7 +916,9 @@ DocumentPropertySheets( PPROPSHEETUI_INFO pCPSUIInfo, LPARAM lparam )
if ( fpDocumentPropertySheets )
{
FIXME("DPS : fpDocumentPropertySheets(%p, 0x%lx) pdmOut %p\n", pCPSUIInfo, lparam, pdphdr->pdmOut);
Result = fpDocumentPropertySheets( pCPSUIInfo, lparam );
FIXME("DPS : fpDocumentPropertySheets result %d cbOut %d\n",Result, pdphdr->cbOut);
}
else
{

View file

@ -513,7 +513,7 @@ LocalmonXcvClosePort(HANDLE hXcv)
}
// Remove it from the list and free the memory.
LeaveCriticalSection(&pXcv->pLocalmon->Section);
EnterCriticalSection(&pXcv->pLocalmon->Section);
RemoveEntryList(&pXcv->Entry);
LeaveCriticalSection(&pXcv->pLocalmon->Section);
DllFreeSplMem(pXcv);
@ -570,7 +570,7 @@ LocalmonXcvOpenPort(HANDLE hMonitor, PCWSTR pwszObject, ACCESS_MASK GrantedAcces
PLOCALMON_HANDLE pLocalmon = (PLOCALMON_HANDLE)hMonitor;
PLOCALMON_XCV pXcv;
TRACE("LocalmonXcvOpenPort(%p, %S, %lu, %p)\n", hMonitor, pwszObject, GrantedAccess, phXcv);
FIXME("LocalmonXcvOpenPort(%p, %S, %lu, %p)\n", hMonitor, pwszObject, GrantedAccess, phXcv);
// Sanity checks
if (!pLocalmon || !phXcv)

View file

@ -25,9 +25,9 @@ const DWORD dwSpoolerMinorVersion = 0;
const WCHAR wszDefaultDocumentName[] = L"Local Downlevel Document";
PCWSTR wszPrintProviderInfo[3] = {
L"Windows NT Local Printers", // Description
L"Windows NT Local Print Providor", // Name
L"Locally connected Printers" // Comment
L"Locally connected Printers", // Comment
L"Windows NT Local Printers" // Description
};
// Local Constants