勇芳软件工作室.汉化:  Windows Management Instrumentation > COM API for WMI > Interfaces > IWbemObjectAccess >

ReadQWORD Method

Previous pageReturn to chapter overviewNext page

描述

 

ReadQWORD方法读取由属性句柄标识的64位属性数据。

 

C++ 语法

 

HRESULT ReadQWORD(

[in]   long lHandle,

[out]  unsigned __int64 *pqw

);

 

PowerBASIC 语法

 

METHOD ReadQWORD ( _

BYVAL lHandle AS LONG, _

BYREF pqw AS QUAD _

) AS LONG

 

参数

 

lHandle

 

包含标识此属性的句柄的整数。

 

pqw

 

指向无符号64位整数,用于返回正在读取的数据。

 

返回值

 

如果成功,此方法返回WBEM_S_NO_ERROR。如果属性为NULL,则该方法返回WBEM_S_FALSE。

 

要求

 

客户

需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95。

服务器

需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。

在Wbemcli.inc中声明。

DLL

需要Esscli.dll。

需要Fastprox.dll。

需要Wbemess.dll。