Fixed issues reported by winapi_check.

This commit is contained in:
Patrik Stridvall 2000-04-29 14:26:13 +00:00 committed by Alexandre Julliard
parent 5dadbf3289
commit c77ff5ef67
5 changed files with 20 additions and 8 deletions

View File

@ -79,7 +79,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
/******************************************************************************* /*******************************************************************************
* DP_and_DPL_DllGetClassObject [DPLAYX.?] * DPLAYX_DllGetClassObject [DPLAYX.?]
* Retrieves DP or DPL class object from a DLL object * Retrieves DP or DPL class object from a DLL object
* *
* NOTES * NOTES

View File

@ -194,8 +194,8 @@ import ole32.dll
179 stub SHGetNewLinkInfoA 179 stub SHGetNewLinkInfoA
180 stub SHGetNewLinkInfoW 180 stub SHGetNewLinkInfoW
181 stdcall RegisterShellHook(long long) RegisterShellHook 181 stdcall RegisterShellHook(long long) RegisterShellHook
182 cdecl ShellMessageBoxW(long long long str long long) ShellMessageBoxW 182 varargs ShellMessageBoxW(long long long str long) ShellMessageBoxW
183 cdecl ShellMessageBoxA(long long long str long long) ShellMessageBoxA 183 varargs ShellMessageBoxA(long long long str long) ShellMessageBoxA
184 stdcall ArrangeWindows(long long long long long) ArrangeWindows 184 stdcall ArrangeWindows(long long long long long) ArrangeWindows
185 stub SHHandleDiskFull 185 stub SHHandleDiskFull
186 stub ExtractAssociatedIconExW # exported by name 186 stub ExtractAssociatedIconExW # exported by name

View File

@ -29,7 +29,7 @@ import ole32.dll
@ stdcall DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject @ stdcall DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject
@ stdcall DllInstall(long ptr) URLMON_DllInstall @ stdcall DllInstall(long ptr) URLMON_DllInstall
@ stdcall DllRegisterServer() URLMON_DllRegisterServer @ stdcall DllRegisterServer() URLMON_DllRegisterServer
@ stub DllRegisterServerEx @ stdcall DllRegisterServerEx() URLMON_DllRegisterServerEx
@ stdcall DllUnregisterServer() URLMON_DllUnregisterServer @ stdcall DllUnregisterServer() URLMON_DllUnregisterServer
@ stub Extract @ stub Extract
@ stub FaultInIEFeature @ stub FaultInIEFeature

View File

@ -56,6 +56,16 @@ HRESULT WINAPI URLMON_DllRegisterServer(void)
return S_OK; return S_OK;
} }
/***********************************************************************
* DllRegisterServerEx (URLMON.@)
*/
HRESULT WINAPI URLMON_DllRegisterServerEx(void)
{
FIXME("(void): stub\n");
return E_FAIL;
}
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (URLMON.@) * DllUnregisterServer (URLMON.@)
*/ */

View File

@ -1189,10 +1189,11 @@ INT16 WINAPI GetCommState16(INT16 cid, LPDCB16 lpdcb)
else else
lpdcb->fParity = FALSE; lpdcb->fParity = FALSE;
#ifdef CMSPAR #ifdef CMSPAR
switch (port.c_cflag & (PARENB | PARODD | CMSPAR)) { switch (port.c_cflag & (PARENB | PARODD | CMSPAR))
#else #else
switch (port.c_cflag & (PARENB | PARODD)) { switch (port.c_cflag & (PARENB | PARODD))
#endif #endif
{
case 0: case 0:
lpdcb->Parity = NOPARITY; lpdcb->Parity = NOPARITY;
break; break;
@ -2378,10 +2379,11 @@ BOOL WINAPI GetCommState(INT handle, LPDCB lpdcb)
else else
lpdcb->fParity = FALSE; lpdcb->fParity = FALSE;
#ifdef CMSPAR #ifdef CMSPAR
switch (port.c_cflag & (PARENB | PARODD | CMSPAR)) { switch (port.c_cflag & (PARENB | PARODD | CMSPAR))
#else #else
switch (port.c_cflag & (PARENB | PARODD)) { switch (port.c_cflag & (PARENB | PARODD))
#endif #endif
{
case 0: case 0:
lpdcb->Parity = NOPARITY; lpdcb->Parity = NOPARITY;
break; break;