|Microsoft DirectX 9.0|
The WideStringFromResource function loads a wide-character string from a resource file with the given resource identifier.
WCHAR * WINAPI WideStringFromResource( WCHAR *pBuffer, int iResourceID );
Pointer to the string corresponding to iResourceID.
Resource identifier of the string to retrieve.
Returns the same string as pBuffer. If the function is not successful, returns a null string.
Property pages are typically called through their COM interfaces, which use wide-character strings regardless of how the binary is built. This function allows you to convert a resource string to a wide-character string. The function converts the resource to a wide-character string (if it is not already one) after loading it.