Microsoft DirectX 9.0

IMSVidDevice::get_Name

This topic applies to Windows XP 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