Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the source region that is used for the swap chain.
Syntax
HRESULT GetSourceRect(
[out] RECT *pRect
);
Parameters
[out] pRect
A pointer to a RECT structure that receives the source region for the swap chain.
Return value
This method returns S_OK on success, or it returns one of the error codes that are described in the DXGI_ERROR topic.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |
Library | Dxgi.lib |