Compartilhar via


IAMVideoAccelerator::GetVideoAcceleratorGUIDs

 
Microsoft DirectShow 9.0

IAMVideoAccelerator::GetVideoAcceleratorGUIDs

The GetVideoAcceleratorGUIDs method retrieves a list of the GUIDs for the video accelerator formats accepted.

Syntax

  HRESULT GetVideoAcceleratorGUIDs(
  LPDWORD pdwNumGuidsSupported,
  LPGUID pGuidsSupported
);

Parameters

pdwNumGuidsSupported

[in] [out] If pGuidsSupported is NULL, pdwNumGuidsSupported returns with the number of video accelerator format GUIDs supported. Otherwise, this parameter is a pointer to the maximum number of GUIDs to return in pGuidsSupported. If fewer than this number are supported, pdwNumGuidsSupported is updated to be the number of GUIDs actually returned.

pGuidsSupported

[in] [out] If this parameter is not NULL, the GUIDs supported are returned in this array, whose size in bytes is at least sizeof(GUID) * (*pdwNumGuidsSupported).

Return Values

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_INVALIDARG Argument is invalid.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.
S_OK Success.

Requirements

Header: Include videoacc.h.

Library: Use Strmiids.lib.

See Also