IDXGIFactory1::IsCurrent method (dxgi.h)
Informs an application of the possible need to re-create the factory and re-enumerate adapters.
Syntax
BOOL IsCurrent();
Return value
Type: BOOL
FALSE, if a new adapter is becoming available or the current adapter is going away. TRUE, no adapter changes.
IsCurrent returns FALSE to inform the calling application to re-enumerate adapters.
Remarks
This method is not supported by DXGI 1.0, which shipped in Windows Vista and Windows Server 2008. DXGI 1.1 support is required, which is available on Windows 7, Windows Server 2008 R2, and as an update to Windows Vista with Service Pack 2 (SP2) (KB 971644) and Windows Server 2008 (KB 971512).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for