CreatePresentationFactory function (presentation.h)
Creates a presentation factory.
Syntax
HRESULT CreatePresentationFactory(
IUnknown *d3dDevice,
REFIID riid,
void **presentationFactory
);
Parameters
d3dDevice
Type: IUnknown*
The D3D device the presentation factory is bound to.
riid
Type: REFIID
A reference to the interface identifier (IID) of the presentation factory.
presentationFactory
Type: void**
The address of a pointer to an interface with the IID specified in the riid parameter.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | presentation.h |
Library | dcomp.lib |
DLL | dcomp.dll |