1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
// Copyright © 2015, Peter Atashian // Licensed under the MIT License <LICENSE.md> //! FFI bindings to dwmapi. #![cfg(windows)] extern crate winapi; use winapi::*; extern "system" { // pub fn DwmAttachMilContent(); // pub fn DwmDefWindowProc(); // pub fn DwmDetachMilContent(); pub fn DwmEnableBlurBehindWindow(hWnd: HWND, pBlurBehind: *const DWM_BLURBEHIND) -> HRESULT; // pub fn DwmEnableComposition(); // pub fn DwmEnableMMCSS(); // pub fn DwmExtendFrameIntoClientArea(); // pub fn DwmFlush(); // pub fn DwmGetColorizationColor(); // pub fn DwmGetCompositionTimingInfo(); // pub fn DwmGetGraphicsStreamClient(); // pub fn DwmGetGraphicsStreamTransformHint(); // pub fn DwmGetTransportAttributes(); // pub fn DwmGetWindowAttribute(); // pub fn DwmInvalidateIconicBitmaps(); // pub fn DwmIsCompositionEnabled(); // pub fn DwmModifyPreviousDxFrameDuration(); // pub fn DwmQueryThumbnailSourceSize(); // pub fn DwmRegisterThumbnail(); // pub fn DwmRenderGesture(); // pub fn DwmSetDxFrameDuration(); // pub fn DwmSetIconicLivePreviewBitmap(); // pub fn DwmSetIconicThumbnail(); // pub fn DwmSetPresentParameters(); // pub fn DwmSetWindowAttribute(); // pub fn DwmShowContact(); // pub fn DwmTetherContact(); // pub fn DwmTransitionOwnedWindow(); // pub fn DwmUnregisterThumbnail(); // pub fn DwmUpdateThumbnailProperties(); }