wiauGetResourceString function (wiautil.h)
The wiauGetResourceString function gets a resource string, storing it as a BSTR.
Syntax
HRESULT wiauGetResourceString(
HINSTANCE hInst,
LONG lResourceID,
[out] BSTR *pbstrStr
);
Parameters
hInst
Specifies the handle of the module instance.
lResourceID
Specifies the resource ID of the target BSTR value.
[out] pbstrStr
Points to the memory location that receives the retrieved string. The caller of this function must free this string by calling SysFreeString (described in the Microsoft Windows SDK documentation).
Return value
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for