1#![cfg(windows)]
5extern crate winapi;
6use winapi::*;
7#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "arm"))]
8extern "system" {
9 pub fn D3DPERF_BeginEvent(col: D3DCOLOR, wszName: LPCWSTR) -> INT;
10 pub fn D3DPERF_EndEvent() -> INT;
11 pub fn D3DPERF_GetStatus() -> DWORD;
12 pub fn D3DPERF_QueryRepeatFrame() -> BOOL;
13 pub fn D3DPERF_SetMarker(col: D3DCOLOR, wszName: LPCWSTR) -> ();
14 pub fn D3DPERF_SetOptions(dwOptions: DWORD) -> ();
15 pub fn D3DPERF_SetRegion(col: D3DCOLOR, wszName: LPCWSTR) -> ();
16 pub fn Direct3DCreate9(SDKVersion: UINT) -> *mut IDirect3D9;
17 pub fn Direct3DCreate9Ex(SDKVersion: UINT, arg1: *mut *mut IDirect3D9Ex) -> HRESULT;
18}