Returns whether the device that is used to create the surface presenter front buffer is still the current device that is used to compose with.
HRESULT retVal = object.IsCurrent(pIsCurrent);
- pIsCurrent [out, retval]
A flag that determines if the current device is the same as device that was used for the front buffer.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Build date: 11/17/2013