Microsoft DirectX 8.1 (C++) |
The SetUserName method sets an application-defined name for the object.
Syntax
HRESULT SetUserName(
BSTR newVal
);
Parameters
newVal
Wide-character string that contains the name. Strings longer than 256 characters might be truncated.
Return Value
Returns S_OK.
See Also