|Microsoft DirectX 9.0|
The AcquireResource method notifies the resource consumer that a resource might be acquired.
HRESULT AcquireResource( LONG idResource );
[in] Resource identifier of the resource to be acquired.
Returns an HRESULT value. Possible values include the following:
|S_OK||Consumer has successfully acquired the resource.|
|S_FALSE||Consumer has not acquired the resource but will use IResourceManager::NotifyAcquire when it does.|
|VFW_S_RESOURCE_NOT_NEEDED||Consumer no longer needs the resource.|
The method may return some other error code, if the consumer fails to acquire the resource.