mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Fixed some issues found by winapi_check.
This commit is contained in:
parent
fa29de7c6c
commit
00b86a9b04
@ -10,7 +10,8 @@
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(setupapi);
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* DiGetClassDevs (SETUPX.304)
|
||||
* Return a list of installed system devices.
|
||||
* Uses HKLM\\ENUM to list devices.
|
||||
*/
|
||||
|
@ -575,7 +575,7 @@ void SETUPX_CreateStandardLDDs(void)
|
||||
if (hKey) RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* CtlDelLdd (SETUPX.37)
|
||||
*
|
||||
* RETURN
|
||||
@ -616,13 +616,16 @@ RETERR16 SETUPX_DelLdd(LOGDISKID16 ldid)
|
||||
return OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* CtlDelLdd (SETUPX.37)
|
||||
*/
|
||||
RETERR16 WINAPI CtlDelLdd16(LOGDISKID16 ldid)
|
||||
{
|
||||
FIXME("(%d); - please report to a.mohr@mailto.de !!!\n", ldid);
|
||||
return SETUPX_DelLdd(ldid);
|
||||
}
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* CtlFindLdd (SETUPX.35)
|
||||
*
|
||||
* doesn't check pldd ptr validity: crash (W98SE)
|
||||
@ -661,7 +664,7 @@ RETERR16 WINAPI CtlFindLdd16(LPLOGDISKDESC pldd)
|
||||
return 1; /* what is this ?? */
|
||||
}
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* CtlSetLdd (SETUPX.33)
|
||||
*
|
||||
* Set an LDD entry.
|
||||
@ -733,7 +736,7 @@ RETERR16 WINAPI CtlSetLdd16(LPLOGDISKDESC pldd)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* CtlAddLdd (SETUPX.36)
|
||||
*
|
||||
* doesn't check pldd ptr validity: crash (W98SE)
|
||||
@ -746,7 +749,7 @@ RETERR16 WINAPI CtlAddLdd16(LPLOGDISKDESC pldd)
|
||||
return CtlSetLdd16(pldd);
|
||||
}
|
||||
|
||||
/*
|
||||
/***********************************************************************
|
||||
* CtlGetLdd (SETUPX.34)
|
||||
*
|
||||
* doesn't check pldd ptr validity: crash (W98SE)
|
||||
@ -782,6 +785,8 @@ static RETERR16 SETUPX_GetLdd(LPLOGDISKDESC pldd)
|
||||
return OK;
|
||||
}
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
RETERR16 WINAPI CtlGetLdd16(LPLOGDISKDESC pldd)
|
||||
{
|
||||
FIXME("(%p); - please report to a.mohr@mailto.de !!!\n", pldd);
|
||||
@ -1054,7 +1059,7 @@ RETERR16 WINAPI VcpOpen16(VIFPROC vifproc, LPARAM lparamMsgRef)
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* vcpClose
|
||||
* VcpClose
|
||||
*
|
||||
* Is fl related to VCPDISKINFO.fl ?
|
||||
*/
|
||||
|
@ -910,6 +910,8 @@ static const CSIDL_DATA CSIDL_Data[] =
|
||||
#undef HKCU
|
||||
#undef HKLM
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
BOOL WINAPI SHGetSpecialFolderPathA (
|
||||
HWND hwndOwner,
|
||||
LPSTR szPath,
|
||||
|
@ -485,7 +485,7 @@ DWORD WINAPI ExpandEnvironmentStringsW( LPCWSTR src, LPWSTR dst, DWORD len )
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* GetDOSEnvironment (KERNEL.131)
|
||||
* GetDOSEnvironment16 (KERNEL.131)
|
||||
*/
|
||||
SEGPTR WINAPI GetDOSEnvironment16(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user