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 };
/*******************************************************************************
* DP_and_DPL_DllGetClassObject [DPLAYX.?]
* DPLAYX_DllGetClassObject [DPLAYX.?]
* Retrieves DP or DPL class object from a DLL object
*
* NOTES
......
......@@ -194,8 +194,8 @@ import ole32.dll
179 stub SHGetNewLinkInfoA
180 stub SHGetNewLinkInfoW
181 stdcall RegisterShellHook(long long) RegisterShellHook
182 cdecl ShellMessageBoxW(long long long str long long) ShellMessageBoxW
183 cdecl ShellMessageBoxA(long long long str long long) ShellMessageBoxA
182 varargs ShellMessageBoxW(long long long str long) ShellMessageBoxW
183 varargs ShellMessageBoxA(long long long str long) ShellMessageBoxA
184 stdcall ArrangeWindows(long long long long long) ArrangeWindows
185 stub SHHandleDiskFull
186 stub ExtractAssociatedIconExW # exported by name
......
......@@ -29,7 +29,7 @@ import ole32.dll
@ stdcall DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject
@ stdcall DllInstall(long ptr) URLMON_DllInstall
@ stdcall DllRegisterServer() URLMON_DllRegisterServer
@ stub DllRegisterServerEx
@ stdcall DllRegisterServerEx() URLMON_DllRegisterServerEx
@ stdcall DllUnregisterServer() URLMON_DllUnregisterServer
@ stub Extract
@ stub FaultInIEFeature
......
......@@ -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.@)
*/
HRESULT WINAPI URLMON_DllUnregisterServer(void)
......
......@@ -1189,10 +1189,11 @@ INT16 WINAPI GetCommState16(INT16 cid, LPDCB16 lpdcb)
else
lpdcb->fParity = FALSE;
#ifdef CMSPAR
switch (port.c_cflag & (PARENB | PARODD | CMSPAR)) {
switch (port.c_cflag & (PARENB | PARODD | CMSPAR))
#else
switch (port.c_cflag & (PARENB | PARODD)) {
switch (port.c_cflag & (PARENB | PARODD))
#endif
{
case 0:
lpdcb->Parity = NOPARITY;
break;
......@@ -2378,10 +2379,11 @@ BOOL WINAPI GetCommState(INT handle, LPDCB lpdcb)
else
lpdcb->fParity = FALSE;
#ifdef CMSPAR
switch (port.c_cflag & (PARENB | PARODD | CMSPAR)) {
switch (port.c_cflag & (PARENB | PARODD | CMSPAR))
#else
switch (port.c_cflag & (PARENB | PARODD)) {
switch (port.c_cflag & (PARENB | PARODD))
#endif
{
case 0:
lpdcb->Parity = NOPARITY;
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