Microsoft DirectX 9.0 |
The GetUserName method retrieves the object's application-defined name.
Syntax
object.GetUserName() As String
Parameters
This method takes no parameters.
Return Value
Returns a string that contains the application-defined name.
Error Codes
If the method fails, an error is raised, and Err.Number can be set to one of the following values:
Value | Description |
E_OUTOFMEMORY | Insufficient memory. |
See Also