IsCurrent method
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.
![]() |
Syntax
HRESULT retVal = object.IsCurrent(pIsCurrent);
Parameters
- pIsCurrent [out, retval]
-
Type: BOOL
A flag that determines if the current device is the same as device that was used for the front buffer.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Show:
