|Microsoft DirectX 9.0|
The Reserve method reserves or unreserves a device resource.
HRESULT Reserve( DWORD dwFlags, PVOID pvReserved );
[in] Flag indicating whether to reserve or unreserve this device. The value must be a member of the AMRESCTL_RESERVEFLAGS enumeration.
[in] Must be NULL.
Returns S_OK if the device was successfully reserved or unreserved, S_FALSE if the device is currently reserved and will continue to be held, or an HRESULT error code if the device can't be reserved.
A resource can be reserved multiple times. If the method returns S_OK, the filter increments an internal reserve count. For every call to reserve a device that returns S_OK, the caller must make a matching call to unreserve the device.