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 syn::{parse::*, *}; | |
mod keywords { | |
syn::custom_keyword!(interface); | |
} | |
#[derive(Debug)] | |
struct Module { | |
pub name: Ident, | |
pub members: Vec<ModuleMember>, |
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
using namespace winrt; | |
using namespace Windows::Foundation::Collections; | |
struct Sample | |
{ | |
IVector<IMap<hstring, hstring>> m_examples{ multi_threaded_vector<IMap<hstring, hstring>>() }; | |
auto Examples() const | |
{ |
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_sys::{core::*, Win32::Foundation::*, Win32::System::Com::*}; | |
fn main() { | |
unsafe { | |
let mut uri = std::ptr::null_mut(); | |
let hr = CreateUri( | |
w!("http://kennykerr.ca"), | |
Uri_CREATE_CANONICALIZE, |
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::*, Win32::System::Performance::*}; | |
fn main() { | |
unsafe { | |
let mut query = 0; | |
PdhOpenQueryW(None, 0, &mut query); | |
let mut counter = 0; | |
PdhAddCounterW( | |
query, |
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
Windows.AI.MachineLearning -> Windows.Foundation -> Windows.Foundation.Collections -> Windows.Foundation | |
Windows.AI.MachineLearning.Preview -> Windows.Foundation -> Windows.Foundation.Collections -> Windows.Foundation | |
Windows.ApplicationModel -> Windows.ApplicationModel.Activation -> Windows.ApplicationModel.Appointments.AppointmentsProvider -> Windows.ApplicationModel.Appointments -> Windows.Foundation -> Windows.Foundation.Collections -> Windows.Foundation | |
Windows.ApplicationModel.Activation -> Windows.ApplicationModel.Appointments.AppointmentsProvider -> Windows.ApplicationModel.Appointments -> Windows.Foundation -> Windows.Foundation.Collections -> Windows.Foundation | |
Windows.ApplicationModel.AppExtensions -> Windows.ApplicationModel -> Windows.ApplicationModel.Activation -> Windows.ApplicationModel.Appointments.AppointmentsProvider -> Windows.ApplicationModel.Appointments -> Windows.Foundation -> Windows.Foundation.Collections -> Windows.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
1 alljoyn_interfacedescription_property_getannotationscount | |
current:12 | |
expected:16 | |
2 alljoyn_interfacedescription_property_getannotation | |
current:24 | |
expected:28 | |
3 JsCreateRuntime | |
current:16 | |
expected:12 | |
4 JsCreateContext |
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
UiaRaiseAutomationPropertyChangedEvent | |
current:544 | |
expected:40 | |
VarCyAdd | |
current:36 | |
expected:20 | |
VarCyNeg | |
current:20 | |
expected:12 | |
ItemContainerPattern_FindItemByProperty |
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
umutablecptrie_clone | |
current:8 | |
expected: | |
utrans_clone | |
current:8 | |
expected: | |
ucfpos_getInt64IterationContext | |
current:8 | |
expected: | |
VarBoolFromCy |
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
Microsoft (R) COFF/PE Dumper Version 14.31.31104.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Dump of file test.winmd | |
PE signature found | |
File Type: DLL |
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 super::*; | |
#[derive(Default)] | |
pub struct Gen<'a> { | |
pub namespace: &'a str, | |
pub sys: bool, | |
pub flatten: bool, | |
pub cfg: bool, | |
pub doc: bool, | |
pub min_enum: bool, |