mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[Printing] Fix Typos and Test Regressions
Fix WinSpool API regressions. Fix typos and debug prints.
This commit is contained in:
parent
8313483202
commit
3ca217621d
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user