Microsoft DirectX 8.1 (C++) |
The QueryRenderStatus method queries the processing status of a data buffer.
Syntax
HRESULT QueryRenderStatus(
DWORD dwTypeIndex,
DWORD dwBufferIndex,
DWORD dwFlags
);
Parameters
dwTypeIndex
[in] Type index for buffer to be tested.
dwBufferIndex
[in] Buffer index for buffer to be tested.
dwFlags
[in] Flag indicating the type of query to perform. If zero, this method tests whether the surface is safe to use for updates. If AMVA_QUERYRENDERSTATUSF_READ, this method tests whether the surface is safe to use for reading.
Return Values
Returns an HRESULT value. Returns S_OK if the operation is complete; returns E_PENDING if the operation is still in progress. If the operation failed, this method returns another failure code, which 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. |
Remarks
Calling this method will report progress and failures.
See Also