00000000-0000-0000-0000-000000000000
Windows.Win32.Storage.Vhd.VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN
Windows.Wdk.System.SystemServices.CPER_EMPTY_GUID
Windows.Win32.Security.ExtensibleAuthenticationProtocol.GUID_EapHost_Default
Windows.Win32.UI.TextServices.GUID_MODEBIAS_NONE
Windows.Win32.System.Iis.GUID_IIS_ALL_TRACE_PROVIDERS
Windows.Win32.Storage.FileSystem.PARTITION_ENTRY_UNUSED_GUID
Windows.Win32.Media.KernelStreaming.GUID_NULL
Windows.Win32.Devices.PortableDevices.WPD_CATEGORY_NULL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dependencies.windows] | |
version = "0.52" | |
features = [ | |
"Win32_Foundation", | |
"Win32_System_LibraryLoader", | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dependencies.windows] | |
version = "0.51" | |
features = ["Win32_Foundation", "Win32_System_SystemInformation", "Wdk_System_SystemServices"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "pch.h" | |
using namespace winrt; | |
using namespace Windows::Foundation; | |
IAsyncAction Sample() | |
{ | |
throw winrt::hresult_invalid_argument(L"yolo"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![allow(non_snake_case)] | |
use windows::{core::*, Win32::Foundation::*}; | |
#[interface("17f409a1-f79d-45f6-962d-9db106cb7727")] | |
unsafe trait ICompositor: IUnknown { | |
unsafe fn CreateVisual(&self, value: u32, visual: *mut Option<IVisual>) -> HRESULT; | |
unsafe fn RenderVisual(&self, visual: std::mem::ManuallyDrop<Option<IVisual>>) -> HRESULT; | |
} | |
#[interface("34e49797-1302-4ad6-8975-dd7c5b286e72")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dependencies.windows] | |
version = "0.51" | |
features = [ | |
"implement", | |
"Win32_Foundation", | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use windows::{ | |
core::HSTRING, | |
w, | |
Win32::{ | |
System::Com::CoInitialize, | |
UI::Shell::{ | |
Common::ITEMIDLIST, ILCreateFromPathW, SHCreateShellItemArray, SIGDN_FILESYSPATH, | |
}, | |
}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. ACCEPT_SECURITY_CONTEXT_FN | |
Windows.Wdk.Storage.FileSystem | |
Windows.Win32.Security.Authentication.Identity | |
2. ACCESS_ALLOWED_ACE | |
Windows.Wdk.Storage.FileSystem | |
Windows.Win32.Security | |
3. ACCESS_ALLOWED_ACE_TYPE | |
Windows.Wdk.Storage.FileSystem | |
Windows.Win32.System.SystemServices | |
4. ACCESS_ALLOWED_CALLBACK_ACE_TYPE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use windows_metadata::reader::*; | |
fn main() { | |
let files = File::with_default(&[]).unwrap(); | |
let reader = &Reader::new(&files); | |
let mut collisions = std::collections::BTreeMap::<(&str, bool), Vec<&str>>::new(); | |
for namespace in reader.namespaces() { | |
if namespace.starts_with("Windows.Wdk") { | |
continue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACCEPT_SECURITY_CONTEXT_FN | |
Windows.Win32.Security.Authentication.Identity | |
Windows.Wdk.Storage.FileSystem | |
ACCESS_ALLOWED_ACE | |
Windows.Win32.Security | |
Windows.Wdk.Storage.FileSystem | |
ACCESS_DENIED_ACE | |
Windows.Win32.Security | |
Windows.Wdk.Storage.FileSystem | |
ACCESS_REASONS |