Share via


IMSVidDevice::get_Name Method

This topic applies to Windows XP or later.
The get_Name method retrieves the friendly name of the device.

Syntax

HRESULT get_Name(
  [out]  BSTR *pName
);

Parameters

  • pName [out]
    Pointer to a variable that receives the friendly name.

Return Value

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

Success.

E_POINTER

NULL pointer argument.

Remarks

The caller must free the returned string, using the SysFreeString function.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidDevice Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008