mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
Implement CM_Open_DevNode_Key and add CM_Open_DevNode_Key_Ex stub.
svn path=/trunk/; revision=22777
This commit is contained in:
parent
8a2e062765
commit
327a05db0f
5 changed files with 60 additions and 6 deletions
|
@ -159,8 +159,8 @@ CM_Open_Class_KeyA@24=SETUPAPI.CM_Open_Class_KeyA
|
|||
CM_Open_Class_KeyW@24=SETUPAPI.CM_Open_Class_KeyW
|
||||
CM_Open_Class_Key_ExA@28=SETUPAPI.CM_Open_Class_Key_ExA
|
||||
CM_Open_Class_Key_ExW@28=SETUPAPI.CM_Open_Class_Key_ExW
|
||||
;CM_Open_DevNode_Key
|
||||
;CM_Open_DevNode_Key_Ex
|
||||
CM_Open_DevNode_Key@24=SETUPAPI.CM_Open_DevNode_Key
|
||||
CM_Open_DevNode_Key_Ex@28=SETUPAPI.CM_Open_DevNode_Key_Ex
|
||||
;CM_Query_Arbitrator_Free_Data
|
||||
;CM_Query_Arbitrator_Free_Data_Ex
|
||||
;CM_Query_Arbitrator_Free_Size
|
||||
|
|
|
@ -2481,6 +2481,35 @@ CONFIGRET WINAPI CM_Open_Class_Key_ExW(
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* CM_Open_DevNode_Key [SETUPAPI.@]
|
||||
*/
|
||||
CONFIGRET WINAPI CM_Open_DevNode_Key(
|
||||
DEVINST dnDevNode, REGSAM samDesired, ULONG ulHardwareProfile,
|
||||
REGDISPOSITION Disposition, PHKEY phkDevice, ULONG ulFlags)
|
||||
{
|
||||
TRACE("%lx %lx %lu %lx %p %lx\n", dnDevNode, samDesired,
|
||||
ulHardwareProfile, Disposition, phkDevice, ulFlags);
|
||||
return CM_Open_DevNode_Key_Ex(dnDevNode, samDesired, ulHardwareProfile,
|
||||
Disposition, phkDevice, ulFlags, NULL);
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* CM_Open_DevNode_Key_Ex [SETUPAPI.@]
|
||||
*/
|
||||
CONFIGRET WINAPI CM_Open_DevNode_Key_Ex(
|
||||
DEVINST dnDevNode, REGSAM samDesired, ULONG ulHardwareProfile,
|
||||
REGDISPOSITION Disposition, PHKEY phkDevice, ULONG ulFlags,
|
||||
HMACHINE hMachine)
|
||||
{
|
||||
FIXME("%lx %lx %lu %lx %p %lx %lx\n", dnDevNode, samDesired,
|
||||
ulHardwareProfile, Disposition, phkDevice, ulFlags, hMachine);
|
||||
|
||||
return CR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* CM_Reenumerate_DevNode [SETUPAPI.@]
|
||||
*/
|
||||
|
|
|
@ -143,8 +143,8 @@
|
|||
@ stdcall CM_Open_Class_KeyW(ptr wstr long long ptr long)
|
||||
@ stdcall CM_Open_Class_Key_ExA(ptr str long long ptr long long)
|
||||
@ stdcall CM_Open_Class_Key_ExW(ptr wstr long long ptr long long)
|
||||
@ stub CM_Open_DevNode_Key
|
||||
@ stub CM_Open_DevNode_Key_Ex
|
||||
@ stdcall CM_Open_DevNode_Key(ptr long long long ptr long)
|
||||
@ stdcall CM_Open_DevNode_Key_Ex(ptr long long long ptr long long)
|
||||
@ stub CM_Query_Arbitrator_Free_Data
|
||||
@ stub CM_Query_Arbitrator_Free_Data_Ex
|
||||
@ stub CM_Query_Arbitrator_Free_Size
|
||||
|
|
|
@ -1804,8 +1804,31 @@ CM_Open_Class_Key_ExW(
|
|||
#define CM_Open_Class_Key_Ex CM_Open_Class_Key_ExA
|
||||
#endif /* UNICODE */
|
||||
|
||||
/* FIXME: Obsolete CM_Open_DevNode_Key */
|
||||
/* FIXME: Obsolete CM_Open_DevNode_Key_Ex */
|
||||
CMAPI
|
||||
CONFIGRET
|
||||
WINAPI
|
||||
CM_Open_DevNode_Key(
|
||||
IN DEVINST dnDevNode,
|
||||
IN REGSAM samDesired,
|
||||
IN ULONG ulHardwareProfile,
|
||||
IN REGDISPOSITION Disposition,
|
||||
OUT PHKEY phkDevice,
|
||||
IN ULONG ulFlags);
|
||||
|
||||
CMAPI
|
||||
CONFIGRET
|
||||
WINAPI
|
||||
CM_Open_DevNode_Key_Ex(
|
||||
IN DEVINST dnDevNode,
|
||||
IN REGSAM samDesired,
|
||||
IN ULONG ulHardwareProfile,
|
||||
IN REGDISPOSITION Disposition,
|
||||
OUT PHKEY phkDevice,
|
||||
IN ULONG ulFlags,
|
||||
IN HMACHINE hMachine);
|
||||
|
||||
#define CM_Open_DevInst_Key CM_Open_DevNode_Key
|
||||
#define CM_Open_DevInst_Key_Ex CM_Open_DevNode_Key_Ex
|
||||
|
||||
/* CM_Query_And_Remove_SubTree.ulFlags constants */
|
||||
#define CM_REMOVE_UI_OK 0x00000000
|
||||
|
|
|
@ -304,6 +304,8 @@ CONFIGRET WINAPI CM_Open_Class_KeyW( LPGUID, LPCWSTR, REGSAM, REGDISPOSITION, PH
|
|||
CONFIGRET WINAPI CM_Open_Class_Key_ExA( LPGUID, LPCSTR, REGSAM, REGDISPOSITION, PHKEY, ULONG, HMACHINE );
|
||||
CONFIGRET WINAPI CM_Open_Class_Key_ExW( LPGUID, LPCWSTR, REGSAM, REGDISPOSITION, PHKEY, ULONG, HMACHINE );
|
||||
#define CM_Open_Class_Key_Ex WINELIB_NAME_AW(CM_Open_Class_Key_Ex)
|
||||
CONFIGRET WINAPI CM_Open_DevNode_Key( DEVINST, REGSAM, ULONG, REGDISPOSITION, PHKEY, ULONG );
|
||||
CONFIGRET WINAPI CM_Open_DevNode_Key_Ex( DEVINST, REGSAM, ULONG, REGDISPOSITION, PHKEY, ULONG, HMACHINE );
|
||||
|
||||
CONFIGRET WINAPI CM_Reenumerate_DevNode( DEVINST, ULONG );
|
||||
CONFIGRET WINAPI CM_Reenumerate_DevNode_Ex( DEVINST, ULONG, HMACHINE );
|
||||
|
|
Loading…
Reference in a new issue