| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_Name method retrieves the friendly name of the device.
Syntax
HRESULT get_Name(
  BSTR*  pName
);
Parameters
pName
[out] Pointer to a variable that receives the friendly name.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| S_OK | Success. | 
| E_POINTER | NULL pointer argument. | 
Remarks
The caller must free the returned string, using the SysFreeString function.
See Also