setupapi: Add CM_Get_DevNode_Registry_Property wrapper around CM_Get_DevNode_Registry_Property_Ex.

This commit is contained in:
Mark Harmstone 2014-05-06 17:12:45 +01:00 committed by Alexandre Julliard
parent ea950ac7cf
commit cfb81f2c60
3 changed files with 22 additions and 4 deletions

View File

@ -56,8 +56,8 @@
@ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr) setupapi.CM_Get_Class_Registry_PropertyW @ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr) setupapi.CM_Get_Class_Registry_PropertyW
@ stub CM_Get_Depth @ stub CM_Get_Depth
@ stub CM_Get_Depth_Ex @ stub CM_Get_Depth_Ex
@ stub CM_Get_DevNode_Registry_PropertyA @ stdcall CM_Get_DevNode_Registry_PropertyA(long long ptr ptr long long) setupapi.CM_Get_DevNode_Registry_PropertyA
@ stub CM_Get_DevNode_Registry_PropertyW @ stdcall CM_Get_DevNode_Registry_PropertyW(long long ptr ptr long long) setupapi.CM_Get_DevNode_Registry_PropertyW
@ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr) setupapi.CM_Get_DevNode_Registry_Property_ExA @ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr) setupapi.CM_Get_DevNode_Registry_Property_ExA
@ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr) setupapi.CM_Get_DevNode_Registry_Property_ExW @ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr) setupapi.CM_Get_DevNode_Registry_Property_ExW
@ stub CM_Get_DevNode_Status @ stub CM_Get_DevNode_Status

View File

@ -67,8 +67,8 @@
@ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr) @ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr long long ptr)
@ stub CM_Get_Depth @ stub CM_Get_Depth
@ stub CM_Get_Depth_Ex @ stub CM_Get_Depth_Ex
@ stub CM_Get_DevNode_Registry_PropertyA @ stdcall CM_Get_DevNode_Registry_PropertyA(long long ptr ptr long long)
@ stub CM_Get_DevNode_Registry_PropertyW @ stdcall CM_Get_DevNode_Registry_PropertyW(long long ptr ptr long long)
@ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr) @ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr)
@ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr) @ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr)
@ stub CM_Get_DevNode_Status @ stub CM_Get_DevNode_Status

View File

@ -406,6 +406,24 @@ CONFIGRET WINAPI CM_Get_DevNode_Registry_Property_ExW(DEVINST dev, ULONG prop, P
return CR_FAILURE; return CR_FAILURE;
} }
/***********************************************************************
* CM_Get_DevNode_Registry_PropertyA (SETUPAPI.@)
*/
CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyA(DEVINST dev, ULONG prop, PULONG regdatatype,
PVOID buf, PULONG len, ULONG flags)
{
return CM_Get_DevNode_Registry_Property_ExA(dev, prop, regdatatype, buf, len, flags, NULL);
}
/***********************************************************************
* CM_Get_DevNode_Registry_PropertyW (SETUPAPI.@)
*/
CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyW(DEVINST dev, ULONG prop, PULONG regdatatype,
PVOID buf, PULONG len, ULONG flags)
{
return CM_Get_DevNode_Registry_Property_ExW(dev, prop, regdatatype, buf, len, flags, NULL);
}
/*********************************************************************** /***********************************************************************
* CM_Enumerate_Classes (SETUPAPI.@) * CM_Enumerate_Classes (SETUPAPI.@)
*/ */