dxgi-sys 0.2.0

Contains function definitions for the Windows API library dxgi. See winapi for types and constants.
Documentation
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! FFI bindings to dxgi.
#![cfg(windows)]
extern crate winapi;
use winapi::*;
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "arm"))]
extern "system" {
    pub fn CreateDXGIFactory(riid: REFIID, ppFactory: *mut *mut c_void) -> HRESULT;
    pub fn CreateDXGIFactory1(riid: REFIID, ppFactory: *mut *mut c_void) -> HRESULT;
    pub fn CreateDXGIFactory2(
       Flags: UINT, riid: REFIID, ppFactory: *mut *mut c_void
    ) -> HRESULT;
    // pub fn DXGID3D10CreateDevice();
    // pub fn DXGID3D10CreateLayeredDevice();
    // pub fn DXGID3D10GetLayeredDeviceSize();
    // pub fn DXGID3D10RegisterLayers();
    pub fn DXGIGetDebugInterface1(
       Flags: UINT, riid: REFIID, pDebug: *mut *mut c_void,
    ) -> HRESULT;
    // pub fn DXGIReportAdapterConfiguration();
}