mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00: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
3 changed files with 7 additions and 5 deletions
|
@ -582,7 +582,7 @@ DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pO
|
||||||
{
|
{
|
||||||
if (!IsValidDevmodeNoSizeW( (PDEVMODEW)pDevMode ) )
|
if (!IsValidDevmodeNoSizeW( (PDEVMODEW)pDevMode ) )
|
||||||
{
|
{
|
||||||
ERR("DeviceCapabilitiesW : Devode Invalid");
|
ERR("DeviceCapabilitiesW : Devode Invalid\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -916,7 +916,9 @@ DocumentPropertySheets( PPROPSHEETUI_INFO pCPSUIInfo, LPARAM lparam )
|
||||||
|
|
||||||
if ( fpDocumentPropertySheets )
|
if ( fpDocumentPropertySheets )
|
||||||
{
|
{
|
||||||
|
FIXME("DPS : fpDocumentPropertySheets(%p, 0x%lx) pdmOut %p\n", pCPSUIInfo, lparam, pdphdr->pdmOut);
|
||||||
Result = fpDocumentPropertySheets( pCPSUIInfo, lparam );
|
Result = fpDocumentPropertySheets( pCPSUIInfo, lparam );
|
||||||
|
FIXME("DPS : fpDocumentPropertySheets result %d cbOut %d\n",Result, pdphdr->cbOut);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -513,7 +513,7 @@ LocalmonXcvClosePort(HANDLE hXcv)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove it from the list and free the memory.
|
// Remove it from the list and free the memory.
|
||||||
LeaveCriticalSection(&pXcv->pLocalmon->Section);
|
EnterCriticalSection(&pXcv->pLocalmon->Section);
|
||||||
RemoveEntryList(&pXcv->Entry);
|
RemoveEntryList(&pXcv->Entry);
|
||||||
LeaveCriticalSection(&pXcv->pLocalmon->Section);
|
LeaveCriticalSection(&pXcv->pLocalmon->Section);
|
||||||
DllFreeSplMem(pXcv);
|
DllFreeSplMem(pXcv);
|
||||||
|
@ -570,7 +570,7 @@ LocalmonXcvOpenPort(HANDLE hMonitor, PCWSTR pwszObject, ACCESS_MASK GrantedAcces
|
||||||
PLOCALMON_HANDLE pLocalmon = (PLOCALMON_HANDLE)hMonitor;
|
PLOCALMON_HANDLE pLocalmon = (PLOCALMON_HANDLE)hMonitor;
|
||||||
PLOCALMON_XCV pXcv;
|
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
|
// Sanity checks
|
||||||
if (!pLocalmon || !phXcv)
|
if (!pLocalmon || !phXcv)
|
||||||
|
|
|
@ -25,9 +25,9 @@ const DWORD dwSpoolerMinorVersion = 0;
|
||||||
const WCHAR wszDefaultDocumentName[] = L"Local Downlevel Document";
|
const WCHAR wszDefaultDocumentName[] = L"Local Downlevel Document";
|
||||||
|
|
||||||
PCWSTR wszPrintProviderInfo[3] = {
|
PCWSTR wszPrintProviderInfo[3] = {
|
||||||
L"Windows NT Local Printers", // Description
|
|
||||||
L"Windows NT Local Print Providor", // Name
|
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
|
// Local Constants
|
||||||
|
|
Loading…
Reference in a new issue