CHString::LoadStringW(UINT) method (chstring.h)
[The CHString class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The LoadStringW method reads a Windows string resource (identified by nID) into an existing CHString object.
Syntax
BOOL throw(CHeap_Exception) LoadStringW(
UINT nID
);
Parameters
nID
Windows string resource identifier.
Return value
If the LoadStringW method is successful, the resource string is loaded into the CHString object, and the method returns a nonzero value. If the method is unsuccessful, it returns zero.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | chstring.h (include FwCommon.h) |
Library | FrameDyn.lib |
DLL | FrameDynOS.dll; FrameDyn.dll |