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

WriteDWORD Method

Previous pageReturn to chapter overviewNext page

描述

 

WriteDWORD方法将32位数据写入由属性句柄标识的属性。

 

C++ 语法

 

HRESULT WriteDWORD(

[in]  long lHandle,

[in]  DWORD dw

);

 

PowerBASIC 语法

 

METHOD WriteDWORD ( _

BYVAL lHandle AS LONG, _

BYVAL dw AS DWORD _

) AS LONG

 

参数

 

lHandle

 

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

 

dw

 

无符号32位整数,包含正在写入的数据。

 

返回值

 

如果成功,此方法返回WBEM_S_NO_ERROR。

 

要求

 

客户

需要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。