cfgmgr32.h 标头将CM_Get_Device_ID_List_Size定义为一个别名,该别名根据 UNICODE 预处理器常量的定义自动选择此函数的 ANSI 或 Unicode 版本。 将中性编码别名与不中性编码的代码混合使用可能会导致编译或运行时错误不匹配。 有关详细信息,请参阅函数原型的约定。
CM_Get_Device_ID_List_Size_Ex函式會擷取保留本機或遠端電腦裝置實例之裝置實例標識符清單所需的緩衝區大小。 語法 C++ CMAPI CONFIGRETCM_Get_Device_ID_List_Size_ExA( [out] PULONG pulLen, [in, optional] PCSTR pszFilter, [in] ULONG ulFlags, [in, optional] HMACHINE hMachine ); ...
应调用 CM_Get_Device_ID_List_Size_Ex 函数来确定 CM_Get_Device_ID_List_Ex所需的缓冲区大小。pulLen 指向的位置中提供的大小值保证表示足以容纳所有设备实例标识符字符串和终止 NULL 的缓冲区大小。 提供的值实际上可能表示大于所需大小的缓冲区大小,因此不要假定该值表示 CM_Get_Device_ID_List_...
The cfgmgr32.h header defines CM_Get_Device_ID_List_Size as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can ...
应调用CM_Get_Device_ID_List_Size_Ex函数来确定CM_Get_Device_ID_List_Ex所需的缓冲区大小。 pulLen指向的位置中提供的大小值保证表示足以容纳所有设备实例标识符字符串和终止 NULL 的缓冲区大小。 提供的值实际上可能表示大于所需大小的缓冲区大小,因此不要假定该值表示CM_Get_Device_ID_List_Ex将提供的字符...
请改用 CM_Get_Device_ID_List_Size。] CM_Get_Device_ID_List_Size_Ex函数检索保存本地或远程计算机设备实例的设备实例 ID 列表所需的缓冲区大小。 语法 C++ 复制 CMAPI CONFIGRET CM_Get_Device_ID_List_Size_ExA( [out] PULONG pulLen, [in, optional] PCSTR pszFilter, [in] ULONG ulFla...
應該呼叫 CM_Get_Device_ID_List_Size 函式,以判斷 CM_Get_Device_ID_List所需的緩衝區大小。pulLen 所指向之位置中提供的大小值保證代表足以保存所有裝置實例標識符字串和終止 NULL 的緩衝區大小。 提供的值實際上可能代表大於必要大小的緩衝區大小,因此請勿假設值代表 CM_Get_Device_ID_List 將提供...
應該呼叫 CM_Get_Device_ID_List_Size 函式,以判斷 CM_Get_Device_ID_List所需的緩衝區大小。pulLen所指向之位置中提供的大小值保證代表足以保存所有裝置實例識別碼字串和終止 NUL 的緩衝區大小。 提供的值實際上可能代表大於必要大小的緩衝區大小,因此請勿假設該值代表 CM_Get_Device_ID_List 將提...
应调用 CM_Get_Device_ID_List_Size 函数来确定 CM_Get_Device_ID_List所需的缓冲区大小。pulLen 指向的位置中提供的大小值保证表示足以容纳所有设备实例标识符字符串和终止 NUL 的缓冲区大小。 所提供的值实际上可能表示大于所需的缓冲区大小,因此不要假定该值表示 CM_Get_Device_ID_List 将提供的字...
La fonction CM_Get_Device_ID_List_Size récupère la taille de la mémoire tampon requise pour contenir une liste d’ID d’instance d’appareil pour les instances d’appareil de l’ordinateur local.SyntaxeC++ Copier CMAPI CONFIGRET CM_Get_Device_ID_List_SizeA( [out] PULONG pulLen, [...