typedef HRESULT (*PFN_D3D11X_CREATE_DEVICEX)(
const D3D11X_CREATE_DEVICE_PARAMETERS *pParameters,
ID3D11DeviceX **ppDevice,
D3D_FEATURE_LEVEL *pFeatureLevel,
ID3D11DeviceContextX **ppImmediateContext
)
pParameters
Type: D3D11X_CREATE_DEVICE_PARAMETERS *
[in] The parameters for creating a device, as a pointer to a D3D11X_CREATE_DEVICE_PARAMETERS structure.
ppDevice
Type: ID3D11DeviceX **
[out, optional] The device, as a pointer to a pointer to an ID3D11DeviceX.
pFeatureLevel
Type: D3D_FEATURE_LEVEL *
[out, optional] The feature level, as a pointer to a D3D_FEATURE_LEVEL enumeration constant.
ppImmediateContext
Type: ID3D11DeviceContextX **
[out, optional] The immediate context, as a pointer to a pointer to an ID3D11DeviceContextX.
Type: HRESULT
This method returns one of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.