共用方式為


IMSVidDevice::get_Name

 
Microsoft DirectShow 9.0

IMSVidDevice::get_Name

This topic applies to Windows XP or later.

The get_Name method retrieves the friendly name of the device.

Syntax

  HRESULT get_Name(
  
  BSTR*
  
  Name
  
  );

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also