Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ResUtilDupString function (resapi.h)
Duplicates a null-terminated Unicode string.
Syntax
PWSTR ResUtilDupString(
[in] LPCWSTR pszInString
);
Parameters
[in] pszInString
Pointer to the string to duplicate.
Return value
If the operation succeeds, the function returns a pointer to a buffer containing the duplicate string.
If the operation fails, the function returns NULL. For more information, call the function GetLastError.
Remarks
With the ResUtilDupString utility function, after using the returned string, callers should deallocate the buffer by calling the function LocalFree.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
| Target Platform | Windows |
| Header | resapi.h |
| Library | ResUtils.lib |
| DLL | ResUtils.dll |
See also
Feedback
Was this page helpful?
