|Microsoft DirectX 9.0|
The GetCreateVideoAcceleratorData method retrieves the information needed to create a video accelerator object.
HRESULT GetCreateVideoAcceleratorData( const GUID *pGuid, LPWDORD pdwSizeMiscData, LPVOID *ppMiscData );
[in] Pointer to a GUID identifying the video accelerator.
[out] Pointer to a variable that receives the size of the data returned in ppMiscData, in bytes.
[out] Address to a pointer of type void that receives the miscellaneous data (or NULL if pdwSizeMiscData is 0). This pointer should be allocated with CoTaskMemAlloc, a helper function from the COM library. It is freed by the caller. See Remarks.
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.
|E_INVALIDARG||Argument is invalid.|
|E_NOTIMPL||Method is not supported.|
|E_POINTER||Null pointer argument.|
This method retrieves a pointer to any miscellaneous data that the video decoder needs to send to the video accelerator driver when the video accelerator is initialized. It is the caller's responsibility to call CoTaskMemFree on ppMiscData.