windows 0.5.0

Rust for Windows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    windows_macros::build!(
        windows::foundation::{IReference, IStringable, PropertyValue},
        windows::win32::automation::{BSTR, GetErrorInfo, IErrorInfo, SetErrorInfo},
        windows::win32::winrt::{IRestrictedErrorInfo, ILanguageExceptionErrorInfo2},
        windows::win32::debug::{GetLastError, FormatMessageW},
        windows::win32::windows_programming::{CloseHandle},
        windows::win32::com::{CoTaskMemAlloc, CoTaskMemFree, CLSIDFromProgID, CoInitializeEx, CoCreateInstance, COINIT},
        windows::win32::system_services::{
            CreateEventW, SetEvent, WaitForSingleObject, GetProcessHeap, HeapAlloc, HeapFree, GetProcAddress,
            LoadLibraryExW, FreeLibrary,
        },
    );
}