Freigeben über


IBDA_Encoder::QueryCapabilities method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets the number of encoding formats supported by the device.

Syntax

HRESULT QueryCapabilities(
  [out] DWORD *NumAudioFmts,
  [out] DWORD *NumVideoFmts
);

Parameters

[out] NumAudioFmts

Receives the number of audio formats.

[out] NumVideoFmts

Receives the number of video formats.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server Windows Server�2008�R2 [desktop apps only]
Target Platform Windows
Header bdaiface.h

See also

IBDA_Encoder