Skip to content

Latest commit

 

History

History
149 lines (133 loc) · 4.14 KB

nf-mswmdm-imdspdevicecontrol-getcapabilities.md

File metadata and controls

149 lines (133 loc) · 4.14 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mswmdm.IMDSPDeviceControl.GetCapabilities
IMDSPDeviceControl::GetCapabilities (mswmdm.h)
The GetCapabilities method retrieves the capabilities mask for the device with which this control interface is associated. The capabilities describe the methods of the device control that are supported by the media device.
GetCapabilities
GetCapabilities method [windows Media Device Manager]
GetCapabilities method [windows Media Device Manager]
IMDSPDeviceControl interface
IMDSPDeviceControl interface [windows Media Device Manager]
GetCapabilities method
IMDSPDeviceControl.GetCapabilities
IMDSPDeviceControl::GetCapabilities
IMDSPDeviceControlGetCapabilities
mswmdm/IMDSPDeviceControl::GetCapabilities
wmdm.imdspdevicecontrol_getcapabilities
wmdm\imdspdevicecontrol_getcapabilities.htm
WMDM
5d4e433a-fb2a-43c4-ab7f-fb7168636455
12/05/2018
GetCapabilities, GetCapabilities method [windows Media Device Manager], GetCapabilities method [windows Media Device Manager],IMDSPDeviceControl interface, IMDSPDeviceControl interface [windows Media Device Manager],GetCapabilities method, IMDSPDeviceControl.GetCapabilities, IMDSPDeviceControl::GetCapabilities, IMDSPDeviceControlGetCapabilities, mswmdm/IMDSPDeviceControl::GetCapabilities, wmdm.imdspdevicecontrol_getcapabilities
mswmdm.h
Windows
Mssachlp.lib
Windows
19H1
IMDSPDeviceControl::GetCapabilities
mswmdm/IMDSPDeviceControl::GetCapabilities
c++
APIRef
kbSyntax
COM
mssachlp.lib
mssachlp.dll
IMDSPDeviceControl.GetCapabilities

IMDSPDeviceControl::GetCapabilities

-description

The GetCapabilities method retrieves the capabilities mask for the device with which this control interface is associated. The capabilities describe the methods of the device control that are supported by the media device.

-parameters

-param pdwCapabilitiesMask [out]

Pointer to a DWORD containing the capabilities of the device. The following flags can be returned in this variable.

Flag Description
MDM_DEVICECAP_CANPLAY The media device can play MP3 audio.
MDM_DEVICECAP_CANSTREAMPLAY The media device can play streaming audio directly from the host computer.
MDM_DEVICECAP_CANRECORD The media device can record audio.
MDM_DEVICECAP_CANSTREAMRECORD The media device can record streaming audio directly to the host computer.
MDM_DEVICECAP_CANPAUSE The media device can pause during play or record operations.
MDM_DEVICECAP_CANRESUME The media device can resume an operation from a pause command.
MDM_DEVICECAP_CANSTOP The media device can stop playing before the end of a file.
MDM_DEVICECAP_CANSEEK The media device can seek to a position other than the beginning of a file.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
The pdwCapabilitiesMask parameter is an invalid or NULL pointer.
E_FAIL
An unspecified error occurred.

-see-also

IMDSPDeviceControl Interface