(DeviceInterfaceList == NULL) { cr = CR_OUT_OF_MEMORY; break; } cr = CM_Get_Device_Interface_List((LPGUID)&GUID_DEVINTERFACE_VOLUME, NULL, DeviceInterfaceList, DeviceInterfaceListLength, CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES); } while (cr == CR_BUFFER_SMALL); if (cr != CR...
调用方提供的指针指向接收缓冲区所需长度(以字符为单位)的位置,用于保存由 CM_Get_Device_Interface_List返回的多个 Unicode 字符串。[in] InterfaceClassGuid提供一个 GUID,用于标识 设备接口类。[in, optional] pDeviceID调用方提供的指向 NULL 终止字符串的指针,该字符串表示 设备实例 ID。 如果指定,...
cfgmgr32.h 标头将CM_Get_Device_Interface_List_Size定义为一个别名,该别名根据 UNICODE 预处理器常量的定义自动选择此函数的 ANSI 或 Unicode 版本。 将中性编码别名与不中性编码的代码混合使用可能会导致编译或运行时错误不匹配。 有关详细信息,请参阅函数原型的约定。
DWORD CM_Get_Device_Interface_ListW( LPGUID InterfaceClassGuid, DEVINSTID_W pDeviceID, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags ); Parameters InterfaceClassGuid [in] Pointer to a GUID that specifies the device interface class. pDeviceID [in] Name of the device instance. This parameter...
CM_Get_Device_ID_Size_Ex, fonction CM_Get_Device_IDA, fonction CM_Get_Device_IDW, fonction CM_Get_Device_Interface_Alias_ExA, fonction CM_Get_Device_Interface_Alias_ExW, fonction CM_Get_Device_Interface_AliasA fonction CM_Get_Device_Interface_AliasW, fonction CM_Get_Device_Interface...
调用方提供的指针指向接收缓冲区所需长度(以字符为单位)的位置,用于保存由 CM_Get_Device_Interface_List返回的多个 Unicode 字符串。[in] InterfaceClassGuid提供一个 GUID,用于标识 设备接口类。[in, optional] pDeviceID调用方提供的指向 NULL 终止字符串的指针,该字符串表示 设备实例 ID。 如果指定,...
调用方提供的指针指向接收缓冲区所需长度(以字符为单位)的位置,用于保存由 CM_Get_Device_Interface_List返回的多个 Unicode 字符串。[in] InterfaceClassGuid提供一个 GUID,用于标识 设备接口类。[in, optional] pDeviceID调用方提供的指向 NULL 终止字符串的指针,该字符串表示 设备实例 ID。 如果指定...
CM_Get_Device_ID_Size 函式 CM_Get_Device_ID_Size_Ex函式 CM_Get_Device_IDA函式 CM_Get_Device_IDW函式 CM_Get_Device_Interface_Alias_ExA函式 CM_Get_Device_Interface_Alias_ExW 函式 CM_Get_Device_Interface_AliasA函式 CM_Get_Device_Interface_AliasW函式 CM_Get_Device_Interface_List_...
CM_Get_Device_ID_Size_Ex函式 CM_Get_Device_IDA函式 CM_Get_Device_IDW函式 CM_Get_Device_Interface_Alias_ExA函式 CM_Get_Device_Interface_Alias_ExW 函式 CM_Get_Device_Interface_AliasA函式 CM_Get_Device_Interface_AliasW函式 CM_Get_Device_Interface_List_ExA函式 CM_Get_Device_Interfa...
CM_Get_Device_ID_Size 函数 CM_Get_Device_ID_Size_Ex 函数 CM_Get_Device_IDA 函数 CM_Get_Device_IDW 函数 CM_Get_Device_Interface_Alias_ExA 函数 CM_Get_Device_Interface_Alias_ExW 函数 CM_Get_Device_Interface_AliasA 函数 CM_Get_Device_Interface_AliasW 函数 CM_Get_Device_Interface...