Commit c77ff5ef authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed issues reported by winapi_check.

parent 5dadbf32
...@@ -79,7 +79,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 }; ...@@ -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
......
...@@ -194,8 +194,8 @@ import ole32.dll ...@@ -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
......
...@@ -29,7 +29,7 @@ import ole32.dll ...@@ -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
......
...@@ -57,6 +57,16 @@ HRESULT WINAPI URLMON_DllRegisterServer(void) ...@@ -57,6 +57,16 @@ HRESULT WINAPI URLMON_DllRegisterServer(void)
} }
/*********************************************************************** /***********************************************************************
* DllRegisterServerEx (URLMON.@)
*/
HRESULT WINAPI URLMON_DllRegisterServerEx(void)
{
FIXME("(void): stub\n");
return E_FAIL;
}
/***********************************************************************
* DllUnregisterServer (URLMON.@) * DllUnregisterServer (URLMON.@)
*/ */
HRESULT WINAPI URLMON_DllUnregisterServer(void) HRESULT WINAPI URLMON_DllUnregisterServer(void)
......
...@@ -1189,10 +1189,11 @@ INT16 WINAPI GetCommState16(INT16 cid, LPDCB16 lpdcb) ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment