📄 cfgmgr32.h
字号:
IN PCSTR pszFilter, OPTIONAL
OUT PCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_List_ExW(
IN PCWSTR pszFilter, OPTIONAL
OUT PWCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_Device_ID_List CM_Get_Device_ID_ListW
#define CM_Get_Device_ID_List_Ex CM_Get_Device_ID_List_ExW
#else
#define CM_Get_Device_ID_List CM_Get_Device_ID_ListA
#define CM_Get_Device_ID_List_Ex CM_Get_Device_ID_List_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_List_SizeA(
OUT PULONG pulLen,
IN PCSTR pszFilter, OPTIONAL
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_List_SizeW(
OUT PULONG pulLen,
IN PCWSTR pszFilter, OPTIONAL
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_List_Size_ExA(
OUT PULONG pulLen,
IN PCSTR pszFilter, OPTIONAL
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_List_Size_ExW(
OUT PULONG pulLen,
IN PCWSTR pszFilter, OPTIONAL
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_Device_ID_List_Size CM_Get_Device_ID_List_SizeW
#define CM_Get_Device_ID_List_Size_Ex CM_Get_Device_ID_List_Size_ExW
#else
#define CM_Get_Device_ID_List_Size CM_Get_Device_ID_List_SizeA
#define CM_Get_Device_ID_List_Size_Ex CM_Get_Device_ID_List_Size_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_Size(
OUT PULONG pulLen,
IN DEVINST dnDevInst,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_Size_Ex(
OUT PULONG pulLen,
IN DEVINST dnDevInst,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Registry_PropertyA(
IN DEVINST dnDevInst,
IN ULONG ulProperty,
OUT PULONG pulRegDataType, OPTIONAL
OUT PVOID Buffer, OPTIONAL
IN OUT PULONG pulLength,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Registry_PropertyW(
IN DEVINST dnDevInst,
IN ULONG ulProperty,
OUT PULONG pulRegDataType, OPTIONAL
OUT PVOID Buffer, OPTIONAL
IN OUT PULONG pulLength,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Registry_Property_ExA(
IN DEVINST dnDevInst,
IN ULONG ulProperty,
OUT PULONG pulRegDataType, OPTIONAL
OUT PVOID Buffer, OPTIONAL
IN OUT PULONG pulLength,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Registry_Property_ExW(
IN DEVINST dnDevInst,
IN ULONG ulProperty,
OUT PULONG pulRegDataType, OPTIONAL
OUT PVOID Buffer, OPTIONAL
IN OUT PULONG pulLength,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#define CM_Get_DevInst_Registry_PropertyW CM_Get_DevNode_Registry_PropertyW
#define CM_Get_DevInst_Registry_PropertyA CM_Get_DevNode_Registry_PropertyA
#define CM_Get_DevInst_Registry_Property_ExW CM_Get_DevNode_Registry_Property_ExW
#define CM_Get_DevInst_Registry_Property_ExA CM_Get_DevNode_Registry_Property_ExA
#ifdef UNICODE
#define CM_Get_DevInst_Registry_Property CM_Get_DevNode_Registry_PropertyW
#define CM_Get_DevInst_Registry_Property_Ex CM_Get_DevNode_Registry_Property_ExW
#define CM_Get_DevNode_Registry_Property CM_Get_DevNode_Registry_PropertyW
#define CM_Get_DevNode_Registry_Property_Ex CM_Get_DevNode_Registry_Property_ExW
#else
#define CM_Get_DevInst_Registry_Property CM_Get_DevNode_Registry_PropertyA
#define CM_Get_DevInst_Registry_Property_Ex CM_Get_DevNode_Registry_Property_ExA
#define CM_Get_DevNode_Registry_Property CM_Get_DevNode_Registry_PropertyA
#define CM_Get_DevNode_Registry_Property_Ex CM_Get_DevNode_Registry_Property_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Status(
OUT PULONG pulStatus,
OUT PULONG pulProblemNumber,
IN DEVINST dnDevInst,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_DevNode_Status_Ex(
OUT PULONG pulStatus,
OUT PULONG pulProblemNumber,
IN DEVINST dnDevInst,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#define CM_Get_DevInst_Status CM_Get_DevNode_Status
#define CM_Get_DevInst_Status_Ex CM_Get_DevNode_Status_Ex
CMAPI
CONFIGRET
WINAPI
CM_Get_First_Log_Conf(
OUT PLOG_CONF plcLogConf, OPTIONAL
IN DEVINST dnDevInst,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_First_Log_Conf_Ex(
OUT PLOG_CONF plcLogConf, OPTIONAL
IN DEVINST dnDevInst,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Global_State(
OUT PULONG pulState,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Global_State_Ex(
OUT PULONG pulState,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Hardware_Profile_InfoA(
IN ULONG ulIndex,
OUT PHWPROFILEINFO_A pHWProfileInfo,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Hardware_Profile_Info_ExA(
IN ULONG ulIndex,
OUT PHWPROFILEINFO_A pHWProfileInfo,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Hardware_Profile_InfoW(
IN ULONG ulIndex,
OUT PHWPROFILEINFO_W pHWProfileInfo,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Hardware_Profile_Info_ExW(
IN ULONG ulIndex,
OUT PHWPROFILEINFO_W pHWProfileInfo,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_Hardware_Profile_Info CM_Get_Hardware_Profile_InfoW
#define CM_Get_Hardware_Profile_Info_Ex CM_Get_Hardware_Profile_Info_ExW
#else
#define CM_Get_Hardware_Profile_Info CM_Get_Hardware_Profile_InfoA
#define CM_Get_Hardware_Profile_Info_Ex CM_Get_Hardware_Profile_Info_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_HW_Prof_FlagsA(
IN DEVINSTID_A szDevInstName,
IN ULONG ulHardwareProfile,
OUT PULONG pulValue,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_HW_Prof_FlagsW(
IN DEVINSTID_W szDevInstName,
IN ULONG ulHardwareProfile,
OUT PULONG pulValue,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_HW_Prof_Flags_ExA(
IN DEVINSTID_A szDevInstName,
IN ULONG ulHardwareProfile,
OUT PULONG pulValue,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_HW_Prof_Flags_ExW(
IN DEVINSTID_W szDevInstName,
IN ULONG ulHardwareProfile,
OUT PULONG pulValue,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_HW_Prof_Flags CM_Get_HW_Prof_FlagsW
#define CM_Get_HW_Prof_Flags_Ex CM_Get_HW_Prof_Flags_ExW
#else
#define CM_Get_HW_Prof_Flags CM_Get_HW_Prof_FlagsA
#define CM_Get_HW_Prof_Flags_Ex CM_Get_HW_Prof_Flags_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_AliasA(
IN LPCSTR pszDeviceInterface,
IN LPGUID AliasInterfaceGuid,
OUT LPSTR pszAliasDeviceInterface,
IN OUT PULONG pulLength,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_AliasW(
IN LPCWSTR pszDeviceInterface,
IN LPGUID AliasInterfaceGuid,
OUT LPWSTR pszAliasDeviceInterface,
IN OUT PULONG pulLength,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_Alias_ExA(
IN LPCSTR pszDeviceInterface,
IN LPGUID AliasInterfaceGuid,
OUT LPSTR pszAliasDeviceInterface,
IN OUT PULONG pulLength,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_Alias_ExW(
IN LPCWSTR pszDeviceInterface,
IN LPGUID AliasInterfaceGuid,
OUT LPWSTR pszAliasDeviceInterface,
IN OUT PULONG pulLength,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_Device_Interface_Alias CM_Get_Device_Interface_AliasW
#define CM_Get_Device_Interface_Alias_Ex CM_Get_Device_Interface_Alias_ExW
#else
#define CM_Get_Device_Interface_Alias CM_Get_Device_Interface_AliasA
#define CM_Get_Device_Interface_Alias_Ex CM_Get_Device_Interface_Alias_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_ListA(
IN LPGUID InterfaceClassGuid,
IN DEVINSTID_A pDeviceID, OPTIONAL
OUT PCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_ListW(
IN LPGUID InterfaceClassGuid,
IN DEVINSTID_W pDeviceID, OPTIONAL
OUT PWCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_List_ExA(
IN LPGUID InterfaceClassGuid,
IN DEVINSTID_A pDeviceID, OPTIONAL
OUT PCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_List_ExW(
IN LPGUID InterfaceClassGuid,
IN DEVINSTID_W pDeviceID, OPTIONAL
OUT PWCHAR Buffer,
IN ULONG BufferLen,
IN ULONG ulFlags,
IN HMACHINE hMachine
);
#ifdef UNICODE
#define CM_Get_Device_Interface_List CM_Get_Device_Interface_ListW
#define CM_Get_Device_Interface_List_Ex CM_Get_Device_Interface_List_ExW
#else
#define CM_Get_Device_Interface_List CM_Get_Device_Interface_ListA
#define CM_Get_Device_Interface_List_Ex CM_Get_Device_Interface_List_ExA
#endif // UNICODE
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_Interface_List_SizeA(
IN PULONG pulLen,
IN LPGUID InterfaceClassGuid,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -