1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! FFI bindings to dwrite.
#![cfg(windows)]
extern crate winapi;
use winapi::*;
extern "system" {
    pub fn DWriteCreateFactory(
        factoryType: DWRITE_FACTORY_TYPE, iid: REFIID, factory: *mut *mut IUnknown,
    ) -> HRESULT;
}