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.
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 |