public unsafe IntPtr DeviceGetHandle(mfxHandleType type) { mfxStatus sts; IntPtr handle; sts = VideoAccelerationSupportPInvoke.VideoAccelerationSupport_DeviceGetHandle(acceleratorHandle, type, &handle); QuickSyncStatic.ThrowOnBadStatus(sts, "VideoAccelerationSupport_DeviceGetHandle"); return(handle); }
public static unsafe extern mfxStatus VideoAccelerationSupport_DeviceGetHandle(IntPtr handle, mfxHandleType type, IntPtr *hdlhandle);
public static extern mfxStatus MFXVideoCORE_SetHandle(mfxSession session, mfxHandleType type, IntPtr hdl);