Skip to content

Commit 791064e

Browse files
authored
Merge pull request #2087 from Devaniti/patch-5
Fixed CreateDXGIFactory2 doc claiming to only support IDXGIFactory2
2 parents ce9e487 + 8a35c08 commit 791064e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sdk-api-src/content/dxgi1_3/nf-dxgi1_3-createdxgifactory2.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,15 @@ Valid values include the <b>DXGI_CREATE_FACTORY_DEBUG (0x01)</b> flag, and zero.
7070

7171
Type: <b>REFIID</b>
7272

73-
The globally unique identifier (GUID) of the <a href="/windows/win32/api/dxgi1_2/nn-dxgi1_2-idxgifactory2">IDXGIFactory2</a> object referenced by
74-
the <i>ppFactory</i> parameter.
73+
The globally unique identifier (<b>GUID</b>) for the factory interface (e.g. <a href="/windows/win32/api/dxgi1_2/nn-dxgi1_2-idxgifactory2">IDXGIFactory2</a>, or a newer version of this interface).
74+
This parameter, and <i>ppFactory</i>, can be addressed with the single macro
75+
<a href="/windows/desktop/api/combaseapi/nf-combaseapi-iid_ppv_args">IID_PPV_ARGS</a>.
7576

7677
### -param ppFactory [out]
7778

7879
Type: <b>void**</b>
7980

80-
Address of a pointer to an [IDXGIFactory2](/windows/win32/api/dxgi1_2/nn-dxgi1_2-idxgifactory2) interface.
81+
A pointer to a memory block that receives a pointer to the factory.
8182

8283
## -returns
8384

0 commit comments

Comments
 (0)