Ejemplo n.º 1
0
        /// <summary>
        /// <p>[This documentation is preliminary and is subject to change.]</p><p><strong>Applies to: </strong>desktop apps | Metro style apps</p><p>Creates an instance of the Microsoft DirectX Graphics Infrastructure (DXGI) Device Manager.</p>
        /// </summary>
        /// <msdn-id>hh162750</msdn-id>
        /// <unmanaged>HRESULT MFCreateDXGIDeviceManager([Out] unsigned int* resetToken,[Out] IMFDXGIDeviceManager** ppDeviceManager)</unmanaged>
        /// <unmanaged-short>MFCreateDXGIDeviceManager</unmanaged-short>
        public DXGIDeviceManager()
        {
            int resetToken;

            MediaFactory.CreateDXGIDeviceManager(out resetToken, this);
            ResetToken = resetToken;
        }