|Microsoft DirectX 9.0|
The QueryVersion method retrieves the current graph version number.
HRESULT QueryVersion( LONG *pVersion );
Pointer to the current graph version.
Returns an HRESULT value that depends on the implementation. HRESULT can be one of the following standard constants, or other values not listed.
|E_POINTER||Null pointer argument.|
|E_NOTIMPL||Method isn't supported.|
|S_OK or NOERROR||Success.|
The version number is incremented every time there is a change in the set of filters in the graph or in their connections. If the version number has changed since the last enumeration, the graph must be re-enumerated.