HRESULT hr = S_OK; D3D_FEATURE_LEVEL FeatureLevel; ID3D11DeviceContext* pDX11DeviceContext; hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel); if (SUCCEEDED(hr)) { hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan); }
<pre lang="cs">#pragma comment(lib, "mf") // For MFEnumDevices #pragma comment(lib, "mfplat") #pragma comment(lib, "mfreadwrite") #pragma comment(lib, "dxva2") #pragma comment(lib, "d3d11") #pragma comment(lib, "mfuuid")</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)