Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2000-12-16 21:55:05 +00:00 committed by Alexandre Julliard
parent fa29de7c6c
commit 00b86a9b04
4 changed files with 16 additions and 8 deletions

View File

@ -10,7 +10,8 @@
DEFAULT_DEBUG_CHANNEL(setupapi); DEFAULT_DEBUG_CHANNEL(setupapi);
/* /***********************************************************************
* DiGetClassDevs (SETUPX.304)
* Return a list of installed system devices. * Return a list of installed system devices.
* Uses HKLM\\ENUM to list devices. * Uses HKLM\\ENUM to list devices.
*/ */

View File

@ -575,7 +575,7 @@ void SETUPX_CreateStandardLDDs(void)
if (hKey) RegCloseKey(hKey); if (hKey) RegCloseKey(hKey);
} }
/* /***********************************************************************
* CtlDelLdd (SETUPX.37) * CtlDelLdd (SETUPX.37)
* *
* RETURN * RETURN
@ -616,13 +616,16 @@ RETERR16 SETUPX_DelLdd(LOGDISKID16 ldid)
return OK; return OK;
} }
/***********************************************************************
* CtlDelLdd (SETUPX.37)
*/
RETERR16 WINAPI CtlDelLdd16(LOGDISKID16 ldid) RETERR16 WINAPI CtlDelLdd16(LOGDISKID16 ldid)
{ {
FIXME("(%d); - please report to a.mohr@mailto.de !!!\n", ldid); FIXME("(%d); - please report to a.mohr@mailto.de !!!\n", ldid);
return SETUPX_DelLdd(ldid); return SETUPX_DelLdd(ldid);
} }
/* /***********************************************************************
* CtlFindLdd (SETUPX.35) * CtlFindLdd (SETUPX.35)
* *
* doesn't check pldd ptr validity: crash (W98SE) * doesn't check pldd ptr validity: crash (W98SE)
@ -661,7 +664,7 @@ RETERR16 WINAPI CtlFindLdd16(LPLOGDISKDESC pldd)
return 1; /* what is this ?? */ return 1; /* what is this ?? */
} }
/* /***********************************************************************
* CtlSetLdd (SETUPX.33) * CtlSetLdd (SETUPX.33)
* *
* Set an LDD entry. * Set an LDD entry.
@ -733,7 +736,7 @@ RETERR16 WINAPI CtlSetLdd16(LPLOGDISKDESC pldd)
} }
/* /***********************************************************************
* CtlAddLdd (SETUPX.36) * CtlAddLdd (SETUPX.36)
* *
* doesn't check pldd ptr validity: crash (W98SE) * doesn't check pldd ptr validity: crash (W98SE)
@ -746,7 +749,7 @@ RETERR16 WINAPI CtlAddLdd16(LPLOGDISKDESC pldd)
return CtlSetLdd16(pldd); return CtlSetLdd16(pldd);
} }
/* /***********************************************************************
* CtlGetLdd (SETUPX.34) * CtlGetLdd (SETUPX.34)
* *
* doesn't check pldd ptr validity: crash (W98SE) * doesn't check pldd ptr validity: crash (W98SE)
@ -782,6 +785,8 @@ static RETERR16 SETUPX_GetLdd(LPLOGDISKDESC pldd)
return OK; return OK;
} }
/**********************************************************************/
RETERR16 WINAPI CtlGetLdd16(LPLOGDISKDESC pldd) RETERR16 WINAPI CtlGetLdd16(LPLOGDISKDESC pldd)
{ {
FIXME("(%p); - please report to a.mohr@mailto.de !!!\n", 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 ? * Is fl related to VCPDISKINFO.fl ?
*/ */

View File

@ -910,6 +910,8 @@ static const CSIDL_DATA CSIDL_Data[] =
#undef HKCU #undef HKCU
#undef HKLM #undef HKLM
/**********************************************************************/
BOOL WINAPI SHGetSpecialFolderPathA ( BOOL WINAPI SHGetSpecialFolderPathA (
HWND hwndOwner, HWND hwndOwner,
LPSTR szPath, LPSTR szPath,

View File

@ -485,7 +485,7 @@ DWORD WINAPI ExpandEnvironmentStringsW( LPCWSTR src, LPWSTR dst, DWORD len )
/*********************************************************************** /***********************************************************************
* GetDOSEnvironment (KERNEL.131) * GetDOSEnvironment16 (KERNEL.131)
*/ */
SEGPTR WINAPI GetDOSEnvironment16(void) SEGPTR WINAPI GetDOSEnvironment16(void)
{ {