Commit 1e66b33d authored by Austin English's avatar Austin English Committed by Alexandre Julliard

setupx.dll16: Add a DiOpenClassRegKey stub.

parent e269444f
......@@ -133,3 +133,12 @@ RETERR16 WINAPI DiOpenDevRegKey16(LPDEVICE_INFO16 lpdi,
FIXME("(%p %p %d): stub\n", lpdi, lphk, iFlags);
return FALSE;
}
/***********************************************************************
* DiOpenClassRegKey (SETUPX.319)
*/
RETERR16 WINAPI DiOpenClassRegKey16(LPHKEY16 hkey, const char *class)
{
FIXME("(%p %s): stub\n", hkey, debugstr_a(class));
return ERR_DI_REG_API;
}
......@@ -155,7 +155,7 @@
319 pascal -ret16 DiOpenDevRegKey (ptr ptr word) DiOpenDevRegKey16
320 stub DiInstallDrvSection #(str str str str long)
321 pascal -ret16 DiInstallClass (str long) DiInstallClass16
322 stub DiOpenClassRegKey #(ptr str)
322 pascal -ret16 DiOpenClassRegKey (ptr str) DiOpenClassRegKey16
323 stub Display_SetFontSize #(str)
324 stub Display_OpenFontSizeKey #(ptr)
325 stub DiBuildClassDrvListFromOldInf #(ptr str ptr long)
......
......@@ -559,4 +559,29 @@ typedef struct tagLDD_LIST {
ldd.ldid = LDID; \
} while(0)
/* Error codes */
enum _ERR_DEVICE_INSTALL
{
ERR_DI_INVALID_DEVICE_ID = DI_ERROR,
ERR_DI_INVALID_COMPATIBLE_DEVICE_LIST,
ERR_DI_REG_API,
ERR_DI_LOW_MEM,
ERR_DI_BAD_DEV_INFO,
ERR_DI_INVALID_CLASS_INSTALLER,
ERR_DI_DO_DEFAULT,
ERR_DI_USER_CANCEL,
ERR_DI_NOFILECOPY,
ERR_DI_BAD_CLASS_INFO,
ERR_DI_BAD_INF,
ERR_DI_BAD_MOVEDEV_PARAMS,
ERR_DI_NO_INF,
ERR_DI_BAD_PROPCHANGE_PARAMS,
ERR_DI_BAD_SELECTDEVICE_PARAMS,
ERR_DI_BAD_REMOVEDEVICE_PARAMS,
ERR_DI_BAD_ENABLECLASS_PARAMS,
ERR_DI_FAIL_QUERY,
ERR_DI_API_ERROR,
ERR_DI_BAD_PATH,
};
#endif /* __SETUPX16_H */
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