diff --git a/README.md b/README.md index b29d4ac1..a7909f17 100644 --- a/README.md +++ b/README.md @@ -142,8 +142,8 @@ is not a general Automation or native Win32 projection, and it does not project flat DLL exports. The current CI baseline against -`Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview is **5,567 of 7,929 -eligible interfaces (70.21%)** with complete safe code generation. Supported +`Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview is **5,681 of 7,929 +eligible interfaces (71.65%)** with complete safe code generation. Supported contracts include generated coclass activation and QueryInterface views, managed interface ownership, native POD layouts, typed counted buffers, BSTR/HSTRING, validated VARIANT, SAFEARRAY and PROPVARIANT subsets, and diff --git a/bindings/js/__test__/generated-unsafe-companion.e2e.ts b/bindings/js/__test__/generated-unsafe-companion.e2e.ts index cf520d77..610a09d0 100644 --- a/bindings/js/__test__/generated-unsafe-companion.e2e.ts +++ b/bindings/js/__test__/generated-unsafe-companion.e2e.ts @@ -6,7 +6,7 @@ import { spawnSync } from 'node:child_process' import { lstatSync, readFileSync, readlinkSync, rmSync, mkdirSync, symlinkSync, writeFileSync } from 'node:fs' import { basename, dirname, join, resolve } from 'node:path' -test.serial('actual generated IWbemServices and IAudioClient companions use hardened strategies', (t) => { +test.serial('generated safe WMI and unsafe Audio companions preserve exact contracts', (t) => { const winmd = process.env.DYNWINRT_WIN32_WINMD t.truthy(winmd, 'DYNWINRT_WIN32_WINMD is required') const packageRoot = resolve(process.cwd()) @@ -33,7 +33,7 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard '--winmd', winmd!, '--class-name', - 'Windows.Win32.System.Wmi.IWbemServices,Windows.Win32.Media.Audio.IAudioClient', + 'Windows.Win32.System.Wmi.IWbemServices,Windows.Win32.Media.Audio.IAudioClient,Windows.Win32.UI.Shell.IThumbnailProvider', '--output', output, ] @@ -87,7 +87,7 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard t.true(lstatSync(externalJunction).isSymbolicLink()) t.is(readFileSync(sentinel, 'utf8'), 'outside-target-must-survive') - const deepBase = join(output, 'com', 'unsafe', 'windows', 'win32', 'system', 'wmi', 'IWbemServicesUnsafe') + const wbemBase = join(output, 'com', 'windows', 'win32', 'system', 'wmi', 'IWbemServices') const audioBase = join(output, 'com', 'unsafe', 'windows', 'win32', 'media', 'audio', 'IAudioClientUnsafe') const runner = join(output, 'generated-companion-runner.cjs') writeFileSync( @@ -100,8 +100,9 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard "const { DynComRaw, DynComRawMemory, DynComRawOwnedComPointer, DynComRawPointer, WinGuid } = require('@microsoft/dynwinrt/com/unsafe/raw')", `const strategyRuntime = require(${JSON.stringify(join(output, 'com', 'unsafe', 'runtime.js'))})`, 'const { UnsafePointee, UnsafePointerOutput, UnsafeHandleOutput, UnsafeInterfaceReplacement, UnsafeCountedBuffer, UnsafeRawCall, __prepareStrategy, __prepareWritableStorage, __prepareExactWritableSpan, __strategyArgument, __assertRawContract, __validateStrategySpans, __activateStrategies, __markDispatchEntered, __finishStrategy, __failStrategy, __releaseExtracted, __attachUnsafeOutputs, __testRunOwnedFinalizer, __testCreateOwnedPointer } = strategyRuntime', - `const cjs = require(${JSON.stringify(`${deepBase}.js`)})`, + `const wbem = require(${JSON.stringify(`${wbemBase}.js`)})`, `const audio = require(${JSON.stringify(`${audioBase}.js`)})`, + `const safeBarrel = require(${JSON.stringify(join(output, 'com', 'index.js'))})`, `const cjsBarrel = require(${JSON.stringify(join(output, 'com', 'unsafe', 'index.js'))})`, 'function finishTransaction(records) {', ' const extracted = []', @@ -116,34 +117,17 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard ' }', '}', 'async function main() {', - ` const esmDeep = await import(pathToFileURL(${JSON.stringify(`${deepBase}.js`)}).href)`, + ` const esmWbem = await import(pathToFileURL(${JSON.stringify(`${wbemBase}.js`)}).href)`, ` const esmAudio = await import(pathToFileURL(${JSON.stringify(`${audioBase}.js`)}).href)`, + ` const esmSafeBarrel = await import(pathToFileURL(${JSON.stringify(join(output, 'com', 'index.mjs'))}).href)`, ` const esmBarrel = await import(pathToFileURL(${JSON.stringify(join(output, 'com', 'unsafe', 'index.mjs'))}).href)`, - " assert.equal(typeof cjs.IWbemServicesUnsafe, 'function')", + " assert.equal(typeof wbem.IWbemServices, 'function')", " assert.equal(typeof audio.IAudioClientUnsafe, 'function')", - ' assert.equal(cjs.IWbemServicesUnsafe.support.schemaVersion, 11)', - " const openNamespaceSupport = cjs.IWbemServicesUnsafe.support.methods.find(method => method.name === 'OpenNamespace')", - " assert.equal(openNamespaceSupport.status, 'raw_metadata_complete')", - " assert.deepEqual(openNamespaceSupport.reasons, [])", - " assert.deepEqual(openNamespaceSupport.strategyRequirements, [])", - " assert.deepEqual(openNamespaceSupport.exactInterfaceOutputs.map(output => [output.parameterName, output.interfaceIid, output.argumentOptional, output.nullableOnSuccess]), [", - " ['ppWorkingNamespace', '9556dc99-828c-11cf-a37e-00aa003240c7', true, false],", - " ['ppResult', '44aca675-e8fc-11d0-a07c-00c04fb68820', true, false],", - ' ])', - " assert.equal(openNamespaceSupport.exactInterfaceOutputs[0].entryId, 'wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputs[0].familyId, 'wmi.conditional-output.v1')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputs[0].contractKind, 'conditional-output')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputCall.entryId, 'wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputCall.familyId, 'wmi.conditional-output.v1')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputCall.contractKind, 'conditional-output')", - " assert.equal(openNamespaceSupport.exactInterfaceOutputCall.sourceFingerprint, 'EA3628EB9E45E1A0BAA0BC9F6DA1FD82FE938091EF1730E25E3CCEEA9EFD316B')", - ' assert.equal(openNamespaceSupport.exactInterfaceOutputCall.synchronousFlags, 0)', - ' assert.equal(openNamespaceSupport.exactInterfaceOutputCall.semisynchronousFlagValue, 0x10)', ' assert.equal(esmAudio.IAudioClientUnsafe, audio.IAudioClientUnsafe)', - ' assert.equal(cjsBarrel.IWbemServicesUnsafe, cjs.IWbemServicesUnsafe)', + ' assert.equal(safeBarrel.IWbemServices, wbem.IWbemServices)', ' assert.equal(cjsBarrel.UnsafePointerOutput, UnsafePointerOutput)', - ' assert.equal(esmDeep.IWbemServicesUnsafe, cjs.IWbemServicesUnsafe)', - ' assert.equal(esmBarrel.IWbemServicesUnsafe, cjs.IWbemServicesUnsafe)', + ' assert.equal(esmWbem.IWbemServices, wbem.IWbemServices)', + ' assert.equal(esmSafeBarrel.IWbemServices, wbem.IWbemServices)', ' assert.equal(esmBarrel.UnsafePointerOutput, UnsafePointerOutput)', ' const createFake = runtime.createGeneratedIwbemServicesFake', ' const readStats = runtime.generatedUnsafeComStats', @@ -153,52 +137,18 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard ' runtime.initializeCom(1)', ' let fake = createFake()', ' let wrapper', - ' let slot', ' try {', - ' assert.deepEqual(readStats(), { queryInterfaceCalls: 0, addRefCalls: 1, releaseCalls: 1, openNamespaceCalls: 0, openNamespaceWorkingSlotNull: false, openNamespaceWorkingArgumentNull: false, openNamespaceResultSlotNull: false, openNamespaceResultArgumentNull: false, openNamespaceContextArgumentNull: false, openNamespaceLastFlags: 0, queryObjectSinkCalls: 0, lastFlags: 0, currentRefCount: 1, lastOutputAddress: 0 })', - ' wrapper = cjs.IWbemServicesUnsafe.from(fake)', - ' assert.deepEqual(readStats(), { queryInterfaceCalls: 1, addRefCalls: 3, releaseCalls: 2, openNamespaceCalls: 0, openNamespaceWorkingSlotNull: false, openNamespaceWorkingArgumentNull: false, openNamespaceResultSlotNull: false, openNamespaceResultArgumentNull: false, openNamespaceContextArgumentNull: false, openNamespaceLastFlags: 0, queryObjectSinkCalls: 0, lastFlags: 0, currentRefCount: 2, lastOutputAddress: 0 })', - ' const pointerSize = DynComRaw.pointerSize()', - ' slot = DynComRawMemory.allocate(pointerSize, pointerSize)', - ' wrapper.queryObjectSink(73, slot)', - ' assert.equal(slot.readPointer(0).address, 0x1234n)', - ' const invalidWorkingSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', - ' invalidWorkingSlot.writePointer(0, DynComRawPointer.fromAddress(0x1234n))', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: invalidWorkingSlot, result: null }), /start null/)", - ' assert.equal(readStats().openNamespaceCalls, 0)', - ' invalidWorkingSlot.writePointer(0, DynComRawPointer.null())', - ' invalidWorkingSlot.release()', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: null, result: null }), /Exactly one/)", - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: slot, result: slot }), /Exactly one/)", - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0x10, workingNamespace: slot, result: null }), /synchronous lFlags/)", - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: null, result: slot }), /RETURN_IMMEDIATELY/)", - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: slot, result: null, pCtx: fake }), /pCtx is reserved/)", - ' assert.equal(readStats().openNamespaceCalls, 0)', - ' const invalidFlagsSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', - " for (const invalidFlags of [0x11, 0x80000010, -16, 1, 15, 17, 1.5, '16', 16n, null, undefined, NaN, Infinity]) {", - " assert.throws(() => wrapper.openNamespace('root', { lFlags: invalidFlags, workingNamespace: null, result: invalidFlagsSlot }), /signed 32-bit|exact WBEM_FLAG_RETURN_IMMEDIATELY/)", - ' assert.equal(invalidFlagsSlot.readPointer(0).isNull, true)', + ' assert.equal(readStats().currentRefCount, 1)', + ' wrapper = wbem.IWbemServices._fromNative(fake)', + ' assert.equal(readStats().currentRefCount, 2)', + " for (const invalidOptions of [null, undefined, {}, { mode: 'other' }, { mode: 0 }]) {", + " assert.throws(() => wrapper.openNamespace('root', invalidOptions), /options|mode/)", ' assert.equal(readStats().openNamespaceCalls, 0)', ' }', - ' invalidFlagsSlot.release()', - ' const undersizedWbemSlot = DynComRawMemory.allocate(Math.max(1, pointerSize - 1), 1)', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: undersizedWbemSlot, result: null }), /smaller/)", - ' undersizedWbemSlot.release()', - ' const alignedWbemBase = DynComRawMemory.allocate(pointerSize * 2, pointerSize)', - ' const misalignedWbemSlot = DynComRawMemory.fromUnsafePointer(alignedWbemBase.pointer(1), pointerSize, 1)', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: misalignedWbemSlot, result: null }), /pointer-aligned/)", - ' misalignedWbemSlot.release()', - ' const overlappingWbemResult = DynComRawMemory.fromUnsafePointer(alignedWbemBase.pointer(Math.floor(pointerSize / 2)), pointerSize, 1)', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: alignedWbemBase, result: overlappingWbemResult }), /Exactly one/)", - ' assert.equal(alignedWbemBase.readPointer(0).isNull, true)', - ' overlappingWbemResult.release()', - ' alignedWbemBase.release()', - ' const workingSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', ' setOpenNamespaceMode(0)', ' const syncBefore = readStats()', - " const workingNamespace = wrapper.openNamespace('root', { lFlags: 0, workingNamespace: workingSlot, result: null })", + " const workingNamespace = wrapper.openNamespace('root', { mode: 'sync' })", ' assert.ok(workingNamespace)', - ' assert.equal(workingSlot.readPointer(0).isNull, true)', ' assert.equal(readStats().openNamespaceWorkingSlotNull, true)', ' assert.equal(readStats().openNamespaceWorkingArgumentNull, false)', ' assert.equal(readStats().openNamespaceResultArgumentNull, true)', @@ -206,16 +156,11 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard ' assert.equal(readStats().openNamespaceLastFlags, 0)', ' assert.equal(readStats().currentRefCount, syncBefore.currentRefCount + 1)', ' workingNamespace.release()', - ' assert.equal(readStats().addRefCalls, syncBefore.addRefCalls + 3)', - ' assert.equal(readStats().releaseCalls, syncBefore.releaseCalls + 3)', ' assert.equal(readStats().currentRefCount, syncBefore.currentRefCount)', - ' workingSlot.release()', - ' const resultSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', ' setOpenNamespaceMode(1)', ' const asyncBefore = readStats()', - " const callResult = wrapper.openNamespace('root', { lFlags: 0x10, workingNamespace: null, result: resultSlot })", + " const callResult = wrapper.openNamespace('root', { mode: 'semisync' })", ' assert.ok(callResult)', - ' assert.equal(resultSlot.readPointer(0).isNull, true)', ' assert.equal(readStats().openNamespaceWorkingSlotNull, true)', ' assert.equal(readStats().openNamespaceWorkingArgumentNull, true)', ' assert.equal(readStats().openNamespaceResultSlotNull, true)', @@ -224,33 +169,19 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard ' assert.equal(readStats().openNamespaceLastFlags, 0x10)', ' assert.equal(readStats().currentRefCount, asyncBefore.currentRefCount + 1)', ' callResult.release()', - ' assert.equal(readStats().addRefCalls, asyncBefore.addRefCalls + 3)', - ' assert.equal(readStats().releaseCalls, asyncBefore.releaseCalls + 3)', ' assert.equal(readStats().currentRefCount, asyncBefore.currentRefCount)', - ' resultSlot.release()', - ' const failureWorkingSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', ' setOpenNamespaceMode(-1)', ' const failureBefore = readStats()', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0, workingNamespace: failureWorkingSlot, result: null }), /native call failed|HRESULT|0x80004005/i)", - ' assert.equal(failureWorkingSlot.readPointer(0).isNull, true)', + " assert.throws(() => wrapper.openNamespace('root', { mode: 'sync' }), /native call failed|HRESULT|0x80004005/i)", ' assert.equal(readStats().currentRefCount, failureBefore.currentRefCount)', - ' assert.equal(readStats().addRefCalls, failureBefore.addRefCalls + 2)', - ' assert.equal(readStats().releaseCalls, failureBefore.releaseCalls + 2)', - ' failureWorkingSlot.release()', - ' const failureResultSlot = DynComRawMemory.allocate(pointerSize, pointerSize)', ' const resultFailureBefore = readStats()', - " assert.throws(() => wrapper.openNamespace('root', { lFlags: 0x10, workingNamespace: null, result: failureResultSlot }), /native call failed|HRESULT|0x80004005/i)", - ' assert.equal(failureResultSlot.readPointer(0).isNull, true)', - ' failureResultSlot.release()', + " assert.throws(() => wrapper.openNamespace('root', { mode: 'semisync' }), /native call failed|HRESULT|0x80004005/i)", ' assert.equal(readStats().currentRefCount, resultFailureBefore.currentRefCount)', - ' assert.equal(readStats().addRefCalls, resultFailureBefore.addRefCalls + 2)', - ' assert.equal(readStats().releaseCalls, resultFailureBefore.releaseCalls + 2)', ' assert.equal(readStats().openNamespaceCalls, 4)', ' wrapper.release()', ' assert.equal(readStats().currentRefCount, 1)', ' wrapper.release()', - ' assert.throws(() => wrapper.queryObjectSink(74, slot), /released|apartment-bound/)', - ' assert.equal(readStats().queryObjectSinkCalls, 1)', + " assert.throws(() => wrapper.openNamespace('root', { mode: 'sync' }), /released|apartment-bound/)", ' fake.release()', ' assert.equal(readStats().currentRefCount, 0)', ' wrapper = undefined', @@ -258,7 +189,6 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard ' } finally {', ' wrapper?.release()', ' fake?.release()', - ' slot?.release()', ' }', ' const createAudio = runtime.createGeneratedAudioClientFake', ' const audioStats = runtime.generatedAudioClientStats', @@ -655,25 +585,25 @@ test.serial('actual generated IWbemServices and IAudioClient companions use hard writeFileSync( consumer, [ - "import { IWbemServicesUnsafe } from './com/unsafe/windows/win32/system/wmi/IWbemServicesUnsafe.js'", + "import { IWbemServices } from './com/windows/win32/system/wmi/IWbemServices.js'", + "import { IThumbnailProvider } from './com/windows/win32/ui/shell/IThumbnailProvider.js'", "import { IAudioClientUnsafe } from './com/unsafe/windows/win32/media/audio/IAudioClientUnsafe.js'", - "import { IWbemServicesUnsafe as FromBarrel } from './com/unsafe/index.js'", + "import { IWbemServices as FromBarrel } from './com/index.js'", "import { UnsafePointee, UnsafePointerOutput } from './com/unsafe/runtime.js'", "import type { UnsafeOwnedPointer } from './com/unsafe/runtime.js'", "import type { DynComRawMemory, DynWinRtValue } from '@microsoft/dynwinrt/com/unsafe/raw'", 'declare const native: DynWinRtValue', 'declare const storage: DynComRawMemory', - 'const direct: IWbemServicesUnsafe = IWbemServicesUnsafe.from(native)', - 'const barrel: FromBarrel = FromBarrel.from(native)', - 'direct.queryObjectSink(7, storage)', - "const namespaceOutput = direct.openNamespace('root', { lFlags: 0, workingNamespace: storage, result: null })", + 'declare const thumbnails: IThumbnailProvider', + 'const direct: IWbemServices = IWbemServices._fromNative(native)', + 'const barrel: FromBarrel = FromBarrel._fromNative(native)', + "const namespaceOutput = direct.openNamespace('root', { mode: 'sync' })", 'namespaceOutput.release()', - "const resultOutput = direct.openNamespace('root', { lFlags: 16, workingNamespace: null, result: storage })", + "const resultOutput = direct.openNamespace('root', { mode: 'semisync' })", 'resultOutput.release()', - '// @ts-expect-error semisynchronous flags are exactly 16', - "direct.openNamespace('root', { lFlags: 17, workingNamespace: null, result: storage })", - '// @ts-expect-error lFlags must be numeric', - "direct.openNamespace('root', { lFlags: '16', workingNamespace: null, result: storage })", + '// @ts-expect-error only exact registered modes are accepted', + "direct.openNamespace('root', { mode: 'other' })", + 'thumbnails.getThumbnail(96)[0].release()', 'const audio = IAudioClientUnsafe.from(native)', '// @ts-expect-error strategy result types are invariant', 'const wrongOutput: UnsafePointerOutput = UnsafePointerOutput.coTaskMem()', diff --git a/bindings/js/__test__/index.spec.ts b/bindings/js/__test__/index.spec.ts index 9565287f..c2c072ba 100644 --- a/bindings/js/__test__/index.spec.ts +++ b/bindings/js/__test__/index.spec.ts @@ -152,6 +152,7 @@ test('package facades exactly partition native exports', (t) => { 'DynComNativeStruct', 'DynComNativeStructArray', 'DynComNativeUnion', + 'DynComOwnedHandle', 'DynComPropVariant', 'DynComSafeArray', 'DynComStatStg', diff --git a/bindings/js/scripts/generate-entrypoints.mjs b/bindings/js/scripts/generate-entrypoints.mjs index 716aa082..bb08c13e 100644 --- a/bindings/js/scripts/generate-entrypoints.mjs +++ b/bindings/js/scripts/generate-entrypoints.mjs @@ -23,6 +23,7 @@ const comExports = new Set([ 'DynComNativeStruct', 'DynComNativeStructArray', 'DynComNativeUnion', + 'DynComOwnedHandle', 'DynComPropVariant', 'DynComSafeArray', 'DynComStatStg', diff --git a/bindings/js/src/com.rs b/bindings/js/src/com.rs index 80717047..17a50ce2 100644 --- a/bindings/js/src/com.rs +++ b/bindings/js/src/com.rs @@ -185,6 +185,7 @@ pub(super) enum PointerProvenance { ComOutput, CoTaskMemOutput, BstrOutput, + OwnedHandleOutput(dynwinrt::com::OwnedHandleCleanup), } pub(super) struct NativeInvocationLeases { @@ -901,6 +902,7 @@ fn pointer(value: Unknown) -> napi::Result { dynwinrt::WinRTValue::RawPtr(std::ptr::null_mut()), )); } + if value_type == sys::ValueType::napi_bigint { let bigint = unsafe { BigInt::from_napi_value(env, raw) }?; let (negative, bits, lossless) = bigint.get_u64(); @@ -962,6 +964,26 @@ fn pointer(value: Unknown) -> napi::Result { )) } +fn exact_null_pointer(value: Unknown) -> napi::Result { + use napi::sys; + + let env = value.value().env; + let raw = value.value().value; + let mut value_type = sys::ValueType::napi_undefined; + unsafe { sys::napi_typeof(env, raw, &mut value_type) }; + if !matches!( + value_type, + sys::ValueType::napi_null | sys::ValueType::napi_undefined + ) { + return Err(napi::Error::from_reason( + "exactNullPointer(): value must be null or undefined", + )); + } + Ok(DynWinRTValue::with_borrowed_pointer( + dynwinrt::WinRTValue::RawPtr(std::ptr::null_mut()), + )) +} + fn safe_data_pointer(value: Unknown, nullable: bool) -> napi::Result { use napi::sys; @@ -1308,6 +1330,24 @@ fn take_bstr(value: &mut DynWinRTValue) -> napi::Result { String::try_from(&value).map_err(|error| napi::Error::from_reason(error.to_string())) } +fn take_owned_handle( + value: &mut DynWinRTValue, + cleanup: dynwinrt::com::OwnedHandleCleanup, + description: &str, +) -> napi::Result { + let ptr = take_native_output_pointer( + value, + PointerProvenance::OwnedHandleOutput(cleanup), + description, + )?; + if ptr.is_null() { + return Err(napi::Error::from_reason(format!( + "{description} returned a null handle on success" + ))); + } + Ok(DynComOwnedHandle::new(ptr.addr(), cleanup)) +} + fn copy_callback_bstr(value: &DynWinRTValue) -> napi::Result> { let dynwinrt::com::Value::Bstr(value) = value.to_com_value()? else { return Err(napi::Error::from_reason("COM callback value is not a BSTR")); @@ -2462,6 +2502,13 @@ impl DynComUnsafe { self::pointer(value) } + #[napi] + pub fn exact_null_pointer( + #[napi(ts_arg_type = "null | undefined")] value: Unknown, + ) -> napi::Result { + self::exact_null_pointer(value) + } + #[napi] pub fn wide_string_pointer( #[napi(ts_arg_type = "string | bigint | number | Buffer | Uint8Array | null | undefined")] @@ -3020,6 +3067,81 @@ pub struct DynComStatStg { value: Option, } +#[napi] +#[derive(Debug)] +pub struct DynComOwnedHandle { + address: Option, + cleanup: dynwinrt::com::OwnedHandleCleanup, +} + +impl DynComOwnedHandle { + fn new(address: usize, cleanup: dynwinrt::com::OwnedHandleCleanup) -> Self { + Self { + address: Some(address), + cleanup, + } + } + + fn cleanup_address( + address: usize, + cleanup: dynwinrt::com::OwnedHandleCleanup, + ) -> napi::Result<()> { + let succeeded = match cleanup { + dynwinrt::com::OwnedHandleCleanup::DeleteObject => unsafe { + windows::Win32::Graphics::Gdi::DeleteObject(windows::Win32::Graphics::Gdi::HGDIOBJ( + std::ptr::with_exposed_provenance_mut(address), + )) + .as_bool() + }, + }; + if succeeded { + Ok(()) + } else { + Err(napi::Error::from_reason( + "DeleteObject failed for an owned GDI handle", + )) + } + } +} + +impl Drop for DynComOwnedHandle { + fn drop(&mut self) { + if let Some(address) = self.address.take() { + let _ = Self::cleanup_address(address, self.cleanup); + } + } +} + +#[napi] +impl DynComOwnedHandle { + #[napi(getter)] + pub fn value(&self) -> napi::Result { + self + .address + .map(|address| BigInt::from(address as u64)) + .ok_or_else(|| napi::Error::from_reason("Owned handle has been released")) + } + + #[napi(getter)] + pub fn is_released(&self) -> bool { + self.address.is_none() + } + + #[napi] + pub fn release(&mut self) -> napi::Result<()> { + let Some(address) = self.address.take() else { + return Ok(()); + }; + match Self::cleanup_address(address, self.cleanup) { + Ok(()) => Ok(()), + Err(error) => { + self.address = Some(address); + Err(error) + } + } + } +} + impl DynComStatStg { fn new(value: dynwinrt::com::StatStgValue) -> Self { Self { @@ -4507,6 +4629,13 @@ impl DynCom { DynComType(dynwinrt::com::Type::borrowed_handle_output()) } + #[napi] + pub fn delete_object_handle_output_type() -> DynComType { + DynComType(dynwinrt::com::Type::owned_handle_output( + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + )) + } + #[napi] pub fn owned_com_pointer_type() -> DynComType { DynComType(dynwinrt::com::Type::owned_com_pointer()) @@ -4824,6 +4953,13 @@ impl DynCom { value.bind_current_com_apartment() } + #[napi] + pub fn exact_null_pointer( + #[napi(ts_arg_type = "null | undefined")] value: Unknown, + ) -> napi::Result { + self::exact_null_pointer(value) + } + #[napi] pub fn pointer( #[napi(ts_arg_type = "bigint | number | Buffer | Uint8Array | null | undefined")] @@ -4905,6 +5041,18 @@ impl DynCom { ) } + #[napi] + pub fn null_string_array(wide: bool) -> DynWinRTValue { + DynWinRTValue::from_com_value( + dynwinrt::com::Value::Buffer(dynwinrt::com::ComBufferValue::null_string_array(if wide { + dynwinrt::com::StringEncoding::Utf16 + } else { + dynwinrt::com::StringEncoding::Ansi + })), + dynwinrt::com::PointerOutputKind::None, + ) + } + #[napi] pub fn null_native_struct_pointer() -> DynWinRTValue { DynWinRTValue::new(dynwinrt::WinRTValue::Null) @@ -5534,6 +5682,15 @@ impl DynCom { Ok(DynComStatStg::new(result)) } + #[napi] + pub fn take_delete_object_handle(value: &mut DynWinRTValue) -> napi::Result { + take_owned_handle( + value, + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + "DeleteObject-owned handle", + ) + } + #[napi] pub fn wide_string_pointer( #[napi(ts_arg_type = "string | bigint | number | Buffer | Uint8Array | null | undefined")] @@ -6443,6 +6600,53 @@ mod tests { assert!(matches!(value.0, dynwinrt::WinRTValue::RawPtr(raw) if raw == ptr)); } + #[test] + fn delete_object_owned_handle_consumes_exact_provenance_and_releases_once() { + let bitmap = unsafe { windows::Win32::Graphics::Gdi::CreateBitmap(1, 1, 1, 1, None) }; + assert!(!bitmap.is_invalid()); + let ptr = bitmap.0; + let mut value = DynWinRTValue::from_com_result( + dynwinrt::WinRTValue::RawPtr(ptr), + dynwinrt::com::PointerOutputKind::OwnedHandle( + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + ), + ); + + let mut owner = take_owned_handle( + &mut value, + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + "test bitmap", + ) + .unwrap(); + assert!(matches!(value.0, dynwinrt::WinRTValue::Null)); + assert!(!owner.is_released()); + owner.release().unwrap(); + assert!(owner.is_released()); + owner.release().unwrap(); + assert!(!unsafe { + windows::Win32::Graphics::Gdi::DeleteObject(windows::Win32::Graphics::Gdi::HGDIOBJ(ptr)) + } + .as_bool()); + } + + #[test] + fn delete_object_owned_handle_rejects_other_pointer_provenance() { + let mut value = DynWinRTValue::from_com_result( + dynwinrt::WinRTValue::RawPtr(0x1234usize as *mut std::ffi::c_void), + dynwinrt::com::PointerOutputKind::CoTaskMem, + ); + assert!(take_owned_handle( + &mut value, + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + "test bitmap", + ) + .unwrap_err() + .reason + .contains("CoTaskMemOutput")); + value.0 = dynwinrt::WinRTValue::Null; + value.2 = PointerProvenance::None; + } + #[test] fn takes_and_frees_bstr() { let raw = windows::core::BSTR::from("dynwinrt").into_raw(); diff --git a/bindings/js/src/lib.rs b/bindings/js/src/lib.rs index a8a71b09..c6a51ad7 100644 --- a/bindings/js/src/lib.rs +++ b/bindings/js/src/lib.rs @@ -1092,6 +1092,9 @@ impl DynWinRTValue { dynwinrt::com::PointerOutputKind::Com => com::PointerProvenance::ComOutput, dynwinrt::com::PointerOutputKind::CoTaskMem => com::PointerProvenance::CoTaskMemOutput, dynwinrt::com::PointerOutputKind::Bstr => com::PointerProvenance::BstrOutput, + dynwinrt::com::PointerOutputKind::OwnedHandle(cleanup) => { + com::PointerProvenance::OwnedHandleOutput(cleanup) + } } } else { com::PointerProvenance::None @@ -1248,6 +1251,12 @@ impl DynWinRTValue { com::PointerProvenance::BstrOutput => { drop(unsafe { windows::core::BSTR::from_raw(ptr.cast()) }); } + com::PointerProvenance::OwnedHandleOutput( + dynwinrt::com::OwnedHandleCleanup::DeleteObject, + ) => unsafe { + let _ = + windows::Win32::Graphics::Gdi::DeleteObject(windows::Win32::Graphics::Gdi::HGDIOBJ(ptr)); + }, com::PointerProvenance::None | com::PointerProvenance::Borrowed | com::PointerProvenance::DetachedCom diff --git a/crates/dynwinrt/Cargo.toml b/crates/dynwinrt/Cargo.toml index ad0b6623..3105e8c5 100644 --- a/crates/dynwinrt/Cargo.toml +++ b/crates/dynwinrt/Cargo.toml @@ -36,6 +36,7 @@ features = [ "Win32_System_Threading", "Win32_System_Variant", "Win32_System_WinRT", + "Win32_Graphics_Gdi", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", "Win32_Storage_Packaging_Appx", diff --git a/crates/dynwinrt/src/com.rs b/crates/dynwinrt/src/com.rs index 6df37ac5..1e13d16d 100644 --- a/crates/dynwinrt/src/com.rs +++ b/crates/dynwinrt/src/com.rs @@ -52,6 +52,11 @@ impl InterfaceBase { } } +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum OwnedHandleCleanup { + DeleteObject, +} + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum PointerOutputKind { None, @@ -59,6 +64,7 @@ pub enum PointerOutputKind { Com, CoTaskMem, Bstr, + OwnedHandle(OwnedHandleCleanup), } #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -1052,6 +1058,7 @@ enum ComBufferStorage { encoding: StringEncoding, strings: Vec, pointers: Vec<*mut c_void>, + is_null: bool, }, InterfaceArray { iid: GUID, @@ -1114,7 +1121,10 @@ impl Clone for ComBufferStorage { native_layout_name: native_layout_name.clone(), }, Self::StringArray { - encoding, strings, .. + encoding, + strings, + is_null, + .. } => { let mut strings = strings.clone(); let pointers = strings.iter_mut().map(EncodedString::pointer).collect(); @@ -1122,6 +1132,7 @@ impl Clone for ComBufferStorage { encoding: *encoding, strings, pointers, + is_null: *is_null, } } Self::InterfaceArray { iid, values, .. } => { @@ -1297,10 +1308,22 @@ impl ComBufferValue { encoding, strings, pointers, + is_null: false, }, }) } + pub fn null_string_array(encoding: StringEncoding) -> Self { + Self { + storage: ComBufferStorage::StringArray { + encoding, + strings: Vec::new(), + pointers: Vec::new(), + is_null: true, + }, + } + } + pub fn interface_array(iid: GUID, values: Vec) -> result::Result { let mut exact = Vec::with_capacity(values.len()); for value in values { @@ -1559,9 +1582,16 @@ impl ComBufferValue { None, )), ComBufferStorage::StringArray { - encoding, pointers, .. + encoding, + pointers, + is_null, + .. } => Ok(( - pointers.as_ptr().cast_mut().cast(), + if *is_null { + std::ptr::null_mut() + } else { + pointers.as_ptr().cast_mut().cast() + }, pointers.len() * size_of::<*mut c_void>(), size_of::<*mut c_void>(), false, @@ -1804,6 +1834,10 @@ impl Type { Self::pointer_with_output(PointerOutputKind::None) } + pub fn owned_handle_output(cleanup: OwnedHandleCleanup) -> Self { + Self::pointer_with_output(PointerOutputKind::OwnedHandle(cleanup)) + } + pub fn owned_com_pointer() -> Self { Self::pointer_with_output(PointerOutputKind::Com) } @@ -2085,6 +2119,9 @@ impl Type { PointerOutputKind::Com => OutputCleanup::ComRelease, PointerOutputKind::CoTaskMem => OutputCleanup::CoTaskMemFree, PointerOutputKind::Bstr => OutputCleanup::BstrFree, + PointerOutputKind::OwnedHandle(OwnedHandleCleanup::DeleteObject) => { + OutputCleanup::DeleteObject + } PointerOutputKind::None | PointerOutputKind::Unclassified => { self.abi.default_output_cleanup() } @@ -2521,6 +2558,7 @@ enum ComSuccessDisposition { OwnedComPointer, OwnedCoTaskMemPointer, OwnedBstr, + OwnedHandle(OwnedHandleCleanup), } impl From for ComSuccessDisposition { @@ -2531,6 +2569,7 @@ impl From for ComSuccessDisposition { PointerOutputKind::Com => Self::OwnedComPointer, PointerOutputKind::CoTaskMem => Self::OwnedCoTaskMemPointer, PointerOutputKind::Bstr => Self::OwnedBstr, + PointerOutputKind::OwnedHandle(cleanup) => Self::OwnedHandle(cleanup), } } } @@ -2543,6 +2582,7 @@ impl ComSuccessDisposition { Self::OwnedComPointer => PointerOutputKind::Com, Self::OwnedCoTaskMemPointer => PointerOutputKind::CoTaskMem, Self::OwnedBstr => PointerOutputKind::Bstr, + Self::OwnedHandle(cleanup) => PointerOutputKind::OwnedHandle(cleanup), } } } @@ -10415,6 +10455,16 @@ mod tests { windows_core::HRESULT(0x80004005u32 as i32) } + unsafe extern "system" fn observe_null_string_array( + _this: *mut c_void, + names: *const *const u16, + count: u32, + ) -> windows_core::HRESULT { + assert!(names.is_null()); + assert_eq!(count, 0); + windows_core::HRESULT(0) + } + fn invoke_test_pod( function: *mut c_void, signature: MethodSignature, @@ -10807,6 +10857,33 @@ mod tests { assert_eq!(STRING_ARRAY_CALLS.load(Ordering::Relaxed), 2); } + #[test] + fn null_string_array_preserves_encoding_and_reaches_native_as_null() { + let table = MetadataTable::new(); + let signature = MethodSignature::new(&table) + .add_input_string_array(StringEncoding::Utf16, 1) + .unwrap() + .add_in(Type::winrt(table.u32_type())); + invoke_test_buffer( + observe_null_string_array as *mut c_void, + signature.clone(), + &[Value::Buffer(ComBufferValue::null_string_array( + StringEncoding::Utf16, + ))], + ) + .unwrap(); + + let error = invoke_test_buffer( + observe_null_string_array as *mut c_void, + signature, + &[Value::Buffer(ComBufferValue::null_string_array( + StringEncoding::Ansi, + ))], + ) + .unwrap_err(); + assert!(error.message().contains("element contract does not match")); + } + #[test] fn parallel_input_and_output_buffers_can_share_an_authoritative_count() { let table = MetadataTable::new(); @@ -14130,6 +14207,11 @@ mod tests { OutputCleanup::BstrFree, PointerOutputKind::Bstr, ), + ( + Type::owned_handle_output(OwnedHandleCleanup::DeleteObject), + OutputCleanup::DeleteObject, + PointerOutputKind::OwnedHandle(OwnedHandleCleanup::DeleteObject), + ), ]; for (typ, expected_cleanup, expected_output) in cases { diff --git a/crates/dynwinrt/src/native_call.rs b/crates/dynwinrt/src/native_call.rs index 3adc6c07..aa4b30ce 100644 --- a/crates/dynwinrt/src/native_call.rs +++ b/crates/dynwinrt/src/native_call.rs @@ -86,6 +86,7 @@ pub(crate) enum OutputCleanup { VariantClear, SafeArrayDestroy, PropVariantClear, + DeleteObject, } #[cfg(test)] @@ -124,6 +125,15 @@ impl OutputCleanup { Self::VariantClear => crate::com::automation::cleanup_variant(ptr), Self::SafeArrayDestroy => crate::com::automation::cleanup_safearray(ptr), Self::PropVariantClear => crate::com::automation::cleanup_propvariant(ptr), + Self::DeleteObject => { + unsafe { + let _ = windows::Win32::Graphics::Gdi::DeleteObject( + windows::Win32::Graphics::Gdi::HGDIOBJ( + std::ptr::with_exposed_provenance_mut(ptr.addr()), + ), + ); + }; + } } } } diff --git a/docs/architecture/classic-com-contract-evidence-registry.md b/docs/architecture/classic-com-contract-evidence-registry.md index e534f875..f7a5f358 100644 --- a/docs/architecture/classic-com-contract-evidence-registry.md +++ b/docs/architecture/classic-com-contract-evidence-registry.md @@ -103,19 +103,14 @@ Contracts live under: tools/dynwinrt-codegen/contracts/classic-com/ ├── schema.json ├── manifest.json -├── ownership.json ├── conditional-outputs.json -├── counted-buffers.json -├── borrowed-handles.json -├── enumerators.json -├── safearray.json -├── semantic-hresults.json -└── hazards.json +└── ownership-outputs.json ``` The files are grouped by semantic contract kind, not by renderer or API family. They are compiled into dynwinrt-codegen and are not loaded from an application -directory at runtime. +directory at runtime. Other exact families remain typed Rust registries until +they are migrated to equally strict grouped JSON files. ## Entry format @@ -134,7 +129,7 @@ directory at runtime. "declaringIid": "...", "method": "IsFormatSupported", "absoluteSlot": 7, - "sourceFingerprint": "sha256:..." + "sourceFingerprint": "..." }, "contract": { "discriminator": { @@ -177,6 +172,19 @@ directory at runtime. } ``` +A non-conditional CoTaskMem output uses the smaller closed contract: + +```json +{ + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" +} +``` + +Only these literal ownership and cleanup values are accepted; the file cannot +name an arbitrary allocator or cleanup function. + ## Selector requirements An exact contract never matches by method name alone. The selector validates: @@ -330,8 +338,9 @@ Current code registries are migrated without changing behavior: - `STATSTG` and allocator-specific outputs; and - exact fail-closed hazards such as `GetPrivateData`. -Migration is complete only when generated safe snapshots, the 5,567/7,929 -safe census, generated unsafe manifests, and all live tests remain unchanged. +Migration or promotion is complete only when generated safe snapshots, the +5,681/7,929 safe census, generated unsafe manifests, and all live tests agree +with the exact evidence dependencies. ## User contracts @@ -367,6 +376,19 @@ method fingerprint, selector, exact flags, mutually exclusive outputs, ownership, citations, and validated metadata hash. The old Rust constants were removed. +`ownership-outputs.json` contains 147 parameter-specific CoTaskMem contracts +and one exact `HBITMAP`/`DeleteObject` contract. Attachment occurs only after the complete raw +method is built and only when its namespace, interface IID, method, absolute +slot, full parameter selector, and pre-contract fingerprint all match. These +entries promote complete interfaces without applying allocator or handle +ownership inference to any unrelated pointer output. + +Three exact parameter-direction entries, two reserved-null input entries, one +flag-selected caller-buffer entry, one `IStorage::Stat` entry, and seven WMI +conditional-output entries reuse closed semantic models. Together with the +ownership batch, the high-value promotion pass raises safe-complete coverage +from 5,651 to 5,681 interfaces. + Every external evidence path now exposes a selector-derived per-entry ID, a typed aggregation-only family ID, and a closed contract kind. `RawEvidence::ExactRegistry` distinguishes exact @@ -378,25 +400,29 @@ The safe-complete evidence census is: | Evidence class | Safe interfaces | | --- | ---: | -| `standard_derived` | 5,317 | -| `exact_registry_dependent` | 250 | -| **Total** | **5,567** | +| `standard_derived` | 5,326 | +| `exact_registry_dependent` | 355 | +| **Total** | **5,681** | -The registry contains **334 declared entries**, all 334 match the pinned -metadata, and 291 distinct entries are consumed by safe plans. Safe plans have -431 entry/interface dependencies and 268 family/interface dependencies. -Per-interface dependency-set totals also include 5,867 metadata-attribute -dependencies and 25,526 COM-standard-rule dependencies. +The registry contains **495 declared entries**, all 495 match the pinned +metadata, and 404 distinct entries are consumed by safe plans. Safe plans have +655 entry/interface dependencies and 404 family/interface dependencies. +Per-interface dependency-set totals also include 5,974 metadata-attribute +dependencies and 26,076 COM-standard-rule dependencies. | Exact contract kind | Safe-interface dependencies | | --- | ---: | -| `ownership` | 20 | +| `ownership` | 172 | +| `parameter-direction` | 45 | +| `bounded-two-call` | 16 | +| `conditional-output` | 7 | +| `flag-selected-buffer` | 3 | +| `null-input` | 2 | | `safearray` | 263 | | `enumerator-next` | 74 | | `borrowed-handle` | 54 | | `counted-buffer` | 16 | | `semantic-hresult` | 2 | -| `bounded-two-call` | 1 | | `compound-dispatch` | 1 | Family rollups deliberately count each interface once per family: @@ -408,28 +434,31 @@ Family rollups deliberately count each interface once per family: | `com.enumerator-next-exception.v1` | 73 | 73 | 74 | | `com.sequential-stream-buffer.v1` | 2 | 2 | 7 | | `buffers.counted-buffer.v1` | 3 | 2 | 2 | -| `buffers.bounded-two-call.v1` | 2 | 1 | 1 | -| `com.ownership.v1` | 13 | 12 | 15 | +| `buffers.bounded-two-call.v1` | 2 | 2 | 16 | +| `com.ownership.v1` | 162 | 111 | 116 | +| `com.parameter-direction.v1` | 3 | 3 | 15 | +| `com.reserved-null-input.v1` | 2 | 2 | 1 | | `com.semantic-hresult.v1` | 1 | 1 | 2 | | `automation.idispatch-invoke.v1` | 1 | 1 | 1 | | `graphics.private-data-hazard.v1` | 7 | 0 | 0 | -| `wmi.conditional-output.v1` | 1 | 0 | 0 | +| `shell.flag-selected-string.v1` | 1 | 1 | 3 | +| `wmi.conditional-output.v1` | 7 | 7 | 1 | Universal rule dependencies are: | COM standard rule ID | Safe-interface dependencies | | --- | ---: | -| `com.activation.output-plus-one.v1` | 969 | -| `com.automation.bstr-output-owned-sysfreestring.v1` | 1,227 | +| `com.activation.output-plus-one.v1` | 976 | +| `com.automation.bstr-output-owned-sysfreestring.v1` | 1,231 | | `com.automation.bstr-replacement.v1` | 99 | | `com.enumerator-next.generic.v1` | 25 | | `com.handle.borrowed-no-cleanup.v1` | 45 | -| `com.hresult.failure.v1` | 5,454 | -| `com.interface.input-borrow.v1` | 1,835 | -| `com.interface.typed-output-plus-one.v1` | 3,402 | -| `com.iunknown.identity-refcount.v1` | 5,567 | -| `com.query-interface.output-plus-one.v1` | 5,567 | -| `com.standard-cleanup.matching-allocator.v1` | 1,336 | +| `com.hresult.failure.v1` | 5,568 | +| `com.interface.input-borrow.v1` | 1,881 | +| `com.interface.typed-output-plus-one.v1` | 3,453 | +| `com.iunknown.identity-refcount.v1` | 5,681 | +| `com.query-interface.output-plus-one.v1` | 5,681 | +| `com.standard-cleanup.matching-allocator.v1` | 1,436 | These are dependency counts: an inherited contract can be consumed by several interfaces, and one interface can consume several IDs or kinds. They are not @@ -452,16 +481,16 @@ compound contract in `automation.idispatch-invoke.v1`. Method-specific SAFEARRAY, borrowed-handle, enumerator exception, ownership, hazard, and conditional-output registries remain exact. -Borrowed-handle, SAFEARRAY, enumerator, counted-buffer, ownership/cleanup, -semantic-HRESULT, IDispatch, STATSTG/IMalloc, and hazard registries remain -code-defined in Stage 1, but each now exposes the same stable typed provenance -ID/kind and participates in the dependency census only when consumed. Moving -those families into their grouped JSON files, and adding controlled -contract-family ablation, remains later registry migration work. +Borrowed-handle, SAFEARRAY, enumerator, counted-buffer, the remaining +ownership/cleanup declarations, semantic-HRESULT, IDispatch, STATSTG/IMalloc, +and hazard registries remain code-defined in Stage 1, but each exposes the same +stable typed provenance ID/kind and participates in the dependency census only +when consumed. Moving those declarations into grouped JSON files, and adding +controlled contract-family ablation, remains later registry migration work. The strict contract data schema and manifest are version 2. The capability -summary is version 3, and generated unsafe support manifests are version 10. -Only the single WMI conditional-output entry is JSON-backed today; the other -333 registered entries remain code-defined. All code and data entries use the -same selector-derived `entryId`, typed `familyId`, selector/fingerprint/citation -catalog, and pinned-metadata validation path. +summary is version 3, and generated unsafe support manifests are version 11. +Seven WMI conditional-output entries and 148 output-ownership entries are +JSON-backed; the other 340 registered entries remain code-defined. All code and +data entries use the same selector-derived `entryId`, typed `familyId`, +selector/fingerprint/citation catalog, and pinned-metadata validation path. diff --git a/docs/architecture/classic-com-generated-unsafe.md b/docs/architecture/classic-com-generated-unsafe.md index 8ef81577..0b3cd63e 100644 --- a/docs/architecture/classic-com-generated-unsafe.md +++ b/docs/architecture/classic-com-generated-unsafe.md @@ -49,9 +49,9 @@ generated/ │ ├── ITaskbarList3.js │ └── ITaskbarList3.d.ts └── unsafe/ - ├── windows/win32/system/wmi/ - │ ├── IWbemServicesUnsafe.js - │ └── IWbemServicesUnsafe.d.ts + ├── windows/win32/media/audio/ + │ ├── IAudioClientUnsafe.js + │ └── IAudioClientUnsafe.d.ts ├── index.js ├── index.mjs ├── index.d.ts @@ -199,12 +199,12 @@ Generated unsafe companions do not add raw callback implementation. An unsafe companion wraps an existing managed native value: ```ts -export declare class IWbemServicesUnsafe { +export declare class IAudioClientUnsafe { private constructor(); static from( value: DynWinRtValue | { readonly nativeValue: DynWinRtValue }, - ): IWbemServicesUnsafe; + ): IAudioClientUnsafe; static readonly iid: WinGuid; static readonly support: UnsafeInterfaceSupport; readonly nativeValue: DynWinRtValue; @@ -212,13 +212,11 @@ export declare class IWbemServicesUnsafe { /** * @unsafe Metadata-complete outbound ABI. */ - openNamespace( - namespace: string, - flags: number, - context: DynWinRtValue, - workingNamespace: DynComRawMemory | DynComRawPointer, - callResult: DynComRawMemory | DynComRawPointer, - ): void; + isFormatSupported( + shareMode: number, + format: UnsafePointee, + closestMatch: UnsafePointerOutput, + ): readonly [number, UnsafeOwnedPointer | null]; release(): void; } @@ -377,20 +375,12 @@ Callers must create one independent `+1` owner per native slot with `UnsafeRawCall.acknowledge()` and never changes an unrelated pointer parameter. -`IWbemServices::OpenNamespace` is an exact exception to the generic typed -interface InOut rule. Win32 metadata 71.0.14 marks both output slots InOut, but -the Windows SDK `WbemCli.h`/`WbemIdl.idl` declaration and Microsoft Learn -syntax declare `[out] IWbemServices**` and `[out] IWbemCallResult**`. The -override is applied atomically only when namespace, interface IID, method, -absolute slot, parameter count/index/name, optional flag, and complete typed -pointer shape match. Both native outputs are optional and exactly one may be supplied. Generated -code hides `pCtx` and always passes native null. Synchronous options require -`lFlags: 0` plus an initially null working-namespace slot. Semisynchronous -options require exact `lFlags: 16` (`WBEM_FLAG_RETURN_IMMEDIATELY`), a -native-null working argument, and an initially null result slot. The requested -successful output must be non-null and is adopted into -`DynComRawOwnedComPointer`; dirty failure output is nulled and released before -rethrowing. +`IWbemServices` was promoted out of this unsafe layer after its seven +mode-selected methods acquired exact conditional-output contracts. The safe +projection exposes `{ mode: "sync" | "semisync" }`, hides `pCtx`, registers +native outputs with `addOptionalOut`, and returns the selected owned managed +COM value. Once every inherited method has a closed semantic plan, the safe +class replaces the companion rather than duplicating it. ## Registration @@ -461,14 +451,7 @@ Generation emits `generated/com/unsafe/support.json`: "schemaVersion": 11, "metadata": { "setSha256": "...", - "files": [ - { - "file": "Windows.Win32.winmd", - "package": "Microsoft.Windows.SDK.Win32Metadata", - "version": "71.0.14-preview", - "sha256": "..." - } - ], + "files": ["..."], "definingFile": { "file": "Windows.Win32.winmd", "package": "Microsoft.Windows.SDK.Win32Metadata", @@ -476,68 +459,25 @@ Generation emits `generated/com/unsafe/support.json`: "sha256": "..." } }, - "interfaceName": "Windows.Win32.System.Wmi.IWbemServices", - "interfaceIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "interfaceName": "Windows.Win32.Media.Audio.IAudioClient", + "interfaceIid": "1cb9ad4c-dbfa-4c32-b178-c2f568a703b2", "root": "IUnknown", "baseIids": [], - "unsafeClass": "IWbemServicesUnsafe", - "modulePath": "Windows/Win32/System/Wmi/IWbemServicesUnsafe", + "unsafeClass": "IAudioClientUnsafe", + "modulePath": "windows/win32/media/audio/IAudioClientUnsafe", "methods": [ { - "name": "OpenNamespace", - "projectedName": "openNamespace", - "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", - "absoluteSlot": 3, + "name": "Initialize", + "projectedName": "initialize", + "declaringIid": "1cb9ad4c-dbfa-4c32-b178-c2f568a703b2", + "absoluteSlot": 4, "signatureFingerprint": "...", - "status": "raw_metadata_complete", - "reasons": [], - "strategyRequirements": [], - "exactInterfaceOutputs": [ - { - "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1", - "familyId": "wmi.conditional-output.v1", - "contractKind": "conditional-output", - "parameterIndex": 3, - "parameterName": "ppWorkingNamespace", - "interfaceIid": "9556dc99-828c-11cf-a37e-00aa003240c7", - "argumentOptional": true, - "nullableOnSuccess": false, - "reason": "exact [out] owned +1 contract", - "citation": "Microsoft Learn and Windows SDK WbemCli.h/WbemIdl.idl" - }, - { - "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1", - "familyId": "wmi.conditional-output.v1", - "contractKind": "conditional-output", - "parameterIndex": 4, - "parameterName": "ppResult", - "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", - "argumentOptional": true, - "nullableOnSuccess": false, - "reason": "exact [out] owned +1 contract", - "citation": "Microsoft Learn and Windows SDK WbemCli.h/WbemIdl.idl" - } - ], - "exactInterfaceOutputCall": { - "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1", - "familyId": "wmi.conditional-output.v1", - "contractKind": "conditional-output", - "sourceFingerprint": "EA3628EB9E45E1A0BAA0BC9F6DA1FD82FE938091EF1730E25E3CCEEA9EFD316B", - "flagsParamIndex": 1, - "contextParamIndex": 2, - "synchronousOutputParamIndex": 3, - "semisynchronousOutputParamIndex": 4, - "synchronousFlags": 0, - "semisynchronousFlagValue": 16, - "flagsOptionName": "lFlags", - "synchronousOutputOptionName": "workingNamespace", - "semisynchronousOutputOptionName": "result", - "reason": "exact OpenNamespace mode contract", - "citation": "Microsoft Learn and Windows SDK WbemCli.h/WbemIdl.idl" - }, + "status": "manual_contract_required", + "reasons": ["..."], + "strategyRequirements": ["..."], "targets": { "x64": { - "classification": "raw_metadata_complete" + "classification": "manual_contract_required" } } } @@ -581,7 +521,7 @@ also returns nonzero. Example output: ```text -[dry-run] Would generate IWbemServicesUnsafe (metadata-complete: 23, manual: 0, blocked: 0) +[dry-run] Would generate IAudioClientUnsafe (metadata-complete: 8, manual: 4, blocked: 0) [dry-run] Report-only MFASYNCRESULTUnsafe {"metadataComplete":0,"manual":0,"blocked":5,"reasons":["missing_interface_iid"]} ``` @@ -717,19 +657,13 @@ Required tests include: 11. deterministic support manifest generation; and 12. complete safe COM and WinRT regression suites. -The Stage 1 generated-companion integration fixture uses official -`IWbemServicesUnsafe::queryObjectSink` (IID -`9556dc99-828c-11cf-a37e-00aa003240c7`, absolute slot 5). It was selected -because the real metadata-complete signature combines generated scalar -conversion with an explicit interface-pointer output slot but does not require -a live WMI service. The test-hook object implements real IUnknown -QueryInterface/AddRef/Release plus the exact slot-5 ABI, writes a deterministic -pointer value, and exposes refcount/call statistics. CI generates the actual -deep module, loads CJS and ESM forms, type-checks its emitted declaration, calls -`.from()` and `queryObjectSink`, and checks idempotent/post-release behavior. - -Stage 2 extends the same generated-artifact test with official -`IAudioClientUnsafe::isFormatSupported` and `getService` vtable slots. It covers +The generated-artifact integration fixture combines safe WMI with unsafe Audio. +The WMI test-hook validates sync/semisync OptionalOut selection, native-null +context, failure cleanup, QueryInterface/AddRef/Release balance, CJS, ESM, and +emitted declarations without requiring a live WMI service. + +The unsafe portion uses official `IAudioClientUnsafe::isFormatSupported` and +`getService` vtable slots. It covers CoTaskMem closest-format success/failure cleanup, BSTR/Local/Global dirty failure cleanup, COM-owned output cleanup, required/nullable output, strategy mismatch before dispatch, one-shot reuse, handle/raw/count strategies, and all @@ -765,11 +699,11 @@ Stage 2 is implemented: reason, native direction/nullability, and known target pointee layouts; and - a raw pointer is never substituted for missing ownership. -For official 71.0.14 metadata, **1,550 of 1,554** x64 manual-contract interfaces -have at least one portable executable generated high-level method. **1,549** +For official 71.0.14 metadata, **1,442 of 1,446** x64 manual-contract interfaces +have at least one portable executable generated high-level method. **1,441** have an executable manual method, one retains only metadata-complete methods, and four have no portable executable method because every candidate is blocked -on another generated target. There are **6,343** portable executable manual +on another generated target. There are **6,083** portable executable manual methods, **0** remaining portable manual-classified methods omitted, and **1,163** cross-target runtime-blocked methods still omitted. diff --git a/docs/architecture/classic-com-support.md b/docs/architecture/classic-com-support.md index 4f3b5ad6..790e0461 100644 --- a/docs/architecture/classic-com-support.md +++ b/docs/architecture/classic-com-support.md @@ -4,8 +4,8 @@ general Automation or native Win32 projection. > **Status: preview, under active development.** The current CI baseline against -> `Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview is 5,567 complete safe -> interface projections out of 7,929 eligible interfaces (70.21%). Earlier +> `Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview is 5,681 complete safe +> interface projections out of 7,929 eligible interfaces (71.65%). Earlier > inventory and demand-snapshot sections retain the metadata versions and dates > stated in those sections. @@ -1219,13 +1219,16 @@ interfaces: nine in the `IUIAutomationElement` family, four in the contracts and therefore add no complete-interface census entries. After removing enum-name ownership inference, requiring distinct actual-length parameters to be exact Out values, and separating counted character pointers -from terminated strings, the exact final literal census is -**5,567 / 7,929 = 70.210619%**. The result remains above the 70% target without +from terminated strings, the HWND-specific census was **5,567 / 7,929**. The +exact CoTaskMem output-ownership, parameter-direction, and null-input +registries subsequently promote 114 additional complete interfaces, bringing +the current literal census to +**5,681 / 7,929 = 71.648379%**. The result remains above the 70% target without admitting any creator-owned, destroyable, InOut, undocumented, optional, or `HWND**` shape. CI reproduces this number with `dynwinrt-codegen com-census --json` and fails -if the denominator changes, complete generation drops below 5,567, or coverage +if the denominator changes, complete generation drops below 5,681, or coverage falls below 70%. ## Public-code frequency snapshot @@ -1279,7 +1282,7 @@ against the resolved namespace. | 6 | `IDispatch` via `IID_IDispatch` | 6,408 | 46 | Yes | Complete inherited interface generates; `Invoke` uses dedicated DISPPARAMS/EXCEPINFO and explicit optional-output requests | | 7 | `IPersistFile` | 5,996 | 97 | Yes | Generates and live-tested | | 8 | `IConnectionPoint` | 5,832 | 51 | Yes | Generates; callback objects passed to `Advise` must satisfy the complete validated same-thread implementation subset | -| 9 | `IWbemServices` | 5,680 | 76 | Yes | Fail closed: interface in/out ownership | +| 9 | `IWbemServices` | 5,680 | 76 | Yes | Generates with exact synchronous/semisynchronous conditional outputs and native-null context | | 10 | `IWICImagingFactory` | 4,536 | 83 | Yes | Generates and live-tested | | 11 | `IDropTarget` | 4,368 | 57 | Yes | Generates for client calls and dynamic JavaScript implementation; live E2E covers by-value `POINTL`, scalar/InOut callback ABI, libffi dispatch, and multi-interface QueryInterface | | 12 | `IShellFolder` | 4,056 | 33 | Yes | Fail closed: untyped PIDL output ownership (and later `STRRET` union ABI) | @@ -1316,7 +1319,7 @@ against the resolved namespace. - Automation contracts beyond the exact supported `IDispatch` compounds (XML and Task Scheduler BYREF/InOut and nested ownership); - explicit output ownership (`DXGI`, audio); - - interface in/out semantics (WMI); and + - remaining interface in/out replacement semantics; and - unsupported PROPVARIANT alternatives in Property System APIs beyond `IPropertyStore`. - Ten frequency-survey candidates have generated live coverage: @@ -1327,7 +1330,7 @@ against the resolved namespace. This means the current suite provides useful ABI breadth, but it does **not** cover every high-frequency interface. In particular, -`IDataObject`, graphics interfaces, WMI, audio, and live real-object +`IDataObject`, graphics interfaces, audio, and live real-object `IDispatch::Invoke` coverage remain material gaps. ## Engineering priority map @@ -1339,6 +1342,7 @@ hardware, and whether it adds a distinct ABI shape. | Interface | Typical use | Current status | |---|---|---| | `ISequentialStream` / `IStream` | OLE streams, imaging, shell, serialization | Complete generation includes documented `Read`/`Write` byte contracts and owned `STATSTG`; WIC live coverage exercises buffers, seek, stat, and Clone HRESULT propagation. | +| `IStorage` | Structured storage | Complete generation reuses owned `STATSTG`, nullable input buffers, and exact reserved-null pointer contracts. | | `IOpcSignatureCustomObject` | OPC signature custom XML | `GetXml` generates as a CoTaskMem-owned callee byte buffer; acquisition is application-specific. | | `IDiscRecorder` | Legacy IMAPI recorder | Complete generation now includes the exact `GetRecorderGUID` two-call method and documentation-correct `getDisplayNames(): [string, string, string]` BSTR outputs. | | `IMalloc` | COM task allocator | Complete generation is gated by exact IID/slot/shape evidence. Opaque values reject forged/stale addresses; destructive and size operations enforce allocator identity, while `DidAlloc` permits borrowed cross-allocator inspection. | @@ -1354,6 +1358,7 @@ hardware, and whether it adds a distinct ABI shape. | `IBindCtx` / `IRunningObjectTable` | Monikers and object binding | Both generate. `BIND_OPTS` carries an exact size initializer, and explicit bytes with a zero or incorrect `cbStruct` fail before native dispatch. | | `ICreateErrorInfo` / `IErrorInfo` | COM rich error information | Complete generation and acquisition are live-tested for GUID, wide strings, owned BSTR output, thread-local storage, and one-shot consumption. | | `IMMDeviceEnumerator` | Audio endpoint discovery | Generates today, but live behavior depends on available audio endpoints. | +| `IWbemServices` | WMI queries and method invocation | Complete generation uses exact sync/semisync output selection; selected outputs are owned COM references and `pCtx` is native null in the closed safe overloads. | | `IAudioClient` | Low-level audio streaming | Fails closed because its format and output-pointer shapes are not fully modeled. | | `IDispatch` | Automation and scripting | Complete inherited real-metadata generation passes. `GetIDsOfNames` projects as `string[] -> number[]`; `Invoke` accepts `DynComDispatchParams` and explicit result/excepInfo/argErr request options, returning dedicated owning wrappers. Derived Automation interfaces remain independently validated. | | `IPropertyStore` | Shell/property metadata | Complete generation and live ShellLink `SetValue`/`GetValue`/`Commit` coverage pass with dedicated PROPVARIANT ownership. | diff --git a/docs/guides/windows/classic-com-usage.md b/docs/guides/windows/classic-com-usage.md index b87c8394..a3a1b6d8 100644 --- a/docs/guides/windows/classic-com-usage.md +++ b/docs/guides/windows/classic-com-usage.md @@ -144,53 +144,51 @@ remain intact. The ordinary command has no unsafe opt-in flag. If complete safe projection fails but one or more methods are `raw_metadata_complete`, codegen writes an isolated namespace-qualified companion such as -`generated/com/unsafe/windows/win32/system/wmi/IWbemServicesUnsafe.js` and +`generated/com/unsafe/windows/win32/media/audio/IAudioClientUnsafe.js` and records every method in `support.json`. Safe-complete interfaces use matching canonical namespace directories under `generated/com/`. ```powershell npx dynwinrt-codegen generate ` --winmd $winmd ` - --namespace Windows.Win32.System.Wmi ` - --class-name IWbemServices ` + --namespace Windows.Win32.Media.Audio ` + --class-name IAudioClient ` --output .\generated ``` -`IWbemServicesUnsafe.openNamespace` hides IID registration, its absolute vtable -slot, BSTR construction, the reserved `pCtx`, and signature wiring. It exposes -the documented synchronous and semisynchronous output modes: +`IAudioClientUnsafe` hides IID registration, inheritance, absolute slots, and +signature wiring while keeping unknown format/storage ownership explicit: ```js import { - DynComRaw, DynComRawMemory, } from "@microsoft/dynwinrt/com/unsafe/raw"; -import { IWbemServicesUnsafe } from "./generated/com/unsafe/index.js"; +import { + IAudioClientUnsafe, + UnsafePointee, + UnsafePointerOutput, +} from "./generated/com/unsafe/index.js"; -// existingServiceValue must come from a separately validated acquisition path. -const services = IWbemServicesUnsafe.from(existingServiceValue); -const workingSlot = DynComRawMemory.allocate( - DynComRaw.pointerSize(), - DynComRaw.pointerSize(), -); +const audio = IAudioClientUnsafe.from(existingAudioClientValue); +const format = DynComRawMemory.allocate(18, 2); try { - const child = services.openNamespace("CIMV2", { - lFlags: 0, - workingNamespace: workingSlot, - result: null, - }); + const [hresult, closest] = audio.isFormatSupported( + 1, + UnsafePointee.required(format), + UnsafePointerOutput.coTaskMem(), + ); try { - // child owns one IWbemServices +1. + // Inspect the explicitly owned closest-format result. } finally { - child.release(); + closest?.release(); } } finally { - workingSlot.release(); - services.release(); + format.release(); + audio.release(); } ``` -The short barrel export is available only while `IWbemServicesUnsafe` is +The short barrel export is available only while `IAudioClientUnsafe` is globally unique. If two namespaces contain `IFoo`, import their deep modules: ```js @@ -307,38 +305,27 @@ native-dispatch boundary, so the same strategy remains retryable. `IFoo*`, typed Out parameters, `IFoo***`, and interface parameters on a method manual for an unrelated reason do not acquire a hidden pointer slot. -`IWbemServicesUnsafe.openNamespace` uses exact Windows SDK evidence instead of -the generic replacement path. Supply an empty pointer-sized working slot and -pass `null` when no asynchronous result is requested; returned `+1` references -are already adopted: +`IWbemServices` now uses exact Windows SDK evidence through the safe generated +surface. The mode selects exactly one optional native output, `pCtx` is native +null, and the selected result is an owned managed COM value: ```js -const workingSlot = DynComRawMemory.allocate( - DynComRaw.pointerSize(), - DynComRaw.pointerSize(), -); -const workingNamespace = services.openNamespace( - "child", - { - lFlags: 0, - workingNamespace: workingSlot, - result: null, - }, -); +import { IWbemServices } from "./generated/com/index.js"; + +const services = IWbemServices._fromNative(existingServiceValue); +const workingNamespace = services.openNamespace("child", { mode: "sync" }); try { - // pCtx and ppResult were passed as native null. + // The semisynchronous form uses { mode: "semisync" }. } finally { workingNamespace.release(); - workingSlot.release(); + services.release(); } ``` -The requested slot must contain a null pointer before dispatch. A -semisynchronous call instead supplies exact `{ lFlags: 0x10, -workingNamespace: null, result: resultSlot }`; combined flag values such as -`0x11` are rejected. Exactly one output is allowed; `pCtx` is hidden and -always native null. Dirty pointers written before a failing HRESULT are -cleared and released by generated code. +Generated code maps `sync` to exact flags `0` and `semisync` to +`WBEM_FLAG_RETURN_IMMEDIATELY` (`16`). Other values are unrepresentable in the +safe declaration. Dirty output references written before a failing HRESULT +are released by the runtime. Never reuse one `DynComRawOwnedComPointer` object for multiple replacement arguments, including preserve/unchanged combinations. Create an independent diff --git a/docs/status/CLASSIC_COM_API_SUPPORT_PLAN.md b/docs/status/CLASSIC_COM_API_SUPPORT_PLAN.md index 88265d13..9f6c9624 100644 --- a/docs/status/CLASSIC_COM_API_SUPPORT_PLAN.md +++ b/docs/status/CLASSIC_COM_API_SUPPORT_PLAN.md @@ -32,15 +32,15 @@ B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D | Result | Interfaces | Percentage | | ---------------------------------------------------- | ---------: | ---------: | | Externally addressable Classic COM interfaces | 7,929 | 100% | -| Complete safe generation | 5,567 | 70.21% | -| Rejected because at least one contract is incomplete | 2,362 | 29.79% | +| Complete safe generation | 5,681 | 71.65% | +| Rejected because at least one contract is incomplete | 2,248 | 28.35% | The denominator contains addressable COM interface identities, not flat Win32 DLL exports. A complete interface means that its full inherited vtable can be generated without guessing ABI, layout, count relationships, ownership, or cleanup. -The 5,567 figure is semantic codegen coverage, not a claim that every interface +The 5,681 figure is semantic codegen coverage, not a claim that every interface has a dedicated live Windows test or can be activated on every machine. Reproduce the census with: @@ -279,8 +279,8 @@ conflicts, transaction-residue names, and unsupported reparse tags fail closed. Safe and unsafe modules use the canonical lowercase/kebab namespace layout, for example `com/windows/win32/ui/shell/ITaskbarList3.js` and -`com/unsafe/windows/win32/system/wmi/IWbemServicesUnsafe.js`. The short class -name remains `IWbemServicesUnsafe`. A short barrel export is emitted only when +`com/unsafe/windows/win32/media/audio/IAudioClientUnsafe.js`. The short class +name remains `IAudioClientUnsafe`. A short barrel export is emitted only when globally unique; ambiguous names are available only through deep modules, and incremental order does not affect the resulting barrel. @@ -290,11 +290,12 @@ case-only namespace/type collisions fail closed. Existing cross-root shared ownership additionally requires the staged file to exist and exactly match the planned bytes before overwrite. -CI also generates the real official `IWbemServicesUnsafe` companion and invokes -`queryObjectSink` at absolute slot 5 against a test-hook IUnknown implementation -with measured QueryInterface/AddRef/Release and pointer-slot mutation. This -avoids requiring a live WMI service while testing the actual generated CJS, -ESM, and declaration artifacts. +CI also generates the real official safe `IWbemServices` wrapper and +`IAudioClientUnsafe` companion, then invokes `queryObjectSink` at absolute slot +5 against a test-hook IUnknown implementation with measured +QueryInterface/AddRef/Release and pointer-slot mutation. This avoids requiring +a live WMI service while testing the actual generated CJS, ESM, and declaration +artifacts. Generated companions are outbound only. They do not infer output ownership, provide callbacks or `implement()`, solve acquisition or apartment transfer, or @@ -340,11 +341,11 @@ versus 16 (`WBEM_FLAG_RETURN_IMMEDIATELY`), adopt the requested non-null `+1`, a release dirty failure output. Generic interface InOut parameters remain manual replacement contracts. -**1,550 of 1,554** x64 manual-contract interfaces now have at least one portable -executable generated high-level method. **1,549** have an executable manual +**1,442 of 1,446** x64 manual-contract interfaces now have at least one portable +executable generated high-level method. **1,441** have an executable manual method, one retains only metadata-complete methods, and four have no portable executable method because every candidate is blocked on another generated -target. Across the portable generated surface there are **6,343 executable +target. Across the portable generated surface there are **6,083 executable manual methods**, **0 remaining portable manual-classified methods omitted**, and **1,163 runtime-blocked methods** still omitted. @@ -352,20 +353,21 @@ and **1,163 runtime-blocked methods** still omitted. Stage 1 of the [Classic COM contract evidence registry](../architecture/classic-com-contract-evidence-registry.md) -classifies all 5,567 safe-complete interfaces exactly once: +classifies all 5,681 safe-complete interfaces exactly once: | Evidence class | Interfaces | | --- | ---: | -| `standard_derived` | 5,317 | -| `exact_registry_dependent` | 250 | +| `standard_derived` | 5,326 | +| `exact_registry_dependent` | 355 | -The registry declares 334 selector-specific entries; all 334 match pinned -metadata, 291 distinct entries are safe-consumed, and safe plans contain 431 -entry/interface plus 268 family/interface dependencies. They also consume -5,867 metadata-attribute and 25,526 universal COM-rule dependency sets. +The registry declares 495 selector-specific entries; all 495 match pinned +metadata, 404 distinct entries are safe-consumed, and safe plans contain 655 +entry/interface plus 404 family/interface dependencies. They also consume +5,974 metadata-attribute and 26,076 universal COM-rule dependency sets. Entry/interface dependencies by kind are SAFEARRAY 263, enumerator-next 74, -borrowed-handle 54, ownership 20, counted-buffer 16, semantic-HRESULT 2, -bounded-two-call 1, and compound-dispatch 1. Complete per-entry status, +borrowed-handle 54, ownership 172, parameter-direction 45, bounded-two-call 16, +counted-buffer 16, conditional-output 7, flag-selected-buffer 3, null-input 2, +semantic-HRESULT 2, and compound-dispatch 1. Complete per-entry status, per-family rollups, and per-interface entry IDs are retained in the summary and interface CSV. These are dependency counts, not net contribution; no ablation claim is made. @@ -377,9 +379,10 @@ ISequentialStream `Read`/`Write` and IDispatch `Invoke` are distinct exact entries with full selectors, fingerprints, and citations. The strict embedded registry lives in -`tools/dynwinrt-codegen/contracts/classic-com/`. Its first migrated contract is -the selector-derived IWbemServices `OpenNamespace` entry; JSON is the sole source of its selector, -fingerprint, modes, outputs, evidence, and validated metadata hash. +`tools/dynwinrt-codegen/contracts/classic-com/`. JSON is the sole source for +seven selector-derived IWbemServices conditional-output contracts and 148 +documented output-ownership contracts. Each entry includes its selector, +pre-contract fingerprint, evidence, and validated metadata hash. An interface available only through an unsafe layer is not described as safe supported. A wrong IID, slot, signature, pointer depth, layout, count relation, @@ -390,18 +393,18 @@ allocator, or ownership declaration can corrupt memory or crash the process. For `Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview (`Windows.Win32.winmd` SHA-256 `B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D`), -the existing safe census remains 5,567 of 7,929 interfaces. The separate -outbound raw census classifies the 2,362 safe-incomplete interfaces as: +the safe census is 5,681 of 7,929 interfaces. The separate outbound raw census +classifies the 2,248 safe-incomplete interfaces as: | Target | Metadata-complete | Manual contract | Runtime-blocked | | ------ | ----------------: | --------------: | --------------: | -| x64 | 418 | 1,554 | 390 | -| i686 | 417 | 1,531 | 414 | -| ARM64 | 418 | 1,554 | 390 | +| x64 | 412 | 1,446 | 390 | +| i686 | 411 | 1,423 | 414 | +| ARM64 | 412 | 1,446 | 390 | -Including safe-complete interfaces, x64 and ARM64 have 5,985 -metadata-complete, 1,554 manual, and 390 blocked interfaces. i686 has 5,984 -metadata-complete, 1,531 manual, and 414 blocked interfaces. +Including safe-complete interfaces, x64 and ARM64 have 6,093 +metadata-complete, 1,446 manual, and 390 blocked interfaces. i686 has 6,092 +metadata-complete, 1,423 manual, and 414 blocked interfaces. Pointer-shaped types are analyzed recursively. A missing pointee layout for an external input pointer is manual-contract; the same missing layout for a @@ -411,14 +414,14 @@ writable/readable `T*` caller-storage contract is runtime-blocked. Thus layout is complete. Cleanup availability is no longer represented by ambiguous booleans. Per -target, 2,250 interfaces require no cleanup, 4,430 use a Phase 1 standard -cleanup, none use a known external cleanup, and 1,249 have unknown cleanup. +target, 2,251 interfaces require no cleanup, 4,536 use a Phase 1 standard +cleanup, none use a known external cleanup, and 1,142 have unknown cleanup. Every missing output ownership/allocator contract has `cleanup_unknown`. External pointer/callback requirements affect 1,089 x64/ARM64 interfaces and 1,090 i686 interfaces; 6,804 require external acquisition and all 7,929 retain the current-apartment rule. -For all 5,567 safe-complete interfaces, cleanup is derived from the validated +For all 5,681 safe-complete interfaces, cleanup is derived from the validated projected result conversions rather than the raw analyzer. Pure values, borrowed handles, caller buffers, and plain arrays are `none_required`. Managed COM/dynamic-IID adoption, BSTR, HSTRING, CoTaskMem, VARIANT, @@ -505,7 +508,7 @@ as ABI support. The legacy `com-census --json` output remains unchanged. ## Copyable user-facing statement > dynwinrt supports the Classic COM interface portion of Windows.Win32 -> metadata. With Win32Metadata 71.0.14-preview, 5,567 of 7,929 addressable COM +> metadata. With Win32Metadata 71.0.14-preview, 5,681 of 7,929 addressable COM > interfaces pass complete safe generation. Safe symbols never fall back to an > unsafe implementation; ordinary generation may instead emit an explicitly > named `*Unsafe` outbound companion containing only metadata-complete methods. diff --git a/docs/status/generated/classic-com-capability-summary.json b/docs/status/generated/classic-com-capability-summary.json index f1f6956c..c1645d81 100644 --- a/docs/status/generated/classic-com-capability-summary.json +++ b/docs/status/generated/classic-com-capability-summary.json @@ -80,26 +80,30 @@ "parsed_interface_identities": 7944, "eligible_interfaces": 7929, "not_addressable": 15, - "safe_complete": 5567, - "safe_incomplete": 2362, + "safe_complete": 5681, + "safe_incomplete": 2248, "safeEvidence": { - "safeComplete": 5567, - "standardDerived": 5317, - "exactRegistryDependent": 250, - "metadataFactOccurrences": 5867, - "comStandardFactOccurrences": 25526, - "registeredExactEntries": 334, - "metadataMatchedExactEntries": 334, - "safeConsumedExactEntries": 291, - "exactEntryInterfaceDependencies": 431, - "exactFamilyInterfaceDependencies": 268, + "safeComplete": 5681, + "standardDerived": 5326, + "exactRegistryDependent": 355, + "metadataFactOccurrences": 5974, + "comStandardFactOccurrences": 26076, + "registeredExactEntries": 495, + "metadataMatchedExactEntries": 495, + "safeConsumedExactEntries": 404, + "exactEntryInterfaceDependencies": 655, + "exactFamilyInterfaceDependencies": 404, "byContractKind": { "borrowed-handle": 54, - "bounded-two-call": 1, + "bounded-two-call": 16, "compound-dispatch": 1, + "conditional-output": 7, "counted-buffer": 16, "enumerator-next": 74, - "ownership": 20, + "flag-selected-buffer": 3, + "null-input": 2, + "ownership": 172, + "parameter-direction": 45, "safearray": 263, "semantic-hresult": 2 }, @@ -286,6 +290,7 @@ "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextedittextchangedeventhandler.92faa680e7044156931ae32d5bb38f3f.handletextedittextchangedevent.slot-3.param-2-eventstrings.v1": 1, "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextrange.a543cc6af4ae494b8239c814481187a8.getboundingrectangles.slot-10.param-0-boundingrects.v1": 3, "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextrange3.6a315d6955124c2e85f053fce6dd4bc2.getattributevalues.slot-24.param-2-attributevalues.v1": 1, + "buffers.bounded-two-call.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getblob.slot-15.v1": 15, "buffers.bounded-two-call.entry.windows-win32-storage-imapi.idiscrecorder.85ac9776ca884cf2894e09598c078a41.getrecorderguid.slot-4.param-0-pbyuniqueid.v1": 1, "buffers.counted-buffer.entry.windows-win32-storage-imapi.idiscrecorder.85ac9776ca884cf2894e09598c078a41.init.slot-3.param-0-pbyuniqueid.v1": 1, "buffers.counted-buffer.entry.windows-win32-storage-packaging-opc.iopcsignaturecustomobject.5d77a19e62c144e7becd45da5ae51a56.getxml.slot-3.param-0-xmlmarkup.v1": 1, @@ -362,7 +367,84 @@ "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfproperties.19188cb0aca911d2afc500105a2799b5.next.slot-4.v1": 1, "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfranges.f99d3f408e3211d2bf4600105a2799b5.next.slot-4.v1": 1, "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfuielements.887aa91eacba493184da3c5208cf543f.next.slot-4.v1": 1, + "com.ownership.entry.windows-win32-devices-tapi.itcallinfo.350f85d1122711d383d400c04fb6809f.getcallinfobuffer.slot-17.param-2-ppcallinfobuffer.v1": 2, + "com.ownership.entry.windows-win32-devices-tapi.itlegacycallmediacontrol.d624582fcc234436b8a547c625c8045d.getid.slot-9.param-2-ppdeviceid.v1": 2, + "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo2.fb6904c442f04b629c46983af7da7c83.getcommitinfo.slot-5.param-1-pcommithash.v1": 1, + "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo3.5e13e8439d25473c9ad203b2d0b44b1e.getcustomversionstring.slot-3.param-0-pversionstring.v1": 1, + "com.ownership.entry.windows-win32-media-audio-apo.iaudiosystemeffectscustomformats.b1176e34bb7f4f05bebd1b18a534e097.getformatrepresentation.slot-5.param-1-ppwstrformatrep.v1": 1, + "com.ownership.entry.windows-win32-media-audio.iaudioeffectsmanager.4460b3ae4b44452786767548a8acd260.getaudioeffects.slot-5.param-0-effects.v1": 1, + "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.getdisplayname.slot-4.param-0-pretval.v1": 1, + "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.geticonpath.slot-6.param-0-pretval.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-ett.5a142cc9b8cf4a86a040e9cadf3ef3e7.getextendedmessagetext.slot-7.param-1-pptext.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-vct.26879a1832f946c691f0fb6479270e8c.getrecordname.slot-8.param-1-pwsname.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.iatsccontentadvisorydescriptor.ff76e60c028343eaba32b422238547ee.getrecordratingdescriptiontext.slot-10.param-2-pptext.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.idvb-st.4d5b9f232a0245debcda5d5dbfbfbe62.getdata.slot-5.param-0-ppdata.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.igenericdescriptor.6a5918f8a77a4f61aed05702bdcda3e6.getbody.slot-6.param-0-ppbval.v1": 1, + "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure.ce14dfae40984af7bbf7d6511f835414.getdirectory.slot-4.param-0-ppszdirectoryname.v1": 3, + "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure3.7e2d2a1e71924bd780c1061fd1d10402.getnamespace.slot-16.param-0-ppsznamespace.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.iamdeviceremoval.f90a6130b65811d2ae490000f8754b99.deviceinfo.slot-3.param-1-pwszsymboliclink.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceid.slot-4.param-0-ppszdata.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceversion.slot-5.param-0-ppszdata.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.iamvideocontrol.6a2e067028e411d0a18c00a0c9118956.getframeratelist.slot-8.param-4-framerates.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol.0eb1088c4dcd46f0878f39dae86a51b7.getcurrentimage.slot-13.param-0-lpdib.v1": 1, + "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol9.8f537d09f85e4414b23b502e54c79927.getcurrentimage.slot-13.param-0-lpdib.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedblob.slot-16.param-1-ppbuf.v1": 15, + "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedstring.slot-13.param-1-ppwszvalue.v1": 15, + "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.getdisplayname.slot-6.param-0-pszname.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.geticonpath.slot-8.param-0-pszpath.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.getchainedlicenseresponse.slot-4.param-0-pplicenseresponse.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.processlicenserequest.slot-3.param-2-pplicenseresponse.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfmetadata.f88cfb8cef164991b450cb8c69e51704.getlanguage.slot-4.param-0-ppwszrfc1766.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfnetcrossoriginsupport.bc2b7d44a72d49d583761480dee58b22.getsourceorigin.slot-4.param-0-wszsourceorigin.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsamistyle.a7e025dd53034a6289d6e747e1efac73.getselectedstyle.slot-6.param-0-ppwszstyle.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.getprotectioncertificate.slot-5.param-1-ppcert.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.initoutputprotection.slot-6.param-4-ppbseed.v1": 1, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsecurechannel.d0ae555d3b124d97b0600990bc5aeb67.getcertificate.slot-3.param-0-ppcert.v1": 1, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getlocalname.slot-4.param-0-pval.v1": 1, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getremotename.slot-3.param-0-pval.v1": 1, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibitspeer.659cdea2489e11d9a9cd000d56965251.getpeername.slot-3.param-0-pname.v1": 1, + "com.ownership.entry.windows-win32-security-tpm.itpmvirtualsmartcardmanager.112b1dffd9dc41f7869fd67fee7cb591.createvirtualsmartcard.slot-3.param-12-ppszinstanceid.v1": 1, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilescache.855d6203791448b98d404c56f5acffc5.getlocation.slot-13.param-0-ppszpath.v1": 2, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilesitem.4a753da6e0444f12a7185d14d079a906.getpath.slot-4.param-0-ppszpath.v1": 5, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilessetting.d871d3f7f61348a1827e7a34e560fff6.getname.slot-3.param-0-ppszname.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapblock.75cf393032444fe0a8c8e0bcb270b889.gethash.slot-3.param-1-buffer.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapfile.277672ac4f6342c18abcbeae3600eb59.getname.slot-5.param-0-name.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getcontenttype.slot-4.param-0-contenttype.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getname.slot-5.param-0-filename.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getappusermodelid.slot-4.param-0-appusermodelid.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getstringvalue.slot-3.param-1-value.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestdevicecapabilitiesenumerator.30204541427b4a1cbacf655bf463a540.getcurrent.slot-3.param-0-devicecapability.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getname.slot-3.param-0-name.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefamilyname.slot-10.param-0-packagefamilyname.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefullname.slot-9.param-0-packagefullname.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpublisher.slot-5.param-0-publisher.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getresourceid.slot-7.param-0-resourceid.v1": 2, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestproperties.03faf64df26f4b2caaf78fe7789b8bca.getstringvalue.slot-4.param-1-value.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcpart.421959493b794fc889c6fc7fb979ee71.getcontenttype.slot-6.param-0-contenttype.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getid.slot-3.param-0-relationshipidentifier.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getrelationshiptype.slot-4.param-0-relationshiptype.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationshipselector.f8f26c7fb28f489984c85d5639ede75f.getselectioncriterion.slot-4.param-0-selectioncriterion.v1": 1, "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturecustomobject.5d77a19e62c144e7becd45da5ae51a56.getxml.slot-3.param-0-xmlmarkup.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestmethod.slot-7.param-0-digestmethod.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestvalue.slot-8.param-0-digestvalue.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getid.slot-3.param-0-referenceid.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.gettype.slot-5.param-0-type.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getdefaultdigestmethod.slot-7.param-0-digestmethod.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignatureid.slot-3.param-0-signatureid.v1": 1, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignaturemethod.slot-5.param-0-signaturemethod.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsomdictionary.897c86b88eaf4ae3bdde56419fcf4236.getat.slot-5.param-1-key.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsomgeometry.64fcf3d74d5844baad73a13af6492072.gettransformlookup.slot-11.param-0-lookup.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getdevicefontname.slot-19.param-0-devicefontname.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getunicodestring.slot-4.param-0-unicodestring.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsomgradientbrush.edb5962261a242c3baceacf2286c06bf.gettransformlookup.slot-11.param-0-key.v1": 3, + "com.ownership.entry.windows-win32-storage-xps.ixpsomnamecollection.4bddf8ecc915421ba166d173d25653d2.getat.slot-4.param-1-name.v1": 1, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.generateunusedlookupkey.slot-25.param-1-key.v1": 2, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getlanguage.slot-13.param-0-language.v1": 2, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getname.slot-15.param-0-name.v1": 2, + "com.ownership.entry.windows-win32-storage-xps.ixpsomtilebrush.0fc2328dd7224a54b2ecbe90218a789e.gettransformlookup.slot-10.param-0-key.v1": 3, + "com.ownership.entry.windows-win32-storage-xps.ixpsomvisualbrush.97e294af5b3746b48057874d2f64119b.getvisuallookup.slot-21.param-0-lookup.v1": 1, + "com.ownership.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.stat.slot-17.v1": 1, + "com.ownership.entry.windows-win32-system-com.icatinformation.0002e01300000000c000000000000046.getcategorydesc.slot-4.param-2-pszdesc.v1": 1, "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.alloc.slot-3.v1": 1, "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.didalloc.slot-7.v1": 1, "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.free.slot-5.v1": 1, @@ -371,12 +453,40 @@ "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.realloc.slot-4.v1": 1, "com.ownership.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.param-0-ppszfilename.v1": 2, "com.ownership.entry.windows-win32-system-com.istream.0000000c00000000c000000000000046.stat.slot-12.v1": 5, + "com.ownership.entry.windows-win32-system-mmc.iheaderctrl.43136eb3d36c11cfadbc00aa00a80033.getcolumntext.slot-6.param-1-ptext.v1": 1, + "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-0-ppszkey.v1": 1, + "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-1-ppszvalue.v1": 1, + "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.defaultphrase.slot-4.param-0-ppszphrase.v1": 1, + "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.getvalue.slot-3.param-0-ppszvalue.v1": 1, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-2-ppszpropertyname.v1": 1, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-3-ppszquerystring.v1": 1, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatetostring.slot-8.param-2-ppszquerystring.v1": 1, + "com.ownership.entry.windows-win32-system-search.ischemalocalizersupport.ca3fdca2bfbe4eed90d70caef0a1bda1.localize.slot-3.param-1-ppszlocalstring.v1": 1, + "com.ownership.entry.windows-win32-system-settingsmanagementinfrastructure.isettingsitem.9f7d7bbb20b311da81a50030f1642e3c.getvalueraw.slot-8.param-0-data.v1": 1, + "com.ownership.entry.windows-win32-system-taskscheduler.itaskscheduler.148bd527a2ab11ceb11f00aa00530503.gettargetcomputer.slot-4.param-0-ppwszcomputer.v1": 1, + "com.ownership.entry.windows-win32-system-winrt.iinspectable.af86e2e0b12d4c6a9c5ad7aa65101e90.getiids.slot-3.param-1-iids.v1": 1, + "com.ownership.entry.windows-win32-ui-accessibility.iaccidentity.7852b78d1cfd41c1a6159c0c85960b5f.getidentitystring.slot-3.param-1-ppidstring.v1": 1, + "com.ownership.entry.windows-win32-ui-shell-propertiessystem.ipersistserializedpropstorage.e318ad570aa0450faca56fab7103d917.getpropertystorage.slot-5.param-0-ppsps.v1": 2, + "com.ownership.entry.windows-win32-ui-shell.iautocompletedropdown.3cd141f43c6a11d2bcaa00c04fd929db.getdropdownstatus.slot-3.param-1-ppwszstring.v1": 1, "com.ownership.entry.windows-win32-ui-shell.ifiledialog.42f85136db7e439c85f1e4075d135fc8.getfilename.slot-16.param-0-pszname.v1": 4, + "com.ownership.entry.windows-win32-ui-shell.ifiledialogcustomize.e6fdd21a163f49759c8ca69f1ba37034.geteditboxtext.slot-15.param-1-ppsztext.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.iqueryinfo.0002150000000000c000000000000046.getinfotip.slot-3.param-1-ppwsztip.v1": 1, "com.ownership.entry.windows-win32-ui-shell.ishellitem.43826d1ee71842eebc55a1e261c37bfe.getdisplayname.slot-5.param-1-ppszname.v1": 1, "com.ownership.entry.windows-win32-ui-shell.ishelllinkw.000214f900000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.getcomment.slot-5.param-0-ppszcomment.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.gettypelabel.slot-4.param-0-ppsztypelabel.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.getcomment.slot-4.param-0-ppszcomment.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.gettypelabel.slot-3.param-0-ppsztypelabel.v1": 1, + "com.ownership.entry.windows-win32-ui-shell.ithumbnailprovider.e357fccda9954576b01f234630154e96.getthumbnail.slot-3.param-1-phbmp.v1": 1, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitem.slot-3.param-1-pvalue.v1": 15, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitembyindex.slot-31.param-2-pvalue.v1": 15, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getstring.slot-12.param-3-pcchlength.v1": 15, + "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.enumelements.slot-11.param-1-reserved2.v1": 1, + "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.openstream.slot-4.param-1-reserved1.v1": 1, "com.semantic-hresult.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.v1": 2, "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.read.slot-3.param-0-pv.v1": 7, "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.write.slot-4.param-0-pv.v1": 7, + "shell.flag-selected-string.entry.windows-win32-ui-shell.icontextmenu.000214e400000000c000000000000046.getcommandstring.slot-5.v1": 3, "windows.borrowed-hwnd-output.entry.windows-win32-devices-imageacquisition.iwiaapperrorhandler.6c16186cd0a6400c80f4d26986a0e734.getwindow.slot-3.param-0-phwnd.v1": 1, "windows.borrowed-hwnd-output.entry.windows-win32-media-directshow-tv.imsvidctl.b0edf162910a11d2b63200c04f79498e.get-window.slot-15.param-0-phwnd.v1": 1, "windows.borrowed-hwnd-output.entry.windows-win32-media-directshow-tv.imsvidrect.7f5000a6a44047ca8accc0e75531a2c2.get-hwnd.slot-15.param-0-hwndval.v1": 1, @@ -394,37 +504,48 @@ "windows.borrowed-hwnd-output.entry.windows-win32-ui-shell.ipreviewhandler.8895b1c6b41f4c1ca5620d564250836f.queryfocus.slot-8.param-0-phwnd.v1": 1, "windows.borrowed-hwnd-output.entry.windows-win32-ui-tabletpc.itextinputpanel.6b6a65a56af346c2b6ea56cd1f80df71.get-attachededitwindow.slot-3.param-0-attachededitwindow.v1": 1, "windows.borrowed-hwnd-output.entry.windows-win32-ui-textservices.itfcontextowner.aa80e80c202111d293e00060b067b86e.getwnd.slot-7.param-0-phwnd.v1": 1, - "windows.borrowed-hwnd-output.entry.windows-win32-ui-textservices.itfcontextview.2433bf8e0f9b435cba2c180611978c30.getwnd.slot-6.param-0-phwnd.v1": 1 + "windows.borrowed-hwnd-output.entry.windows-win32-ui-textservices.itfcontextview.2433bf8e0f9b435cba2c180611978c30.getwnd.slot-6.param-0-phwnd.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteclass.slot-10.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteinstance.slot-16.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.execmethod.slot-24.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.getobject.slot-6.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putclass.slot-8.v1": 1, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putinstance.slot-14.v1": 1 }, "byFamilyId": { "automation.idispatch-invoke.v1": 1, "automation.safearray.v1": 121, - "buffers.bounded-two-call.v1": 1, + "buffers.bounded-two-call.v1": 16, "buffers.counted-buffer.v1": 2, "com.enumerator-next-exception.v1": 74, - "com.ownership.v1": 15, + "com.ownership.v1": 116, + "com.parameter-direction.v1": 15, + "com.reserved-null-input.v1": 1, "com.semantic-hresult.v1": 2, "com.sequential-stream-buffer.v1": 7, - "windows.borrowed-hwnd-output.v1": 45 + "shell.flag-selected-string.v1": 3, + "windows.borrowed-hwnd-output.v1": 45, + "wmi.conditional-output.v1": 1 }, "byMetadataAttribute": { - "CanReturnMultipleSuccessValuesAttribute": 38, - "ConstAttribute": 3261, + "CanReturnMultipleSuccessValuesAttribute": 42, + "ConstAttribute": 3327, "FreeWithAttribute": 3, - "NativeArrayInfoAttribute": 2565 + "NativeArrayInfoAttribute": 2602 }, "byStandardRuleId": { - "com.activation.output-plus-one.v1": 969, - "com.automation.bstr-output-owned-sysfreestring.v1": 1227, + "com.activation.output-plus-one.v1": 976, + "com.automation.bstr-output-owned-sysfreestring.v1": 1231, "com.automation.bstr-replacement.v1": 99, "com.enumerator-next.generic.v1": 25, "com.handle.borrowed-no-cleanup.v1": 45, - "com.hresult.failure.v1": 5454, - "com.interface.input-borrow.v1": 1835, - "com.interface.typed-output-plus-one.v1": 3402, - "com.iunknown.identity-refcount.v1": 5567, - "com.query-interface.output-plus-one.v1": 5567, - "com.standard-cleanup.matching-allocator.v1": 1336 + "com.hresult.failure.v1": 5568, + "com.interface.input-borrow.v1": 1881, + "com.interface.typed-output-plus-one.v1": 3453, + "com.iunknown.identity-refcount.v1": 5681, + "com.query-interface.output-plus-one.v1": 5681, + "com.standard-cleanup.matching-allocator.v1": 1436 }, "exactEntryStatus": { "automation.idispatch-invoke.entry.windows-win32-system-com.idispatch.0002040000000000c000000000000046.invoke.slot-6.v1": { @@ -4845,12 +4966,12 @@ "slot": 15, "parameter": null }, - "sourceFingerprint": "974B7A057BAE4321C6FB325A3F2A4C54D874454A6891733354BD6C013996E497", + "sourceFingerprint": "1B89A2E869A1ED374C21050F3BB13F09929D6D9F9B5943EAAFC345EFDA825014", "citation": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getblob", "registered": true, "metadataMatched": true, - "safeConsumed": false, - "interfaceDependencies": 0 + "safeConsumed": true, + "interfaceDependencies": 15 }, "buffers.bounded-two-call.entry.windows-win32-storage-imapi.idiscrecorder.85ac9776ca884cf2894e09598c078a41.getrecorderguid.slot-4.param-0-pbyuniqueid.v1": { "familyId": "buffers.bounded-two-call.v1", @@ -6250,332 +6371,3563 @@ "safeConsumed": true, "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturecustomobject.5d77a19e62c144e7becd45da5ae51a56.getxml.slot-3.param-0-xmlmarkup.v1": { + "com.ownership.entry.windows-win32-devices-portabledevices.iportabledevice.625e2df863924cf09ad13cfa5f17775c.getpnpdeviceid.slot-11.param-0-ppszpnpdeviceid.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.Storage.Packaging.Opc", - "interface": "IOpcSignatureCustomObject", - "iid": "5d77a19e-62c1-44e7-becd-45da5ae51a56", - "method": "GetXml", - "slot": 3, + "namespace": "Windows.Win32.Devices.PortableDevices", + "interface": "IPortableDevice", + "iid": "625e2df8-6392-4cf0-9ad1-3cfa5f17775c", + "method": "GetPnPDeviceID", + "slot": 11, "parameter": [ 0, - "xmlMarkup" + "ppszPnPDeviceID" ] }, - "sourceFingerprint": "7051845E06210A067463B742AB2058744D30D3FB920136A6CE9D2B23F03D52AE", - "citation": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturecustomobject-getxml", + "sourceFingerprint": "7C95E8A738067B4AD6F02B3A493B792AA3E06906A69DFD852537289141CF02ED", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/portabledeviceapi/nf-portabledeviceapi-iportabledevice-getpnpdeviceid", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 1 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.alloc.slot-3.v1": { + "com.ownership.entry.windows-win32-devices-portabledevices.iportabledeviceservice.d3bd3a44d7b540a998b72fa4d01dec08.advise.slot-11.param-3-ppszcookie.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "Alloc", - "slot": 3, - "parameter": null + "namespace": "Windows.Win32.Devices.PortableDevices", + "interface": "IPortableDeviceService", + "iid": "d3bd3a44-d7b5-40a9-98b7-2fa4d01dec08", + "method": "Advise", + "slot": 11, + "parameter": [ + 3, + "ppszCookie" + ] }, - "sourceFingerprint": "D6C713560BAFD1DD3F166084419CC5C9583AB85CD399369C30E801D96E85DFBE", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-alloc", + "sourceFingerprint": "5493EE1762648B405B9A409DDFEDF04C246777B764E236558F42FD65F90EDFD8", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/portabledeviceapi/nf-portabledeviceapi-iportabledeviceservice-advise", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 1 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.didalloc.slot-7.v1": { + "com.ownership.entry.windows-win32-devices-tapi.itcallinfo.350f85d1122711d383d400c04fb6809f.getcallinfobuffer.slot-17.param-2-ppcallinfobuffer.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "DidAlloc", - "slot": 7, - "parameter": null + "namespace": "Windows.Win32.Devices.Tapi", + "interface": "ITCallInfo", + "iid": "350f85d1-1227-11d3-83d4-00c04fb6809f", + "method": "GetCallInfoBuffer", + "slot": 17, + "parameter": [ + 2, + "ppCallInfoBuffer" + ] }, - "sourceFingerprint": "4B98E2010636B6C9A8E993DAA9303B5500ECF6406C0FFA94E982CF9ED110BCA0", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-didalloc", + "sourceFingerprint": "E8A0365F1EAEAF58293F98D8F16D16EC343711BE4090CF93B0BC4F6804E54F24", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itcallinfo-get_callinfobuffer", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 1 + "interfaceDependencies": 2 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.free.slot-5.v1": { + "com.ownership.entry.windows-win32-devices-tapi.itlegacyaddressmediacontrol.ab4936404c0b11d2a04600c04fb6809f.getdevconfig.slot-4.param-2-ppdeviceconfig.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "Free", - "slot": 5, - "parameter": null + "namespace": "Windows.Win32.Devices.Tapi", + "interface": "ITLegacyAddressMediaControl", + "iid": "ab493640-4c0b-11d2-a046-00c04fb6809f", + "method": "GetDevConfig", + "slot": 4, + "parameter": [ + 2, + "ppDeviceConfig" + ] }, - "sourceFingerprint": "7D00BC7513198FDF50CA92E07F7778FF86043A12378986374A6EDE4F9DDC6E83", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-free", + "sourceFingerprint": "CA4EA3329770AE20B18497C61524785AE1A7FD1C89FB528C9028815650BF16DC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itlegacyaddressmediacontrol-getdevconfig", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 1 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.getsize.slot-6.v1": { + "com.ownership.entry.windows-win32-devices-tapi.itlegacycallmediacontrol.d624582fcc234436b8a547c625c8045d.getid.slot-9.param-2-ppdeviceid.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "GetSize", - "slot": 6, - "parameter": null + "namespace": "Windows.Win32.Devices.Tapi", + "interface": "ITLegacyCallMediaControl", + "iid": "d624582f-cc23-4436-b8a5-47c625c8045d", + "method": "GetID", + "slot": 9, + "parameter": [ + 2, + "ppDeviceID" + ] }, - "sourceFingerprint": "050A3FA25B989D107C2F030AFD5167694047319277F7D9E15BEF54D03048785C", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-getsize", + "sourceFingerprint": "8A68F31D62689E833581750D64C56476991E3D974991AB566D182AE6CACDC4FD", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itlegacycallmediacontrol-getid", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 1 + "interfaceDependencies": 2 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.heapminimize.slot-8.v1": { + "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo2.fb6904c442f04b629c46983af7da7c83.getcommitinfo.slot-5.param-1-pcommithash.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "HeapMinimize", - "slot": 8, - "parameter": null + "namespace": "Windows.Win32.Graphics.Direct3D.Dxc", + "interface": "IDxcVersionInfo2", + "iid": "fb6904c4-42f0-4b62-9c46-983af7da7c83", + "method": "GetCommitInfo", + "slot": 5, + "parameter": [ + 1, + "pCommitHash" + ] }, - "sourceFingerprint": "0D65FAF7929BF921E212370DDC8D72D938CCDCB0475C33A4C7786B2BE5AC7D6E", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-heapminimize", + "sourceFingerprint": "40A5CC7D0DBE99FFA396F5347E568BE51E4B9B612F8B2823DC8140CF54B14851", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/dxcapi/nf-dxcapi-idxcversioninfo2-getcommitinfo", "registered": true, "metadataMatched": true, "safeConsumed": true, "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.realloc.slot-4.v1": { + "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo3.5e13e8439d25473c9ad203b2d0b44b1e.getcustomversionstring.slot-3.param-0-pversionstring.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IMalloc", - "iid": "00000002-0000-0000-c000-000000000046", - "method": "Realloc", - "slot": 4, - "parameter": null + "namespace": "Windows.Win32.Graphics.Direct3D.Dxc", + "interface": "IDxcVersionInfo3", + "iid": "5e13e843-9d25-473c-9ad2-03b2d0b44b1e", + "method": "GetCustomVersionString", + "slot": 3, + "parameter": [ + 0, + "pVersionString" + ] }, - "sourceFingerprint": "130C6766294A3080FEEF04B48E9D1864DD43BAFDE193F03CA0D3A7589757BCA5", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-realloc", + "sourceFingerprint": "53BFB010C94841283113AED2294FD00480C9039ACED85ED6DB5450F0BA21BF16", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/dxcapi/nf-dxcapi-idxcversioninfo3-getcustomversionstring", "registered": true, "metadataMatched": true, "safeConsumed": true, "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.param-0-ppszfilename.v1": { + "com.ownership.entry.windows-win32-media-audio-apo.iaudiosystemeffectscustomformats.b1176e34bb7f4f05bebd1b18a534e097.getformatrepresentation.slot-5.param-1-ppwstrformatrep.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IPersistFile", - "iid": "0000010b-0000-0000-c000-000000000046", - "method": "GetCurFile", - "slot": 8, + "namespace": "Windows.Win32.Media.Audio.Apo", + "interface": "IAudioSystemEffectsCustomFormats", + "iid": "b1176e34-bb7f-4f05-bebd-1b18a534e097", + "method": "GetFormatRepresentation", + "slot": 5, "parameter": [ - 0, - "ppszFileName" + 1, + "ppwstrFormatRep" ] }, - "sourceFingerprint": "20198BAFBA258AB18D7E6FBF41B54F6B94D7BF8DF29EF8D4215F2AFAE37E88D5", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ipersistfile-getcurfile", + "sourceFingerprint": "24B368379EFBF0BF2CBE577A616767171EDAFA7F3B7A9579517F016A6306E987", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/audioenginebaseapo/nf-audioenginebaseapo-iaudiosystemeffectscustomformats-getformatrepresentation", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 2 + "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-system-com.istream.0000000c00000000c000000000000046.stat.slot-12.v1": { + "com.ownership.entry.windows-win32-media-audio.iaudioeffectsmanager.4460b3ae4b44452786767548a8acd260.getaudioeffects.slot-5.param-0-effects.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IStream", - "iid": "0000000c-0000-0000-c000-000000000046", - "method": "Stat", - "slot": 12, - "parameter": null + "namespace": "Windows.Win32.Media.Audio", + "interface": "IAudioEffectsManager", + "iid": "4460b3ae-4b44-4527-8676-7548a8acd260", + "method": "GetAudioEffects", + "slot": 5, + "parameter": [ + 0, + "effects" + ] }, - "sourceFingerprint": "0C200C25AA5D3A71C18EA194BB1446E80824ADEA388A32F6934FA992E0C263E9", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istream-stat", + "sourceFingerprint": "8C30A60456F29282F538D9F1FA2BDEE18C4D3B460D49FCFFF065596581CE22B3", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/audioclient/nf-audioclient-iaudioeffectsmanager-getaudioeffects", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 5 + "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-ui-shell.ifiledialog.42f85136db7e439c85f1e4075d135fc8.getfilename.slot-16.param-0-pszname.v1": { + "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.getdisplayname.slot-4.param-0-pretval.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.UI.Shell", - "interface": "IFileDialog", - "iid": "42f85136-db7e-439c-85f1-e4075d135fc8", - "method": "GetFileName", - "slot": 16, + "namespace": "Windows.Win32.Media.Audio", + "interface": "IAudioSessionControl", + "iid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd", + "method": "GetDisplayName", + "slot": 4, "parameter": [ 0, - "pszName" + "pRetVal" ] }, - "sourceFingerprint": "FB451BA0AE72F6DD6D59235CCD55BFE0F530A0A4160B201192FC2AC8C3A01906", - "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-getfilename", + "sourceFingerprint": "DE58CB39D56956C7EB410C0AAD2C931AEC75265C61021D37E7362B65C40F884F", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol-getdisplayname", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 4 + "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-ui-shell.ishellitem.43826d1ee71842eebc55a1e261c37bfe.getdisplayname.slot-5.param-1-ppszname.v1": { + "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.geticonpath.slot-6.param-0-pretval.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.UI.Shell", - "interface": "IShellItem", - "iid": "43826d1e-e718-42ee-bc55-a1e261c37bfe", - "method": "GetDisplayName", - "slot": 5, + "namespace": "Windows.Win32.Media.Audio", + "interface": "IAudioSessionControl", + "iid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd", + "method": "GetIconPath", + "slot": 6, "parameter": [ - 1, - "ppszName" + 0, + "pRetVal" ] }, - "sourceFingerprint": "D74432747AB36163EDF85FEFE3345AA9E95405818F82CDC0C3B67EA2DE94D00D", - "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishellitem-getdisplayname", + "sourceFingerprint": "81B5D77A0E2B217A60BD2E2D6C7D2AD975EA391C313FD076A9EDF38124ED5E5C", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol-geticonpath", "registered": true, "metadataMatched": true, "safeConsumed": true, "interfaceDependencies": 1 }, - "com.ownership.entry.windows-win32-ui-shell.ishelllinka.000214ee00000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1": { + "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol2.bfb7ff8872394fc98fa207c950be9c6d.getsessionidentifier.slot-12.param-0-pretval.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.UI.Shell", - "interface": "IShellLinkA", - "iid": "000214ee-0000-0000-c000-000000000046", - "method": "GetIDList", - "slot": 4, + "namespace": "Windows.Win32.Media.Audio", + "interface": "IAudioSessionControl2", + "iid": "bfb7ff88-7239-4fc9-8fa2-07c950be9c6d", + "method": "GetSessionIdentifier", + "slot": 12, "parameter": [ 0, - "ppidl" + "pRetVal" ] }, - "sourceFingerprint": "51915203F336F5D7EE305A193B43F2D4D167C9C24FDF7A5C04F963ED8220CFA1", - "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getidlist", + "sourceFingerprint": "34268F6D7F66C19B0A08F7C60072B7552965E4D38E57C6703C44EE9DE332CBF2", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol2-getsessionidentifier", "registered": true, "metadataMatched": true, "safeConsumed": false, "interfaceDependencies": 0 }, - "com.ownership.entry.windows-win32-ui-shell.ishelllinkw.000214f900000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1": { + "com.ownership.entry.windows-win32-media-audio.iconnector.9c2c405823f541de877adf3af236a09e.getconnectoridconnectedto.slot-9.param-0-ppwstrconnectorid.v1": { "familyId": "com.ownership.v1", "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.UI.Shell", - "interface": "IShellLinkW", - "iid": "000214f9-0000-0000-c000-000000000046", - "method": "GetIDList", - "slot": 4, + "namespace": "Windows.Win32.Media.Audio", + "interface": "IConnector", + "iid": "9c2c4058-23f5-41de-877a-df3af236a09e", + "method": "GetConnectorIdConnectedTo", + "slot": 9, "parameter": [ 0, - "ppidl" + "ppwstrConnectorId" ] }, - "sourceFingerprint": "05D862A1F5FEF164292D1784F62E5F0AD93600BDF52EBD59194B9DFC4CF7E9BE", - "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getidlist", + "sourceFingerprint": "4B66CB6C52C46218B2308DA1B46DE14369664F9F36FEC102390CD1F3A29122A6", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-iconnector-getconnectoridconnectedto", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 1 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.semantic-hresult.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.v1": { - "familyId": "com.semantic-hresult.v1", - "contractKind": "semantic-hresult", + "com.ownership.entry.windows-win32-media-audio.ipart.ae2de0e45bca4f2daa465d13f8fdb3a9.getglobalid.slot-5.param-0-ppwstrglobalid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "IPersistFile", - "iid": "0000010b-0000-0000-c000-000000000046", - "method": "GetCurFile", - "slot": 8, - "parameter": null + "namespace": "Windows.Win32.Media.Audio", + "interface": "IPart", + "iid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9", + "method": "GetGlobalId", + "slot": 5, + "parameter": [ + 0, + "ppwstrGlobalId" + ] }, - "sourceFingerprint": "20198BAFBA258AB18D7E6FBF41B54F6B94D7BF8DF29EF8D4215F2AFAE37E88D5", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ipersistfile-getcurfile", + "sourceFingerprint": "D3B17AC60F7327C900C2AD850F60318887C34E126082BCD8B7C1D156513C712C", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-ipart-getglobalid", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 2 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.read.slot-3.param-0-pv.v1": { - "familyId": "com.sequential-stream-buffer.v1", - "contractKind": "counted-buffer", + "com.ownership.entry.windows-win32-media-audio.ipart.ae2de0e45bca4f2daa465d13f8fdb3a9.getname.slot-3.param-0-ppwstrname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "ISequentialStream", - "iid": "0c733a30-2a1c-11ce-ade5-00aa0044773d", - "method": "Read", + "namespace": "Windows.Win32.Media.Audio", + "interface": "IPart", + "iid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9", + "method": "GetName", "slot": 3, "parameter": [ 0, - "pv" + "ppwstrName" ] }, - "sourceFingerprint": "E062597C3146D06AEAC5C053E9AC8D617647E97985B3936292EC36E570C2286D", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-isequentialstream-read", + "sourceFingerprint": "5314C494FE52555DB95190C1D058A3F8C74955C50988E0D262299C361449A37E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-ipart-getname", "registered": true, "metadataMatched": true, - "safeConsumed": true, - "interfaceDependencies": 7 + "safeConsumed": false, + "interfaceDependencies": 0 }, - "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.write.slot-4.param-0-pv.v1": { - "familyId": "com.sequential-stream-buffer.v1", - "contractKind": "counted-buffer", + "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-ett.5a142cc9b8cf4a86a040e9cadf3ef3e7.getextendedmessagetext.slot-7.param-1-pptext.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.System.Com", - "interface": "ISequentialStream", - "iid": "0c733a30-2a1c-11ce-ade5-00aa0044773d", - "method": "Write", - "slot": 4, + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IATSC_ETT", + "iid": "5a142cc9-b8cf-4a86-a040-e9cadf3ef3e7", + "method": "GetExtendedMessageText", + "slot": 7, "parameter": [ - 0, - "pv" + 1, + "ppText" ] }, - "sourceFingerprint": "36E5EE287F47745CE5DEA3608BAB60E42E1C4464BF2DC352C7B7AAF128251A95", - "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-isequentialstream-write", + "sourceFingerprint": "33C416D8982CCCD3CB6DD8A1A694E6A5C688553085641E3A2FC1F0A1710B8EAC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsc_ett-getextendedmessagetext", "registered": true, "metadataMatched": true, "safeConsumed": true, - "interfaceDependencies": 7 + "interfaceDependencies": 1 }, - "graphics.private-data-hazard.entry.windows-win32-ai-machinelearning-directml.idmlobject.c8263aac9e0c4a2d9b8e007521a3317c.getprivatedata.slot-3.v1": { - "familyId": "graphics.private-data-hazard.v1", - "contractKind": "hazard", + "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-vct.26879a1832f946c691f0fb6479270e8c.getrecordname.slot-8.param-1-pwsname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", "selector": { - "namespace": "Windows.Win32.AI.MachineLearning.DirectML", - "interface": "IDMLObject", - "iid": "c8263aac-9e0c-4a2d-9b8e-007521a3317c", - "method": "GetPrivateData", - "slot": 3, - "parameter": null - }, - "sourceFingerprint": "563D4515A0BFF7AD0951E5F2E2ED16CF1552DA342866F13DD1010AA70052B42F", - "citation": "https://learn.microsoft.com/windows/win32/api/directml/nf-directml-idmlobject-getprivatedata", - "registered": true, + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IATSC_VCT", + "iid": "26879a18-32f9-46c6-91f0-fb6479270e8c", + "method": "GetRecordName", + "slot": 8, + "parameter": [ + 1, + "pwsName" + ] + }, + "sourceFingerprint": "7AD7E0D9BB6122A2ADAF1694111288FE627E1BFBDB38C53B4CE808AEDAD9EF29", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsc_vct-getrecordname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow-tv.iatsccontentadvisorydescriptor.ff76e60c028343eaba32b422238547ee.getrecordratingdescriptiontext.slot-10.param-2-pptext.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IAtscContentAdvisoryDescriptor", + "iid": "ff76e60c-0283-43ea-ba32-b422238547ee", + "method": "GetRecordRatingDescriptionText", + "slot": 10, + "parameter": [ + 2, + "ppText" + ] + }, + "sourceFingerprint": "2F535300DA8ACB7FD2E17D7443AA5E20144DE807B722ED8A125BFDE6997C057E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsccontentadvisorydescriptor-getrecordratingdescriptiontext", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow-tv.idvb-st.4d5b9f232a0245debcda5d5dbfbfbe62.getdata.slot-5.param-0-ppdata.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IDVB_ST", + "iid": "4d5b9f23-2a02-45de-bcda-5d5dbfbfbe62", + "method": "GetData", + "slot": 5, + "parameter": [ + 0, + "ppData" + ] + }, + "sourceFingerprint": "32FEB84B8C1EDF81B78B6419B913AE730F2610ED39885E4C57853B0BF2FB2F30", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/dvbsiparser/nf-dvbsiparser-idvb_st-getdata", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow-tv.igenericdescriptor.6a5918f8a77a4f61aed05702bdcda3e6.getbody.slot-6.param-0-ppbval.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IGenericDescriptor", + "iid": "6a5918f8-a77a-4f61-aed0-5702bdcda3e6", + "method": "GetBody", + "slot": 6, + "parameter": [ + 0, + "ppbVal" + ] + }, + "sourceFingerprint": "142E3930ACBD72D8A9FFF186D091BD511DDC4D120170766C718C7CB8E0471A2E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mpeg2psiparser/nf-mpeg2psiparser-igenericdescriptor-getbody", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure.ce14dfae40984af7bbf7d6511f835414.getdirectory.slot-4.param-0-ppszdirectoryname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IStreamBufferConfigure", + "iid": "ce14dfae-4098-4af7-bbf7-d6511f835414", + "method": "GetDirectory", + "slot": 4, + "parameter": [ + 0, + "ppszDirectoryName" + ] + }, + "sourceFingerprint": "48D94FCF39A2261D88D1F8B90D4B10C5769522192C22B9AE4849842A76E7629B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/sbe/nf-sbe-istreambufferconfigure-getdirectory", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 3 + }, + "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure3.7e2d2a1e71924bd780c1061fd1d10402.getnamespace.slot-16.param-0-ppsznamespace.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "interface": "IStreamBufferConfigure3", + "iid": "7e2d2a1e-7192-4bd7-80c1-061fd1d10402", + "method": "GetNamespace", + "slot": 16, + "parameter": [ + 0, + "ppszNamespace" + ] + }, + "sourceFingerprint": "39FCC9E1458B2BEC1EFBD599058D0196FE0EE2BDAD4833FFC739445FC0D508BF", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/sbe/nf-sbe-istreambufferconfigure3-getnamespace", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.iamdeviceremoval.f90a6130b65811d2ae490000f8754b99.deviceinfo.slot-3.param-1-pwszsymboliclink.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IAMDeviceRemoval", + "iid": "f90a6130-b658-11d2-ae49-0000f8754b99", + "method": "DeviceInfo", + "slot": 3, + "parameter": [ + 1, + "pwszSymbolicLink" + ] + }, + "sourceFingerprint": "402563DD99B725F2F55BE496C8502DEE324C07A2CD1436D77E2E830C5F4D9823", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamdeviceremoval-deviceinfo", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceid.slot-4.param-0-ppszdata.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IAMExtDevice", + "iid": "b5730a90-1a2c-11cf-8c23-00aa006b6814", + "method": "get_ExternalDeviceID", + "slot": 4, + "parameter": [ + 0, + "ppszData" + ] + }, + "sourceFingerprint": "CAD4EA87E2DE63E6EE62F537A91FC363F5193211C71DE9EDDB1DFA636316ED8A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamextdevice-get_externaldeviceid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceversion.slot-5.param-0-ppszdata.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IAMExtDevice", + "iid": "b5730a90-1a2c-11cf-8c23-00aa006b6814", + "method": "get_ExternalDeviceVersion", + "slot": 5, + "parameter": [ + 0, + "ppszData" + ] + }, + "sourceFingerprint": "E34B73C50244EA607EB69A422E70E4F892582C77777AE0F75B4A477633305515", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamextdevice-get_externaldeviceversion", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.iamvideocontrol.6a2e067028e411d0a18c00a0c9118956.getframeratelist.slot-8.param-4-framerates.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IAMVideoControl", + "iid": "6a2e0670-28e4-11d0-a18c-00a0c9118956", + "method": "GetFrameRateList", + "slot": 8, + "parameter": [ + 4, + "FrameRates" + ] + }, + "sourceFingerprint": "05FAE58EE5F46707567CE0A9A4D7B88730CE4A52127812ACD0BC09FECA3F04C4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamvideocontrol-getframeratelist", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.ifrequencymap.06fb45c1693c4ea7b79f7a6a54d8def2.get-countrycodelist.slot-8.param-1-ppullist.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IFrequencyMap", + "iid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2", + "method": "get_CountryCodeList", + "slot": 8, + "parameter": [ + 1, + "ppulList" + ] + }, + "sourceFingerprint": "4F9354F904803DA29105A9233F6CF25B6B224544DEC9CCAF5B56304509EF675B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bdaiface/nf-bdaiface-ifrequencymap-get_countrycodelist", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-media-directshow.ifrequencymap.06fb45c1693c4ea7b79f7a6a54d8def2.get-frequencymapping.slot-3.param-1-ppullist.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IFrequencyMap", + "iid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2", + "method": "get_FrequencyMapping", + "slot": 3, + "parameter": [ + 1, + "ppulList" + ] + }, + "sourceFingerprint": "C9EFC4AC4232D327CF524D95409784240256A5440533BC25C5E94B2242BAFE44", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bdaiface/nf-bdaiface-ifrequencymap-get_frequencymapping", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol.0eb1088c4dcd46f0878f39dae86a51b7.getcurrentimage.slot-13.param-0-lpdib.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IVMRWindowlessControl", + "iid": "0eb1088c-4dcd-46f0-878f-39dae86a51b7", + "method": "GetCurrentImage", + "slot": 13, + "parameter": [ + 0, + "lpDib" + ] + }, + "sourceFingerprint": "42221D38FBE0C53FF9047035B787B16411B59A9240744053761EA4736C706247", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ivmrwindowlesscontrol-getcurrentimage", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol9.8f537d09f85e4414b23b502e54c79927.getcurrentimage.slot-13.param-0-lpdib.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.DirectShow", + "interface": "IVMRWindowlessControl9", + "iid": "8f537d09-f85e-4414-b23b-502e54c79927", + "method": "GetCurrentImage", + "slot": 13, + "parameter": [ + 0, + "lpDib" + ] + }, + "sourceFingerprint": "3000E03269FEB99CBBF622FC725AC9096C833731C1D970229F34396C4A010635", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/vmr9/nf-vmr9-ivmrwindowlesscontrol9-getcurrentimage", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedblob.slot-16.param-1-ppbuf.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetAllocatedBlob", + "slot": 16, + "parameter": [ + 1, + "ppBuf" + ] + }, + "sourceFingerprint": "B313F8B68D2CE9867FB8BBE285370D3A8BAC01F053B476D9D0A5DDE4611A4695", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getallocatedblob", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 15 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedstring.slot-13.param-1-ppwszvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetAllocatedString", + "slot": 13, + "parameter": [ + 1, + "ppwszValue" + ] + }, + "sourceFingerprint": "C9A1CAF2E57FC40A0365188C76762495D7EB0F87BC6D66A7DB542EEF1BE0CA2F", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getallocatedstring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 15 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.getdisplayname.slot-6.param-0-pszname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAudioPolicy", + "iid": "a0638c2b-6465-4395-9ae7-a321a9fd2856", + "method": "GetDisplayName", + "slot": 6, + "parameter": [ + 0, + "pszName" + ] + }, + "sourceFingerprint": "D0150E482FE8AFD914233DE51311620882CFDFAA7365AB177A27498AB3571D26", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfaudiopolicy-getdisplayname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.geticonpath.slot-8.param-0-pszpath.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAudioPolicy", + "iid": "a0638c2b-6465-4395-9ae7-a321a9fd2856", + "method": "GetIconPath", + "slot": 8, + "parameter": [ + 0, + "pszPath" + ] + }, + "sourceFingerprint": "5ED8158BEF159EAA1876F1D116E6DF68058D502D46FF87B76258366971D45C5A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfaudiopolicy-geticonpath", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.getchainedlicenseresponse.slot-4.param-0-pplicenseresponse.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFDRMNetHelper", + "iid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15", + "method": "GetChainedLicenseResponse", + "slot": 4, + "parameter": [ + 0, + "ppLicenseResponse" + ] + }, + "sourceFingerprint": "B0A503F5E97545AA137E4546670FE323FAF586D9E1491B7554FCA3F498186B0B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wmcontainer/nf-wmcontainer-imfdrmnethelper-getchainedlicenseresponse", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.processlicenserequest.slot-3.param-2-pplicenseresponse.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFDRMNetHelper", + "iid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15", + "method": "ProcessLicenseRequest", + "slot": 3, + "parameter": [ + 2, + "ppLicenseResponse" + ] + }, + "sourceFingerprint": "5C6972693DE9DAC05DDDD0C9932078CA47AAB7EA94274B9746E98C40FADC9342", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wmcontainer/nf-wmcontainer-imfdrmnethelper-processlicenserequest", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfmetadata.f88cfb8cef164991b450cb8c69e51704.getlanguage.slot-4.param-0-ppwszrfc1766.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFMetadata", + "iid": "f88cfb8c-ef16-4991-b450-cb8c69e51704", + "method": "GetLanguage", + "slot": 4, + "parameter": [ + 0, + "ppwszRFC1766" + ] + }, + "sourceFingerprint": "7AECE01900D9D10B81E24F8014BFF90A372EB7D9252B21F15DFB789B1C6D93CA", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfmetadata-getlanguage", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfnetcrossoriginsupport.bc2b7d44a72d49d583761480dee58b22.getsourceorigin.slot-4.param-0-wszsourceorigin.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFNetCrossOriginSupport", + "iid": "bc2b7d44-a72d-49d5-8376-1480dee58b22", + "method": "GetSourceOrigin", + "slot": 4, + "parameter": [ + 0, + "wszSourceOrigin" + ] + }, + "sourceFingerprint": "5A2C5E6A4B7BCF0D32E366257F4689EF048796C030BFDBB60A9406CEA08FDAAE", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfnetcrossoriginsupport-getsourceorigin", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsamistyle.a7e025dd53034a6289d6e747e1efac73.getselectedstyle.slot-6.param-0-ppwszstyle.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSAMIStyle", + "iid": "a7e025dd-5303-4a62-89d6-e747e1efac73", + "method": "GetSelectedStyle", + "slot": 6, + "parameter": [ + 0, + "ppwszStyle" + ] + }, + "sourceFingerprint": "7CF76B94A335F194FD2BD26FB201D504B070357939DEA786A80CB9C57814A935", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsamistyle-getselectedstyle", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.getprotectioncertificate.slot-5.param-1-ppcert.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSampleProtection", + "iid": "8e36395f-c7b9-43c4-a54d-512b4af63c95", + "method": "GetProtectionCertificate", + "slot": 5, + "parameter": [ + 1, + "ppCert" + ] + }, + "sourceFingerprint": "31CEC47BFE8CC69907FADE8284A1A68F07997C3174C4088BDF64E01FAEC29629", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsampleprotection-getprotectioncertificate", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.initoutputprotection.slot-6.param-4-ppbseed.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSampleProtection", + "iid": "8e36395f-c7b9-43c4-a54d-512b4af63c95", + "method": "InitOutputProtection", + "slot": 6, + "parameter": [ + 4, + "ppbSeed" + ] + }, + "sourceFingerprint": "8931303923E8E9BB6E56F49AC34A16EF8D4803527FA3DBDAD22A692F75EB68EB", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsampleprotection-initoutputprotection", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsecurechannel.d0ae555d3b124d97b0600990bc5aeb67.getcertificate.slot-3.param-0-ppcert.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSecureChannel", + "iid": "d0ae555d-3b12-4d97-b060-0990bc5aeb67", + "method": "GetCertificate", + "slot": 3, + "parameter": [ + 0, + "ppCert" + ] + }, + "sourceFingerprint": "735F551BC15C34D9569475A75F612C952295FA8D17E75A139AFFA55004231DBB", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsecurechannel-getcertificate", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsslcertificatemanager.61f7d88712304a8baeba8ad434d1a64d.endgetclientcertificate.slot-5.param-1-ppbdata.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSSLCertificateManager", + "iid": "61f7d887-1230-4a8b-aeba-8ad434d1a64d", + "method": "EndGetClientCertificate", + "slot": 5, + "parameter": [ + 1, + "ppbData" + ] + }, + "sourceFingerprint": "D6DDA16B6622C1E8C8775EFA35EE358787AE5FE99FE8BF6919F3D08BD6BCD36E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsslcertificatemanager-endgetclientcertificate", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-media-mediafoundation.imfsystemid.fff4af3a1fc14ef9a29bd26c49e2f31a.getdata.slot-3.param-1-data.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFSystemId", + "iid": "fff4af3a-1fc1-4ef9-a29b-d26c49e2f31a", + "method": "GetData", + "slot": 3, + "parameter": [ + 1, + "data" + ] + }, + "sourceFingerprint": "E71984C8EF14DF7CF2E9380A9B04AD64FE2F1DCCACC6F1EA113E0D1F464F86D4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsystemid-getdata", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-media-windowsmediaformat.iwmsecurechannel.2720598ad0f24189bd1091c46ef0936f.wmsc-getvalidcertificate.slot-11.param-0-ppbcertificate.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Media.WindowsMediaFormat", + "interface": "IWMSecureChannel", + "iid": "2720598a-d0f2-4189-bd10-91c46ef0936f", + "method": "WMSC_GetValidCertificate", + "slot": 11, + "parameter": [ + 0, + "ppbCertificate" + ] + }, + "sourceFingerprint": "BE54BE07B6DE2C58D4896D5684A8EF70B66C52C02F2CBDBE136C1E89942FDF79", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wmsecure/nf-wmsecure-iwmsecurechannel-wmsc_getvalidcertificate", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyerror.19c613a0fcb84f2881ae897c3d078f81.geterrorcontextdescription.slot-6.param-1-pcontextdescription.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "interface": "IBackgroundCopyError", + "iid": "19c613a0-fcb8-4f28-81ae-897c3d078f81", + "method": "GetErrorContextDescription", + "slot": 6, + "parameter": [ + 1, + "pContextDescription" + ] + }, + "sourceFingerprint": "AA5FBB70C495A7CEAA15AD1A068899A9C4340B6C2F2AC43DFFC6780356C9781E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyerror-geterrorcontextdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyerror.19c613a0fcb84f2881ae897c3d078f81.getprotocol.slot-7.param-0-pprotocol.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "interface": "IBackgroundCopyError", + "iid": "19c613a0-fcb8-4f28-81ae-897c3d078f81", + "method": "GetProtocol", + "slot": 7, + "parameter": [ + 0, + "pProtocol" + ] + }, + "sourceFingerprint": "2E5B9E3E891727C7E917EF0859190C71E58F2FFDC09DD8B2EB66FF1198458876", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyerror-getprotocol", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getlocalname.slot-4.param-0-pval.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "interface": "IBackgroundCopyFile", + "iid": "01b7bd23-fb88-4a77-8490-5891d3e4653a", + "method": "GetLocalName", + "slot": 4, + "parameter": [ + 0, + "pVal" + ] + }, + "sourceFingerprint": "DEB5D2E15A73917B61536911517F4FB89CF13E37394C6F1A1AD28D745EC5022F", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyfile-getlocalname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getremotename.slot-3.param-0-pval.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "interface": "IBackgroundCopyFile", + "iid": "01b7bd23-fb88-4a77-8490-5891d3e4653a", + "method": "GetRemoteName", + "slot": 3, + "parameter": [ + 0, + "pVal" + ] + }, + "sourceFingerprint": "609048EE50E0043E280D2AA83E4B7D52C5D7E84BF5CB3597A61B16FF0C3CA025", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyfile-getremotename", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibitspeer.659cdea2489e11d9a9cd000d56965251.getpeername.slot-3.param-0-pname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "interface": "IBitsPeer", + "iid": "659cdea2-489e-11d9-a9cd-000d56965251", + "method": "GetPeerName", + "slot": 3, + "parameter": [ + 0, + "pName" + ] + }, + "sourceFingerprint": "F0CDCA59D3C819BE81B234341E2E08140DDE9CFEEA522D5FE944306AA787A992", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ibitspeer-getpeername", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-security-tpm.itpmvirtualsmartcardmanager.112b1dffd9dc41f7869fd67fee7cb591.createvirtualsmartcard.slot-3.param-12-ppszinstanceid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Security.Tpm", + "interface": "ITpmVirtualSmartCardManager", + "iid": "112b1dff-d9dc-41f7-869f-d67fee7cb591", + "method": "CreateVirtualSmartCard", + "slot": 3, + "parameter": [ + 12, + "ppszInstanceId" + ] + }, + "sourceFingerprint": "DCB3793D77C443C26A0FDA1E9E248BE121A18BD6A602ADE11BDA81465DF672F4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/tpmvscmgr/nf-tpmvscmgr-itpmvirtualsmartcardmanager-createvirtualsmartcard", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-enhancedstorage.ienhancedstoragesiloaction.b6f7f311206f4ff89c4b27efee77a86f.getdescription.slot-4.param-0-ppwszactiondescription.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.EnhancedStorage", + "interface": "IEnhancedStorageSiloAction", + "iid": "b6f7f311-206f-4ff8-9c4b-27efee77a86f", + "method": "GetDescription", + "slot": 4, + "parameter": [ + 0, + "ppwszActionDescription" + ] + }, + "sourceFingerprint": "83456C35D90803391929A00DE2A230F3553260F2F5048D0BAABE46CF8F164D06", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/ehstorapi/nf-ehstorapi-ienhancedstoragesiloaction-getdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilescache.855d6203791448b98d404c56f5acffc5.getlocation.slot-13.param-0-ppszpath.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "interface": "IOfflineFilesCache", + "iid": "855d6203-7914-48b9-8d40-4c56f5acffc5", + "method": "GetLocation", + "slot": 13, + "parameter": [ + 0, + "ppszPath" + ] + }, + "sourceFingerprint": "ACD72AD53DB19738AA1F640831E3A2BB4553A1F857097078E623E8AB681EB09D", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilescache-getlocation", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilesitem.4a753da6e0444f12a7185d14d079a906.getpath.slot-4.param-0-ppszpath.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "interface": "IOfflineFilesItem", + "iid": "4a753da6-e044-4f12-a718-5d14d079a906", + "method": "GetPath", + "slot": 4, + "parameter": [ + 0, + "ppszPath" + ] + }, + "sourceFingerprint": "F866FC519BD9F1C343D756D13C5E1B1DA466E4994F09D58096D0AC74923C6A2F", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilesitem-getpath", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 5 + }, + "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilessetting.d871d3f7f61348a1827e7a34e560fff6.getname.slot-3.param-0-ppszname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "interface": "IOfflineFilesSetting", + "iid": "d871d3f7-f613-48a1-827e-7a34e560fff6", + "method": "GetName", + "slot": 3, + "parameter": [ + 0, + "ppszName" + ] + }, + "sourceFingerprint": "87642D537D6A82805AE1790C69A70B1BD4B7B67E6C747E77CADBE67B1082DF3F", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilessetting-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapblock.75cf393032444fe0a8c8e0bcb270b889.gethash.slot-3.param-1-buffer.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxBlockMapBlock", + "iid": "75cf3930-3244-4fe0-a8c8-e0bcb270b889", + "method": "GetHash", + "slot": 3, + "parameter": [ + 1, + "buffer" + ] + }, + "sourceFingerprint": "684B4052AA6022C42361C42ADF316B0DFF12AA187FF648DF443041DAF1D296DC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxblockmapblock-gethash", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapfile.277672ac4f6342c18abcbeae3600eb59.getname.slot-5.param-0-name.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxBlockMapFile", + "iid": "277672ac-4f63-42c1-8abc-beae3600eb59", + "method": "GetName", + "slot": 5, + "parameter": [ + 0, + "name" + ] + }, + "sourceFingerprint": "CE562111BDED9847456728CB1BC87A675D0581E902CE3CEFF4B96A1A19B51E70", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxblockmapfile-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getcontenttype.slot-4.param-0-contenttype.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxFile", + "iid": "91df827b-94fd-468f-827b-57f41b2f6f2e", + "method": "GetContentType", + "slot": 4, + "parameter": [ + 0, + "contentType" + ] + }, + "sourceFingerprint": "E68C56A9040D0DD4A967360DE9A71EB8FAB630797778A96346D2635FEB7C5C7C", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxfile-getcontenttype", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getname.slot-5.param-0-filename.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxFile", + "iid": "91df827b-94fd-468f-827b-57f41b2f6f2e", + "method": "GetName", + "slot": 5, + "parameter": [ + 0, + "fileName" + ] + }, + "sourceFingerprint": "C6AEA71F121260944F0BE32FA109A5309B2D378F8D0CB99DC98F655796D03958", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxfile-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getappusermodelid.slot-4.param-0-appusermodelid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestApplication", + "iid": "5da89bf4-3773-46be-b650-7e744863b7e8", + "method": "GetAppUserModelId", + "slot": 4, + "parameter": [ + 0, + "appUserModelId" + ] + }, + "sourceFingerprint": "1CC6B8208EB40A94F312DA4F84B22B5DFECCE2258BCD423E478CAF2A8D6C5E06", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestapplication-getappusermodelid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getstringvalue.slot-3.param-1-value.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestApplication", + "iid": "5da89bf4-3773-46be-b650-7e744863b7e8", + "method": "GetStringValue", + "slot": 3, + "parameter": [ + 1, + "value" + ] + }, + "sourceFingerprint": "35EE98A50E2E2E9B865AC78E291162A418D2F82801DC13B733888BB4B3650BD5", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestapplication-getstringvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestdevicecapabilitiesenumerator.30204541427b4a1cbacf655bf463a540.getcurrent.slot-3.param-0-devicecapability.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestDeviceCapabilitiesEnumerator", + "iid": "30204541-427b-4a1c-bacf-655bf463a540", + "method": "GetCurrent", + "slot": 3, + "parameter": [ + 0, + "deviceCapability" + ] + }, + "sourceFingerprint": "4261531B0DAFF6854B082FFD7BF0074278BB8CEE65CC187D6673C4FFD2CE3C77", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestdevicecapabilitiesenumerator-getcurrent", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getname.slot-3.param-0-name.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetName", + "slot": 3, + "parameter": [ + 0, + "name" + ] + }, + "sourceFingerprint": "6872EB3F83DE14AFB13A3B85DBBD4148EE6D128CDA188BD5362AEFFB6F1F99B2", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefamilyname.slot-10.param-0-packagefamilyname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPackageFamilyName", + "slot": 10, + "parameter": [ + 0, + "packageFamilyName" + ] + }, + "sourceFingerprint": "A578B14F851FD8D22FA62810898F0BE3367C90FF84EC3717A451781F846D5936", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpackagefamilyname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefullname.slot-9.param-0-packagefullname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPackageFullName", + "slot": 9, + "parameter": [ + 0, + "packageFullName" + ] + }, + "sourceFingerprint": "41D7CC05BFBA8E8257C29259361106B5D9AEC9733C9C0C85A09F8ACBEC299D0A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpackagefullname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpublisher.slot-5.param-0-publisher.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPublisher", + "slot": 5, + "parameter": [ + 0, + "publisher" + ] + }, + "sourceFingerprint": "57D4B1441D4718F632D413622FCCD1300F3EA49B7D68487FA4C54B52A3B214AC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpublisher", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getresourceid.slot-7.param-0-resourceid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetResourceId", + "slot": 7, + "parameter": [ + 0, + "resourceId" + ] + }, + "sourceFingerprint": "E0CAB4AD7BBC0623CB00ABD22F199DEB3B87B7F309AF8BA2B42858C6431140D1", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getresourceid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestproperties.03faf64df26f4b2caaf78fe7789b8bca.getstringvalue.slot-4.param-1-value.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "interface": "IAppxManifestProperties", + "iid": "03faf64d-f26f-4b2c-aaf7-8fe7789b8bca", + "method": "GetStringValue", + "slot": 4, + "parameter": [ + 1, + "value" + ] + }, + "sourceFingerprint": "C970E39D1EC4810D2139DD3EE5058353DAD24EC6C11B49F947AEE82A8B0D7E81", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestproperties-getstringvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getnamespaces.slot-3.param-0-prefixes.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetNamespaces", + "slot": 3, + "parameter": [ + 0, + "prefixes" + ] + }, + "sourceFingerprint": "14995347E5CC0CAD25125416A75F6F7290D6CB94FE23FB53DA9991957711ECFC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getnamespaces", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getnamespaces.slot-3.param-1-namespaces.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetNamespaces", + "slot": 3, + "parameter": [ + 1, + "namespaces" + ] + }, + "sourceFingerprint": "14995347E5CC0CAD25125416A75F6F7290D6CB94FE23FB53DA9991957711ECFC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getnamespaces", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignatureid.slot-4.param-0-signatureid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureId", + "slot": 4, + "parameter": [ + 0, + "signatureId" + ] + }, + "sourceFingerprint": "24AFAD8D9CEF5250BF3B52CE8B671E6671636CD98E1B32CDA56BE95BB57F5D8A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignatureid", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignaturevalue.slot-8.param-0-signaturevalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureValue", + "slot": 8, + "parameter": [ + 0, + "signatureValue" + ] + }, + "sourceFingerprint": "73B03F91F248DDD385B090B6B66653456F6887EDC8082446F9FF309354DB5B80", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignaturevalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignaturexml.slot-17.param-0-signaturexml.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureXml", + "slot": 17, + "parameter": [ + 0, + "signatureXml" + ] + }, + "sourceFingerprint": "02BBF3524316564BDE7E05B41A9A2739DE8107D20218C32AE4ABF6B662940B3B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignaturexml", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsigningtime.slot-11.param-0-signingtime.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSigningTime", + "slot": 11, + "parameter": [ + 0, + "signingTime" + ] + }, + "sourceFingerprint": "ACEA0EA1D6745A634869941CCE744BA9234395E5D9E77B16F1EF7B84BC3BCAEB", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsigningtime", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcpart.421959493b794fc889c6fc7fb979ee71.getcontenttype.slot-6.param-0-contenttype.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcPart", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee71", + "method": "GetContentType", + "slot": 6, + "parameter": [ + 0, + "contentType" + ] + }, + "sourceFingerprint": "A2D9DB85FED0EC691B7804050FF258711DDDFE331D668BB88760C2CED5A69E46", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcpart-getcontenttype", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getid.slot-3.param-0-relationshipidentifier.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcRelationship", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee72", + "method": "GetId", + "slot": 3, + "parameter": [ + 0, + "relationshipIdentifier" + ] + }, + "sourceFingerprint": "F69625F4D84053B3CDB71BB347A18AD69E569DEA01BD60EDEE54D1CF5D92CBDC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationship-getid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getrelationshiptype.slot-4.param-0-relationshiptype.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcRelationship", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee72", + "method": "GetRelationshipType", + "slot": 4, + "parameter": [ + 0, + "relationshipType" + ] + }, + "sourceFingerprint": "CB1C5BF36A54E9529B078603331CB8761183BDA06BF3BAB25303BA2C41AC2D00", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationship-getrelationshiptype", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationshipselector.f8f26c7fb28f489984c85d5639ede75f.getselectioncriterion.slot-4.param-0-selectioncriterion.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcRelationshipSelector", + "iid": "f8f26c7f-b28f-4899-84c8-5d5639ede75f", + "method": "GetSelectionCriterion", + "slot": 4, + "parameter": [ + 0, + "selectionCriterion" + ] + }, + "sourceFingerprint": "A40AC693ADEEFAE31A61FBAA4B97CE678FD46B74729FFE92AAF55E784A868DCC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationshipselector-getselectioncriterion", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturecustomobject.5d77a19e62c144e7becd45da5ae51a56.getxml.slot-3.param-0-xmlmarkup.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureCustomObject", + "iid": "5d77a19e-62c1-44e7-becd-45da5ae51a56", + "method": "GetXml", + "slot": 3, + "parameter": [ + 0, + "xmlMarkup" + ] + }, + "sourceFingerprint": "7051845E06210A067463B742AB2058744D30D3FB920136A6CE9D2B23F03D52AE", + "citation": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturecustomobject-getxml", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturepartreference.e24231ca59f4484eb64b36eeda36072c.getdigestvalue.slot-6.param-0-digestvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignaturePartReference", + "iid": "e24231ca-59f4-484e-b64b-36eeda36072c", + "method": "GetDigestValue", + "slot": 6, + "parameter": [ + 0, + "digestValue" + ] + }, + "sourceFingerprint": "E44EF5E4E74909AA6D3CA81577D43503BD0AE60ED81E225140B242B31CC7AF12", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturepartreference-getdigestvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestmethod.slot-7.param-0-digestmethod.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetDigestMethod", + "slot": 7, + "parameter": [ + 0, + "digestMethod" + ] + }, + "sourceFingerprint": "C0D5E026789032F22CFC166C143361BB8D4D5CA6B294BDD1692207162121AC55", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getdigestmethod", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestvalue.slot-8.param-0-digestvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetDigestValue", + "slot": 8, + "parameter": [ + 0, + "digestValue" + ] + }, + "sourceFingerprint": "8B626B5659171C9F6F501201C14CA04B4FC6B2635EA71BE9008059CB88874D51", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getdigestvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getid.slot-3.param-0-referenceid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetId", + "slot": 3, + "parameter": [ + 0, + "referenceId" + ] + }, + "sourceFingerprint": "4923AB113174756058B7100724173CF56FA13BB4E9E4005A0993C7AC6155A153", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.gettype.slot-5.param-0-type.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetType", + "slot": 5, + "parameter": [ + 0, + "type" + ] + }, + "sourceFingerprint": "4E968A4144CCC701A84044B400168308CF960C2A322389E73E2B62941F06ADA8", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-gettype", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturerelationshipreference.57babac69d4a4e508b86e5d4051eae7c.getdigestvalue.slot-5.param-0-digestvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSignatureRelationshipReference", + "iid": "57babac6-9d4a-4e50-8b86-e5d4051eae7c", + "method": "GetDigestValue", + "slot": 5, + "parameter": [ + 0, + "digestValue" + ] + }, + "sourceFingerprint": "5ED01A752BDB58948B54F5239E324E555A87E4A690123EC4842F7FA104D35E87", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturerelationshipreference-getdigestvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getdefaultdigestmethod.slot-7.param-0-digestmethod.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetDefaultDigestMethod", + "slot": 7, + "parameter": [ + 0, + "digestMethod" + ] + }, + "sourceFingerprint": "A625034CDB34EE7870B1480CA406516DA5EAAA44D458F1F6CF928670893953EF", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getdefaultdigestmethod", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignatureid.slot-3.param-0-signatureid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetSignatureId", + "slot": 3, + "parameter": [ + 0, + "signatureId" + ] + }, + "sourceFingerprint": "CA159EC3D9DC531510C92276C4E9BB5DD80622D02E72BEA8EF13A1120E363C55", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getsignatureid", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignaturemethod.slot-5.param-0-signaturemethod.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "interface": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetSignatureMethod", + "slot": 5, + "parameter": [ + 0, + "signatureMethod" + ] + }, + "sourceFingerprint": "A641729841B98EA8E830EA80B59CFE6E0C687CF7F388887B5CB98C0FE1E2C1EE", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getsignaturemethod", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcanvas.221d1452331e47c687e96ccefb9b5ba3.getaccessibilityshortdescription.slot-33.param-0-shortdescription.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCanvas", + "iid": "221d1452-331e-47c6-87e9-6ccefb9b5ba3", + "method": "GetAccessibilityShortDescription", + "slot": 33, + "parameter": [ + 0, + "shortDescription" + ] + }, + "sourceFingerprint": "619160FD29FE53E545FC180DA2E0DD88C6761AAB8476CF6F8CD1C376A9FA3657", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcanvas-getaccessibilityshortdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getcontentstatus.slot-8.param-0-contentstatus.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetContentStatus", + "slot": 8, + "parameter": [ + 0, + "contentStatus" + ] + }, + "sourceFingerprint": "C9B0E293664DD3F87586B1557A3AD3704832C640021F194AD8D91967A6FD26F6", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getcontentstatus", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getdescription.slot-16.param-0-description.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetDescription", + "slot": 16, + "parameter": [ + 0, + "description" + ] + }, + "sourceFingerprint": "44D1F4D05B9DBDCFEA9EC3A56B4E02302330BF4316145E104DDF1CA9036407C7", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getidentifier.slot-18.param-0-identifier.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetIdentifier", + "slot": 18, + "parameter": [ + 0, + "identifier" + ] + }, + "sourceFingerprint": "14C220815B07BD12F52247580FE4B1CDD62BA09BB38B160C532AC4E637F49E2E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getidentifier", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getkeywords.slot-20.param-0-keywords.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetKeywords", + "slot": 20, + "parameter": [ + 0, + "keywords" + ] + }, + "sourceFingerprint": "E5CBCA3A467B17974940873D8F737783DF372F9332310958FB034E4098C3A84A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getkeywords", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getlanguage.slot-22.param-0-language.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetLanguage", + "slot": 22, + "parameter": [ + 0, + "language" + ] + }, + "sourceFingerprint": "8E4CB1E1C6F9E0A9EA64BC241C520FE225E415F59EA42F7F4767CCDB4E141428", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getlanguage", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getlastmodifiedby.slot-24.param-0-lastmodifiedby.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetLastModifiedBy", + "slot": 24, + "parameter": [ + 0, + "lastModifiedBy" + ] + }, + "sourceFingerprint": "2D9A8B6FD83F4BFD4CC1F9FE942962F8E51444E3E0C2C6F62C7F900DB3F0F358", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getlastmodifiedby", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getrevision.slot-30.param-0-revision.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetRevision", + "slot": 30, + "parameter": [ + 0, + "revision" + ] + }, + "sourceFingerprint": "E9B541AC62A67008C0E4DF7848B8987D8EEB208F869E048F4B89CAC98B19DEE4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getrevision", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getsubject.slot-32.param-0-subject.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetSubject", + "slot": 32, + "parameter": [ + 0, + "subject" + ] + }, + "sourceFingerprint": "20B40E77732CAC3E39699ADEF3423C4FC055794A5D50D902A331B1D2922BE9DC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getsubject", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.gettitle.slot-34.param-0-title.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetTitle", + "slot": 34, + "parameter": [ + 0, + "title" + ] + }, + "sourceFingerprint": "B16FDE9BA521B703A5400721558713A312AF5F5D0460CA6AFFF44693F5E582AD", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-gettitle", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomdictionary.897c86b88eaf4ae3bdde56419fcf4236.getat.slot-5.param-1-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMDictionary", + "iid": "897c86b8-8eaf-4ae3-bdde-56419fcf4236", + "method": "GetAt", + "slot": 5, + "parameter": [ + 1, + "key" + ] + }, + "sourceFingerprint": "71A6BF79BBA1CEEA6DF3C6E6DF1D93C2F0C84F6FB6D66F3E1818DEC5CF7C04F3", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomdictionary-getat", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomgeometry.64fcf3d74d5844baad73a13af6492072.gettransformlookup.slot-11.param-0-lookup.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGeometry", + "iid": "64fcf3d7-4d58-44ba-ad73-a13af6492072", + "method": "GetTransformLookup", + "slot": 11, + "parameter": [ + 0, + "lookup" + ] + }, + "sourceFingerprint": "0467D7D58A6370D642A24BC282F9858C006CF49B3627DADE04AD48DEB66872FD", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgeometry-gettransformlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphs.819b31990a5a4b64bec7a9e17e780de2.getfillbrushlookup.slot-53.param-0-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGlyphs", + "iid": "819b3199-0a5a-4b64-bec7-a9e17e780de2", + "method": "GetFillBrushLookup", + "slot": 53, + "parameter": [ + 0, + "key" + ] + }, + "sourceFingerprint": "0C9D165EF8E870E4FC85BBC784A90C19D58938D61D9B8B872C41A44D8E98958D", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphs-getfillbrushlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphs.819b31990a5a4b64bec7a9e17e780de2.getunicodestring.slot-30.param-0-unicodestring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGlyphs", + "iid": "819b3199-0a5a-4b64-bec7-a9e17e780de2", + "method": "GetUnicodeString", + "slot": 30, + "parameter": [ + 0, + "unicodeString" + ] + }, + "sourceFingerprint": "DAFFD452E133E9BE341C215636C4FDAC32740D71A3D6CF71B6F1C837DB5C64DE", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphs-getunicodestring", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getdevicefontname.slot-19.param-0-devicefontname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGlyphsEditor", + "iid": "a5ab8616-5b16-4b9f-9629-89b323ed7909", + "method": "GetDeviceFontName", + "slot": 19, + "parameter": [ + 0, + "deviceFontName" + ] + }, + "sourceFingerprint": "1C831A99F6829CA78ED0AD68FA8A20AC20CE2ABF44F28CA093DBB050808CE0D0", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphseditor-getdevicefontname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getunicodestring.slot-4.param-0-unicodestring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGlyphsEditor", + "iid": "a5ab8616-5b16-4b9f-9629-89b323ed7909", + "method": "GetUnicodeString", + "slot": 4, + "parameter": [ + 0, + "unicodeString" + ] + }, + "sourceFingerprint": "2CE7E594FE845EF1CB65AC14F664810636356D7CC1C0DF2FBEFF7A994D018C53", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphseditor-getunicodestring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomgradientbrush.edb5962261a242c3baceacf2286c06bf.gettransformlookup.slot-11.param-0-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMGradientBrush", + "iid": "edb59622-61a2-42c3-bace-acf2286c06bf", + "method": "GetTransformLookup", + "slot": 11, + "parameter": [ + 0, + "key" + ] + }, + "sourceFingerprint": "71359AD8372D9C707C75F8011DA3868AAB93BA7B883585EA50FC19676F27A4EC", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgradientbrush-gettransformlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 3 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomnamecollection.4bddf8ecc915421ba166d173d25653d2.getat.slot-4.param-1-name.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMNameCollection", + "iid": "4bddf8ec-c915-421b-a166-d173d25653d2", + "method": "GetAt", + "slot": 4, + "parameter": [ + 1, + "name" + ] + }, + "sourceFingerprint": "6E227EF3FF34C04E88FD55BBD4065397DE25B6B60EF3F44B5A3AE254D7A58210", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomnamecollection-getat", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.generateunusedlookupkey.slot-25.param-1-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GenerateUnusedLookupKey", + "slot": 25, + "parameter": [ + 1, + "key" + ] + }, + "sourceFingerprint": "2279C51F31BE3B709E1AC297079DA4C9CED526D70D2A7BF3B4A4B2D6015B1734", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-generateunusedlookupkey", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getlanguage.slot-13.param-0-language.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GetLanguage", + "slot": 13, + "parameter": [ + 0, + "language" + ] + }, + "sourceFingerprint": "18FB399E551DE782A3865A9947C05D6333E4C9ADF49C6C5B9EF06958C5BBB19A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-getlanguage", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getname.slot-15.param-0-name.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GetName", + "slot": 15, + "parameter": [ + 0, + "name" + ] + }, + "sourceFingerprint": "2344026EF8F9A68CC63181885D3E5D7FCA7FEBD76141B82E31400F6E49EFA871", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsompath.37d38bb63ee94110931214b194163337.getaccessibilitylongdescription.slot-37.param-0-longdescription.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMPath", + "iid": "37d38bb6-3ee9-4110-9312-14b194163337", + "method": "GetAccessibilityLongDescription", + "slot": 37, + "parameter": [ + 0, + "longDescription" + ] + }, + "sourceFingerprint": "91E9269807768A9856A7E29E458EB8315AFE69EF28696177126BCE604D7E510E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompath-getaccessibilitylongdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsompath.37d38bb63ee94110931214b194163337.getaccessibilityshortdescription.slot-35.param-0-shortdescription.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMPath", + "iid": "37d38bb6-3ee9-4110-9312-14b194163337", + "method": "GetAccessibilityShortDescription", + "slot": 35, + "parameter": [ + 0, + "shortDescription" + ] + }, + "sourceFingerprint": "FDF0B5CDDBF31A8D16184E8A07573FA934E6A83ADC940E1CD3059CA0A9D284CB", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompath-getaccessibilityshortdescription", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomtilebrush.0fc2328dd7224a54b2ecbe90218a789e.gettransformlookup.slot-10.param-0-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMTileBrush", + "iid": "0fc2328d-d722-4a54-b2ec-be90218a789e", + "method": "GetTransformLookup", + "slot": 10, + "parameter": [ + 0, + "key" + ] + }, + "sourceFingerprint": "BD3F4D77C584EA676308D8BAA41ECB610852D84D5CAE666059EF589374D81AE0", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomtilebrush-gettransformlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 3 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.getname.slot-22.param-0-name.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetName", + "slot": 22, + "parameter": [ + 0, + "name" + ] + }, + "sourceFingerprint": "5927444FCE9E89A1CABF48FEF36353AFB23AE02942E8F05DB4900A2582092966", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-getname", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.getopacitymaskbrushlookup.slot-20.param-0-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetOpacityMaskBrushLookup", + "slot": 20, + "parameter": [ + 0, + "key" + ] + }, + "sourceFingerprint": "D0246E88485B66C8C82AE1E9EE83598346BD51155A9B8F776B95CA8FB0772E3D", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-getopacitymaskbrushlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.gettransformlookup.slot-8.param-0-key.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetTransformLookup", + "slot": 8, + "parameter": [ + 0, + "key" + ] + }, + "sourceFingerprint": "8019E0B0C52A1F2FC2AAF827015BAC8BB959A7CAEEF97A1D8189557BFB350FD8", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-gettransformlookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpsomvisualbrush.97e294af5b3746b48057874d2f64119b.getvisuallookup.slot-21.param-0-lookup.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsOMVisualBrush", + "iid": "97e294af-5b37-46b4-8057-874d2f64119b", + "method": "GetVisualLookup", + "slot": 21, + "parameter": [ + 0, + "lookup" + ] + }, + "sourceFingerprint": "D54C3EDA9DA05FE6C9129E5368B3DC6D510011021D831114A9FCE6336ECA7A03", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisualbrush-getvisuallookup", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpssignaturerequest.ac58950b72084b2db2c4951083d3b8eb.getrequestedsigner.slot-5.param-0-signername.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsSignatureRequest", + "iid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb", + "method": "GetRequestedSigner", + "slot": 5, + "parameter": [ + 0, + "signerName" + ] + }, + "sourceFingerprint": "299EB74A880A72D7FC6BE3ECD9132E018D9132AF4593BED01C73DACD1EF88941", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssignaturerequest-getrequestedsigner", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpssignaturerequest.ac58950b72084b2db2c4951083d3b8eb.getrequestsignbydate.slot-7.param-0-datestring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsSignatureRequest", + "iid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb", + "method": "GetRequestSignByDate", + "slot": 7, + "parameter": [ + 0, + "dateString" + ] + }, + "sourceFingerprint": "8F63E4A4DCE83FA6B24F9175EC6262D5FAF3C4223BF5FD59219BB89F9501B34E", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssignaturerequest-getrequestsignbydate", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-storage-xps.ixpssigningoptions.7718eae4321549beaf5b594fef7fcfa6.getsignatureid.slot-3.param-0-signatureid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.Storage.Xps", + "interface": "IXpsSigningOptions", + "iid": "7718eae4-3215-49be-af5b-594fef7fcfa6", + "method": "GetSignatureId", + "slot": 3, + "parameter": [ + 0, + "signatureId" + ] + }, + "sourceFingerprint": "4055A30A9E6E1F408B0689E8142F1CBD05B375A13F0B3093460E26D2330BBD7C", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssigningoptions-getsignatureid", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.stat.slot-17.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com.StructuredStorage", + "interface": "IStorage", + "iid": "0000000b-0000-0000-c000-000000000046", + "method": "Stat", + "slot": 17, + "parameter": null + }, + "sourceFingerprint": "22517D81811094DCECE75634DC1BA343E41E60AD54433B9124934646A2D56877", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-stat", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.icatinformation.0002e01300000000c000000000000046.getcategorydesc.slot-4.param-2-pszdesc.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "ICatInformation", + "iid": "0002e013-0000-0000-c000-000000000046", + "method": "GetCategoryDesc", + "slot": 4, + "parameter": [ + 2, + "pszDesc" + ] + }, + "sourceFingerprint": "FA3D7D84BF86DDF31D21A9A9EC42936B321D8935D3BCA5AEA18FE30DBEAFCCB9", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/comcat/nf-comcat-icatinformation-getcategorydesc", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.alloc.slot-3.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "Alloc", + "slot": 3, + "parameter": null + }, + "sourceFingerprint": "2A96941D7141039452FE007E69FB04C3AA6CE28DFF7B96115B6C919DC6B42A69", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-alloc", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.didalloc.slot-7.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "DidAlloc", + "slot": 7, + "parameter": null + }, + "sourceFingerprint": "A74ACDD3DD6DEE7213EEDC685F8FF23C6009DBAC882459F3684399B4269D4FD8", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-didalloc", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.free.slot-5.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "Free", + "slot": 5, + "parameter": null + }, + "sourceFingerprint": "0D9A3FDC75ED4D0CACDD6EB87FD4B37CDDC76AE3A7FE6A092684BCC423EC65E6", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-free", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.getsize.slot-6.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "GetSize", + "slot": 6, + "parameter": null + }, + "sourceFingerprint": "60D609C9AA79872157DA36E7E382AD705F616A2F8FA5F30703ED370BF225668C", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-getsize", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.heapminimize.slot-8.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "HeapMinimize", + "slot": 8, + "parameter": null + }, + "sourceFingerprint": "9E45919984C17476FC1E0B6203DAFC5CDE37B14901CFBBB7EC67B46DAEAFDBC0", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-heapminimize", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.realloc.slot-4.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IMalloc", + "iid": "00000002-0000-0000-c000-000000000046", + "method": "Realloc", + "slot": 4, + "parameter": null + }, + "sourceFingerprint": "5B38A32AADFCAE023617814069CB356DB3FD8FDA0397144711B3A3807A446016", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-imalloc-realloc", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.param-0-ppszfilename.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IPersistFile", + "iid": "0000010b-0000-0000-c000-000000000046", + "method": "GetCurFile", + "slot": 8, + "parameter": [ + 0, + "ppszFileName" + ] + }, + "sourceFingerprint": "20198BAFBA258AB18D7E6FBF41B54F6B94D7BF8DF29EF8D4215F2AFAE37E88D5", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ipersistfile-getcurfile", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-system-com.istream.0000000c00000000c000000000000046.stat.slot-12.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IStream", + "iid": "0000000c-0000-0000-c000-000000000046", + "method": "Stat", + "slot": 12, + "parameter": null + }, + "sourceFingerprint": "718E5AFEC6B381CDF9A3AEB64F7FE25127C2C71D12B3E006E9547E4073AC5F26", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istream-stat", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 5 + }, + "com.ownership.entry.windows-win32-system-mmc.iheaderctrl.43136eb3d36c11cfadbc00aa00a80033.getcolumntext.slot-6.param-1-ptext.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Mmc", + "interface": "IHeaderCtrl", + "iid": "43136eb3-d36c-11cf-adbc-00aa00a80033", + "method": "GetColumnText", + "slot": 6, + "parameter": [ + 1, + "pText" + ] + }, + "sourceFingerprint": "23F9DFF5D2F92231BEBBEBD86221AE25F88B7FD03EB7678706365532C2651378", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mmc/nf-mmc-iheaderctrl-getcolumntext", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-0-ppszkey.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "IMetaData", + "iid": "780102b0-c43b-4876-bc7b-5e9ba5c88794", + "method": "GetData", + "slot": 3, + "parameter": [ + 0, + "ppszKey" + ] + }, + "sourceFingerprint": "D5A48591E126973353D54FEF0D4CE08660AF6F200001D73C9598496FB0161529", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-imetadata-getdata", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-1-ppszvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "IMetaData", + "iid": "780102b0-c43b-4876-bc7b-5e9ba5c88794", + "method": "GetData", + "slot": 3, + "parameter": [ + 1, + "ppszValue" + ] + }, + "sourceFingerprint": "D5A48591E126973353D54FEF0D4CE08660AF6F200001D73C9598496FB0161529", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-imetadata-getdata", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.defaultphrase.slot-4.param-0-ppszphrase.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "INamedEntity", + "iid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd", + "method": "DefaultPhrase", + "slot": 4, + "parameter": [ + 0, + "ppszPhrase" + ] + }, + "sourceFingerprint": "FC1CD9E1AAFC98865D58A2BA7192A80BC2C5BF1CBE20C3875D1AC06E7A0CFF08", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-inamedentity-defaultphrase", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.getvalue.slot-3.param-0-ppszvalue.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "INamedEntity", + "iid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd", + "method": "GetValue", + "slot": 3, + "parameter": [ + 0, + "ppszValue" + ] + }, + "sourceFingerprint": "0552185E228DFD00F0FC34C1DBD0DD6D08883454AF6F52760EDB1A698B5015F3", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-inamedentity-getvalue", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-2-ppszpropertyname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestatePropertyValueToString", + "slot": 10, + "parameter": [ + 2, + "ppszPropertyName" + ] + }, + "sourceFingerprint": "357B0DECA1074305912A9BBCD831C74987654672B4740D0CCA6A469FFC0E912B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatepropertyvaluetostring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-3-ppszquerystring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestatePropertyValueToString", + "slot": 10, + "parameter": [ + 3, + "ppszQueryString" + ] + }, + "sourceFingerprint": "357B0DECA1074305912A9BBCD831C74987654672B4740D0CCA6A469FFC0E912B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatepropertyvaluetostring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatetostring.slot-8.param-2-ppszquerystring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestateToString", + "slot": 8, + "parameter": [ + 2, + "ppszQueryString" + ] + }, + "sourceFingerprint": "3C9E3692C69D85B126E82D3EA3025C807CC73643C221E750B6A6C1B95F731320", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatetostring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.ischemalocalizersupport.ca3fdca2bfbe4eed90d70caef0a1bda1.localize.slot-3.param-1-ppszlocalstring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "ISchemaLocalizerSupport", + "iid": "ca3fdca2-bfbe-4eed-90d7-0caef0a1bda1", + "method": "Localize", + "slot": 3, + "parameter": [ + 1, + "ppszLocalString" + ] + }, + "sourceFingerprint": "A2D6F60A0CFB5988A205044797A42CE32D2429A1C8A3806575559AF804600434", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-ischemalocalizersupport-localize", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-search.isearchroot.04c18ccf1f574cbd88cc3900f5195ce3.get-rooturl.slot-6.param-0-ppszurl.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.Search", + "interface": "ISearchRoot", + "iid": "04c18ccf-1f57-4cbd-88cc-3900f5195ce3", + "method": "get_RootURL", + "slot": 6, + "parameter": [ + 0, + "ppszURL" + ] + }, + "sourceFingerprint": "994D0F5742072981A0B3915E0EED56480EE6DC058194AAD3356AD008A6E78825", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-isearchroot-get_rooturl", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-settingsmanagementinfrastructure.isettingsitem.9f7d7bbb20b311da81a50030f1642e3c.getvalueraw.slot-8.param-0-data.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.SettingsManagementInfrastructure", + "interface": "ISettingsItem", + "iid": "9f7d7bbb-20b3-11da-81a5-0030f1642e3c", + "method": "GetValueRaw", + "slot": 8, + "parameter": [ + 0, + "Data" + ] + }, + "sourceFingerprint": "370F90B953CF916B7FE78896E2429C64E268112B832626E9014796E2F61DCB6A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wcmconfig/nf-wcmconfig-isettingsitem-getvalueraw", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getaccountinformation.slot-31.param-0-ppwszaccountname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetAccountInformation", + "slot": 31, + "parameter": [ + 0, + "ppwszAccountName" + ] + }, + "sourceFingerprint": "C30506742230C2FAA13DCA8A49B36EFFA634CDA8A0B27A32D0D2304C2049F923", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getaccountinformation", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getruntimes.slot-8.param-3-rgsttasktimes.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetRunTimes", + "slot": 8, + "parameter": [ + 3, + "rgstTaskTimes" + ] + }, + "sourceFingerprint": "B243B2CEE060B0E322C4DC5F3687300D32E9C563CDBCEAD4CA46015DB5951863", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getruntimes", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getworkitemdata.slot-23.param-1-prgbdata.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetWorkItemData", + "slot": 23, + "parameter": [ + 1, + "prgbData" + ] + }, + "sourceFingerprint": "B0A46009AED33DC2DCE9DA02C0CAAC4A7DBAF8C23EDB0FB8AB54EE45192A2819", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getworkitemdata", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.itask.148bd524a2ab11ceb11f00aa00530503.getparameters.slot-35.param-0-ppwszparameters.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "ITask", + "iid": "148bd524-a2ab-11ce-b11f-00aa00530503", + "method": "GetParameters", + "slot": 35, + "parameter": [ + 0, + "ppwszParameters" + ] + }, + "sourceFingerprint": "7E80CA19D66790A0BB8E99A4848EB858D553A7483924BA6CD1C0AD81085A86B3", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itask-getparameters", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.itask.148bd524a2ab11ceb11f00aa00530503.getworkingdirectory.slot-37.param-0-ppwszworkingdirectory.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "ITask", + "iid": "148bd524-a2ab-11ce-b11f-00aa00530503", + "method": "GetWorkingDirectory", + "slot": 37, + "parameter": [ + 0, + "ppwszWorkingDirectory" + ] + }, + "sourceFingerprint": "20B30FCD861CFD687903D89FC6E310FAA4C5EEE4EFEED102414F244546CF4DDD", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itask-getworkingdirectory", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-system-taskscheduler.itaskscheduler.148bd527a2ab11ceb11f00aa00530503.gettargetcomputer.slot-4.param-0-ppwszcomputer.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.TaskScheduler", + "interface": "ITaskScheduler", + "iid": "148bd527-a2ab-11ce-b11f-00aa00530503", + "method": "GetTargetComputer", + "slot": 4, + "parameter": [ + 0, + "ppwszComputer" + ] + }, + "sourceFingerprint": "654917415B5CB35948CB03A64F7DEC9475C63E01F74FB68392C63CB79F1A7E8A", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itaskscheduler-gettargetcomputer", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-system-winrt.iinspectable.af86e2e0b12d4c6a9c5ad7aa65101e90.getiids.slot-3.param-1-iids.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.System.WinRT", + "interface": "IInspectable", + "iid": "af86e2e0-b12d-4c6a-9c5a-d7aa65101e90", + "method": "GetIids", + "slot": 3, + "parameter": [ + 1, + "iids" + ] + }, + "sourceFingerprint": "730B73060EAFB9D8C2820E731637C45736FD41ADE0F1EA8911739AE78E7C9BB1", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/inspectable/nf-inspectable-iinspectable-getiids", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-accessibility.iaccidentity.7852b78d1cfd41c1a6159c0c85960b5f.getidentitystring.slot-3.param-1-ppidstring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Accessibility", + "interface": "IAccIdentity", + "iid": "7852b78d-1cfd-41c1-a615-9c0c85960b5f", + "method": "GetIdentityString", + "slot": 3, + "parameter": [ + 1, + "ppIDString" + ] + }, + "sourceFingerprint": "B6E469CD9FFEFB9296F1ED7DB04B9A45ADDB53BE4FA3991E8DF95D8538D5D7D7", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/oleacc/nf-oleacc-iaccidentity-getidentitystring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell-propertiessystem.ipersistserializedpropstorage.e318ad570aa0450faca56fab7103d917.getpropertystorage.slot-5.param-0-ppsps.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell.PropertiesSystem", + "interface": "IPersistSerializedPropStorage", + "iid": "e318ad57-0aa0-450f-aca5-6fab7103d917", + "method": "GetPropertyStorage", + "slot": 5, + "parameter": [ + 0, + "ppsps" + ] + }, + "sourceFingerprint": "CEE22F76E4AC924E45FCFE2BA11B90B557B9C080D4659F895150C2DC227088E9", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/propsys/nf-propsys-ipersistserializedpropstorage-getpropertystorage", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.ownership.entry.windows-win32-ui-shell.iautocompletedropdown.3cd141f43c6a11d2bcaa00c04fd929db.getdropdownstatus.slot-3.param-1-ppwszstring.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IAutoCompleteDropDown", + "iid": "3cd141f4-3c6a-11d2-bcaa-00c04fd929db", + "method": "GetDropDownStatus", + "slot": 3, + "parameter": [ + 1, + "ppwszString" + ] + }, + "sourceFingerprint": "94734C62462169CF79C86237C799A5EA05DE617ACEA6C4E8B5619ABAF6E9A8D7", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/shobjidl/nf-shobjidl-iautocompletedropdown-getdropdownstatus", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.icredentialprovideruser.137932853ea640fdb42015f47da41fbb.getsid.slot-3.param-0-sid.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "ICredentialProviderUser", + "iid": "13793285-3ea6-40fd-b420-15f47da41fbb", + "method": "GetSid", + "slot": 3, + "parameter": [ + 0, + "sid" + ] + }, + "sourceFingerprint": "9C0E84CB8E372C7FF37262FB3908746E44A174B07F2930DC0CA090EFA3F5894B", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/credentialprovider/nf-credentialprovider-icredentialprovideruser-getsid", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-ui-shell.ifiledialog.42f85136db7e439c85f1e4075d135fc8.getfilename.slot-16.param-0-pszname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IFileDialog", + "iid": "42f85136-db7e-439c-85f1-e4075d135fc8", + "method": "GetFileName", + "slot": 16, + "parameter": [ + 0, + "pszName" + ] + }, + "sourceFingerprint": "FB451BA0AE72F6DD6D59235CCD55BFE0F530A0A4160B201192FC2AC8C3A01906", + "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-getfilename", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 4 + }, + "com.ownership.entry.windows-win32-ui-shell.ifiledialogcustomize.e6fdd21a163f49759c8ca69f1ba37034.geteditboxtext.slot-15.param-1-ppsztext.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IFileDialogCustomize", + "iid": "e6fdd21a-163f-4975-9c8c-a69f1ba37034", + "method": "GetEditBoxText", + "slot": 15, + "parameter": [ + 1, + "ppszText" + ] + }, + "sourceFingerprint": "AA8DF212F0B3CBF69B03F1990976F408A85721C7ACDC5236E4CC58D45A6385F4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialogcustomize-geteditboxtext", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.iqueryinfo.0002150000000000c000000000000046.getinfotip.slot-3.param-1-ppwsztip.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IQueryInfo", + "iid": "00021500-0000-0000-c000-000000000046", + "method": "GetInfoTip", + "slot": 3, + "parameter": [ + 1, + "ppwszTip" + ] + }, + "sourceFingerprint": "464992DE7473599076443BE14AAEFAAA67E0623058696DA38B74BC83D6B64FFA", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/shlobj_core/nf-shlobj_core-iqueryinfo-getinfotip", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.ishellitem.43826d1ee71842eebc55a1e261c37bfe.getdisplayname.slot-5.param-1-ppszname.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IShellItem", + "iid": "43826d1e-e718-42ee-bc55-a1e261c37bfe", + "method": "GetDisplayName", + "slot": 5, + "parameter": [ + 1, + "ppszName" + ] + }, + "sourceFingerprint": "D74432747AB36163EDF85FEFE3345AA9E95405818F82CDC0C3B67EA2DE94D00D", + "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishellitem-getdisplayname", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.ishelllinka.000214ee00000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IShellLinkA", + "iid": "000214ee-0000-0000-c000-000000000046", + "method": "GetIDList", + "slot": 4, + "parameter": [ + 0, + "ppidl" + ] + }, + "sourceFingerprint": "51915203F336F5D7EE305A193B43F2D4D167C9C24FDF7A5C04F963ED8220CFA1", + "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getidlist", + "registered": true, + "metadataMatched": true, + "safeConsumed": false, + "interfaceDependencies": 0 + }, + "com.ownership.entry.windows-win32-ui-shell.ishelllinkw.000214f900000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IShellLinkW", + "iid": "000214f9-0000-0000-c000-000000000046", + "method": "GetIDList", + "slot": 4, + "parameter": [ + 0, + "ppidl" + ] + }, + "sourceFingerprint": "05D862A1F5FEF164292D1784F62E5F0AD93600BDF52EBD59194B9DFC4CF7E9BE", + "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getidlist", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.getcomment.slot-5.param-0-ppszcomment.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "ISyncMgrHandlerInfo", + "iid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a", + "method": "GetComment", + "slot": 5, + "parameter": [ + 0, + "ppszComment" + ] + }, + "sourceFingerprint": "89128C082B63F4DB008431CA9991A79009DFDBDC6F48A4281565B4300F2FDEC5", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrhandlerinfo-getcomment", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.gettypelabel.slot-4.param-0-ppsztypelabel.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "ISyncMgrHandlerInfo", + "iid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a", + "method": "GetTypeLabel", + "slot": 4, + "parameter": [ + 0, + "ppszTypeLabel" + ] + }, + "sourceFingerprint": "D4E48194227A21AA4FCD060F30FED6C7A8F8F21DB56DC4D29855FCD039B0F7B9", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrhandlerinfo-gettypelabel", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.getcomment.slot-4.param-0-ppszcomment.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "ISyncMgrSyncItemInfo", + "iid": "e7fd9502-be0c-4464-90a1-2b5277031232", + "method": "GetComment", + "slot": 4, + "parameter": [ + 0, + "ppszComment" + ] + }, + "sourceFingerprint": "5C0FB4F7A662845AE0BD415E989CE6E3E58706E8847679C86B780EC2CA3E1D99", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrsynciteminfo-getcomment", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.gettypelabel.slot-3.param-0-ppsztypelabel.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "ISyncMgrSyncItemInfo", + "iid": "e7fd9502-be0c-4464-90a1-2b5277031232", + "method": "GetTypeLabel", + "slot": 3, + "parameter": [ + 0, + "ppszTypeLabel" + ] + }, + "sourceFingerprint": "ED535CA19780625C68673C2ACEB8EB4A4B3C14D9C7FBD985411A7B5932BCB85C", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrsynciteminfo-gettypelabel", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.ownership.entry.windows-win32-ui-shell.ithumbnailprovider.e357fccda9954576b01f234630154e96.getthumbnail.slot-3.param-1-phbmp.v1": { + "familyId": "com.ownership.v1", + "contractKind": "ownership", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IThumbnailProvider", + "iid": "e357fccd-a995-4576-b01f-234630154e96", + "method": "GetThumbnail", + "slot": 3, + "parameter": [ + 1, + "phbmp" + ] + }, + "sourceFingerprint": "C5CA943218AF7848E28EFAC1E3B050ED1561C651565B7D84642F91F806F80DA0", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/thumbcache/nf-thumbcache-ithumbnailprovider-getthumbnail", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitem.slot-3.param-1-pvalue.v1": { + "familyId": "com.parameter-direction.v1", + "contractKind": "parameter-direction", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetItem", + "slot": 3, + "parameter": [ + 1, + "pValue" + ] + }, + "sourceFingerprint": "0D8781FF90DF92EA09042A8386C01B7E8DEE1B2E546B3E616D2498896330BDF0", + "citation": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitem", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 15 + }, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitembyindex.slot-31.param-2-pvalue.v1": { + "familyId": "com.parameter-direction.v1", + "contractKind": "parameter-direction", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetItemByIndex", + "slot": 31, + "parameter": [ + 2, + "pValue" + ] + }, + "sourceFingerprint": "1D349D3E79CC839831A7F6E87CC2656C2D153A136CB397815850D2417B880DAE", + "citation": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitembyindex", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 15 + }, + "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getstring.slot-12.param-3-pcchlength.v1": { + "familyId": "com.parameter-direction.v1", + "contractKind": "parameter-direction", + "selector": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "interface": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetString", + "slot": 12, + "parameter": [ + 3, + "pcchLength" + ] + }, + "sourceFingerprint": "CF4D9EAF95123257840355F21F0623E137623EF95D205B63D5B1BB8758328DB0", + "citation": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getstring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 15 + }, + "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.enumelements.slot-11.param-1-reserved2.v1": { + "familyId": "com.reserved-null-input.v1", + "contractKind": "null-input", + "selector": { + "namespace": "Windows.Win32.System.Com.StructuredStorage", + "interface": "IStorage", + "iid": "0000000b-0000-0000-c000-000000000046", + "method": "EnumElements", + "slot": 11, + "parameter": [ + 1, + "reserved2" + ] + }, + "sourceFingerprint": "77D49C81B42D6B6961239D06E42A8728EC4CDDDFFF0A0174DD3FC248D17071C6", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-enumelements", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.openstream.slot-4.param-1-reserved1.v1": { + "familyId": "com.reserved-null-input.v1", + "contractKind": "null-input", + "selector": { + "namespace": "Windows.Win32.System.Com.StructuredStorage", + "interface": "IStorage", + "iid": "0000000b-0000-0000-c000-000000000046", + "method": "OpenStream", + "slot": 4, + "parameter": [ + 1, + "reserved1" + ] + }, + "sourceFingerprint": "A72D743B32CCE55D17F522F6695095CF08BBCDCF4FA54E29E3275B24B30716F0", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-openstream", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "com.semantic-hresult.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.v1": { + "familyId": "com.semantic-hresult.v1", + "contractKind": "semantic-hresult", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "IPersistFile", + "iid": "0000010b-0000-0000-c000-000000000046", + "method": "GetCurFile", + "slot": 8, + "parameter": null + }, + "sourceFingerprint": "20198BAFBA258AB18D7E6FBF41B54F6B94D7BF8DF29EF8D4215F2AFAE37E88D5", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ipersistfile-getcurfile", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 2 + }, + "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.read.slot-3.param-0-pv.v1": { + "familyId": "com.sequential-stream-buffer.v1", + "contractKind": "counted-buffer", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "ISequentialStream", + "iid": "0c733a30-2a1c-11ce-ade5-00aa0044773d", + "method": "Read", + "slot": 3, + "parameter": [ + 0, + "pv" + ] + }, + "sourceFingerprint": "E062597C3146D06AEAC5C053E9AC8D617647E97985B3936292EC36E570C2286D", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-isequentialstream-read", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 7 + }, + "com.sequential-stream-buffer.entry.windows-win32-system-com.isequentialstream.0c733a302a1c11ceade500aa0044773d.write.slot-4.param-0-pv.v1": { + "familyId": "com.sequential-stream-buffer.v1", + "contractKind": "counted-buffer", + "selector": { + "namespace": "Windows.Win32.System.Com", + "interface": "ISequentialStream", + "iid": "0c733a30-2a1c-11ce-ade5-00aa0044773d", + "method": "Write", + "slot": 4, + "parameter": [ + 0, + "pv" + ] + }, + "sourceFingerprint": "36E5EE287F47745CE5DEA3608BAB60E42E1C4464BF2DC352C7B7AAF128251A95", + "citation": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-isequentialstream-write", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 7 + }, + "graphics.private-data-hazard.entry.windows-win32-ai-machinelearning-directml.idmlobject.c8263aac9e0c4a2d9b8e007521a3317c.getprivatedata.slot-3.v1": { + "familyId": "graphics.private-data-hazard.v1", + "contractKind": "hazard", + "selector": { + "namespace": "Windows.Win32.AI.MachineLearning.DirectML", + "interface": "IDMLObject", + "iid": "c8263aac-9e0c-4a2d-9b8e-007521a3317c", + "method": "GetPrivateData", + "slot": 3, + "parameter": null + }, + "sourceFingerprint": "AC437FAE3FE761589AEB3C27EDDBC3F5ECBAC3D34464872BA0064D5E668C17AA", + "citation": "https://learn.microsoft.com/windows/win32/api/directml/nf-directml-idmlobject-getprivatedata", + "registered": true, "metadataMatched": true, "safeConsumed": false, "interfaceDependencies": 0 @@ -6591,7 +9943,7 @@ "slot": 66, "parameter": null }, - "sourceFingerprint": "4EA13A483B12DCF7F41F97D8FDF5A171CA465314DB75779E21FFDB5CA1A84D75", + "sourceFingerprint": "DA0CC272AF987868D2497EFFE79A96349D84D51D7E4C11E8567974815A6F0A28", "citation": "https://learn.microsoft.com/windows/win32/api/d3d10/nf-d3d10-id3d10device-getprivatedata", "registered": true, "metadataMatched": true, @@ -6609,7 +9961,7 @@ "slot": 4, "parameter": null }, - "sourceFingerprint": "0C52635ACBAD10A06DB6F22650D4601134A1A4C88FA300BC55602D96D6A3A08A", + "sourceFingerprint": "2E96AE1D44B409A41A9509E45B1DB3C6AA3A59E2AAA66ABE544021DFC363F8E0", "citation": "https://learn.microsoft.com/windows/win32/api/d3d10/nf-d3d10-id3d10devicechild-getprivatedata", "registered": true, "metadataMatched": true, @@ -6627,7 +9979,7 @@ "slot": 34, "parameter": null }, - "sourceFingerprint": "3E92642139AF02B3F1309226022D8D38501733831D101C7CAE01A523B11EE12B", + "sourceFingerprint": "8DA4BA24A6A660589252D8690C3D1C30B53A5070A6D987D917097BF4558EC213", "citation": "https://learn.microsoft.com/windows/win32/api/d3d11/nf-d3d11-id3d11device-getprivatedata", "registered": true, "metadataMatched": true, @@ -6645,7 +9997,7 @@ "slot": 4, "parameter": null }, - "sourceFingerprint": "23526CC7F603040B1887D868398E5FF8D77653ADBA366C2267E6431EC507B314", + "sourceFingerprint": "6FFBA22644296AB929DD001ECCC7AAD2B1EB1949BB0878BF0C2CDF7F063EAF53", "citation": "https://learn.microsoft.com/windows/win32/api/d3d11/nf-d3d11-id3d11devicechild-getprivatedata", "registered": true, "metadataMatched": true, @@ -6663,7 +10015,7 @@ "slot": 3, "parameter": null }, - "sourceFingerprint": "769A2A57DB78E7DAF9CBBD2EE2CD49096CD96BA5DAFE04F63A0F8E61F4F57B09", + "sourceFingerprint": "D1901D622093A53FE505636B00289593DC41B95D73811CEFF4BB33E669501731", "citation": "https://learn.microsoft.com/windows/win32/api/d3d12/nf-d3d12-id3d12object-getprivatedata", "registered": true, "metadataMatched": true, @@ -6681,13 +10033,31 @@ "slot": 5, "parameter": null }, - "sourceFingerprint": "DF029EEDA1CF44CC7ADBDFF3EC6F0F9C3D07F0600849CDCBA9CD64D628DC5C41", + "sourceFingerprint": "822F781335150C935D2F6B91F34727F8B9923E0EFCCE751563E0ECFDD49FD5A0", "citation": "https://learn.microsoft.com/windows/win32/api/dxgi/nf-dxgi-idxgiobject-getprivatedata", "registered": true, "metadataMatched": true, "safeConsumed": false, "interfaceDependencies": 0 }, + "shell.flag-selected-string.entry.windows-win32-ui-shell.icontextmenu.000214e400000000c000000000000046.getcommandstring.slot-5.v1": { + "familyId": "shell.flag-selected-string.v1", + "contractKind": "flag-selected-buffer", + "selector": { + "namespace": "Windows.Win32.UI.Shell", + "interface": "IContextMenu", + "iid": "000214e4-0000-0000-c000-000000000046", + "method": "GetCommandString", + "slot": 5, + "parameter": null + }, + "sourceFingerprint": "94F522A39E514578ED19BD294398A38591677F63BB11A3047C5545D3DE77AD1A", + "citation": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-icontextmenu-getcommandstring", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 3 + }, "windows.borrowed-hwnd-output.entry.windows-win32-devices-imageacquisition.iwiaapperrorhandler.6c16186cd0a6400c80f4d26986a0e734.getwindow.slot-3.param-0-phwnd.v1": { "familyId": "windows.borrowed-hwnd-output.v1", "contractKind": "borrowed-handle", @@ -7150,6 +10520,78 @@ "safeConsumed": true, "interfaceDependencies": 1 }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteclass.slot-10.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "DeleteClass", + "slot": 10, + "parameter": null + }, + "sourceFingerprint": "0315584C0B90F153FEAFDF3DC99CFEDACD0E473FBBBE4C06E40961167FDE2AD6", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-deleteclass; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteinstance.slot-16.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "DeleteInstance", + "slot": 16, + "parameter": null + }, + "sourceFingerprint": "10B5A66DD158D91DC7A51570BE933EF616E304EFCE5E82EFDF58AA0832FBC4BA", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-deleteinstance; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.execmethod.slot-24.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "ExecMethod", + "slot": 24, + "parameter": null + }, + "sourceFingerprint": "3F7B10674AB434C0E363951EFD437F6B0C078E2D8E82550CADF184F886D6B201", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-execmethod; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.getobject.slot-6.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "GetObject", + "slot": 6, + "parameter": null + }, + "sourceFingerprint": "2BEDF71C77747D732A0672CBC3E36117D84276622B672521B802BA01851563A4", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-getobject; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1": { "familyId": "wmi.conditional-output.v1", "contractKind": "conditional-output", @@ -7165,35 +10607,71 @@ "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-opennamespace; sdk-header:WbemCli.h/WbemIdl.idl", "registered": true, "metadataMatched": true, - "safeConsumed": false, - "interfaceDependencies": 0 + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putclass.slot-8.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "PutClass", + "slot": 8, + "parameter": null + }, + "sourceFingerprint": "328A97A723ABF04163C2B5BCDD1585F5C4553783BF788C1B3BDF4372C5375083", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-putclass; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 + }, + "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putinstance.slot-14.v1": { + "familyId": "wmi.conditional-output.v1", + "contractKind": "conditional-output", + "selector": { + "namespace": "Windows.Win32.System.Wmi", + "interface": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "PutInstance", + "slot": 14, + "parameter": null + }, + "sourceFingerprint": "B2F893185D67E641DB62BC0AB2F991540EDC4C157BC9F4A88987C03944D005F9", + "citation": "microsoft-learn:https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-putinstance; sdk-header:WbemCli.h/WbemIdl.idl", + "registered": true, + "metadataMatched": true, + "safeConsumed": true, + "interfaceDependencies": 1 } }, "countSemantics": "registeredExactEntries counts declared selector-specific entries; metadataMatchedExactEntries counts entries matched against pinned metadata; safeConsumedExactEntries counts distinct entries used by safe plans; exactEntryInterfaceDependencies counts every safe entry/interface pair; exactFamilyInterfaceDependencies counts each family once per safe interface. None is a net-contribution or ablation count." }, "targets": { "arm64": { - "raw_metadata_complete": 5985, - "raw_manual_contract": 1554, + "raw_metadata_complete": 6093, + "raw_manual_contract": 1446, "raw_runtime_blocked": 390, - "safe_incomplete_raw_metadata_complete": 418, - "safe_incomplete_raw_manual_contract": 1554, + "safe_incomplete_raw_metadata_complete": 412, + "safe_incomplete_raw_manual_contract": 1446, "safe_incomplete_raw_runtime_blocked": 390 }, "i686": { - "raw_metadata_complete": 5984, - "raw_manual_contract": 1531, + "raw_metadata_complete": 6092, + "raw_manual_contract": 1423, "raw_runtime_blocked": 414, - "safe_incomplete_raw_metadata_complete": 417, - "safe_incomplete_raw_manual_contract": 1531, + "safe_incomplete_raw_metadata_complete": 411, + "safe_incomplete_raw_manual_contract": 1423, "safe_incomplete_raw_runtime_blocked": 414 }, "x64": { - "raw_metadata_complete": 5985, - "raw_manual_contract": 1554, + "raw_metadata_complete": 6093, + "raw_manual_contract": 1446, "raw_runtime_blocked": 390, - "safe_incomplete_raw_metadata_complete": 418, - "safe_incomplete_raw_manual_contract": 1554, + "safe_incomplete_raw_metadata_complete": 412, + "safe_incomplete_raw_manual_contract": 1446, "safe_incomplete_raw_runtime_blocked": 390 } }, @@ -7240,13 +10718,13 @@ }, "manual_reason_counts": { "arm64": { - "external_pointee_storage": 987, - "missing_allocator": 1150, + "external_pointee_storage": 986, + "missing_allocator": 1044, "missing_count_relation": 83, - "missing_handle_ownership": 212, - "missing_interface_replacement_contract": 43, - "missing_output_ownership": 1150, - "nested_pointer_lifetime": 571, + "missing_handle_ownership": 211, + "missing_interface_replacement_contract": 42, + "missing_output_ownership": 1044, + "nested_pointer_lifetime": 570, "opaque_pointee_contract": 289, "pointee_missing_layout": 412, "pointee_recursive_layout": 25, @@ -7257,13 +10735,13 @@ "variant_safearray_element_contract": 2 }, "i686": { - "external_pointee_storage": 988, - "missing_allocator": 1150, + "external_pointee_storage": 987, + "missing_allocator": 1044, "missing_count_relation": 83, - "missing_handle_ownership": 212, - "missing_interface_replacement_contract": 43, - "missing_output_ownership": 1150, - "nested_pointer_lifetime": 545, + "missing_handle_ownership": 211, + "missing_interface_replacement_contract": 42, + "missing_output_ownership": 1044, + "nested_pointer_lifetime": 544, "opaque_pointee_contract": 289, "pointee_missing_layout": 399, "pointee_recursive_layout": 25, @@ -7274,13 +10752,13 @@ "variant_safearray_element_contract": 2 }, "x64": { - "external_pointee_storage": 987, - "missing_allocator": 1150, + "external_pointee_storage": 986, + "missing_allocator": 1044, "missing_count_relation": 83, - "missing_handle_ownership": 212, - "missing_interface_replacement_contract": 43, - "missing_output_ownership": 1150, - "nested_pointer_lifetime": 571, + "missing_handle_ownership": 211, + "missing_interface_replacement_contract": 42, + "missing_output_ownership": 1044, + "nested_pointer_lifetime": 570, "opaque_pointee_contract": 289, "pointee_missing_layout": 412, "pointee_recursive_layout": 25, @@ -7294,27 +10772,27 @@ "lifecycle_flag_counts": { "arm64": { "cleanup_known_external": 0, - "cleanup_none_required": 2236, - "cleanup_standard_supported": 4424, - "cleanup_unknown": 1269, + "cleanup_none_required": 2237, + "cleanup_standard_supported": 4530, + "cleanup_unknown": 1162, "requires_current_apartment": 7929, "requires_external_acquisition": 6804, "requires_external_pointer_or_callback": 1089 }, "i686": { "cleanup_known_external": 0, - "cleanup_none_required": 2236, - "cleanup_standard_supported": 4424, - "cleanup_unknown": 1269, + "cleanup_none_required": 2237, + "cleanup_standard_supported": 4530, + "cleanup_unknown": 1162, "requires_current_apartment": 7929, "requires_external_acquisition": 6804, "requires_external_pointer_or_callback": 1090 }, "x64": { "cleanup_known_external": 0, - "cleanup_none_required": 2236, - "cleanup_standard_supported": 4424, - "cleanup_unknown": 1269, + "cleanup_none_required": 2237, + "cleanup_standard_supported": 4530, + "cleanup_unknown": 1162, "requires_current_apartment": 7929, "requires_external_acquisition": 6804, "requires_external_pointer_or_callback": 1089 @@ -7371,8 +10849,8 @@ }, { "category": "StringPointer", - "direct_occurrences": 6320, - "expanded_occurrences": 10577, + "direct_occurrences": 6317, + "expanded_occurrences": 10574, "named_types": 2 }, { @@ -7395,8 +10873,8 @@ }, { "category": "CountedBuffer", - "direct_occurrences": 10492, - "expanded_occurrences": 10492, + "direct_occurrences": 10495, + "expanded_occurrences": 10495, "named_types": 459 }, { diff --git a/docs/status/generated/classic-com-interface-support.csv b/docs/status/generated/classic-com-interface-support.csv index 81397b2c..300118bd 100644 --- a/docs/status/generated/classic-com-interface-support.csv +++ b/docs/status/generated/classic-com-interface-support.csv @@ -388,8 +388,8 @@ Windows.Win32.Devices.Tapi,ITBasicCallControl,b1efc389-9355-11d0-835c-00aa003cca Windows.Win32.Devices.Tapi,ITBasicCallControl2,161a4a56-1e99-4b3f-a46a-168f38a5ee4c,true,standard_derived, Windows.Win32.Devices.Tapi,ITCallHub,a3c1544e-5b92-11d1-8f4e-00c04fb6809f,true,standard_derived, Windows.Win32.Devices.Tapi,ITCallHubEvent,a3c15451-5b92-11d1-8f4e-00c04fb6809f,true,standard_derived, -Windows.Win32.Devices.Tapi,ITCallInfo,350f85d1-1227-11d3-83d4-00c04fb6809f,false,,missing_allocator -Windows.Win32.Devices.Tapi,ITCallInfo2,94d70ca6-7ab0-4daa-81ca-b8f8643faec1,false,,missing_allocator +Windows.Win32.Devices.Tapi,ITCallInfo,350f85d1-1227-11d3-83d4-00c04fb6809f,true,exact_registry_dependent, +Windows.Win32.Devices.Tapi,ITCallInfo2,94d70ca6-7ab0-4daa-81ca-b8f8643faec1,true,exact_registry_dependent, Windows.Win32.Devices.Tapi,ITCallInfoChangeEvent,5d4b65f9-e51c-11d1-a02f-00c04fb6809f,true,standard_derived, Windows.Win32.Devices.Tapi,ITCallMediaEvent,ff36b87f-ec3a-11d0-8ee4-00c04fb6809f,true,standard_derived, Windows.Win32.Devices.Tapi,ITCallNotificationEvent,895801df-3dd6-11d1-8f30-00c04fb6809f,true,standard_derived, @@ -414,8 +414,8 @@ Windows.Win32.Devices.Tapi,ITForwardInformation2,5229b4ed-b260-4382-8e1a-5df3a8a Windows.Win32.Devices.Tapi,ITILSConfig,34621d72-6cff-11d1-aff7-00c04fc31fee,true,standard_derived, Windows.Win32.Devices.Tapi,ITLegacyAddressMediaControl,ab493640-4c0b-11d2-a046-00c04fb6809f,false,,missing_allocator Windows.Win32.Devices.Tapi,ITLegacyAddressMediaControl2,b0ee512b-a531-409e-9dd9-4099fe86c738,false,,missing_allocator -Windows.Win32.Devices.Tapi,ITLegacyCallMediaControl,d624582f-cc23-4436-b8a5-47c625c8045d,false,,missing_allocator -Windows.Win32.Devices.Tapi,ITLegacyCallMediaControl2,57ca332d-7bc2-44f1-a60c-936fe8d7ce73,false,,missing_allocator +Windows.Win32.Devices.Tapi,ITLegacyCallMediaControl,d624582f-cc23-4436-b8a5-47c625c8045d,true,exact_registry_dependent, +Windows.Win32.Devices.Tapi,ITLegacyCallMediaControl2,57ca332d-7bc2-44f1-a60c-936fe8d7ce73,true,exact_registry_dependent, Windows.Win32.Devices.Tapi,ITLegacyWaveSupport,207823ea-e252-11d2-b77e-0080c7135381,true,standard_derived, Windows.Win32.Devices.Tapi,ITLocationInfo,0c4d8eff-8ddb-11d1-a09e-00805fc147d3,true,standard_derived, Windows.Win32.Devices.Tapi,ITMSPAddress,ee3bd600-3868-11d2-a045-00c04fb6809f,false,,safe_projection_incomplete @@ -633,7 +633,7 @@ Windows.Win32.Graphics.Direct2D,ID2D1RectangleGeometry,2cd906a2-12e2-11dc-9fed-0 Windows.Win32.Graphics.Direct2D,ID2D1RenderInfo,519ae1bd-d19a-420d-b849-364f594776b7,true,standard_derived, Windows.Win32.Graphics.Direct2D,ID2D1RenderTarget,2cd90694-12e2-11dc-9fed-001143a055f9,false,,incomplete_pointee_layout_for_storage Windows.Win32.Graphics.Direct2D,ID2D1Resource,2cd90691-12e2-11dc-9fed-001143a055f9,true,standard_derived, -Windows.Win32.Graphics.Direct2D,ID2D1ResourceTexture,688d15c3-02b0-438d-b13a-d1b44c32c39a,false,,safe_projection_incomplete +Windows.Win32.Graphics.Direct2D,ID2D1ResourceTexture,688d15c3-02b0-438d-b13a-d1b44c32c39a,true,standard_derived, Windows.Win32.Graphics.Direct2D,ID2D1RoundedRectangleGeometry,2cd906a3-12e2-11dc-9fed-001143a055f9,false,,external_pointee_storage Windows.Win32.Graphics.Direct2D,ID2D1SolidColorBrush,2cd906a9-12e2-11dc-9fed-001143a055f9,false,,incomplete_pointee_layout_for_storage Windows.Win32.Graphics.Direct2D,ID2D1SourceTransform,db1800dd-0c34-4cf9-be90-31cc0a5653e1,false,,safe_projection_incomplete @@ -660,7 +660,7 @@ Windows.Win32.Graphics.Direct3D.Dxc,IDxcBlob,8ba5fb08-5195-40e2-ac58-0d989c3a010 Windows.Win32.Graphics.Direct3D.Dxc,IDxcBlobEncoding,7241d424-2646-4191-97c0-98e96e42fc68,false,,missing_allocator Windows.Win32.Graphics.Direct3D.Dxc,IDxcBlobUtf16,a3f84eab-0faa-497e-a39c-ee6ed60b2d84,false,,missing_allocator Windows.Win32.Graphics.Direct3D.Dxc,IDxcBlobUtf8,3da636c9-ba71-4024-a301-30cbf125305b,false,,missing_allocator -Windows.Win32.Graphics.Direct3D.Dxc,IDxcCompiler,8c210bf3-011f-4422-8d70-6f9acb8db617,false,,safe_projection_incomplete +Windows.Win32.Graphics.Direct3D.Dxc,IDxcCompiler,8c210bf3-011f-4422-8d70-6f9acb8db617,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcCompiler2,a005a9d9-b8bb-4594-b5c9-0e633bec4d37,false,,missing_allocator Windows.Win32.Graphics.Direct3D.Dxc,IDxcCompiler3,228b4687-5a6a-4730-900c-9702b2203f54,false,,missing_allocator Windows.Win32.Graphics.Direct3D.Dxc,IDxcCompilerArgs,73effe2a-70dc-45f8-9690-eff64c02429d,false,,safe_projection_incomplete @@ -669,7 +669,7 @@ Windows.Win32.Graphics.Direct3D.Dxc,IDxcContainerReflection,d2c21b26-8350-4bdc-9 Windows.Win32.Graphics.Direct3D.Dxc,IDxcExtraOutputs,319b37a2-a5c2-494a-a5de-4801b2faf989,false,,missing_allocator Windows.Win32.Graphics.Direct3D.Dxc,IDxcIncludeHandler,7f61fc7d-950d-467f-b3e3-3c02fb49187c,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcLibrary,e5204dc7-d18c-4c3c-bdfb-851673980fe7,true,standard_derived, -Windows.Win32.Graphics.Direct3D.Dxc,IDxcLinker,f1b5be2a-62dd-4327-a1c2-42ac1e1e78e6,false,,safe_projection_incomplete +Windows.Win32.Graphics.Direct3D.Dxc,IDxcLinker,f1b5be2a-62dd-4327-a1c2-42ac1e1e78e6,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcOperationResult,cedb484a-d4e9-445a-b991-ca21ca157dc2,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcOptimizer,25740e2e-9cba-401b-9119-4fb42f39f270,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcOptimizerPass,ae2cd79f-cc22-453f-9b6b-b124e7a5204c,false,,missing_allocator @@ -680,8 +680,8 @@ Windows.Win32.Graphics.Direct3D.Dxc,IDxcUtils,4605c4cb-2019-492a-ada4-65f20bb7d6 Windows.Win32.Graphics.Direct3D.Dxc,IDxcValidator,a6e82bd2-1fd7-4826-9811-2857e797f49a,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcValidator2,458e1fd1-b1b2-4750-a6e1-9c10f03bed92,true,standard_derived, Windows.Win32.Graphics.Direct3D.Dxc,IDxcVersionInfo,b04f5b50-2059-4f12-a8ff-a1e0cde1cc7e,true,standard_derived, -Windows.Win32.Graphics.Direct3D.Dxc,IDxcVersionInfo2,fb6904c4-42f0-4b62-9c46-983af7da7c83,false,,missing_allocator -Windows.Win32.Graphics.Direct3D.Dxc,IDxcVersionInfo3,5e13e843-9d25-473c-9ad2-03b2d0b44b1e,false,,missing_allocator +Windows.Win32.Graphics.Direct3D.Dxc,IDxcVersionInfo2,fb6904c4-42f0-4b62-9c46-983af7da7c83,true,exact_registry_dependent, +Windows.Win32.Graphics.Direct3D.Dxc,IDxcVersionInfo3,5e13e843-9d25-473c-9ad2-03b2d0b44b1e,true,exact_registry_dependent, Windows.Win32.Graphics.Direct3D,ID3DBlob,8ba5fb08-5195-40e2-ac58-0d989c3a0102,false,,missing_allocator Windows.Win32.Graphics.Direct3D,ID3DDestructionNotifier,a06eb39a-50da-425b-8c31-4eecd6c270f3,false,,external_pointee_storage Windows.Win32.Graphics.Direct3D,ID3DShaderCacheApplication,fc688ee2-1b35-4913-93be-1ca3fa7df39e,false,,incomplete_pointee_layout_for_storage @@ -996,7 +996,7 @@ Windows.Win32.Graphics.DirectComposition,IDCompositionTransform3D,71185722-246b- Windows.Win32.Graphics.DirectComposition,IDCompositionTranslateTransform,06791122-c6f0-417d-8323-269e987f5954,true,standard_derived, Windows.Win32.Graphics.DirectComposition,IDCompositionTranslateTransform3D,91636d4b-9ba1-4532-aaf7-e3344994d788,true,standard_derived, Windows.Win32.Graphics.DirectComposition,IDCompositionTurbulenceEffect,a6a55bda-c09c-49f3-9193-a41922c89715,true,standard_derived, -Windows.Win32.Graphics.DirectComposition,IDCompositionVirtualSurface,ae471c51-5f53-4a24-8d3e-d0c39c30b3f0,false,,missing_allocator +Windows.Win32.Graphics.DirectComposition,IDCompositionVirtualSurface,ae471c51-5f53-4a24-8d3e-d0c39c30b3f0,true,standard_derived, Windows.Win32.Graphics.DirectComposition,IDCompositionVisual,4d93059d-097b-4651-9a60-f0f25116e2f3,false,,external_pointee_storage Windows.Win32.Graphics.DirectComposition,IDCompositionVisual2,e8de1639-4331-4b26-bc5f-6a321d347a85,false,,external_pointee_storage Windows.Win32.Graphics.DirectComposition,IDCompositionVisual3,2775f462-b6c1-4015-b0be-b3e7d6a4976d,false,,external_pointee_storage @@ -1031,7 +1031,7 @@ Windows.Win32.Graphics.DirectManipulation,IDirectManipulationInteractionEventHan Windows.Win32.Graphics.DirectManipulation,IDirectManipulationManager,fbf5d3b4-70c7-4163-9322-5a6f660d6fbc,true,standard_derived, Windows.Win32.Graphics.DirectManipulation,IDirectManipulationManager2,fa1005e9-3d16-484c-bfc9-62b61e56ec4e,true,standard_derived, Windows.Win32.Graphics.DirectManipulation,IDirectManipulationManager3,2cb6b33d-ffe8-488c-b750-fbdfe88dca8c,true,standard_derived, -Windows.Win32.Graphics.DirectManipulation,IDirectManipulationPrimaryContent,c12851e4-1698-4625-b9b1-7ca3ec18630b,false,,safe_projection_incomplete +Windows.Win32.Graphics.DirectManipulation,IDirectManipulationPrimaryContent,c12851e4-1698-4625-b9b1-7ca3ec18630b,true,standard_derived, Windows.Win32.Graphics.DirectManipulation,IDirectManipulationUpdateHandler,790b6337-64f8-4ff5-a269-b32bc2af27a7,true,standard_derived, Windows.Win32.Graphics.DirectManipulation,IDirectManipulationUpdateManager,b0ae62fd-be34-46e7-9caa-d361facbb9cc,true,standard_derived, Windows.Win32.Graphics.DirectManipulation,IDirectManipulationViewport,28b85a3d-60a0-48bd-9ba1-5ce8d9ea3a6d,false,,missing_allocator @@ -1359,7 +1359,7 @@ Windows.Win32.Media.Audio.Apo,IAudioProcessingObjectVBR,7ba1db8f-78ad-49cd-9591- Windows.Win32.Media.Audio.Apo,IAudioSystemEffects,5fa00f27-add6-499a-8a9d-6b98521fa75b,true,standard_derived, Windows.Win32.Media.Audio.Apo,IAudioSystemEffects2,bafe99d2-7436-44ce-9e0e-4d89afbfff56,false,,missing_allocator Windows.Win32.Media.Audio.Apo,IAudioSystemEffects3,c58b31cd-fc6a-4255-bc1f-ad29bb0a4a17,false,,missing_allocator -Windows.Win32.Media.Audio.Apo,IAudioSystemEffectsCustomFormats,b1176e34-bb7f-4f05-bebd-1b18a534e097,false,,missing_allocator +Windows.Win32.Media.Audio.Apo,IAudioSystemEffectsCustomFormats,b1176e34-bb7f-4f05-bebd-1b18a534e097,true,exact_registry_dependent, Windows.Win32.Media.Audio.DirectMusic,IDirectMusic,6536115a-7b2d-11d2-ba18-0000f875ac12,false,,safe_projection_incomplete Windows.Win32.Media.Audio.DirectMusic,IDirectMusic8,2d3629f7-813d-4939-8508-f05c6b75fd97,false,,safe_projection_incomplete Windows.Win32.Media.Audio.DirectMusic,IDirectMusicBuffer,d2ac2878-b39b-11d1-8704-00600893b1bd,false,,missing_allocator @@ -1422,7 +1422,7 @@ Windows.Win32.Media.Audio,IAudioClock,cd63314f-3fba-4a1b-812c-ef96358728e7,true, Windows.Win32.Media.Audio,IAudioClock2,6f49ff73-6727-49ac-a008-d98cf5e70048,true,standard_derived, Windows.Win32.Media.Audio,IAudioClockAdjustment,f6e4c0a0-46d9-4fb8-be21-57a3ef2b626c,true,standard_derived, Windows.Win32.Media.Audio,IAudioEffectsChangedNotificationClient,a5ded44f-3c5d-4b2b-bd1e-5dc1ee20bbf6,true,standard_derived, -Windows.Win32.Media.Audio,IAudioEffectsManager,4460b3ae-4b44-4527-8676-7548a8acd260,false,,missing_allocator +Windows.Win32.Media.Audio,IAudioEffectsManager,4460b3ae-4b44-4527-8676-7548a8acd260,true,exact_registry_dependent, Windows.Win32.Media.Audio,IAudioFormatEnumerator,dcdaa858-895a-4a22-a5eb-67bda506096d,false,,external_pointee_storage Windows.Win32.Media.Audio,IAudioInputSelector,4f03dc02-5e6e-4653-8f72-a030c123d598,true,standard_derived, Windows.Win32.Media.Audio,IAudioLoudness,7d8b1437-dd53-4350-9c1b-1ee2890bd938,true,standard_derived, @@ -1431,7 +1431,7 @@ Windows.Win32.Media.Audio,IAudioMute,df45aeea-b74a-4b6b-afad-2366b6aa012e,true,s Windows.Win32.Media.Audio,IAudioOutputSelector,bb515f69-94a7-429e-8b9c-271b3f11a3ab,true,standard_derived, Windows.Win32.Media.Audio,IAudioPeakMeter,dd79923c-0599-45e0-b8b6-c8df7db6e796,true,standard_derived, Windows.Win32.Media.Audio,IAudioRenderClient,f294acfc-3146-4483-a7bf-addca7c260e2,false,,missing_allocator -Windows.Win32.Media.Audio,IAudioSessionControl,f4b1a599-7266-4319-a8ca-e70acb11e8cd,false,,missing_allocator +Windows.Win32.Media.Audio,IAudioSessionControl,f4b1a599-7266-4319-a8ca-e70acb11e8cd,true,exact_registry_dependent, Windows.Win32.Media.Audio,IAudioSessionControl2,bfb7ff88-7239-4fc9-8fa2-07c950be9c6d,false,,missing_allocator Windows.Win32.Media.Audio,IAudioSessionEnumerator,e2f5bb11-0570-40ca-acdd-3aa01277dee8,true,standard_derived, Windows.Win32.Media.Audio,IAudioSessionEvents,24918acc-64b3-37c1-8ca9-74a66e9957a8,true,standard_derived, @@ -1520,7 +1520,7 @@ Windows.Win32.Media.DeviceManager,IWMDMDevice,1dcb3a02-33ed-11d3-8470-00c04f79db Windows.Win32.Media.DeviceManager,IWMDMDevice2,e34f3d37-9d67-4fc1-9252-62d28b2f8b55,false,,external_pointee_storage Windows.Win32.Media.DeviceManager,IWMDMDevice3,6c03e4fe-05db-4dda-9e3c-06233a6d5d65,false,,external_pointee_storage Windows.Win32.Media.DeviceManager,IWMDMDeviceControl,1dcb3a04-33ed-11d3-8470-00c04f79dbc0,false,,external_pointee_storage -Windows.Win32.Media.DeviceManager,IWMDMDeviceSession,82af0a65-9d96-412c-83e5-3c43e4b06cc7,false,,safe_projection_incomplete +Windows.Win32.Media.DeviceManager,IWMDMDeviceSession,82af0a65-9d96-412c-83e5-3c43e4b06cc7,true,standard_derived, Windows.Win32.Media.DeviceManager,IWMDMEnumDevice,1dcb3a01-33ed-11d3-8470-00c04f79dbc0,true,standard_derived, Windows.Win32.Media.DeviceManager,IWMDMEnumStorage,1dcb3a05-33ed-11d3-8470-00c04f79dbc0,true,standard_derived, Windows.Win32.Media.DeviceManager,IWMDMLogger,110a3200-5a79-11d3-8d78-444553540000,false,,safe_projection_incomplete @@ -1562,10 +1562,10 @@ Windows.Win32.Media.DirectShow,IAMCrossbar,c6e13380-30ac-11d0-a18c-00a0c9118956, Windows.Win32.Media.DirectShow,IAMDecoderCaps,c0dff467-d499-4986-972b-e1d9090fa941,true,standard_derived, Windows.Win32.Media.DirectShow,IAMDevMemoryAllocator,c6545bf0-e76b-11d0-bd52-00a0c911ce86,false,,missing_allocator Windows.Win32.Media.DirectShow,IAMDevMemoryControl,c6545bf1-e76b-11d0-bd52-00a0c911ce86,true,standard_derived, -Windows.Win32.Media.DirectShow,IAMDeviceRemoval,f90a6130-b658-11d2-ae49-0000f8754b99,false,,missing_allocator +Windows.Win32.Media.DirectShow,IAMDeviceRemoval,f90a6130-b658-11d2-ae49-0000f8754b99,true,exact_registry_dependent, Windows.Win32.Media.DirectShow,IAMDirectSound,546f4260-d53e-11cf-b3f0-00aa003761c5,false,,missing_handle_ownership Windows.Win32.Media.DirectShow,IAMDroppedFrames,c6e13344-30ac-11d0-a18c-00a0c9118956,true,standard_derived, -Windows.Win32.Media.DirectShow,IAMExtDevice,b5730a90-1a2c-11cf-8c23-00aa006b6814,false,,missing_allocator +Windows.Win32.Media.DirectShow,IAMExtDevice,b5730a90-1a2c-11cf-8c23-00aa006b6814,true,exact_registry_dependent, Windows.Win32.Media.DirectShow,IAMExtTransport,a03cd5f0-3045-11cf-8c44-00aa006b6814,false,,missing_allocator Windows.Win32.Media.DirectShow,IAMExtendedErrorInfo,fa2aa8f6-8b62-11d0-a520-000000000000,true,standard_derived, Windows.Win32.Media.DirectShow,IAMExtendedSeeking,fa2aa8f9-8b62-11d0-a520-000000000000,true,standard_derived, @@ -1612,7 +1612,7 @@ Windows.Win32.Media.DirectShow,IAMVfwCompressDialogs,d8d715a3-6e5e-11d0-b3f0-00a Windows.Win32.Media.DirectShow,IAMVideoAccelerator,256a6a22-fbad-11d1-82bf-00a0c9696c8f,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow,IAMVideoAcceleratorNotify,256a6a21-fbad-11d1-82bf-00a0c9696c8f,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow,IAMVideoCompression,c6e13343-30ac-11d0-a18c-00a0c9118956,false,,safe_projection_incomplete -Windows.Win32.Media.DirectShow,IAMVideoControl,6a2e0670-28e4-11d0-a18c-00a0c9118956,false,,missing_allocator +Windows.Win32.Media.DirectShow,IAMVideoControl,6a2e0670-28e4-11d0-a18c-00a0c9118956,true,exact_registry_dependent, Windows.Win32.Media.DirectShow,IAMVideoDecimationProperties,60d32930-13da-11d3-9ec6-c4fcaef5c7be,true,standard_derived, Windows.Win32.Media.DirectShow,IAMVideoProcAmp,c6e13360-30ac-11d0-a18c-00a0c9118956,true,standard_derived, Windows.Win32.Media.DirectShow,IAMWMBufferPass,6dd816d7-e740-4123-9e24-2444412644d8,true,standard_derived, @@ -1813,8 +1813,8 @@ Windows.Win32.Media.DirectShow,IVMRSurfaceAllocatorNotify,aada05a8-5a4e-4729-af0 Windows.Win32.Media.DirectShow,IVMRSurfaceAllocatorNotify9,dca3f5df-bb3a-4d03-bd81-84614bfbfa0c,false,,safe_projection_incomplete Windows.Win32.Media.DirectShow,IVMRVideoStreamControl,058d1f11-2a54-4bef-bd54-df706626b727,true,standard_derived, Windows.Win32.Media.DirectShow,IVMRVideoStreamControl9,d0cfe38b-93e7-4772-8957-0400c49a4485,true,standard_derived, -Windows.Win32.Media.DirectShow,IVMRWindowlessControl,0eb1088c-4dcd-46f0-878f-39dae86a51b7,false,,missing_allocator -Windows.Win32.Media.DirectShow,IVMRWindowlessControl9,8f537d09-f85e-4414-b23b-502e54c79927,false,,missing_allocator +Windows.Win32.Media.DirectShow,IVMRWindowlessControl,0eb1088c-4dcd-46f0-878f-39dae86a51b7,true,exact_registry_dependent, +Windows.Win32.Media.DirectShow,IVMRWindowlessControl9,8f537d09-f85e-4414-b23b-502e54c79927,true,exact_registry_dependent, Windows.Win32.Media.DirectShow,IVPBaseConfig,,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow,IVPBaseNotify,,false,,missing_declaring_iid Windows.Win32.Media.DirectShow,IVPConfig,bc29a660-30e3-11d0-9e69-00c04fd7c15b,false,,incomplete_pointee_layout_for_storage @@ -1835,16 +1835,16 @@ Windows.Win32.Media.DirectShow.Tv,IATSCLocator,bf8d986f-8c2b-4131-94d7-4d3d9fcc2 Windows.Win32.Media.DirectShow.Tv,IATSCLocator2,612aa885-66cf-4090-ba0a-566f5312e4ca,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IATSCTuningSpace,0369b4e2-45b6-11d3-b650-00c04f79498e,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IATSC_EIT,d7c212d7-76a2-4b4b-aa56-846879a80096,false,,incomplete_pointee_layout_for_storage -Windows.Win32.Media.DirectShow.Tv,IATSC_ETT,5a142cc9-b8cf-4a86-a040-e9cadf3ef3e7,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IATSC_ETT,5a142cc9-b8cf-4a86-a040-e9cadf3ef3e7,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IATSC_MGT,8877dabd-c137-4073-97e3-779407a5d87a,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IATSC_STT,6bf42423-217d-4d6f-81e1-3a7b360ec896,false,,incomplete_pointee_layout_for_storage -Windows.Win32.Media.DirectShow.Tv,IATSC_VCT,26879a18-32f9-46c6-91f0-fb6479270e8c,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IATSC_VCT,26879a18-32f9-46c6-91f0-fb6479270e8c,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IAnalogAudioComponentType,2cfeb2a8-1787-4a24-a941-c6eaec39c842,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow.Tv,IAnalogLocator,34d1f26b-e339-430d-abce-738cb48984dc,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IAnalogRadioTuningSpace,2a6e293b-2595-11d3-b64c-00c04f79498e,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IAnalogRadioTuningSpace2,39dd45da-2da8-46ba-8a8a-87e2b73d983a,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IAnalogTVTuningSpace,2a6e293c-2595-11d3-b64c-00c04f79498e,true,standard_derived, -Windows.Win32.Media.DirectShow.Tv,IAtscContentAdvisoryDescriptor,ff76e60c-0283-43ea-ba32-b422238547ee,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IAtscContentAdvisoryDescriptor,ff76e60c-0283-43ea-ba32-b422238547ee,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IAtscPsipParser,b2c98995-5eb2-4fb1-b406-f3e8e2026a9a,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IAttributeGet,52dbd1ec-e48f-4528-9232-f442a68f0ae1,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IAttributeSet,583ec3cc-4960-4857-982b-41a33ea0a006,true,standard_derived, @@ -1886,7 +1886,7 @@ Windows.Win32.Media.DirectShow.Tv,IDVB_NIT,c64935f4-29e4-4e22-911a-63f7f55cb097, Windows.Win32.Media.DirectShow.Tv,IDVB_RST,f47dcd04-1e23-4fb7-9f96-b40eead10b2b,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IDVB_SDT,02cad8d3-fe43-48e2-90bd-450ed9a8a5fd,false,,safe_projection_incomplete Windows.Win32.Media.DirectShow.Tv,IDVB_SIT,68cdce53-8bea-45c2-9d9d-acf575a089b5,false,,safe_projection_incomplete -Windows.Win32.Media.DirectShow.Tv,IDVB_ST,4d5b9f23-2a02-45de-bcda-5d5dbfbfbe62,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IDVB_ST,4d5b9f23-2a02-45de-bcda-5d5dbfbfbe62,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IDVB_TDT,0780dc7d-d55c-4aef-97e6-6b75906e2796,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow.Tv,IDVB_TOT,83295d6a-faba-4ee1-9b15-8067696910ae,false,,incomplete_pointee_layout_for_storage Windows.Win32.Media.DirectShow.Tv,IDigitalCableLocator,48f66a11-171a-419a-9525-beeecd51584c,true,standard_derived, @@ -1944,8 +1944,8 @@ Windows.Win32.Media.DirectShow.Tv,IEnumStreamBufferRecordingAttrib,c18a9162-1e82 Windows.Win32.Media.DirectShow.Tv,IEnumTuneRequests,1993299c-ced6-4788-87a3-420067dce0c7,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IEnumTuningSpaces,8b8eb248-fc2b-11d2-9d8c-00c04f72d980,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IEvalRat,c5c5c5b1-3abc-11d6-b25b-00c04fa0c026,true,standard_derived, -Windows.Win32.Media.DirectShow.Tv,IGenericDescriptor,6a5918f8-a77a-4f61-aed0-5702bdcda3e6,false,,missing_allocator -Windows.Win32.Media.DirectShow.Tv,IGenericDescriptor2,bf02fb7e-9792-4e10-a68d-033a2cc246a5,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IGenericDescriptor,6a5918f8-a77a-4f61-aed0-5702bdcda3e6,true,exact_registry_dependent, +Windows.Win32.Media.DirectShow.Tv,IGenericDescriptor2,bf02fb7e-9792-4e10-a68d-033a2cc246a5,false,,safe_projection_incomplete Windows.Win32.Media.DirectShow.Tv,IGpnvsCommonBase,907e0b5c-e42d-4f04-91f0-26f401f36907,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IGuideData,61571138-5b01-43cd-aeaf-60b784a0bf93,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IGuideDataEvent,efda0c80-f395-42c3-9b3c-56b37dec7bb7,true,standard_derived, @@ -2087,9 +2087,9 @@ Windows.Win32.Media.DirectShow.Tv,IScanningTuner,1dfd0a5c-0284-11d3-9d8e-00c04f7 Windows.Win32.Media.DirectShow.Tv,IScanningTunerEx,04bbd195-0e2d-4593-9bd5-4f908bc33cf5,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,ISectionList,afec1eb5-2a64-46c6-bf4b-ae3ccb6afdb0,false,,external_pointee_storage Windows.Win32.Media.DirectShow.Tv,IServiceLocationDescriptor,58c3c827-9d91-4215-bff3-820a49f0904c,false,,missing_count_relation -Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure,ce14dfae-4098-4af7-bbf7-d6511f835414,false,,missing_allocator -Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure2,53e037bf-3992-4282-ae34-2487b4dae06b,false,,missing_allocator -Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure3,7e2d2a1e-7192-4bd7-80c1-061fd1d10402,false,,missing_allocator +Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure,ce14dfae-4098-4af7-bbf7-d6511f835414,true,exact_registry_dependent, +Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure2,53e037bf-3992-4282-ae34-2487b4dae06b,true,exact_registry_dependent, +Windows.Win32.Media.DirectShow.Tv,IStreamBufferConfigure3,7e2d2a1e-7192-4bd7-80c1-061fd1d10402,true,exact_registry_dependent, Windows.Win32.Media.DirectShow.Tv,IStreamBufferDataCounters,9d2a2563-31ab-402e-9a6b-adb903489440,true,standard_derived, Windows.Win32.Media.DirectShow.Tv,IStreamBufferInitialize,9ce50f2d-6ba7-40fb-a034-50b1a674ec78,false,,missing_allocator Windows.Win32.Media.DirectShow.Tv,IStreamBufferMediaSeeking,f61f5c26-863d-4afa-b0ba-2f81dc978596,false,,safe_projection_incomplete @@ -2217,18 +2217,18 @@ Windows.Win32.Media.MediaFoundation,IMFASFContentInfo,b1dca5cd-d5da-4451-8e9e-db Windows.Win32.Media.MediaFoundation,IMFASFIndexer,53590f48-dc3b-4297-813f-787761ad7b3e,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFASFMultiplexer,57bdd80a-9b38-4838-b737-c58f670d7d4f,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFASFMutualExclusion,12558291-e399-11d5-bc2a-00b0d0f3f4ab,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFASFProfile,d267bf6a-028b-4e0d-903d-43f0ef82d0d4,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFASFProfile,d267bf6a-028b-4e0d-903d-43f0ef82d0d4,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFASFSplitter,12558295-e399-11d5-bc2a-00b0d0f3f4ab,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFASFStreamConfig,9e8ae8d2-dbbd-4200-9aca-06e6df484913,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFASFStreamConfig,9e8ae8d2-dbbd-4200-9aca-06e6df484913,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFASFStreamPrioritization,699bdc27-bbaf-49ff-8e38-9c39c9b5e088,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFASFStreamSelector,d01bad4a-4fa0-4a60-9349-c27e62da9d41,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFActivate,7fee9e9a-4a89-47a6-899c-b6a53a70fb67,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFActivate,7fee9e9a-4a89-47a6-899c-b6a53a70fb67,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFAsyncCallback,a27003cf-2354-4f2a-8d6a-ab7cff15437e,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFAsyncCallbackLogging,c7a4dca1-f5f0-47b6-b92b-bf0106d25791,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFAsyncResult,ac6b7889-0740-4d51-8619-905994a55cc6,false,,safe_projection_incomplete -Windows.Win32.Media.MediaFoundation,IMFAttributes,2cd2d921-c447-44a7-a13c-4adabfc247e3,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFAttributes,2cd2d921-c447-44a7-a13c-4adabfc247e3,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFAudioMediaType,26a0adc3-ce26-4672-9304-69552edd3faf,false,,external_pointee_storage -Windows.Win32.Media.MediaFoundation,IMFAudioPolicy,a0638c2b-6465-4395-9ae7-a321a9fd2856,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFAudioPolicy,a0638c2b-6465-4395-9ae7-a321a9fd2856,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFAudioStreamVolume,76b1bbdb-4ec8-4f36-b106-70a9316df593,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFBufferListNotify,24cd47f7-81d8-4785-adb2-af697a963cd2,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFByteStream,ad4c1b00-4bf7-422f-9175-756693d9130d,true,standard_derived, @@ -2240,7 +2240,7 @@ Windows.Win32.Media.MediaFoundation,IMFByteStreamProxyClassFactory,a6b43f84-5c0a Windows.Win32.Media.MediaFoundation,IMFByteStreamTimeSeek,64976bfa-fb61-4041-9069-8c9a5f659beb,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFCameraConfigurationManager,a624f617-4704-4206-8a6d-ebda4a093985,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFCameraControlDefaults,75510662-b034-48f4-88a7-8de61daa4af9,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFCameraControlDefaultsCollection,92d43d0f-54a8-4bae-96da-356d259a5c26,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFCameraControlDefaultsCollection,92d43d0f-54a8-4bae-96da-356d259a5c26,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFCameraControlMonitor,4d46f2c9-28ba-4970-8c7b-1f0c9d80af69,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFCameraControlNotify,e8f2540d-558a-4449-8b64-4863467a9fe8,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFCameraOcclusionStateMonitor,cc692f46-c697-47e2-a72d-7b064617749b,true,standard_derived, @@ -2276,7 +2276,7 @@ Windows.Win32.Media.MediaFoundation,IMFContentProtectionManager,acf92459-6a61-42 Windows.Win32.Media.MediaFoundation,IMFD3D12SynchronizationObject,802302b0-82de-45e1-b421-f19ee5bdaf23,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFD3D12SynchronizationObjectCommands,09d0f835-92ff-4e53-8efa-40faa551f233,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFDLNASinkInit,0c012799-1b61-4c10-bda9-04445be5f561,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFDRMNetHelper,3d1ff0ea-679a-4190-8d46-7fa69e8c7e15,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFDRMNetHelper,3d1ff0ea-679a-4190-8d46-7fa69e8c7e15,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFDXGIBuffer,e7174cfa-1c9e-48b1-8866-626226bfc258,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFDXGICrossAdapterBuffer,b25d03fb-d148-45ef-bfed-f778b7566c07,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFDXGIDeviceManager,eb533d5d-2db6-40f8-97a9-494692014f07,false,,missing_allocator @@ -2327,7 +2327,7 @@ Windows.Win32.Media.MediaFoundation,IMFMediaEngineSupportsSourceTransfer,a724b05 Windows.Win32.Media.MediaFoundation,IMFMediaEngineTransferSource,24230452-fe54-40cc-94f3-fcc394c340d6,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMediaEngineWebSupport,ba2743a1-07e0-48ef-84b6-9a2ed023ca6c,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMediaError,fc0e10d2-ab2a-4501-a951-06bb1075184c,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFMediaEvent,df598932-f10c-4e39-bba2-c308f101daa3,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFMediaEvent,df598932-f10c-4e39-bba2-c308f101daa3,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFMediaEventGenerator,2cd0bd52-bcd5-4b89-b62c-eadc0c031e7d,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMediaEventQueue,36f846fc-2256-48b6-b58e-e2b638316581,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMediaKeySession,24fa67d5-d1d0-4dc5-995c-c0efdc191fb5,true,standard_derived, @@ -2356,7 +2356,7 @@ Windows.Win32.Media.MediaFoundation,IMFMediaStreamSourceSampleRequest,380b9af9-a Windows.Win32.Media.MediaFoundation,IMFMediaTimeRange,db71a2fc-078a-414e-9df9-8c2531b0aa6c,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMediaType,44ae0fa8-ea31-4109-8d2e-4cae4997c555,false,,external_pointee_storage Windows.Win32.Media.MediaFoundation,IMFMediaTypeHandler,e93dcf6c-4b07-4e1e-8123-aa16ed6eadf5,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFMetadata,f88cfb8c-ef16-4991-b450-cb8c69e51704,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFMetadata,f88cfb8c-ef16-4991-b450-cb8c69e51704,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFMetadataProvider,56181d2d-e221-4adb-b1c8-3cee6a53f76f,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMuxStreamAttributesManager,ce8bd576-e440-43b3-be34-1e53f565f7e8,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFMuxStreamMediaTypeManager,505a2c72-42f7-4690-aeab-8f513d0ffdb8,true,standard_derived, @@ -2364,14 +2364,14 @@ Windows.Win32.Media.MediaFoundation,IMFMuxStreamSampleManager,74abbc19-b1cc-4e41 Windows.Win32.Media.MediaFoundation,IMFNetCredential,5b87ef6a-7ed8-434f-ba0e-184fac1628d1,false,,safe_projection_incomplete Windows.Win32.Media.MediaFoundation,IMFNetCredentialCache,5b87ef6c-7ed8-434f-ba0e-184fac1628d1,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFNetCredentialManager,5b87ef6b-7ed8-434f-ba0e-184fac1628d1,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFNetCrossOriginSupport,bc2b7d44-a72d-49d5-8376-1480dee58b22,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFNetCrossOriginSupport,bc2b7d44-a72d-49d5-8376-1480dee58b22,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFNetProxyLocator,e9cd0383-a268-4bb4-82de-658d53574d41,false,,safe_projection_incomplete Windows.Win32.Media.MediaFoundation,IMFNetProxyLocatorFactory,e9cd0384-a268-4bb4-82de-658d53574d41,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFNetResourceFilter,091878a3-bf11-4a5c-bc9f-33995b06ef2d,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFNetSchemeHandlerConfig,7be19e73-c9bf-468a-ac5a-a5e8653bec87,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFObjectReferenceStream,09ef5be3-c8a7-469e-8b70-73bf25bb193f,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFOutputPolicy,7f00f10a-daed-41af-ab26-5fdfa4dfba3c,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFOutputSchema,7be0fc5b-abd9-44fb-a5c8-f50136e71599,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFOutputPolicy,7f00f10a-daed-41af-ab26-5fdfa4dfba3c,true,exact_registry_dependent, +Windows.Win32.Media.MediaFoundation,IMFOutputSchema,7be0fc5b-abd9-44fb-a5c8-f50136e71599,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFOutputTrustAuthority,d19f8e94-b126-4446-890c-5dcb7ad71453,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFPMPClient,6c4e655d-ead8-4421-b6b9-54dcdbbdf820,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFPMPClientApp,c004f646-be2c-48f3-93a2-a0983eba1108,true,standard_derived, @@ -2384,7 +2384,7 @@ Windows.Win32.Media.MediaFoundation,IMFPMediaPlayerCallback,766c8ffb-5fdb-4fea-a Windows.Win32.Media.MediaFoundation,IMFPluginControl,5c6c44bf-1db6-435b-9249-e8cd10fdec96,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFPluginControl2,c6982083-3ddc-45cb-af5e-0f7a8ce4de77,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFPresentationClock,868ce85c-8ea9-4f55-ab82-b009a910a805,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFPresentationDescriptor,03cb2711-24d7-4db6-a17f-f3a7a479a536,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFPresentationDescriptor,03cb2711-24d7-4db6-a17f-f3a7a479a536,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFPresentationTimeSource,7ff12cce-f76f-41c2-863b-1666c8e5e139,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFProtectedEnvironmentAccess,ef5dc845-f0d9-4ec9-b00c-cb5183d38434,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFQualityAdvise,ec15e2e9-e36b-4f7c-8758-77d452ef4ce7,true,standard_derived, @@ -2401,18 +2401,18 @@ Windows.Win32.Media.MediaFoundation,IMFRelativePanelWatcher,421af7f6-573e-4ad0-8 Windows.Win32.Media.MediaFoundation,IMFRemoteAsyncCallback,a27003d0-2354-4f2a-8d6a-ab7cff15437e,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFRemoteDesktopPlugin,1cde6309-cae0-4940-907e-c1ec9c3d1d4a,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFRemoteProxy,994e23ad-1cc2-493c-b9fa-46f1cb040fa4,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFSAMIStyle,a7e025dd-5303-4a62-89d6-e747e1efac73,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSAMIStyle,a7e025dd-5303-4a62-89d6-e747e1efac73,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFSSLCertificateManager,61f7d887-1230-4a8b-aeba-8ad434d1a64d,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFSample,c40a00f2-b93a-4d80-ae8c-5a1c634f58e4,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSample,c40a00f2-b93a-4d80-ae8c-5a1c634f58e4,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFSampleAllocatorControl,da62b958-3a38-4a97-bd27-149c640c0771,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSampleGrabberSinkCallback,8c7b80bf-ee42-4b59-b1df-55668e1bdca8,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSampleGrabberSinkCallback2,ca86aa50-c46e-429e-ab27-16d6ac6844cb,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSampleOutputStream,8feed468-6f7e-440d-869a-49bdd283ad0d,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFSampleProtection,8e36395f-c7b9-43c4-a54d-512b4af63c95,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSampleProtection,8e36395f-c7b9-43c4-a54d-512b4af63c95,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFSaveJob,e9931663-80bf-4c6e-98af-5dcf58747d1f,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSchemeHandler,6d4c7b74-52a0-4bb7-b0db-55f29f47a668,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSecureBuffer,c1209904-e584-4752-a2d6-7f21693f8b21,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFSecureChannel,d0ae555d-3b12-4d97-b060-0990bc5aeb67,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSecureChannel,d0ae555d-3b12-4d97-b060-0990bc5aeb67,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFSeekInfo,26afea53-d9ed-42b5-ab80-e64f9ee34779,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSensorActivitiesReport,683f7a5e-4a19-43cd-b1a9-dbf4ab3f7777,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSensorActivitiesReportCallback,de5072ee-dbe3-46dc-8a87-b6f631194751,true,standard_derived, @@ -2423,7 +2423,7 @@ Windows.Win32.Media.MediaFoundation,IMFSensorGroup,4110243a-9757-461f-89f1-f2234 Windows.Win32.Media.MediaFoundation,IMFSensorProcessActivity,39dc7f4a-b141-4719-813c-a7f46162a2b8,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSensorProfile,22f765d1-8dab-4107-846d-56baf72215e7,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSensorProfileCollection,c95ea55b-0187-48be-9353-8d2507662351,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFSensorStream,e9a42171-c56e-498a-8b39-eda5a070b7fc,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSensorStream,e9a42171-c56e-498a-8b39-eda5a070b7fc,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFSensorTransformFactory,eed9c2ee-66b4-4f18-a697-ac7d3960215c,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSequencerSource,197cd219-19cb-4de1-a64c-acf2edcbe59e,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSharingEngineClassFactory,2ba61f92-8305-413b-9733-faf15f259384,true,standard_derived, @@ -2446,8 +2446,8 @@ Windows.Win32.Media.MediaFoundation,IMFSourceReaderCallback2,cf839fe6-8c2a-4dd2- Windows.Win32.Media.MediaFoundation,IMFSourceReaderEx,7b981cf0-560e-4116-9875-b099895f23d7,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSourceResolver,fbe5a32d-a497-4b61-bb85-97b1a848a6e3,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSpatialAudioObjectBuffer,d396ec8c-605e-4249-978d-72ad1c312872,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFSpatialAudioSample,abf28a9b-3393-4290-ba79-5ffc46d986b2,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFStreamDescriptor,56c03d9c-9dbb-45f5-ab4b-d80f47c05938,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFSpatialAudioSample,abf28a9b-3393-4290-ba79-5ffc46d986b2,true,exact_registry_dependent, +Windows.Win32.Media.MediaFoundation,IMFStreamDescriptor,56c03d9c-9dbb-45f5-ab4b-d80f47c05938,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFStreamSink,0a97b3cf-8e7c-4a3d-8f8c-0c843dc247fb,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFStreamingSinkConfig,9db7aa41-3cc5-40d4-8509-555804ad34cc,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFSystemId,fff4af3a-1fc1-4ef9-a29b-d26c49e2f31a,false,,missing_allocator @@ -2467,8 +2467,8 @@ Windows.Win32.Media.MediaFoundation,IMFTimedTextTrack,8822c32d-654e-4233-bf21-d7 Windows.Win32.Media.MediaFoundation,IMFTimedTextTrackList,23ff334c-442c-445f-bccc-edc438aa11e2,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFTimer,e56e4cbd-8f70-49d8-a0f8-edb3d6ab9bf2,true,standard_derived, Windows.Win32.Media.MediaFoundation,IMFTopoLoader,de9a6157-f660-4643-b56a-df9f7998c7cd,true,standard_derived, -Windows.Win32.Media.MediaFoundation,IMFTopology,83cf873a-f6da-4bc8-823f-bacfd55dc433,false,,missing_allocator -Windows.Win32.Media.MediaFoundation,IMFTopologyNode,83cf873a-f6da-4bc8-823f-bacfd55dc430,false,,missing_allocator +Windows.Win32.Media.MediaFoundation,IMFTopology,83cf873a-f6da-4bc8-823f-bacfd55dc433,true,exact_registry_dependent, +Windows.Win32.Media.MediaFoundation,IMFTopologyNode,83cf873a-f6da-4bc8-823f-bacfd55dc430,true,exact_registry_dependent, Windows.Win32.Media.MediaFoundation,IMFTopologyNodeAttributeEditor,676aa6dd-238a-410d-bb99-65668d01605a,false,,external_pointee_storage Windows.Win32.Media.MediaFoundation,IMFTopologyServiceLookup,fa993889-4383-415a-a930-dd472a8cf6f7,false,,missing_allocator Windows.Win32.Media.MediaFoundation,IMFTopologyServiceLookupClient,fa99388a-4383-415a-a930-dd472a8cf6f7,true,standard_derived, @@ -2966,7 +2966,7 @@ Windows.Win32.NetworkManagement.WiFi,IEnumDot11AdHocInterfaces,8f10cc2c-cf0d-42a Windows.Win32.NetworkManagement.WiFi,IEnumDot11AdHocNetworks,8f10cc28-cf0d-42a0-acbe-e2de7007384d,true,exact_registry_dependent, Windows.Win32.NetworkManagement.WiFi,IEnumDot11AdHocSecuritySettings,8f10cc2d-cf0d-42a0-acbe-e2de7007384d,true,exact_registry_dependent, Windows.Win32.NetworkManagement.WindowsConnectNow,IWCNConnectNotify,c100be9f-d33a-4a4b-bf23-bbef4663d017,true,standard_derived, -Windows.Win32.NetworkManagement.WindowsConnectNow,IWCNDevice,c100be9c-d33a-4a4b-bf23-bbef4663d017,false,,safe_projection_incomplete +Windows.Win32.NetworkManagement.WindowsConnectNow,IWCNDevice,c100be9c-d33a-4a4b-bf23-bbef4663d017,true,standard_derived, Windows.Win32.NetworkManagement.WindowsFirewall,IDynamicPortMapping,4fc80282-23b6-4378-9a27-cd8f17c9400c,true,standard_derived, Windows.Win32.NetworkManagement.WindowsFirewall,IDynamicPortMappingCollection,b60de00f-156e-4e8d-9ec1-3a2342c10899,true,standard_derived, Windows.Win32.NetworkManagement.WindowsFirewall,IEnumNetConnection,c08956a0-1cd3-11d1-b1c5-00805fc1270e,true,standard_derived, @@ -3097,10 +3097,10 @@ Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyCal Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyCallback2,659cdeac-489e-11d9-a9cd-000d56965251,true,standard_derived, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyCallback3,98c97bd2-e32b-4ad8-a528-95fd8b16bd42,true,standard_derived, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyError,19c613a0-fcb8-4f28-81ae-897c3d078f81,false,,missing_allocator -Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile,01b7bd23-fb88-4a77-8490-5891d3e4653a,false,,missing_allocator -Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile2,83e81b93-0873-474d-8a8c-f2018b1a939c,false,,missing_allocator -Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile3,659cdeaa-489e-11d9-a9cd-000d56965251,false,,missing_allocator -Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile4,ef7e0655-7888-4960-b0e5-730846e03492,false,,missing_allocator +Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile,01b7bd23-fb88-4a77-8490-5891d3e4653a,true,exact_registry_dependent, +Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile2,83e81b93-0873-474d-8a8c-f2018b1a939c,false,,safe_projection_incomplete +Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile3,659cdeaa-489e-11d9-a9cd-000d56965251,false,,safe_projection_incomplete +Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile4,ef7e0655-7888-4960-b0e5-730846e03492,false,,safe_projection_incomplete Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile5,85c1657f-dafc-40e8-8834-df18ea25717e,false,,incomplete_pointee_layout_for_storage Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyFile6,cf6784f7-d677-49fd-9368-cb47aee9d1ad,false,,incomplete_pointee_layout_for_storage Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyGroup,1ded80a7-53ea-424f-8a04-17fea9adc4f5,true,standard_derived, @@ -3116,7 +3116,7 @@ Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyJob Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyManager,5ce34c0d-0dc9-4c1f-897c-daa1b78cee7c,true,standard_derived, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyQMgr,16f41c69-09f5-41d2-8cd8-3c08c47bc8a8,true,standard_derived, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBackgroundCopyServerCertificateValidationCallback,4cec0d02-def7-4158-813a-c32a46945ff7,true,standard_derived, -Windows.Win32.Networking.BackgroundIntelligentTransferService,IBitsPeer,659cdea2-489e-11d9-a9cd-000d56965251,false,,missing_allocator +Windows.Win32.Networking.BackgroundIntelligentTransferService,IBitsPeer,659cdea2-489e-11d9-a9cd-000d56965251,true,exact_registry_dependent, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBitsPeerCacheAdministration,659cdead-489e-11d9-a9cd-000d56965251,true,standard_derived, Windows.Win32.Networking.BackgroundIntelligentTransferService,IBitsPeerCacheRecord,659cdeaf-489e-11d9-a9cd-000d56965251,false,,missing_allocator Windows.Win32.Networking.BackgroundIntelligentTransferService,IBitsTokenOptions,9a2584c3-f7d2-457a-9a5e-22b67bffc7d2,false,,missing_allocator @@ -3449,7 +3449,7 @@ Windows.Win32.Security.ExtensibleAuthenticationProtocol,IRouterProtocolConfig,66 Windows.Win32.Security.Isolation,IIsolatedAppLauncher,f686878f-7b42-4cc4-96fb-f4f3b6e3d24d,true,standard_derived, Windows.Win32.Security.Isolation,IIsolatedProcessLauncher,1aa24232-9a91-4201-88cb-122f9d6522e0,true,standard_derived, Windows.Win32.Security.Isolation,IIsolatedProcessLauncher2,780e4416-5e72-4123-808e-66dc6479feef,true,standard_derived, -Windows.Win32.Security.Tpm,ITpmVirtualSmartCardManager,112b1dff-d9dc-41f7-869f-d67fee7cb591,false,,missing_allocator +Windows.Win32.Security.Tpm,ITpmVirtualSmartCardManager,112b1dff-d9dc-41f7-869f-d67fee7cb591,true,exact_registry_dependent, Windows.Win32.Security.Tpm,ITpmVirtualSmartCardManager2,fdf8a2b9-02de-47f4-bc26-aa85ab5e5267,false,,missing_allocator Windows.Win32.Security.Tpm,ITpmVirtualSmartCardManager3,3c745a97-f375-4150-be17-5950f694c699,false,,missing_allocator Windows.Win32.Security.Tpm,ITpmVirtualSmartCardManagerStatusCallback,1a1bb35f-abb8-451c-a1ae-33d98f1bef4a,true,standard_derived, @@ -3598,11 +3598,11 @@ Windows.Win32.Storage.IndexServer,IPhraseSink,cc906ff0-c058-101a-b554-08002b33b0 Windows.Win32.Storage.IndexServer,IPixelFilter,3d7df9a7-8da6-4fbf-a45b-7592f06d93a9,false,,incomplete_pointee_layout_for_storage Windows.Win32.Storage.OfflineFiles,IEnumOfflineFilesItems,da70e815-c361-4407-bc0b-0d7046e5f2cd,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IEnumOfflineFilesSettings,729680c4-1a38-47bc-9e5c-02c51562ac30,true,exact_registry_dependent, -Windows.Win32.Storage.OfflineFiles,IOfflineFilesCache,855d6203-7914-48b9-8d40-4c56f5acffc5,false,,missing_allocator -Windows.Win32.Storage.OfflineFiles,IOfflineFilesCache2,8c075039-1551-4ed9-8781-56705c04d3c0,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesCache,855d6203-7914-48b9-8d40-4c56f5acffc5,true,exact_registry_dependent, +Windows.Win32.Storage.OfflineFiles,IOfflineFilesCache2,8c075039-1551-4ed9-8781-56705c04d3c0,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesChangeInfo,a96e6fa4-e0d1-4c29-960b-ee508fe68c72,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesConnectionInfo,efb23a09-a867-4be8-83a6-86969a7d0856,true,standard_derived, -Windows.Win32.Storage.OfflineFiles,IOfflineFilesDirectoryItem,2273597a-a08c-4a00-a37a-c1ae4e9a1cfd,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesDirectoryItem,2273597a-a08c-4a00-a37a-c1ae4e9a1cfd,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesDirtyInfo,0f50ce33-bac9-4eaa-a11d-da0e527d047d,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesErrorInfo,7112fa5f-7571-435a-8eb7-195c7c1429bc,false,,external_pointee_storage Windows.Win32.Storage.OfflineFiles,IOfflineFilesEvents,e25585c1-0caa-4eb1-873b-1cae5b77c314,true,standard_derived, @@ -3610,19 +3610,19 @@ Windows.Win32.Storage.OfflineFiles,IOfflineFilesEvents2,1ead8f56-ff76-4faa-a795- Windows.Win32.Storage.OfflineFiles,IOfflineFilesEvents3,9ba04a45-ee69-42f0-9ab1-7db5c8805808,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesEvents4,dbd69b1e-c7d2-473e-b35f-9d8c24c0c484,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesEventsFilter,33fc4e1b-0716-40fa-ba65-6e62a84a846f,false,,missing_allocator -Windows.Win32.Storage.OfflineFiles,IOfflineFilesFileItem,8dfadead-26c2-4eff-8a72-6b50723d9a00,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesFileItem,8dfadead-26c2-4eff-8a72-6b50723d9a00,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesFileSysInfo,bc1a163f-7bfd-4d88-9c66-96ea9a6a3d6b,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesGhostInfo,2b09d48c-8ab5-464f-a755-a59d92f99429,true,standard_derived, -Windows.Win32.Storage.OfflineFiles,IOfflineFilesItem,4a753da6-e044-4f12-a718-5d14d079a906,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesItem,4a753da6-e044-4f12-a718-5d14d079a906,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesItemContainer,3836f049-9413-45dd-bf46-b5aaa82dc310,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesItemFilter,f4b5a26c-dc05-4f20-ada4-551f1077be5c,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesPinInfo,5b2b0655-b3fd-497d-adeb-bd156bc8355b,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesPinInfo2,623c58a2-42ed-4ad7-b69a-0f1b30a72d0d,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesProgress,fad63237-c55b-4911-9850-bcf96d4c979e,true,standard_derived, -Windows.Win32.Storage.OfflineFiles,IOfflineFilesServerItem,9b1c9576-a92b-4151-8e9e-7c7b3ec2e016,false,,missing_allocator -Windows.Win32.Storage.OfflineFiles,IOfflineFilesSetting,d871d3f7-f613-48a1-827e-7a34e560fff6,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesServerItem,9b1c9576-a92b-4151-8e9e-7c7b3ec2e016,true,exact_registry_dependent, +Windows.Win32.Storage.OfflineFiles,IOfflineFilesSetting,d871d3f7-f613-48a1-827e-7a34e560fff6,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesShareInfo,7bcc43e7-31ce-4ca4-8ccd-1cff2dc494da,true,standard_derived, -Windows.Win32.Storage.OfflineFiles,IOfflineFilesShareItem,bab7e48d-4804-41b5-a44d-0f199b06b145,false,,missing_allocator +Windows.Win32.Storage.OfflineFiles,IOfflineFilesShareItem,bab7e48d-4804-41b5-a44d-0f199b06b145,true,exact_registry_dependent, Windows.Win32.Storage.OfflineFiles,IOfflineFilesSimpleProgress,c34f7f9b-c43d-4f9d-a776-c0eb6de5d401,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesSuspend,62c4560f-bc0b-48ca-ad9d-34cb528d99a9,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesSuspendInfo,a457c25b-4e9c-4b04-85af-8932ccd97889,true,standard_derived, @@ -3632,10 +3632,10 @@ Windows.Win32.Storage.OfflineFiles,IOfflineFilesSyncErrorItemInfo,ecdbaf0d-6a18- Windows.Win32.Storage.OfflineFiles,IOfflineFilesSyncProgress,6931f49a-6fc7-4c1b-b265-56793fc451b7,true,standard_derived, Windows.Win32.Storage.OfflineFiles,IOfflineFilesTransparentCacheInfo,bcaf4a01-5b68-4b56-a6a1-8d2786ede8e3,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxAppInstallerReader,f35bc38c-1d2f-43db-a1f4-586430d1fed2,true,standard_derived, -Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapBlock,75cf3930-3244-4fe0-a8c8-e0bcb270b889,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapBlock,75cf3930-3244-4fe0-a8c8-e0bcb270b889,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapBlocksEnumerator,6b429b5b-36ef-479e-b9eb-0c1482b49e16,true,standard_derived, -Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapFile,277672ac-4f63-42c1-8abc-beae3600eb59,false,,missing_allocator -Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapFile2,54785f78-40e9-11ee-be56-0242ac120002,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapFile,277672ac-4f63-42c1-8abc-beae3600eb59,true,exact_registry_dependent, +Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapFile2,54785f78-40e9-11ee-be56-0242ac120002,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapFilesEnumerator,02b856a2-4262-4070-bacb-1a8cbbc42305,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxBlockMapReader,5efec991-bca3-42d1-9ec2-e92d609ec22a,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxBundleFactory,bba65864-965f-4a5f-855f-f074bdbf3a7b,true,standard_derived, @@ -3676,13 +3676,13 @@ Windows.Win32.Storage.Packaging.Appx,IAppxFactory,beb94909-e451-438b-b5a7-d79e76 Windows.Win32.Storage.Packaging.Appx,IAppxFactory2,f1346df2-c282-4e22-b918-743a929a8d55,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxFactory3,776b2c05-e21d-4e24-ba1a-cd529a8bfdbb,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxFactory4,92e50000-6934-4c8d-b472-229d431daddf,true,standard_derived, -Windows.Win32.Storage.Packaging.Appx,IAppxFile,91df827b-94fd-468f-827b-57f41b2f6f2e,false,,missing_allocator -Windows.Win32.Storage.Packaging.Appx,IAppxFile2,0c830b3c-40e9-11ee-be56-0242ac120002,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxFile,91df827b-94fd-468f-827b-57f41b2f6f2e,true,exact_registry_dependent, +Windows.Win32.Storage.Packaging.Appx,IAppxFile2,0c830b3c-40e9-11ee-be56-0242ac120002,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxFilesEnumerator,f007eeaf-9831-411c-9847-917cdc62d1fe,true,standard_derived, -Windows.Win32.Storage.Packaging.Appx,IAppxManifestApplication,5da89bf4-3773-46be-b650-7e744863b7e8,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxManifestApplication,5da89bf4-3773-46be-b650-7e744863b7e8,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxManifestApplicationsEnumerator,9eb8a55a-f04b-4d0d-808d-686185d4847a,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxManifestCapabilitiesEnumerator,11d22258-f470-42c1-b291-8361c5437e41,false,,missing_allocator -Windows.Win32.Storage.Packaging.Appx,IAppxManifestDeviceCapabilitiesEnumerator,30204541-427b-4a1c-bacf-655bf463a540,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxManifestDeviceCapabilitiesEnumerator,30204541-427b-4a1c-bacf-655bf463a540,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxManifestDriverConstraint,c031bee4-bbcc-48ea-a237-c34045c80a07,false,,missing_allocator Windows.Win32.Storage.Packaging.Appx,IAppxManifestDriverConstraintsEnumerator,d402b2d1-f600-49e0-95e6-975d8da13d89,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxManifestDriverDependenciesEnumerator,fe039db2-467f-4755-8404-8f5eb6865b33,true,standard_derived, @@ -3699,9 +3699,9 @@ Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageDependenciesEnumerator, Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageDependency,e4946b59-733e-43f0-a724-3bde4c1285a0,false,,missing_allocator Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageDependency2,dda0b713-f3ff-49d3-898a-2786780c5d98,false,,missing_allocator Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageDependency3,1ac56374-6198-4d6b-92e4-749d5ab8a895,true,standard_derived, -Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageId,283ce2d7-7153-4a91-9649-7a0f7240945f,false,,missing_allocator -Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageId2,2256999d-d617-42f1-880e-0ba4542319d5,false,,missing_allocator -Windows.Win32.Storage.Packaging.Appx,IAppxManifestProperties,03faf64d-f26f-4b2c-aaf7-8fe7789b8bca,false,,missing_allocator +Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageId,283ce2d7-7153-4a91-9649-7a0f7240945f,true,exact_registry_dependent, +Windows.Win32.Storage.Packaging.Appx,IAppxManifestPackageId2,2256999d-d617-42f1-880e-0ba4542319d5,true,exact_registry_dependent, +Windows.Win32.Storage.Packaging.Appx,IAppxManifestProperties,03faf64d-f26f-4b2c-aaf7-8fe7789b8bca,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Appx,IAppxManifestQualifiedResource,3b53a497-3c5c-48d1-9ea3-bb7eac8cd7d4,false,,missing_allocator Windows.Win32.Storage.Packaging.Appx,IAppxManifestQualifiedResourcesEnumerator,8ef6adfe-3762-4a8f-9373-2fc5d444c8d2,true,standard_derived, Windows.Win32.Storage.Packaging.Appx,IAppxManifestReader,4e1bd148-55a0-4480-a3d1-15544710637c,true,standard_derived, @@ -3729,13 +3729,13 @@ Windows.Win32.Storage.Packaging.Opc,IOpcDigitalSignatureEnumerator,967b6882-0ba3 Windows.Win32.Storage.Packaging.Opc,IOpcDigitalSignatureManager,d5e62a0b-696d-462f-94df-72e33cef2659,false,,nested_pointer_lifetime Windows.Win32.Storage.Packaging.Opc,IOpcFactory,6d0b4446-cd73-4ab3-94f4-8ccdf6116154,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcPackage,42195949-3b79-4fc8-89c6-fc7fb979ee70,true,standard_derived, -Windows.Win32.Storage.Packaging.Opc,IOpcPart,42195949-3b79-4fc8-89c6-fc7fb979ee71,false,,missing_allocator +Windows.Win32.Storage.Packaging.Opc,IOpcPart,42195949-3b79-4fc8-89c6-fc7fb979ee71,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Opc,IOpcPartEnumerator,42195949-3b79-4fc8-89c6-fc7fb979ee75,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcPartSet,42195949-3b79-4fc8-89c6-fc7fb979ee73,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcPartUri,7d3babe7-88b2-46ba-85cb-4203cb016c87,true,standard_derived, -Windows.Win32.Storage.Packaging.Opc,IOpcRelationship,42195949-3b79-4fc8-89c6-fc7fb979ee72,false,,missing_allocator +Windows.Win32.Storage.Packaging.Opc,IOpcRelationship,42195949-3b79-4fc8-89c6-fc7fb979ee72,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipEnumerator,42195949-3b79-4fc8-89c6-fc7fb979ee76,true,standard_derived, -Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipSelector,f8f26c7f-b28f-4899-84c8-5d5639ede75f,false,,missing_allocator +Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipSelector,f8f26c7f-b28f-4899-84c8-5d5639ede75f,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipSelectorEnumerator,5e50a181-a91b-48ac-88d2-bca3d8f8c0b1,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipSelectorSet,6e34c269-a4d3-47c0-b5c4-87ff2b3b6136,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcRelationshipSet,42195949-3b79-4fc8-89c6-fc7fb979ee74,true,standard_derived, @@ -3745,13 +3745,13 @@ Windows.Win32.Storage.Packaging.Opc,IOpcSignatureCustomObjectSet,8f792ac5-7947-4 Windows.Win32.Storage.Packaging.Opc,IOpcSignaturePartReference,e24231ca-59f4-484e-b64b-36eeda36072c,false,,missing_allocator Windows.Win32.Storage.Packaging.Opc,IOpcSignaturePartReferenceEnumerator,80eb1561-8c77-49cf-8266-459b356ee99a,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcSignaturePartReferenceSet,6c9fe28c-ecd9-4b22-9d36-7fdde670fec0,true,standard_derived, -Windows.Win32.Storage.Packaging.Opc,IOpcSignatureReference,1b47005e-3011-4edc-be6f-0f65e5ab0342,false,,missing_allocator +Windows.Win32.Storage.Packaging.Opc,IOpcSignatureReference,1b47005e-3011-4edc-be6f-0f65e5ab0342,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Opc,IOpcSignatureReferenceEnumerator,cfa59a45-28b1-4868-969e-fa8097fdc12a,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcSignatureReferenceSet,f3b02d31-ab12-42dd-9e2f-2b16761c3c1e,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcSignatureRelationshipReference,57babac6-9d4a-4e50-8b86-e5d4051eae7c,false,,missing_allocator Windows.Win32.Storage.Packaging.Opc,IOpcSignatureRelationshipReferenceEnumerator,773ba3e4-f021-48e4-aa04-9816db5d3495,true,standard_derived, Windows.Win32.Storage.Packaging.Opc,IOpcSignatureRelationshipReferenceSet,9f863ca5-3631-404c-828d-807e0715069b,true,standard_derived, -Windows.Win32.Storage.Packaging.Opc,IOpcSigningOptions,50d2d6a5-7aeb-46c0-b241-43ab0e9b407e,false,,missing_allocator +Windows.Win32.Storage.Packaging.Opc,IOpcSigningOptions,50d2d6a5-7aeb-46c0-b241-43ab0e9b407e,true,exact_registry_dependent, Windows.Win32.Storage.Packaging.Opc,IOpcUri,bc9c1b9b-d62c-49eb-aef0-3b4e0b28ebed,true,standard_derived, Windows.Win32.Storage.VirtualDiskService,IEnumVdsObject,118610b7-8d94-4030-b5b8-500889788e4e,true,exact_registry_dependent, Windows.Win32.Storage.VirtualDiskService,IVdsAdmin,d188e97d-85aa-4d33-abc6-26299a10ffc1,true,standard_derived, @@ -3868,27 +3868,27 @@ Windows.Win32.Storage.Xps,IXpsOMColorProfileResource,67bd7d69-1eef-4bb1-b5e7-6f4 Windows.Win32.Storage.Xps,IXpsOMColorProfileResourceCollection,12759630-5fba-4283-8f7d-cca849809edb,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMCoreProperties,3340fe8f-4027-4aa1-8f5f-d35ae45fe597,false,,missing_allocator Windows.Win32.Storage.Xps,IXpsOMDashCollection,081613f4-74eb-48f2-83b3-37a9ce2d7dc6,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMDictionary,897c86b8-8eaf-4ae3-bdde-56419fcf4236,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMDictionary,897c86b8-8eaf-4ae3-bdde-56419fcf4236,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMDocument,2c2c94cb-ac5f-4254-8ee9-23948309d9f0,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMDocumentCollection,d1c87f0d-e947-4754-8a25-971478f7e83e,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMDocumentSequence,56492eb4-d8d5-425e-8256-4c2b64ad0264,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMDocumentStructureResource,85febc8a-6b63-48a9-af07-7064e4ecff30,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMFontResource,a8c45708-47d9-4af4-8d20-33b48c9b8485,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMFontResourceCollection,70b4a6bb-88d4-4fa8-aaf9-6d9c596fdbad,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMGeometry,64fcf3d7-4d58-44ba-ad73-a13af6492072,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMGeometry,64fcf3d7-4d58-44ba-ad73-a13af6492072,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMGeometryFigure,d410dc83-908c-443e-8947-b1795d3c165a,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMGeometryFigureCollection,fd48c3f3-a58e-4b5a-8826-1de54abe72b2,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMGlyphs,819b3199-0a5a-4b64-bec7-a9e17e780de2,false,,missing_allocator -Windows.Win32.Storage.Xps,IXpsOMGlyphsEditor,a5ab8616-5b16-4b9f-9629-89b323ed7909,false,,missing_allocator -Windows.Win32.Storage.Xps,IXpsOMGradientBrush,edb59622-61a2-42c3-bace-acf2286c06bf,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMGlyphsEditor,a5ab8616-5b16-4b9f-9629-89b323ed7909,true,exact_registry_dependent, +Windows.Win32.Storage.Xps,IXpsOMGradientBrush,edb59622-61a2-42c3-bace-acf2286c06bf,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMGradientStop,5cf4f5cc-3969-49b5-a70a-5550b618fe49,false,,incomplete_pointee_layout_for_storage Windows.Win32.Storage.Xps,IXpsOMGradientStopCollection,c9174c3a-3cd3-4319-bda4-11a39392ceef,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMImageBrush,3df0b466-d382-49ef-8550-dd94c80242e4,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMImageBrush,3df0b466-d382-49ef-8550-dd94c80242e4,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMImageResource,3db8417d-ae50-485e-9a44-d7758f78a23f,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMImageResourceCollection,7a4a1a71-9cde-4b71-b33f-62de843eabfe,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMLinearGradientBrush,005e279f-c30d-40ff-93ec-1950d3c528db,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMLinearGradientBrush,005e279f-c30d-40ff-93ec-1950d3c528db,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMMatrixTransform,b77330ff-bb37-4501-a93e-f1b1e50bfc46,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMNameCollection,4bddf8ec-c915-421b-a166-d173d25653d2,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMNameCollection,4bddf8ec-c915-421b-a166-d173d25653d2,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMObjectFactory,f9b2a685-a50d-4fc2-b764-b56e093ea0ca,false,,external_pointee_storage Windows.Win32.Storage.Xps,IXpsOMObjectFactory1,0a91b617-d612-4181-bf7c-be5824e9cc8f,false,,external_pointee_storage Windows.Win32.Storage.Xps,IXpsOMPackage,18c3df65-81e1-4674-91dc-fc452f5a416f,true,standard_derived, @@ -3896,8 +3896,8 @@ Windows.Win32.Storage.Xps,IXpsOMPackage1,95a9435e-12bb-461b-8e7f-c6adb04cd96a,tr Windows.Win32.Storage.Xps,IXpsOMPackageTarget,219a9db0-4959-47d0-8034-b1ce84f41a4d,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMPackageWriter,4e2aa182-a443-42c6-b41b-4f8e9de73ff9,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMPackageWriter3D,e8a45033-640e-43fa-9bdf-fddeaa31c6a0,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMPage,d3e18888-f120-4fee-8c68-35296eae91d4,false,,missing_allocator -Windows.Win32.Storage.Xps,IXpsOMPage1,305b60ef-6892-4dda-9cbb-3aa65974508a,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMPage,d3e18888-f120-4fee-8c68-35296eae91d4,true,exact_registry_dependent, +Windows.Win32.Storage.Xps,IXpsOMPage1,305b60ef-6892-4dda-9cbb-3aa65974508a,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMPageReference,ed360180-6f92-4998-890d-2f208531a0a0,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMPageReferenceCollection,ca16ba4d-e7b9-45c5-958b-f98022473745,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMPart,74eb2f0b-a91e-4486-afac-0fabeca3dfc6,true,standard_derived, @@ -3905,7 +3905,7 @@ Windows.Win32.Storage.Xps,IXpsOMPartResources,f4cf7729-4864-4275-99b3-a8717163ec Windows.Win32.Storage.Xps,IXpsOMPartUriCollection,57c650d4-067c-4893-8c33-f62a0633730f,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMPath,37d38bb6-3ee9-4110-9312-14b194163337,false,,missing_allocator Windows.Win32.Storage.Xps,IXpsOMPrintTicketResource,e7ff32d2-34aa-499b-bbe9-9cd4ee6c59f7,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMRadialGradientBrush,75f207e5-08bf-413c-96b1-b82b4064176b,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMRadialGradientBrush,75f207e5-08bf-413c-96b1-b82b4064176b,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMRemoteDictionaryResource,c9bd7cd4-e16a-4bf8-8c84-c950af7a3061,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMRemoteDictionaryResource1,bf8fc1d4-9d46-4141-ba5f-94bb9250d041,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMRemoteDictionaryResourceCollection,5c38db61-7fec-464a-87bd-41e3bef018be,true,standard_derived, @@ -3916,9 +3916,9 @@ Windows.Win32.Storage.Xps,IXpsOMSignatureBlockResourceCollection,ab8f5d8e-351b-4 Windows.Win32.Storage.Xps,IXpsOMSolidColorBrush,a06f9f05-3be9-4763-98a8-094fc672e488,false,,incomplete_pointee_layout_for_storage Windows.Win32.Storage.Xps,IXpsOMStoryFragmentsResource,c2b3ca09-0473-4282-87ae-1780863223f0,true,standard_derived, Windows.Win32.Storage.Xps,IXpsOMThumbnailGenerator,15b873d5-1971-41e8-83a3-6578403064c7,true,standard_derived, -Windows.Win32.Storage.Xps,IXpsOMTileBrush,0fc2328d-d722-4a54-b2ec-be90218a789e,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMTileBrush,0fc2328d-d722-4a54-b2ec-be90218a789e,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMVisual,bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd,false,,missing_allocator -Windows.Win32.Storage.Xps,IXpsOMVisualBrush,97e294af-5b37-46b4-8057-874d2f64119b,false,,missing_allocator +Windows.Win32.Storage.Xps,IXpsOMVisualBrush,97e294af-5b37-46b4-8057-874d2f64119b,true,exact_registry_dependent, Windows.Win32.Storage.Xps,IXpsOMVisualCollection,94d8abde-ab91-46a8-82b7-f5b05ef01a96,true,standard_derived, Windows.Win32.Storage.Xps,IXpsSignature,6ae4c93e-1ade-42fb-898b-3a5658284857,false,,missing_allocator Windows.Win32.Storage.Xps,IXpsSignatureBlock,151fac09-0b97-4ac6-a323-5e4297d4322b,true,standard_derived, @@ -4125,7 +4125,7 @@ Windows.Win32.System.Com,IBinding,79eac9c0-baf9-11ce-8c82-00aa004ba90b,false,,mi Windows.Win32.System.Com,IBlockingLock,30f3d47a-6447-11d1-8e3c-00c04fb9386d,true,standard_derived, Windows.Win32.System.Com,ICallFactory,1c733a30-2a1c-11ce-ade5-00aa0044773d,true,standard_derived, Windows.Win32.System.Com,ICancelMethodCalls,00000029-0000-0000-c000-000000000046,true,standard_derived, -Windows.Win32.System.Com,ICatInformation,0002e013-0000-0000-c000-000000000046,false,,missing_allocator +Windows.Win32.System.Com,ICatInformation,0002e013-0000-0000-c000-000000000046,true,exact_registry_dependent, Windows.Win32.System.Com,ICatRegister,0002e012-0000-0000-c000-000000000046,true,standard_derived, Windows.Win32.System.Com,IChannelHook,1008c4a0-7613-11cf-9af1-0020af6e72f4,true,standard_derived, Windows.Win32.System.Com,IClassActivator,00000140-0000-0000-c000-000000000046,true,standard_derived, @@ -4239,7 +4239,7 @@ Windows.Win32.System.Com.StructuredStorage,IPropertyBag2,22f55882-280b-11d0-a8a9 Windows.Win32.System.Com.StructuredStorage,IPropertySetStorage,0000013a-0000-0000-c000-000000000046,true,standard_derived, Windows.Win32.System.Com.StructuredStorage,IPropertyStorage,00000138-0000-0000-c000-000000000046,false,,external_pointee_storage Windows.Win32.System.Com.StructuredStorage,IRootStorage,00000012-0000-0000-c000-000000000046,true,standard_derived, -Windows.Win32.System.Com.StructuredStorage,IStorage,0000000b-0000-0000-c000-000000000046,false,,external_pointee_storage +Windows.Win32.System.Com.StructuredStorage,IStorage,0000000b-0000-0000-c000-000000000046,true,exact_registry_dependent, Windows.Win32.System.Com.UI,IDummyHICONIncluder,947990de-cc28-11d2-a0f7-00805f858fb1,true,standard_derived, Windows.Win32.System.Com.UI,IThumbnailExtractor,969dc708-5c76-11d1-8d86-0000f804b057,false,,missing_handle_ownership Windows.Win32.System.Com.Urlmon,IBindCallbackRedirect,11c81bc2-121e-4ed5-b9c4-b430bd54f2c0,true,standard_derived, @@ -5039,8 +5039,8 @@ Windows.Win32.System.Mmc,IExtendPropertySheet,85de64dc-ef21-11cf-a285-00c04fd8db Windows.Win32.System.Mmc,IExtendPropertySheet2,b7a87232-4a51-11d1-a7ea-00c04fd909dd,false,,missing_handle_ownership Windows.Win32.System.Mmc,IExtendTaskPad,8dee6511-554d-11d1-9fea-00600832db4a,false,,incomplete_pointee_layout_for_storage Windows.Win32.System.Mmc,IExtendView,89995cee-d2ed-4c0e-ae5e-df7e76f3fa53,true,standard_derived, -Windows.Win32.System.Mmc,IHeaderCtrl,43136eb3-d36c-11cf-adbc-00aa00a80033,false,,missing_allocator -Windows.Win32.System.Mmc,IHeaderCtrl2,9757abb8-1b32-11d1-a7ce-00c04fd8d565,false,,missing_allocator +Windows.Win32.System.Mmc,IHeaderCtrl,43136eb3-d36c-11cf-adbc-00aa00a80033,true,exact_registry_dependent, +Windows.Win32.System.Mmc,IHeaderCtrl2,9757abb8-1b32-11d1-a7ce-00c04fd8d565,false,,safe_projection_incomplete Windows.Win32.System.Mmc,IImageList,43136eb8-d36c-11cf-adbc-00aa00a80033,true,standard_derived, Windows.Win32.System.Mmc,IMMCVersionInfo,a8d2c5fe-cdcb-4b9d-bde5-a27343ff54bc,true,standard_derived, Windows.Win32.System.Mmc,IMenuButton,951ed750-d080-11d0-b197-000000000000,true,standard_derived, @@ -5173,7 +5173,7 @@ Windows.Win32.System.ParentalControls,IWPCProviderConfig,bef54196-2d02-4a26-b6e5 Windows.Win32.System.ParentalControls,IWPCProviderState,50b6a267-c4bd-450b-adb5-759073837c9e,true,standard_derived, Windows.Win32.System.ParentalControls,IWPCProviderSupport,41eba572-23ed-4779-bec1-8df96206c44c,true,standard_derived, Windows.Win32.System.ParentalControls,IWPCSettings,8fdf6ca1-0189-47e4-b670-1a8a4636e340,true,standard_derived, -Windows.Win32.System.ParentalControls,IWPCWebSettings,ffccbdb8-0992-4c30-b0f1-1cbb09c240aa,false,,safe_projection_incomplete +Windows.Win32.System.ParentalControls,IWPCWebSettings,ffccbdb8-0992-4c30-b0f1-1cbb09c240aa,true,standard_derived, Windows.Win32.System.ParentalControls,IWindowsParentalControls,28b4d88b-e072-49e6-804d-26edbe21a7b9,false,,missing_allocator Windows.Win32.System.ParentalControls,IWindowsParentalControlsCore,4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05,false,,missing_allocator Windows.Win32.System.Performance,DICounterItem,c08c4ff2-0e2e-11cf-942c-008029004347,true,standard_derived, @@ -5456,9 +5456,9 @@ Windows.Win32.System.Search,ILoadFilterWithPrivateComActivation,40bdbd34-780b-48 Windows.Win32.System.Search,IMDDataset,a07cccd1-8148-11d0-87bb-00c04fc33942,false,,external_pointee_storage Windows.Win32.System.Search,IMDFind,a07cccd2-8148-11d0-87bb-00c04fc33942,true,standard_derived, Windows.Win32.System.Search,IMDRangeRowset,0c733aa0-2a1c-11ce-ade5-00aa0044773d,false,,external_pointee_storage -Windows.Win32.System.Search,IMetaData,780102b0-c43b-4876-bc7b-5e9ba5c88794,false,,missing_allocator +Windows.Win32.System.Search,IMetaData,780102b0-c43b-4876-bc7b-5e9ba5c88794,true,exact_registry_dependent, Windows.Win32.System.Search,IMultipleResults,0c733a90-2a1c-11ce-ade5-00aa0044773d,true,standard_derived, -Windows.Win32.System.Search,INamedEntity,abdbd0b1-7d54-49fb-ab5c-bff4130004cd,false,,missing_allocator +Windows.Win32.System.Search,INamedEntity,abdbd0b1-7d54-49fb-ab5c-bff4130004cd,true,exact_registry_dependent, Windows.Win32.System.Search,INamedEntityCollector,af2440f6-8afc-47d0-9a7f-396a0acfb43d,true,standard_derived, Windows.Win32.System.Search,IObjectAccessControl,0c733aa3-2a1c-11ce-ade5-00aa0044773d,false,,external_pointee_storage Windows.Win32.System.Search,IOpLockStatus,c731065d-ac80-11d1-8df3-00c04fb6ef4f,false,,missing_handle_ownership @@ -5466,7 +5466,7 @@ Windows.Win32.System.Search,IOpenRowset,0c733a69-2a1c-11ce-ade5-00aa0044773d,fal Windows.Win32.System.Search,IParentRowset,0c733aaa-2a1c-11ce-ade5-00aa0044773d,true,standard_derived, Windows.Win32.System.Search,IProtocolHandlerSite,0b63e385-9ccc-11d0-bcdb-00805fccce04,true,standard_derived, Windows.Win32.System.Search,IProvideMoniker,0c733a4d-2a1c-11ce-ade5-00aa0044773d,true,standard_derived, -Windows.Win32.System.Search,IQueryParser,2ebdee67-3505-43f8-9946-ea44abc8e5b0,false,,missing_allocator +Windows.Win32.System.Search,IQueryParser,2ebdee67-3505-43f8-9946-ea44abc8e5b0,true,exact_registry_dependent, Windows.Win32.System.Search,IQueryParserManager,a879e3c4-af77-44fb-8f37-ebd1487cf920,true,standard_derived, Windows.Win32.System.Search,IQuerySolution,d6ebc66b-8921-4193-afdd-a1789fb7ff57,false,,missing_allocator Windows.Win32.System.Search,IReadData,0c733a6a-2a1c-11ce-ade5-00aa0044773d,false,,missing_allocator @@ -5513,7 +5513,7 @@ Windows.Win32.System.Search,ISQLErrorInfo,0c733a74-2a1c-11ce-ade5-00aa0044773d,t Windows.Win32.System.Search,ISQLGetDiagField,228972f1-b5ff-11d0-8a80-00c04fd611cd,false,,incomplete_pointee_layout_for_storage Windows.Win32.System.Search,ISQLRequestDiagFields,228972f0-b5ff-11d0-8a80-00c04fd611cd,true,standard_derived, Windows.Win32.System.Search,ISQLServerErrorInfo,5cf4ca12-ef21-11d0-97e7-00c04fc2ad98,false,,missing_allocator -Windows.Win32.System.Search,ISchemaLocalizerSupport,ca3fdca2-bfbe-4eed-90d7-0caef0a1bda1,false,,missing_allocator +Windows.Win32.System.Search,ISchemaLocalizerSupport,ca3fdca2-bfbe-4eed-90d7-0caef0a1bda1,true,exact_registry_dependent, Windows.Win32.System.Search,ISchemaLock,4c2389fb-2511-11d4-b258-00c04f7971ce,false,,incomplete_pointee_layout_for_storage Windows.Win32.System.Search,ISchemaProvider,8cf89bcb-394c-49b2-ae28-a59dd4ed7f68,false,,missing_allocator Windows.Win32.System.Search,IScopedOperations,0c733ab0-2a1c-11ce-ade5-00aa0044773d,false,,incomplete_pointee_layout_for_storage @@ -5581,7 +5581,7 @@ Windows.Win32.System.SettingsManagementInfrastructure,IItemEnumerator,9f7d7bb7-2 Windows.Win32.System.SettingsManagementInfrastructure,ISettingsContext,9f7d7bbd-20b3-11da-81a5-0030f1642e3c,false,,external_pointee_storage Windows.Win32.System.SettingsManagementInfrastructure,ISettingsEngine,9f7d7bb9-20b3-11da-81a5-0030f1642e3c,false,,external_pointee_storage Windows.Win32.System.SettingsManagementInfrastructure,ISettingsIdentity,9f7d7bb6-20b3-11da-81a5-0030f1642e3c,true,standard_derived, -Windows.Win32.System.SettingsManagementInfrastructure,ISettingsItem,9f7d7bbb-20b3-11da-81a5-0030f1642e3c,false,,missing_allocator +Windows.Win32.System.SettingsManagementInfrastructure,ISettingsItem,9f7d7bbb-20b3-11da-81a5-0030f1642e3c,true,exact_registry_dependent, Windows.Win32.System.SettingsManagementInfrastructure,ISettingsNamespace,9f7d7bba-20b3-11da-81a5-0030f1642e3c,true,standard_derived, Windows.Win32.System.SettingsManagementInfrastructure,ISettingsResult,9f7d7bbc-20b3-11da-81a5-0030f1642e3c,true,standard_derived, Windows.Win32.System.SettingsManagementInfrastructure,ITargetInfo,9f7d7bb8-20b3-11da-81a5-0030f1642e3c,false,,missing_handle_ownership @@ -5590,7 +5590,7 @@ Windows.Win32.System.SideShow,ISideShowCapabilities,535e1379-c09e-4a54-a511-597b Windows.Win32.System.SideShow,ISideShowCapabilitiesCollection,50305597-5e0d-4ff7-b3af-33d0d9bd52dd,true,standard_derived, Windows.Win32.System.SideShow,ISideShowContent,c18552ed-74ff-4fec-be07-4cfed29d4887,false,,missing_allocator Windows.Win32.System.SideShow,ISideShowContentManager,a5d5b66b-eef9-41db-8d7e-e17c33ab10b0,true,standard_derived, -Windows.Win32.System.SideShow,ISideShowEvents,61feca4c-deb4-4a7e-8d75-51f1132d615b,false,,safe_projection_incomplete +Windows.Win32.System.SideShow,ISideShowEvents,61feca4c-deb4-4a7e-8d75-51f1132d615b,true,standard_derived, Windows.Win32.System.SideShow,ISideShowKeyCollection,045473bc-a37b-4957-b144-68105411ed8e,true,standard_derived, Windows.Win32.System.SideShow,ISideShowNotification,03c93300-8ab2-41c5-9b79-46127a30e148,false,,missing_allocator Windows.Win32.System.SideShow,ISideShowNotificationManager,63cea909-f2b9-4302-b5e1-c68e6d9ab833,true,standard_derived, @@ -5634,7 +5634,7 @@ Windows.Win32.System.TaskScheduler,ITaskHandler,839d7762-5121-4009-9234-4f0d1939 Windows.Win32.System.TaskScheduler,ITaskHandlerStatus,eaec7a8f-27a0-4ddc-8675-14726a01a38a,true,standard_derived, Windows.Win32.System.TaskScheduler,ITaskNamedValueCollection,b4ef826b-63c3-46e4-a504-ef69e4f7ea4d,true,standard_derived, Windows.Win32.System.TaskScheduler,ITaskNamedValuePair,39038068-2b46-4afd-8662-7bb6f868d221,true,standard_derived, -Windows.Win32.System.TaskScheduler,ITaskScheduler,148bd527-a2ab-11ce-b11f-00aa00530503,false,,missing_allocator +Windows.Win32.System.TaskScheduler,ITaskScheduler,148bd527-a2ab-11ce-b11f-00aa00530503,true,exact_registry_dependent, Windows.Win32.System.TaskScheduler,ITaskService,2faba4c7-4da9-4013-9697-20cc3fd40f85,true,standard_derived, Windows.Win32.System.TaskScheduler,ITaskSettings,8fd4711d-2d02-4c8c-87e3-eff699de127e,true,standard_derived, Windows.Win32.System.TaskScheduler,ITaskSettings2,2c05c3f0-6eed-4c05-a15f-ed7d7a98a369,true,standard_derived, @@ -5775,7 +5775,7 @@ Windows.Win32.System.WinRT,ICorrelationVectorSource,152b8a3b-b9b9-4685-b56e-9748 Windows.Win32.System.WinRT,IDragDropManagerInterop,5ad8cba7-4c01-4dac-9074-827894292d63,false,,missing_allocator Windows.Win32.System.WinRT,IHolographicSpaceInterop,5c4ee536-6a98-4b86-a170-587013d6fd4b,true,standard_derived, Windows.Win32.System.WinRT,IInputPaneInterop,75cf2c57-9195-4931-8332-f0b409e916af,true,standard_derived, -Windows.Win32.System.WinRT,IInspectable,af86e2e0-b12d-4c6a-9c5a-d7aa65101e90,false,,missing_allocator +Windows.Win32.System.WinRT,IInspectable,af86e2e0-b12d-4c6a-9c5a-d7aa65101e90,true,exact_registry_dependent, Windows.Win32.System.WinRT,ILanguageExceptionErrorInfo,04a2dbf3-df83-116c-0946-0812abf6e07d,true,standard_derived, Windows.Win32.System.WinRT,ILanguageExceptionErrorInfo2,5746e5c4-5b97-424c-b620-2822915734dd,true,standard_derived, Windows.Win32.System.WinRT,ILanguageExceptionStackBackTrace,cbe53fb5-f967-4258-8d34-42f5e25833de,true,standard_derived, @@ -6007,13 +6007,13 @@ Windows.Win32.System.Wmi,IWbemProviderInitSink,1be41571-91dd-11d1-aeb2-00c04fb68 Windows.Win32.System.Wmi,IWbemQualifierSet,dc12a680-737f-11cf-884d-00aa004b2e24,false,,safe_projection_incomplete Windows.Win32.System.Wmi,IWbemQuery,81166f58-dd98-11d3-a120-00105a1f515a,false,,external_pointee_storage Windows.Win32.System.Wmi,IWbemRefresher,49353c99-516b-11d1-aea6-00c04fb68820,true,standard_derived, -Windows.Win32.System.Wmi,IWbemServices,9556dc99-828c-11cf-a37e-00aa003240c7,false,,missing_interface_replacement_contract +Windows.Win32.System.Wmi,IWbemServices,9556dc99-828c-11cf-a37e-00aa003240c7,true,exact_registry_dependent, Windows.Win32.System.Wmi,IWbemShutdown,b7b31df9-d515-11d3-a11c-00105a1f515a,true,standard_derived, Windows.Win32.System.Wmi,IWbemStatusCodeText,eb87e1bc-3233-11d2-aec9-00c04fb68820,true,standard_derived, Windows.Win32.System.Wmi,IWbemTransport,553fe584-2156-11d0-b6ae-00aa003240c7,true,standard_derived, Windows.Win32.System.Wmi,IWbemUnboundObjectSink,e246107b-b06e-11d0-ad61-00c04fd8fdff,true,standard_derived, Windows.Win32.System.Wmi,IWbemUnsecuredApartment,31739d04-3471-4cf4-9a7c-57a44ae71956,true,standard_derived, -Windows.Win32.UI.Accessibility,IAccIdentity,7852b78d-1cfd-41c1-a615-9c0c85960b5f,false,,missing_allocator +Windows.Win32.UI.Accessibility,IAccIdentity,7852b78d-1cfd-41c1-a615-9c0c85960b5f,true,exact_registry_dependent, Windows.Win32.UI.Accessibility,IAccPropServer,76c0dbbb-15e0-4e7b-b61b-20eeea2001e0,true,standard_derived, Windows.Win32.UI.Accessibility,IAccPropServices,6e26e776-04f0-495d-80e4-3330352e3169,false,,missing_allocator Windows.Win32.UI.Accessibility,IAccessible,618736e0-3c3d-11cf-810c-00aa00389b71,true,standard_derived, @@ -6311,7 +6311,7 @@ Windows.Win32.UI.Shell,IAttachmentExecute,73db1241-1e85-4581-8e4f-a81e1d0f8c57,f Windows.Win32.UI.Shell,IAttachmentExecute2,4f2b781f-a608-4543-abf0-49c246ebbba9,false,,missing_handle_ownership Windows.Win32.UI.Shell,IAutoComplete,00bb2762-6a77-11d0-a535-00c04fd7d062,true,standard_derived, Windows.Win32.UI.Shell,IAutoComplete2,eac04bc0-3791-11d2-bb95-0060977b464c,true,standard_derived, -Windows.Win32.UI.Shell,IAutoCompleteDropDown,3cd141f4-3c6a-11d2-bcaa-00c04fd929db,false,,missing_allocator +Windows.Win32.UI.Shell,IAutoCompleteDropDown,3cd141f4-3c6a-11d2-bcaa-00c04fd929db,true,exact_registry_dependent, Windows.Win32.UI.Shell,IBandHost,b9075c7c-d48e-403f-ab99-d6c77a1084ac,true,standard_derived, Windows.Win32.UI.Shell,IBandSite,4cf504b0-de96-11d0-8b3f-00a0c911e8e5,true,standard_derived, Windows.Win32.UI.Shell,IBannerNotificationHandler,8d7b2ba7-db05-46a8-823c-d2b6de08ee91,true,standard_derived, @@ -6333,9 +6333,9 @@ Windows.Win32.UI.Shell,ICommDlgBrowser3,c8ad25a1-3294-41ee-8165-71174bd01c57,tru Windows.Win32.UI.Shell,IComputerInfoChangeNotify,0df60d92-6818-46d6-b358-d66170dde466,true,standard_derived, Windows.Win32.UI.Shell,IConnectableCredentialProviderCredential,9387928b-ac75-4bf9-8ab2-2b93c4a55290,false,,missing_allocator Windows.Win32.UI.Shell,IContactManagerInterop,99eacba7-e073-43b6-a896-55afe48a0833,true,standard_derived, -Windows.Win32.UI.Shell,IContextMenu,000214e4-0000-0000-c000-000000000046,false,,safe_projection_incomplete -Windows.Win32.UI.Shell,IContextMenu2,000214f4-0000-0000-c000-000000000046,false,,safe_projection_incomplete -Windows.Win32.UI.Shell,IContextMenu3,bcfce0a0-ec17-11d0-8d10-00a0c90f2719,false,,safe_projection_incomplete +Windows.Win32.UI.Shell,IContextMenu,000214e4-0000-0000-c000-000000000046,true,exact_registry_dependent, +Windows.Win32.UI.Shell,IContextMenu2,000214f4-0000-0000-c000-000000000046,true,exact_registry_dependent, +Windows.Win32.UI.Shell,IContextMenu3,bcfce0a0-ec17-11d0-8d10-00a0c90f2719,true,exact_registry_dependent, Windows.Win32.UI.Shell,IContextMenuCB,3409e930-5a39-11d1-83fa-00a0c90dc849,true,standard_derived, Windows.Win32.UI.Shell,IContextMenuSite,0811aebe-0b87-4c54-9e72-548cf649016b,true,standard_derived, Windows.Win32.UI.Shell,ICopyHookA,000214ef-0000-0000-c000-000000000046,true,standard_derived, @@ -6416,7 +6416,7 @@ Windows.Win32.UI.Shell,IExtractImage2,953bb1ee-93b4-11d1-98a3-00c04fb687da,false Windows.Win32.UI.Shell,IFileDialog,42f85136-db7e-439c-85f1-e4075d135fc8,true,exact_registry_dependent, Windows.Win32.UI.Shell,IFileDialog2,61744fc7-85b5-4791-a9b0-272276309b13,true,exact_registry_dependent, Windows.Win32.UI.Shell,IFileDialogControlEvents,36116642-d713-4b97-9b83-7484a9d00433,true,standard_derived, -Windows.Win32.UI.Shell,IFileDialogCustomize,e6fdd21a-163f-4975-9c8c-a69f1ba37034,false,,missing_allocator +Windows.Win32.UI.Shell,IFileDialogCustomize,e6fdd21a-163f-4975-9c8c-a69f1ba37034,true,exact_registry_dependent, Windows.Win32.UI.Shell,IFileDialogEvents,973510db-7d7f-452b-8975-74a85828d354,true,standard_derived, Windows.Win32.UI.Shell,IFileIsInUse,64a1cbf0-3a1a-4461-9158-376969693950,false,,missing_allocator Windows.Win32.UI.Shell,IFileOpenDialog,d57c7288-d4ad-4768-be02-9d969532d960,true,exact_registry_dependent, @@ -6535,7 +6535,7 @@ Windows.Win32.UI.Shell,IQueryCancelAutoPlay,ddefe873-6997-4e68-be26-39b633adbe12 Windows.Win32.UI.Shell,IQueryCodePage,c7b236ce-ee80-11d0-985f-006008059382,true,standard_derived, Windows.Win32.UI.Shell,IQueryContinue,7307055c-b24a-486b-9f25-163e597a28a9,true,standard_derived, Windows.Win32.UI.Shell,IQueryContinueWithStatus,9090be5b-502b-41fb-bccc-0049a6c7254b,true,standard_derived, -Windows.Win32.UI.Shell,IQueryInfo,00021500-0000-0000-c000-000000000046,false,,missing_allocator +Windows.Win32.UI.Shell,IQueryInfo,00021500-0000-0000-c000-000000000046,true,exact_registry_dependent, Windows.Win32.UI.Shell,IRegTreeItem,a9521922-0812-4d44-9ec3-7fd38c726f3d,true,standard_derived, Windows.Win32.UI.Shell,IRelatedItem,a73ce67a-8ab1-44f1-8d43-d2fcbf6b1cd0,false,,external_pointee_storage Windows.Win32.UI.Shell,IRemoteComputer,000214fe-0000-0000-c000-000000000046,true,standard_derived, @@ -6631,7 +6631,7 @@ Windows.Win32.UI.Shell,ISyncMgrEventLinkUIOperation,64522e52-848b-4015-89ce-5a36 Windows.Win32.UI.Shell,ISyncMgrEventStore,37e412f9-016e-44c2-81ff-db3add774266,true,standard_derived, Windows.Win32.UI.Shell,ISyncMgrHandler,04ec2e43-ac77-49f9-9b98-0307ef7a72a2,false,,missing_allocator Windows.Win32.UI.Shell,ISyncMgrHandlerCollection,a7f337a3-d20b-45cb-9ed7-87d094ca5045,true,standard_derived, -Windows.Win32.UI.Shell,ISyncMgrHandlerInfo,4ff1d798-ecf7-4524-aa81-1e362a0aef3a,false,,missing_allocator +Windows.Win32.UI.Shell,ISyncMgrHandlerInfo,4ff1d798-ecf7-4524-aa81-1e362a0aef3a,true,exact_registry_dependent, Windows.Win32.UI.Shell,ISyncMgrRegister,6295df42-35ee-11d1-8707-00c04fd93327,true,standard_derived, Windows.Win32.UI.Shell,ISyncMgrResolutionHandler,40a3d052-8bff-4c4b-a338-d4a395700de9,true,standard_derived, Windows.Win32.UI.Shell,ISyncMgrScheduleWizardUIOperation,459a6c84-21d2-4ddc-8a53-f023a46066f2,true,standard_derived, @@ -6639,7 +6639,7 @@ Windows.Win32.UI.Shell,ISyncMgrSessionCreator,17f48517-f305-4321-a08d-b25a834918 Windows.Win32.UI.Shell,ISyncMgrSyncCallback,884ccd87-b139-4937-a4ba-4f8e19513fbe,true,standard_derived, Windows.Win32.UI.Shell,ISyncMgrSyncItem,b20b24ce-2593-4f04-bd8b-7ad6c45051cd,false,,missing_allocator Windows.Win32.UI.Shell,ISyncMgrSyncItemContainer,90701133-be32-4129-a65c-99e616cafff4,true,standard_derived, -Windows.Win32.UI.Shell,ISyncMgrSyncItemInfo,e7fd9502-be0c-4464-90a1-2b5277031232,false,,missing_allocator +Windows.Win32.UI.Shell,ISyncMgrSyncItemInfo,e7fd9502-be0c-4464-90a1-2b5277031232,true,exact_registry_dependent, Windows.Win32.UI.Shell,ISyncMgrSyncResult,2b90f17e-5a3e-4b33-bb7f-1bc48056b94d,true,standard_derived, Windows.Win32.UI.Shell,ISyncMgrSynchronize,6295df40-35ee-11d1-8707-00c04fd93327,false,,missing_allocator Windows.Win32.UI.Shell,ISyncMgrSynchronizeCallback,6295df41-35ee-11d1-8707-00c04fd93327,true,standard_derived, @@ -6653,7 +6653,7 @@ Windows.Win32.UI.Shell,IThumbnailCache,f676c15d-596a-4ce2-8234-33996f445db1,true Windows.Win32.UI.Shell,IThumbnailCachePrimer,0f03f8fe-2b26-46f0-965a-212aa8d66b76,true,standard_derived, Windows.Win32.UI.Shell,IThumbnailCapture,4ea39266-7211-409f-b622-f63dbd16c533,false,,missing_handle_ownership Windows.Win32.UI.Shell,IThumbnailHandlerFactory,e35b4b2e-00da-4bc1-9f13-38bc11f5d417,true,standard_derived, -Windows.Win32.UI.Shell,IThumbnailProvider,e357fccd-a995-4576-b01f-234630154e96,false,,missing_handle_ownership +Windows.Win32.UI.Shell,IThumbnailProvider,e357fccd-a995-4576-b01f-234630154e96,true,exact_registry_dependent, Windows.Win32.UI.Shell,IThumbnailSettings,f4376f00-bef5-4d45-80f3-1e023bbf1209,true,standard_derived, Windows.Win32.UI.Shell,IThumbnailStreamCache,90e11430-9569-41d8-ae75-6d4d2ae7cca0,true,standard_derived, Windows.Win32.UI.Shell,ITrackShellMenu,8278f932-2a3e-11d2-838f-00c04fd918d0,false,,incomplete_pointee_layout_for_storage @@ -6695,8 +6695,8 @@ Windows.Win32.UI.Shell.PropertiesSystem,IInitializeWithFile,b7d14566-0509-4cce-a Windows.Win32.UI.Shell.PropertiesSystem,IInitializeWithStream,b824b49d-22ac-4161-ac8a-9916e8fa3f7f,true,standard_derived, Windows.Win32.UI.Shell.PropertiesSystem,INamedPropertyStore,71604b0f-97b0-4764-8577-2f13e98a1422,true,standard_derived, Windows.Win32.UI.Shell.PropertiesSystem,IObjectWithPropertyKey,fc0ca0a7-c316-4fd2-9031-3e628e6d4f23,true,standard_derived, -Windows.Win32.UI.Shell.PropertiesSystem,IPersistSerializedPropStorage,e318ad57-0aa0-450f-aca5-6fab7103d917,false,,missing_allocator -Windows.Win32.UI.Shell.PropertiesSystem,IPersistSerializedPropStorage2,77effa68-4f98-4366-ba72-573b3d880571,false,,missing_allocator +Windows.Win32.UI.Shell.PropertiesSystem,IPersistSerializedPropStorage,e318ad57-0aa0-450f-aca5-6fab7103d917,true,exact_registry_dependent, +Windows.Win32.UI.Shell.PropertiesSystem,IPersistSerializedPropStorage2,77effa68-4f98-4366-ba72-573b3d880571,true,exact_registry_dependent, Windows.Win32.UI.Shell.PropertiesSystem,IPropertyChange,f917bc8a-1bba-4478-a245-1bde03eb9431,true,standard_derived, Windows.Win32.UI.Shell.PropertiesSystem,IPropertyChangeArray,380f5cad-1b5e-42f2-805d-637fd392d31e,true,standard_derived, Windows.Win32.UI.Shell.PropertiesSystem,IPropertyDescription,6f79d558-3e96-4549-a1d1-7d75d2288814,false,,missing_allocator diff --git a/tools/dynwinrt-codegen/contracts/classic-com/conditional-outputs.json b/tools/dynwinrt-codegen/contracts/classic-com/conditional-outputs.json index 5ef72e31..17528371 100644 --- a/tools/dynwinrt-codegen/contracts/classic-com/conditional-outputs.json +++ b/tools/dynwinrt-codegen/contracts/classic-com/conditional-outputs.json @@ -71,7 +71,9 @@ "sourceFingerprint": "EA3628EB9E45E1A0BAA0BC9F6DA1FD82FE938091EF1730E25E3CCEEA9EFD316B" }, "contract": { - "publicInputParameterIndices": [0], + "publicInputParameterIndices": [ + 0 + ], "contextParameterIndex": 2, "contextMustBeNativeNull": true, "flagsParameterIndex": 1, @@ -122,6 +124,704 @@ "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" } ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.getobject.slot-6.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::GetObject uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "GetObject", + "absoluteSlot": 6, + "parameterCount": 5, + "parameters": [ + { + "index": 0, + "name": "strObjectPath", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppObject", + "nativeType": "Windows.Win32.System.Wmi.IWbemClassObject", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 4, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2BEDF71C77747D732A0672CBC3E36117D84276622B672521B802BA01851563A4" + }, + "contract": { + "publicInputParameterIndices": [ + 0 + ], + "contextParameterIndex": 2, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 1, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": 3, + "optionName": "object" + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 4, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 3, + "interfaceIid": "dc12a681-737f-11cf-884d-00aa004b2e24", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + }, + { + "parameterIndex": 4, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-getobject", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putclass.slot-8.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::PutClass uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "PutClass", + "absoluteSlot": 8, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "pObject", + "nativeType": "Windows.Win32.System.Wmi.IWbemClassObject", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "328A97A723ABF04163C2B5BCDD1585F5C4553783BF788C1B3BDF4372C5375083" + }, + "contract": { + "publicInputParameterIndices": [ + 0 + ], + "contextParameterIndex": 2, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 1, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": null, + "optionName": null + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 3, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 3, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-putclass", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteclass.slot-10.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::DeleteClass uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "DeleteClass", + "absoluteSlot": 10, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "strClass", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "0315584C0B90F153FEAFDF3DC99CFEDACD0E473FBBBE4C06E40961167FDE2AD6" + }, + "contract": { + "publicInputParameterIndices": [ + 0 + ], + "contextParameterIndex": 2, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 1, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": null, + "optionName": null + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 3, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 3, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-deleteclass", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.putinstance.slot-14.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::PutInstance uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "PutInstance", + "absoluteSlot": 14, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "pInst", + "nativeType": "Windows.Win32.System.Wmi.IWbemClassObject", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B2F893185D67E641DB62BC0AB2F991540EDC4C157BC9F4A88987C03944D005F9" + }, + "contract": { + "publicInputParameterIndices": [ + 0 + ], + "contextParameterIndex": 2, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 1, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": null, + "optionName": null + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 3, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 3, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-putinstance", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.deleteinstance.slot-16.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::DeleteInstance uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "DeleteInstance", + "absoluteSlot": 16, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "strObjectPath", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "10B5A66DD158D91DC7A51570BE933EF616E304EFCE5E82EFDF58AA0832FBC4BA" + }, + "contract": { + "publicInputParameterIndices": [ + 0 + ], + "contextParameterIndex": 2, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 1, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": null, + "optionName": null + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 3, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 3, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-deleteinstance", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.execmethod.slot-24.v1", + "familyId": "wmi.conditional-output.v1", + "kind": "conditional-output", + "reason": "IWbemServices::ExecMethod uses exact synchronous/semisynchronous output selection controlled by WBEM_FLAG_RETURN_IMMEDIATELY", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Wmi", + "name": "IWbemServices", + "iid": "9556dc99-828c-11cf-a37e-00aa003240c7" + }, + "declaringIid": "9556dc99-828c-11cf-a37e-00aa003240c7", + "method": "ExecMethod", + "absoluteSlot": 24, + "parameterCount": 7, + "parameters": [ + { + "index": 0, + "name": "strObjectPath", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "strMethodName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 2, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_GENERIC_FLAG_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "pCtx", + "nativeType": "Windows.Win32.System.Wmi.IWbemContext", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 4, + "name": "pInParams", + "nativeType": "Windows.Win32.System.Wmi.IWbemClassObject", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 5, + "name": "ppOutParams", + "nativeType": "Windows.Win32.System.Wmi.IWbemClassObject", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 6, + "name": "ppCallResult", + "nativeType": "Windows.Win32.System.Wmi.IWbemCallResult", + "pointerDepth": 1, + "direction": "inout", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "3F7B10674AB434C0E363951EFD437F6B0C078E2D8E82550CADF184F886D6B201" + }, + "contract": { + "publicInputParameterIndices": [ + 0, + 1, + 4 + ], + "contextParameterIndex": 3, + "contextMustBeNativeNull": true, + "flagsParameterIndex": 2, + "flagsOptionName": "lFlags", + "synchronous": { + "flags": 0, + "outputParameterIndex": 5, + "optionName": "outParams" + }, + "semisynchronous": { + "flags": 16, + "outputParameterIndex": 6, + "optionName": "result" + }, + "outputs": [ + { + "parameterIndex": 5, + "interfaceIid": "dc12a681-737f-11cf-884d-00aa004b2e24", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + }, + { + "parameterIndex": 6, + "interfaceIid": "44aca675-e8fc-11d0-a07c-00c04fb68820", + "argumentOptional": true, + "nullableOnSuccess": false, + "ownership": "owned-com-plus-one" + } + ] + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemservices-execmethod", + "file": null + }, + { + "kind": "sdk-header", + "url": null, + "file": "WbemCli.h/WbemIdl.idl" + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] } ] } diff --git a/tools/dynwinrt-codegen/contracts/classic-com/manifest.json b/tools/dynwinrt-codegen/contracts/classic-com/manifest.json index 15352376..d5117ff3 100644 --- a/tools/dynwinrt-codegen/contracts/classic-com/manifest.json +++ b/tools/dynwinrt-codegen/contracts/classic-com/manifest.json @@ -5,7 +5,13 @@ "path": "conditional-outputs.json", "kind": "conditional-output", "familyIds": ["wmi.conditional-output.v1"], - "sha256": "9E3D44052CE16146F16516D498B6E9B7FD2406AEAF852DCC307A38C3EEA842DF" + "sha256": "01E05134218C12F6E3BC0D0F6DBB6D19E40A553B3EA94266262CC0AC6D720B4C" + }, + { + "path": "ownership-outputs.json", + "kind": "ownership", + "familyIds": ["com.ownership.v1"], + "sha256": "96C76D7A2762FC077D73AF74050B7F585DB71B4E5A2E583FD50F212F82164C0C" } ] } diff --git a/tools/dynwinrt-codegen/contracts/classic-com/ownership-outputs.json b/tools/dynwinrt-codegen/contracts/classic-com/ownership-outputs.json new file mode 100644 index 00000000..ca94b09b --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/ownership-outputs.json @@ -0,0 +1,8277 @@ +{ + "schemaVersion": 2, + "contracts": [ + { + "entryId": "com.ownership.entry.windows-win32-devices-portabledevices.iportabledevice.625e2df863924cf09ad13cfa5f17775c.getpnpdeviceid.slot-11.param-0-ppszpnpdeviceid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IPortableDevice::GetPnPDeviceID parameter ppszPnPDeviceID as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Devices.PortableDevices", + "name": "IPortableDevice", + "iid": "625e2df8-6392-4cf0-9ad1-3cfa5f17775c" + }, + "declaringIid": "625e2df8-6392-4cf0-9ad1-3cfa5f17775c", + "method": "GetPnPDeviceID", + "absoluteSlot": 11, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszPnPDeviceID", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "7C95E8A738067B4AD6F02B3A493B792AA3E06906A69DFD852537289141CF02ED" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/portabledeviceapi/nf-portabledeviceapi-iportabledevice-getpnpdeviceid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getrevision.slot-30.param-0-revision.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetRevision parameter revision as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetRevision", + "absoluteSlot": 30, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "revision", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E9B541AC62A67008C0E4DF7848B8987D8EEB208F869E048F4B89CAC98B19DEE4" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getrevision", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getsubject.slot-32.param-0-subject.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetSubject parameter subject as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetSubject", + "absoluteSlot": 32, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "subject", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "20B40E77732CAC3E39699ADEF3423C4FC055794A5D50D902A331B1D2922BE9DC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getsubject", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.gettitle.slot-34.param-0-title.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetTitle parameter title as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetTitle", + "absoluteSlot": 34, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "title", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B16FDE9BA521B703A5400721558713A312AF5F5D0460CA6AFFF44693F5E582AD" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-gettitle", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomdictionary.897c86b88eaf4ae3bdde56419fcf4236.getat.slot-5.param-1-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMDictionary::GetAt parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMDictionary", + "iid": "897c86b8-8eaf-4ae3-bdde-56419fcf4236" + }, + "declaringIid": "897c86b8-8eaf-4ae3-bdde-56419fcf4236", + "method": "GetAt", + "absoluteSlot": 5, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "index", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "entry", + "nativeType": "Windows.Win32.Storage.Xps.IXpsOMShareable", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "71A6BF79BBA1CEEA6DF3C6E6DF1D93C2F0C84F6FB6D66F3E1818DEC5CF7C04F3" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomdictionary-getat", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomgeometry.64fcf3d74d5844baad73a13af6492072.gettransformlookup.slot-11.param-0-lookup.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGeometry::GetTransformLookup parameter lookup as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGeometry", + "iid": "64fcf3d7-4d58-44ba-ad73-a13af6492072" + }, + "declaringIid": "64fcf3d7-4d58-44ba-ad73-a13af6492072", + "method": "GetTransformLookup", + "absoluteSlot": 11, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "lookup", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "0467D7D58A6370D642A24BC282F9858C006CF49B3627DADE04AD48DEB66872FD" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgeometry-gettransformlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphs.819b31990a5a4b64bec7a9e17e780de2.getfillbrushlookup.slot-53.param-0-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGlyphs::GetFillBrushLookup parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGlyphs", + "iid": "819b3199-0a5a-4b64-bec7-a9e17e780de2" + }, + "declaringIid": "819b3199-0a5a-4b64-bec7-a9e17e780de2", + "method": "GetFillBrushLookup", + "absoluteSlot": 53, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "0C9D165EF8E870E4FC85BBC784A90C19D58938D61D9B8B872C41A44D8E98958D" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphs-getfillbrushlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getlastmodifiedby.slot-24.param-0-lastmodifiedby.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetLastModifiedBy parameter lastModifiedBy as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetLastModifiedBy", + "absoluteSlot": 24, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "lastModifiedBy", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2D9A8B6FD83F4BFD4CC1F9FE942962F8E51444E3E0C2C6F62C7F900DB3F0F358" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getlastmodifiedby", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphs.819b31990a5a4b64bec7a9e17e780de2.getunicodestring.slot-30.param-0-unicodestring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGlyphs::GetUnicodeString parameter unicodeString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGlyphs", + "iid": "819b3199-0a5a-4b64-bec7-a9e17e780de2" + }, + "declaringIid": "819b3199-0a5a-4b64-bec7-a9e17e780de2", + "method": "GetUnicodeString", + "absoluteSlot": 30, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "unicodeString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "DAFFD452E133E9BE341C215636C4FDAC32740D71A3D6CF71B6F1C837DB5C64DE" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphs-getunicodestring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getunicodestring.slot-4.param-0-unicodestring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGlyphsEditor::GetUnicodeString parameter unicodeString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGlyphsEditor", + "iid": "a5ab8616-5b16-4b9f-9629-89b323ed7909" + }, + "declaringIid": "a5ab8616-5b16-4b9f-9629-89b323ed7909", + "method": "GetUnicodeString", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "unicodeString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2CE7E594FE845EF1CB65AC14F664810636356D7CC1C0DF2FBEFF7A994D018C53" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphseditor-getunicodestring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomgradientbrush.edb5962261a242c3baceacf2286c06bf.gettransformlookup.slot-11.param-0-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGradientBrush::GetTransformLookup parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGradientBrush", + "iid": "edb59622-61a2-42c3-bace-acf2286c06bf" + }, + "declaringIid": "edb59622-61a2-42c3-bace-acf2286c06bf", + "method": "GetTransformLookup", + "absoluteSlot": 11, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "71359AD8372D9C707C75F8011DA3868AAB93BA7B883585EA50FC19676F27A4EC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgradientbrush-gettransformlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomnamecollection.4bddf8ecc915421ba166d173d25653d2.getat.slot-4.param-1-name.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMNameCollection::GetAt parameter name as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMNameCollection", + "iid": "4bddf8ec-c915-421b-a166-d173d25653d2" + }, + "declaringIid": "4bddf8ec-c915-421b-a166-d173d25653d2", + "method": "GetAt", + "absoluteSlot": 4, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "index", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "6E227EF3FF34C04E88FD55BBD4065397DE25B6B60EF3F44B5A3AE254D7A58210" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomnamecollection-getat", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.generateunusedlookupkey.slot-25.param-1-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMPage::GenerateUnusedLookupKey parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4" + }, + "declaringIid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GenerateUnusedLookupKey", + "absoluteSlot": 25, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "type", + "nativeType": "Windows.Win32.Storage.Xps.XPS_OBJECT_TYPE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2279C51F31BE3B709E1AC297079DA4C9CED526D70D2A7BF3B4A4B2D6015B1734" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-generateunusedlookupkey", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getlanguage.slot-13.param-0-language.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMPage::GetLanguage parameter language as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4" + }, + "declaringIid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GetLanguage", + "absoluteSlot": 13, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "language", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "18FB399E551DE782A3865A9947C05D6333E4C9ADF49C6C5B9EF06958C5BBB19A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-getlanguage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsompage.d3e18888f1204fee8c6835296eae91d4.getname.slot-15.param-0-name.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMPage::GetName parameter name as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMPage", + "iid": "d3e18888-f120-4fee-8c68-35296eae91d4" + }, + "declaringIid": "d3e18888-f120-4fee-8c68-35296eae91d4", + "method": "GetName", + "absoluteSlot": 15, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2344026EF8F9A68CC63181885D3E5D7FCA7FEBD76141B82E31400F6E49EFA871" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompage-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomglyphseditor.a5ab86165b164b9f962989b323ed7909.getdevicefontname.slot-19.param-0-devicefontname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMGlyphsEditor::GetDeviceFontName parameter deviceFontName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMGlyphsEditor", + "iid": "a5ab8616-5b16-4b9f-9629-89b323ed7909" + }, + "declaringIid": "a5ab8616-5b16-4b9f-9629-89b323ed7909", + "method": "GetDeviceFontName", + "absoluteSlot": 19, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "deviceFontName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "1C831A99F6829CA78ED0AD68FA8A20AC20CE2ABF44F28CA093DBB050808CE0D0" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomglyphseditor-getdevicefontname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsompath.37d38bb63ee94110931214b194163337.getaccessibilitylongdescription.slot-37.param-0-longdescription.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMPath::GetAccessibilityLongDescription parameter longDescription as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMPath", + "iid": "37d38bb6-3ee9-4110-9312-14b194163337" + }, + "declaringIid": "37d38bb6-3ee9-4110-9312-14b194163337", + "method": "GetAccessibilityLongDescription", + "absoluteSlot": 37, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "longDescription", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "91E9269807768A9856A7E29E458EB8315AFE69EF28696177126BCE604D7E510E" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompath-getaccessibilitylongdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getlanguage.slot-22.param-0-language.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetLanguage parameter language as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetLanguage", + "absoluteSlot": 22, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "language", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8E4CB1E1C6F9E0A9EA64BC241C520FE225E415F59EA42F7F4767CCDB4E141428" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getlanguage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getidentifier.slot-18.param-0-identifier.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetIdentifier parameter identifier as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetIdentifier", + "absoluteSlot": 18, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "identifier", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "14C220815B07BD12F52247580FE4B1CDD62BA09BB38B160C532AC4E637F49E2E" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getidentifier", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getrelationshiptype.slot-4.param-0-relationshiptype.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcRelationship::GetRelationshipType parameter relationshipType as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcRelationship", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee72" + }, + "declaringIid": "42195949-3b79-4fc8-89c6-fc7fb979ee72", + "method": "GetRelationshipType", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "relationshipType", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CB1C5BF36A54E9529B078603331CB8761183BDA06BF3BAB25303BA2C41AC2D00" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationship-getrelationshiptype", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationshipselector.f8f26c7fb28f489984c85d5639ede75f.getselectioncriterion.slot-4.param-0-selectioncriterion.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcRelationshipSelector::GetSelectionCriterion parameter selectionCriterion as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcRelationshipSelector", + "iid": "f8f26c7f-b28f-4899-84c8-5d5639ede75f" + }, + "declaringIid": "f8f26c7f-b28f-4899-84c8-5d5639ede75f", + "method": "GetSelectionCriterion", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "selectionCriterion", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A40AC693ADEEFAE31A61FBAA4B97CE678FD46B74729FFE92AAF55E784A868DCC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationshipselector-getselectioncriterion", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturepartreference.e24231ca59f4484eb64b36eeda36072c.getdigestvalue.slot-6.param-0-digestvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignaturePartReference::GetDigestValue parameter digestValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignaturePartReference", + "iid": "e24231ca-59f4-484e-b64b-36eeda36072c" + }, + "declaringIid": "e24231ca-59f4-484e-b64b-36eeda36072c", + "method": "GetDigestValue", + "absoluteSlot": 6, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "digestValue", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E44EF5E4E74909AA6D3CA81577D43503BD0AE60ED81E225140B242B31CC7AF12" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturepartreference-getdigestvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestmethod.slot-7.param-0-digestmethod.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignatureReference::GetDigestMethod parameter digestMethod as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342" + }, + "declaringIid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetDigestMethod", + "absoluteSlot": 7, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "digestMethod", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C0D5E026789032F22CFC166C143361BB8D4D5CA6B294BDD1692207162121AC55" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getdigestmethod", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getdigestvalue.slot-8.param-0-digestvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignatureReference::GetDigestValue parameter digestValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342" + }, + "declaringIid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetDigestValue", + "absoluteSlot": 8, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "digestValue", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8B626B5659171C9F6F501201C14CA04B4FC6B2635EA71BE9008059CB88874D51" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getdigestvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.getid.slot-3.param-0-referenceid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignatureReference::GetId parameter referenceId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342" + }, + "declaringIid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetId", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "referenceId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4923AB113174756058B7100724173CF56FA13BB4E9E4005A0993C7AC6155A153" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-getid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getkeywords.slot-20.param-0-keywords.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetKeywords parameter keywords as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetKeywords", + "absoluteSlot": 20, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "keywords", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E5CBCA3A467B17974940873D8F737783DF372F9332310958FB034E4098C3A84A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getkeywords", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturereference.1b47005e30114edcbe6f0f65e5ab0342.gettype.slot-5.param-0-type.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignatureReference::GetType parameter type as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignatureReference", + "iid": "1b47005e-3011-4edc-be6f-0f65e5ab0342" + }, + "declaringIid": "1b47005e-3011-4edc-be6f-0f65e5ab0342", + "method": "GetType", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "type", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4E968A4144CCC701A84044B400168308CF960C2A322389E73E2B62941F06ADA8" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturereference-gettype", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getdefaultdigestmethod.slot-7.param-0-digestmethod.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSigningOptions::GetDefaultDigestMethod parameter digestMethod as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e" + }, + "declaringIid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetDefaultDigestMethod", + "absoluteSlot": 7, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "digestMethod", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A625034CDB34EE7870B1480CA406516DA5EAAA44D458F1F6CF928670893953EF" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getdefaultdigestmethod", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignatureid.slot-3.param-0-signatureid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSigningOptions::GetSignatureId parameter signatureId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e" + }, + "declaringIid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetSignatureId", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signatureId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CA159EC3D9DC531510C92276C4E9BB5DD80622D02E72BEA8EF13A1120E363C55" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getsignatureid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsigningoptions.50d2d6a57aeb46c0b24143ab0e9b407e.getsignaturemethod.slot-5.param-0-signaturemethod.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSigningOptions::GetSignatureMethod parameter signatureMethod as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSigningOptions", + "iid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e" + }, + "declaringIid": "50d2d6a5-7aeb-46c0-b241-43ab0e9b407e", + "method": "GetSignatureMethod", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signatureMethod", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A641729841B98EA8E830EA80B59CFE6E0C687CF7F388887B5CB98C0FE1E2C1EE" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsigningoptions-getsignaturemethod", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcanvas.221d1452331e47c687e96ccefb9b5ba3.getaccessibilityshortdescription.slot-33.param-0-shortdescription.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCanvas::GetAccessibilityShortDescription parameter shortDescription as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCanvas", + "iid": "221d1452-331e-47c6-87e9-6ccefb9b5ba3" + }, + "declaringIid": "221d1452-331e-47c6-87e9-6ccefb9b5ba3", + "method": "GetAccessibilityShortDescription", + "absoluteSlot": 33, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "shortDescription", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "619160FD29FE53E545FC180DA2E0DD88C6761AAB8476CF6F8CD1C376A9FA3657" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcanvas-getaccessibilityshortdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getcontentstatus.slot-8.param-0-contentstatus.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetContentStatus parameter contentStatus as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetContentStatus", + "absoluteSlot": 8, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "contentStatus", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C9B0E293664DD3F87586B1557A3AD3704832C640021F194AD8D91967A6FD26F6" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getcontentstatus", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomcoreproperties.3340fe8f40274aa18f5fd35ae45fe597.getdescription.slot-16.param-0-description.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMCoreProperties::GetDescription parameter description as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMCoreProperties", + "iid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597" + }, + "declaringIid": "3340fe8f-4027-4aa1-8f5f-d35ae45fe597", + "method": "GetDescription", + "absoluteSlot": 16, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "description", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "44D1F4D05B9DBDCFEA9EC3A56B4E02302330BF4316145E104DDF1CA9036407C7" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomcoreproperties-getdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcsignaturerelationshipreference.57babac69d4a4e508b86e5d4051eae7c.getdigestvalue.slot-5.param-0-digestvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcSignatureRelationshipReference::GetDigestValue parameter digestValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcSignatureRelationshipReference", + "iid": "57babac6-9d4a-4e50-8b86-e5d4051eae7c" + }, + "declaringIid": "57babac6-9d4a-4e50-8b86-e5d4051eae7c", + "method": "GetDigestValue", + "absoluteSlot": 5, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "digestValue", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5ED01A752BDB58948B54F5239E324E555A87E4A690123EC4842F7FA104D35E87" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcsignaturerelationshipreference-getdigestvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsompath.37d38bb63ee94110931214b194163337.getaccessibilityshortdescription.slot-35.param-0-shortdescription.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMPath::GetAccessibilityShortDescription parameter shortDescription as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMPath", + "iid": "37d38bb6-3ee9-4110-9312-14b194163337" + }, + "declaringIid": "37d38bb6-3ee9-4110-9312-14b194163337", + "method": "GetAccessibilityShortDescription", + "absoluteSlot": 35, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "shortDescription", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "FDF0B5CDDBF31A8D16184E8A07573FA934E6A83ADC940E1CD3059CA0A9D284CB" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsompath-getaccessibilityshortdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomtilebrush.0fc2328dd7224a54b2ecbe90218a789e.gettransformlookup.slot-10.param-0-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMTileBrush::GetTransformLookup parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMTileBrush", + "iid": "0fc2328d-d722-4a54-b2ec-be90218a789e" + }, + "declaringIid": "0fc2328d-d722-4a54-b2ec-be90218a789e", + "method": "GetTransformLookup", + "absoluteSlot": 10, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "BD3F4D77C584EA676308D8BAA41ECB610852D84D5CAE666059EF589374D81AE0" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomtilebrush-gettransformlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.getname.slot-22.param-0-name.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMVisual::GetName parameter name as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd" + }, + "declaringIid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetName", + "absoluteSlot": 22, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5927444FCE9E89A1CABF48FEF36353AFB23AE02942E8F05DB4900A2582092966" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getruntimes.slot-8.param-3-rgsttasktimes.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IScheduledWorkItem::GetRunTimes parameter rgstTaskTimes as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec" + }, + "declaringIid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetRunTimes", + "absoluteSlot": 8, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "pstBegin", + "nativeType": "Windows.Win32.Foundation.SYSTEMTIME", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 1, + "name": "pstEnd", + "nativeType": "Windows.Win32.Foundation.SYSTEMTIME", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 2, + "name": "pCount", + "nativeType": "u16", + "pointerDepth": 1, + "direction": "inout", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 3, + "name": "rgstTaskTimes", + "nativeType": "Windows.Win32.Foundation.SYSTEMTIME", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B243B2CEE060B0E322C4DC5F3687300D32E9C563CDBCEAD4CA46015DB5951863" + }, + "contract": { + "parameterIndex": 3, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getruntimes", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getworkitemdata.slot-23.param-1-prgbdata.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IScheduledWorkItem::GetWorkItemData parameter prgbData as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec" + }, + "declaringIid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetWorkItemData", + "absoluteSlot": 23, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pcbData", + "nativeType": "u16", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "prgbData", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B0A46009AED33DC2DCE9DA02C0CAAC4A7DBAF8C23EDB0FB8AB54EE45192A2819" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getworkitemdata", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.itask.148bd524a2ab11ceb11f00aa00530503.getparameters.slot-35.param-0-ppwszparameters.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITask::GetParameters parameter ppwszParameters as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "ITask", + "iid": "148bd524-a2ab-11ce-b11f-00aa00530503" + }, + "declaringIid": "148bd524-a2ab-11ce-b11f-00aa00530503", + "method": "GetParameters", + "absoluteSlot": 35, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszParameters", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "7E80CA19D66790A0BB8E99A4848EB858D553A7483924BA6CD1C0AD81085A86B3" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itask-getparameters", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.itask.148bd524a2ab11ceb11f00aa00530503.getworkingdirectory.slot-37.param-0-ppwszworkingdirectory.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITask::GetWorkingDirectory parameter ppwszWorkingDirectory as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "ITask", + "iid": "148bd524-a2ab-11ce-b11f-00aa00530503" + }, + "declaringIid": "148bd524-a2ab-11ce-b11f-00aa00530503", + "method": "GetWorkingDirectory", + "absoluteSlot": 37, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszWorkingDirectory", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "20B30FCD861CFD687903D89FC6E310FAA4C5EEE4EFEED102414F244546CF4DDD" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itask-getworkingdirectory", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.itaskscheduler.148bd527a2ab11ceb11f00aa00530503.gettargetcomputer.slot-4.param-0-ppwszcomputer.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITaskScheduler::GetTargetComputer parameter ppwszComputer as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "ITaskScheduler", + "iid": "148bd527-a2ab-11ce-b11f-00aa00530503" + }, + "declaringIid": "148bd527-a2ab-11ce-b11f-00aa00530503", + "method": "GetTargetComputer", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszComputer", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "654917415B5CB35948CB03A64F7DEC9475C63E01F74FB68392C63CB79F1A7E8A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-itaskscheduler-gettargetcomputer", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-winrt.iinspectable.af86e2e0b12d4c6a9c5ad7aa65101e90.getiids.slot-3.param-1-iids.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IInspectable::GetIids parameter iids as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.WinRT", + "name": "IInspectable", + "iid": "af86e2e0-b12d-4c6a-9c5a-d7aa65101e90" + }, + "declaringIid": "af86e2e0-b12d-4c6a-9c5a-d7aa65101e90", + "method": "GetIids", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "iidCount", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "iids", + "nativeType": "System.Guid", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "730B73060EAFB9D8C2820E731637C45736FD41ADE0F1EA8911739AE78E7C9BB1" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/inspectable/nf-inspectable-iinspectable-getiids", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-taskscheduler.ischeduledworkitem.a6b952f0a4b111d0997d00aa006887ec.getaccountinformation.slot-31.param-0-ppwszaccountname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IScheduledWorkItem::GetAccountInformation parameter ppwszAccountName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.TaskScheduler", + "name": "IScheduledWorkItem", + "iid": "a6b952f0-a4b1-11d0-997d-00aa006887ec" + }, + "declaringIid": "a6b952f0-a4b1-11d0-997d-00aa006887ec", + "method": "GetAccountInformation", + "absoluteSlot": 31, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszAccountName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C30506742230C2FAA13DCA8A49B36EFFA634CDA8A0B27A32D0D2304C2049F923" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mstask/nf-mstask-ischeduledworkitem-getaccountinformation", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-accessibility.iaccidentity.7852b78d1cfd41c1a6159c0c85960b5f.getidentitystring.slot-3.param-1-ppidstring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAccIdentity::GetIdentityString parameter ppIDString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Accessibility", + "name": "IAccIdentity", + "iid": "7852b78d-1cfd-41c1-a615-9c0c85960b5f" + }, + "declaringIid": "7852b78d-1cfd-41c1-a615-9c0c85960b5f", + "method": "GetIdentityString", + "absoluteSlot": 3, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "dwIDChild", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppIDString", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pdwIDStringLen", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B6E469CD9FFEFB9296F1ED7DB04B9A45ADDB53BE4FA3991E8DF95D8538D5D7D7" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/oleacc/nf-oleacc-iaccidentity-getidentitystring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.icredentialprovideruser.137932853ea640fdb42015f47da41fbb.getsid.slot-3.param-0-sid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ICredentialProviderUser::GetSid parameter sid as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "ICredentialProviderUser", + "iid": "13793285-3ea6-40fd-b420-15f47da41fbb" + }, + "declaringIid": "13793285-3ea6-40fd-b420-15f47da41fbb", + "method": "GetSid", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "sid", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "9C0E84CB8E372C7FF37262FB3908746E44A174B07F2930DC0CA090EFA3F5894B" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/credentialprovider/nf-credentialprovider-icredentialprovideruser-getsid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.ifiledialogcustomize.e6fdd21a163f49759c8ca69f1ba37034.geteditboxtext.slot-15.param-1-ppsztext.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IFileDialogCustomize::GetEditBoxText parameter ppszText as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "IFileDialogCustomize", + "iid": "e6fdd21a-163f-4975-9c8c-a69f1ba37034" + }, + "declaringIid": "e6fdd21a-163f-4975-9c8c-a69f1ba37034", + "method": "GetEditBoxText", + "absoluteSlot": 15, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "dwIDCtl", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppszText", + "nativeType": "u16", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "AA8DF212F0B3CBF69B03F1990976F408A85721C7ACDC5236E4CC58D45A6385F4" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialogcustomize-geteditboxtext", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.iqueryinfo.0002150000000000c000000000000046.getinfotip.slot-3.param-1-ppwsztip.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IQueryInfo::GetInfoTip parameter ppwszTip as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "IQueryInfo", + "iid": "00021500-0000-0000-c000-000000000046" + }, + "declaringIid": "00021500-0000-0000-c000-000000000046", + "method": "GetInfoTip", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "dwFlags", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppwszTip", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "464992DE7473599076443BE14AAEFAAA67E0623058696DA38B74BC83D6B64FFA" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shlobj_core/nf-shlobj_core-iqueryinfo-getinfotip", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.getcomment.slot-5.param-0-ppszcomment.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISyncMgrHandlerInfo::GetComment parameter ppszComment as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "ISyncMgrHandlerInfo", + "iid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a" + }, + "declaringIid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a", + "method": "GetComment", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszComment", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "89128C082B63F4DB008431CA9991A79009DFDBDC6F48A4281565B4300F2FDEC5" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrhandlerinfo-getcomment", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.isyncmgrhandlerinfo.4ff1d798ecf74524aa811e362a0aef3a.gettypelabel.slot-4.param-0-ppsztypelabel.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISyncMgrHandlerInfo::GetTypeLabel parameter ppszTypeLabel as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "ISyncMgrHandlerInfo", + "iid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a" + }, + "declaringIid": "4ff1d798-ecf7-4524-aa81-1e362a0aef3a", + "method": "GetTypeLabel", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszTypeLabel", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D4E48194227A21AA4FCD060F30FED6C7A8F8F21DB56DC4D29855FCD039B0F7B9" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrhandlerinfo-gettypelabel", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.getcomment.slot-4.param-0-ppszcomment.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISyncMgrSyncItemInfo::GetComment parameter ppszComment as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "ISyncMgrSyncItemInfo", + "iid": "e7fd9502-be0c-4464-90a1-2b5277031232" + }, + "declaringIid": "e7fd9502-be0c-4464-90a1-2b5277031232", + "method": "GetComment", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszComment", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5C0FB4F7A662845AE0BD415E989CE6E3E58706E8847679C86B780EC2CA3E1D99" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrsynciteminfo-getcomment", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.iautocompletedropdown.3cd141f43c6a11d2bcaa00c04fd929db.getdropdownstatus.slot-3.param-1-ppwszstring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAutoCompleteDropDown::GetDropDownStatus parameter ppwszString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "IAutoCompleteDropDown", + "iid": "3cd141f4-3c6a-11d2-bcaa-00c04fd929db" + }, + "declaringIid": "3cd141f4-3c6a-11d2-bcaa-00c04fd929db", + "method": "GetDropDownStatus", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pdwFlags", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppwszString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "94734C62462169CF79C86237C799A5EA05DE617ACEA6C4E8B5619ABAF6E9A8D7" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl/nf-shobjidl-iautocompletedropdown-getdropdownstatus", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-settingsmanagementinfrastructure.isettingsitem.9f7d7bbb20b311da81a50030f1642e3c.getvalueraw.slot-8.param-0-data.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISettingsItem::GetValueRaw parameter Data as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.SettingsManagementInfrastructure", + "name": "ISettingsItem", + "iid": "9f7d7bbb-20b3-11da-81a5-0030f1642e3c" + }, + "declaringIid": "9f7d7bbb-20b3-11da-81a5-0030f1642e3c", + "method": "GetValueRaw", + "absoluteSlot": 8, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "Data", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "DataSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "370F90B953CF916B7FE78896E2429C64E268112B832626E9014796E2F61DCB6A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wcmconfig/nf-wcmconfig-isettingsitem-getvalueraw", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.isearchroot.04c18ccf1f574cbd88cc3900f5195ce3.get-rooturl.slot-6.param-0-ppszurl.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISearchRoot::get_RootURL parameter ppszURL as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "ISearchRoot", + "iid": "04c18ccf-1f57-4cbd-88cc-3900f5195ce3" + }, + "declaringIid": "04c18ccf-1f57-4cbd-88cc-3900f5195ce3", + "method": "get_RootURL", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszURL", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "994D0F5742072981A0B3915E0EED56480EE6DC058194AAD3356AD008A6E78825" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-isearchroot-get_rooturl", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.ischemalocalizersupport.ca3fdca2bfbe4eed90d70caef0a1bda1.localize.slot-3.param-1-ppszlocalstring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISchemaLocalizerSupport::Localize parameter ppszLocalString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "ISchemaLocalizerSupport", + "iid": "ca3fdca2-bfbe-4eed-90d7-0caef0a1bda1" + }, + "declaringIid": "ca3fdca2-bfbe-4eed-90d7-0caef0a1bda1", + "method": "Localize", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pszGlobalString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "ppszLocalString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A2D6F60A0CFB5988A205044797A42CE32D2429A1C8A3806575559AF804600434" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-ischemalocalizersupport-localize", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.getopacitymaskbrushlookup.slot-20.param-0-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMVisual::GetOpacityMaskBrushLookup parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd" + }, + "declaringIid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetOpacityMaskBrushLookup", + "absoluteSlot": 20, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D0246E88485B66C8C82AE1E9EE83598346BD51155A9B8F776B95CA8FB0772E3D" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-getopacitymaskbrushlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomvisual.bc3e7333fb0b4af3a8190b4eaad0d2fd.gettransformlookup.slot-8.param-0-key.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMVisual::GetTransformLookup parameter key as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMVisual", + "iid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd" + }, + "declaringIid": "bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd", + "method": "GetTransformLookup", + "absoluteSlot": 8, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "key", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8019E0B0C52A1F2FC2AAF827015BAC8BB959A7CAEEF97A1D8189557BFB350FD8" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisual-gettransformlookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpsomvisualbrush.97e294af5b3746b48057874d2f64119b.getvisuallookup.slot-21.param-0-lookup.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsOMVisualBrush::GetVisualLookup parameter lookup as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsOMVisualBrush", + "iid": "97e294af-5b37-46b4-8057-874d2f64119b" + }, + "declaringIid": "97e294af-5b37-46b4-8057-874d2f64119b", + "method": "GetVisualLookup", + "absoluteSlot": 21, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "lookup", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D54C3EDA9DA05FE6C9129E5368B3DC6D510011021D831114A9FCE6336ECA7A03" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomvisualbrush-getvisuallookup", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpssignaturerequest.ac58950b72084b2db2c4951083d3b8eb.getrequestedsigner.slot-5.param-0-signername.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsSignatureRequest::GetRequestedSigner parameter signerName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsSignatureRequest", + "iid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb" + }, + "declaringIid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb", + "method": "GetRequestedSigner", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signerName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "299EB74A880A72D7FC6BE3ECD9132E018D9132AF4593BED01C73DACD1EF88941" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssignaturerequest-getrequestedsigner", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpssignaturerequest.ac58950b72084b2db2c4951083d3b8eb.getrequestsignbydate.slot-7.param-0-datestring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsSignatureRequest::GetRequestSignByDate parameter dateString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsSignatureRequest", + "iid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb" + }, + "declaringIid": "ac58950b-7208-4b2d-b2c4-951083d3b8eb", + "method": "GetRequestSignByDate", + "absoluteSlot": 7, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "dateString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8F63E4A4DCE83FA6B24F9175EC6262D5FAF3C4223BF5FD59219BB89F9501B34E" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssignaturerequest-getrequestsignbydate", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-xps.ixpssigningoptions.7718eae4321549beaf5b594fef7fcfa6.getsignatureid.slot-3.param-0-signatureid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IXpsSigningOptions::GetSignatureId parameter signatureId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Xps", + "name": "IXpsSigningOptions", + "iid": "7718eae4-3215-49be-af5b-594fef7fcfa6" + }, + "declaringIid": "7718eae4-3215-49be-af5b-594fef7fcfa6", + "method": "GetSignatureId", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signatureId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4055A30A9E6E1F408B0689E8142F1CBD05B375A13F0B3093460E26D2330BBD7C" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/xpsdigitalsignature/nf-xpsdigitalsignature-ixpssigningoptions-getsignatureid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-com.icatinformation.0002e01300000000c000000000000046.getcategorydesc.slot-4.param-2-pszdesc.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ICatInformation::GetCategoryDesc parameter pszDesc as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Com", + "name": "ICatInformation", + "iid": "0002e013-0000-0000-c000-000000000046" + }, + "declaringIid": "0002e013-0000-0000-c000-000000000046", + "method": "GetCategoryDesc", + "absoluteSlot": 4, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "rcatid", + "nativeType": "System.Guid", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "lcid", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pszDesc", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "FA3D7D84BF86DDF31D21A9A9EC42936B321D8935D3BCA5AEA18FE30DBEAFCCB9" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comcat/nf-comcat-icatinformation-getcategorydesc", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-mmc.iheaderctrl.43136eb3d36c11cfadbc00aa00a80033.getcolumntext.slot-6.param-1-ptext.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IHeaderCtrl::GetColumnText parameter pText as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Mmc", + "name": "IHeaderCtrl", + "iid": "43136eb3-d36c-11cf-adbc-00aa00a80033" + }, + "declaringIid": "43136eb3-d36c-11cf-adbc-00aa00a80033", + "method": "GetColumnText", + "absoluteSlot": 6, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "nCol", + "nativeType": "i32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pText", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "23F9DFF5D2F92231BEBBEBD86221AE25F88B7FD03EB7678706365532C2651378" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mmc/nf-mmc-iheaderctrl-getcolumntext", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-0-ppszkey.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMetaData::GetData parameter ppszKey as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "IMetaData", + "iid": "780102b0-c43b-4876-bc7b-5e9ba5c88794" + }, + "declaringIid": "780102b0-c43b-4876-bc7b-5e9ba5c88794", + "method": "GetData", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppszKey", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": true, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppszValue", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D5A48591E126973353D54FEF0D4CE08660AF6F200001D73C9598496FB0161529" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-imetadata-getdata", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.imetadata.780102b0c43b4876bc7b5e9ba5c88794.getdata.slot-3.param-1-ppszvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMetaData::GetData parameter ppszValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "IMetaData", + "iid": "780102b0-c43b-4876-bc7b-5e9ba5c88794" + }, + "declaringIid": "780102b0-c43b-4876-bc7b-5e9ba5c88794", + "method": "GetData", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppszKey", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": true, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppszValue", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D5A48591E126973353D54FEF0D4CE08660AF6F200001D73C9598496FB0161529" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-imetadata-getdata", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.defaultphrase.slot-4.param-0-ppszphrase.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents INamedEntity::DefaultPhrase parameter ppszPhrase as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "INamedEntity", + "iid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd" + }, + "declaringIid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd", + "method": "DefaultPhrase", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszPhrase", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": true, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "FC1CD9E1AAFC98865D58A2BA7192A80BC2C5BF1CBE20C3875D1AC06E7A0CFF08" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-inamedentity-defaultphrase", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.inamedentity.abdbd0b17d5449fbab5cbff4130004cd.getvalue.slot-3.param-0-ppszvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents INamedEntity::GetValue parameter ppszValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "INamedEntity", + "iid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd" + }, + "declaringIid": "abdbd0b1-7d54-49fb-ab5c-bff4130004cd", + "method": "GetValue", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszValue", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "0552185E228DFD00F0FC34C1DBD0DD6D08883454AF6F52760EDB1A698B5015F3" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-inamedentity-getvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-2-ppszpropertyname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IQueryParser::RestatePropertyValueToString parameter ppszPropertyName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0" + }, + "declaringIid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestatePropertyValueToString", + "absoluteSlot": 10, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "pCondition", + "nativeType": "Windows.Win32.System.Search.ICondition", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "fUseEnglish", + "nativeType": "Windows.Win32.Foundation.BOOL", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "ppszPropertyName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 3, + "name": "ppszQueryString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "357B0DECA1074305912A9BBCD831C74987654672B4740D0CCA6A469FFC0E912B" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatepropertyvaluetostring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatepropertyvaluetostring.slot-10.param-3-ppszquerystring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IQueryParser::RestatePropertyValueToString parameter ppszQueryString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0" + }, + "declaringIid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestatePropertyValueToString", + "absoluteSlot": 10, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "pCondition", + "nativeType": "Windows.Win32.System.Search.ICondition", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "fUseEnglish", + "nativeType": "Windows.Win32.Foundation.BOOL", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "ppszPropertyName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 3, + "name": "ppszQueryString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "357B0DECA1074305912A9BBCD831C74987654672B4740D0CCA6A469FFC0E912B" + }, + "contract": { + "parameterIndex": 3, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatepropertyvaluetostring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-system-search.iqueryparser.2ebdee67350543f89946ea44abc8e5b0.restatetostring.slot-8.param-2-ppszquerystring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IQueryParser::RestateToString parameter ppszQueryString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.System.Search", + "name": "IQueryParser", + "iid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0" + }, + "declaringIid": "2ebdee67-3505-43f8-9946-ea44abc8e5b0", + "method": "RestateToString", + "absoluteSlot": 8, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "pCondition", + "nativeType": "Windows.Win32.System.Search.ICondition", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "fUseEnglish", + "nativeType": "Windows.Win32.Foundation.BOOL", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "ppszQueryString", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "3C9E3692C69D85B126E82D3EA3025C807CC73643C221E750B6A6C1B95F731320" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/structuredquery/nf-structuredquery-iqueryparser-restatetostring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcrelationship.421959493b794fc889c6fc7fb979ee72.getid.slot-3.param-0-relationshipidentifier.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcRelationship::GetId parameter relationshipIdentifier as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcRelationship", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee72" + }, + "declaringIid": "42195949-3b79-4fc8-89c6-fc7fb979ee72", + "method": "GetId", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "relationshipIdentifier", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "F69625F4D84053B3CDB71BB347A18AD69E569DEA01BD60EDEE54D1CF5D92CBDC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcrelationship-getid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.isyncmgrsynciteminfo.e7fd9502be0c446490a12b5277031232.gettypelabel.slot-3.param-0-ppsztypelabel.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ISyncMgrSyncItemInfo::GetTypeLabel parameter ppszTypeLabel as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "ISyncMgrSyncItemInfo", + "iid": "e7fd9502-be0c-4464-90a1-2b5277031232" + }, + "declaringIid": "e7fd9502-be0c-4464-90a1-2b5277031232", + "method": "GetTypeLabel", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszTypeLabel", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "ED535CA19780625C68673C2ACEB8EB4A4B3C14D9C7FBD985411A7B5932BCB85C" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-isyncmgrsynciteminfo-gettypelabel", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcpart.421959493b794fc889c6fc7fb979ee71.getcontenttype.slot-6.param-0-contenttype.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcPart::GetContentType parameter contentType as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcPart", + "iid": "42195949-3b79-4fc8-89c6-fc7fb979ee71" + }, + "declaringIid": "42195949-3b79-4fc8-89c6-fc7fb979ee71", + "method": "GetContentType", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "contentType", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A2D9DB85FED0EC691B7804050FF258711DDDFE331D668BB88760C2CED5A69E46" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcpart-getcontenttype", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignaturexml.slot-17.param-0-signaturexml.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetSignatureXml parameter signatureXml as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureXml", + "absoluteSlot": 17, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "signatureXml", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "02BBF3524316564BDE7E05B41A9A2739DE8107D20218C32AE4ABF6B662940B3B" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignaturexml", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.ifrequencymap.06fb45c1693c4ea7b79f7a6a54d8def2.get-countrycodelist.slot-8.param-1-ppullist.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IFrequencyMap::get_CountryCodeList parameter ppulList as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IFrequencyMap", + "iid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2" + }, + "declaringIid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2", + "method": "get_CountryCodeList", + "absoluteSlot": 8, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pulCount", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppulList", + "nativeType": "u32", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4F9354F904803DA29105A9233F6CF25B6B224544DEC9CCAF5B56304509EF675B" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bdaiface/nf-bdaiface-ifrequencymap-get_countrycodelist", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.ifrequencymap.06fb45c1693c4ea7b79f7a6a54d8def2.get-frequencymapping.slot-3.param-1-ppullist.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IFrequencyMap::get_FrequencyMapping parameter ppulList as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IFrequencyMap", + "iid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2" + }, + "declaringIid": "06fb45c1-693c-4ea7-b79f-7a6a54d8def2", + "method": "get_FrequencyMapping", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppulList", + "nativeType": "u32", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C9EFC4AC4232D327CF524D95409784240256A5440533BC25C5E94B2242BAFE44" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bdaiface/nf-bdaiface-ifrequencymap-get_frequencymapping", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol.0eb1088c4dcd46f0878f39dae86a51b7.getcurrentimage.slot-13.param-0-lpdib.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IVMRWindowlessControl::GetCurrentImage parameter lpDib as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IVMRWindowlessControl", + "iid": "0eb1088c-4dcd-46f0-878f-39dae86a51b7" + }, + "declaringIid": "0eb1088c-4dcd-46f0-878f-39dae86a51b7", + "method": "GetCurrentImage", + "absoluteSlot": 13, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "lpDib", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "42221D38FBE0C53FF9047035B787B16411B59A9240744053761EA4736C706247" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ivmrwindowlesscontrol-getcurrentimage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.ivmrwindowlesscontrol9.8f537d09f85e4414b23b502e54c79927.getcurrentimage.slot-13.param-0-lpdib.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IVMRWindowlessControl9::GetCurrentImage parameter lpDib as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IVMRWindowlessControl9", + "iid": "8f537d09-f85e-4414-b23b-502e54c79927" + }, + "declaringIid": "8f537d09-f85e-4414-b23b-502e54c79927", + "method": "GetCurrentImage", + "absoluteSlot": 13, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "lpDib", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "3000E03269FEB99CBBF622FC725AC9096C833731C1D970229F34396C4A010635" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/vmr9/nf-vmr9-ivmrwindowlesscontrol9-getcurrentimage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-ett.5a142cc9b8cf4a86a040e9cadf3ef3e7.getextendedmessagetext.slot-7.param-1-pptext.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IATSC_ETT::GetExtendedMessageText parameter ppText as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IATSC_ETT", + "iid": "5a142cc9-b8cf-4a86-a040-e9cadf3ef3e7" + }, + "declaringIid": "5a142cc9-b8cf-4a86-a040-e9cadf3ef3e7", + "method": "GetExtendedMessageText", + "absoluteSlot": 7, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pdwLength", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "ppText", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "33C416D8982CCCD3CB6DD8A1A694E6A5C688553085641E3A2FC1F0A1710B8EAC" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsc_ett-getextendedmessagetext", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.iatsc-vct.26879a1832f946c691f0fb6479270e8c.getrecordname.slot-8.param-1-pwsname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IATSC_VCT::GetRecordName parameter pwsName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IATSC_VCT", + "iid": "26879a18-32f9-46c6-91f0-fb6479270e8c" + }, + "declaringIid": "26879a18-32f9-46c6-91f0-fb6479270e8c", + "method": "GetRecordName", + "absoluteSlot": 8, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "dwRecordIndex", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pwsName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "7AD7E0D9BB6122A2ADAF1694111288FE627E1BFBDB38C53B4CE808AEDAD9EF29" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsc_vct-getrecordname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.iamvideocontrol.6a2e067028e411d0a18c00a0c9118956.getframeratelist.slot-8.param-4-framerates.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAMVideoControl::GetFrameRateList parameter FrameRates as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IAMVideoControl", + "iid": "6a2e0670-28e4-11d0-a18c-00a0c9118956" + }, + "declaringIid": "6a2e0670-28e4-11d0-a18c-00a0c9118956", + "method": "GetFrameRateList", + "absoluteSlot": 8, + "parameterCount": 5, + "parameters": [ + { + "index": 0, + "name": "pPin", + "nativeType": "Windows.Win32.Media.DirectShow.IPin", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "iIndex", + "nativeType": "i32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "Dimensions", + "nativeType": "Windows.Win32.Foundation.SIZE", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ListSize", + "nativeType": "i32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 4, + "name": "FrameRates", + "nativeType": "i64", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "05FAE58EE5F46707567CE0A9A4D7B88730CE4A52127812ACD0BC09FECA3F04C4" + }, + "contract": { + "parameterIndex": 4, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamvideocontrol-getframeratelist", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.iatsccontentadvisorydescriptor.ff76e60c028343eaba32b422238547ee.getrecordratingdescriptiontext.slot-10.param-2-pptext.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAtscContentAdvisoryDescriptor::GetRecordRatingDescriptionText parameter ppText as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IAtscContentAdvisoryDescriptor", + "iid": "ff76e60c-0283-43ea-ba32-b422238547ee" + }, + "declaringIid": "ff76e60c-0283-43ea-ba32-b422238547ee", + "method": "GetRecordRatingDescriptionText", + "absoluteSlot": 10, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "bIndex", + "nativeType": "u8", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pbLength", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "ppText", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2F535300DA8ACB7FD2E17D7443AA5E20144DE807B722ED8A125BFDE6997C057E" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/atscpsipparser/nf-atscpsipparser-iatsccontentadvisorydescriptor-getrecordratingdescriptiontext", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.igenericdescriptor.6a5918f8a77a4f61aed05702bdcda3e6.getbody.slot-6.param-0-ppbval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IGenericDescriptor::GetBody parameter ppbVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IGenericDescriptor", + "iid": "6a5918f8-a77a-4f61-aed0-5702bdcda3e6" + }, + "declaringIid": "6a5918f8-a77a-4f61-aed0-5702bdcda3e6", + "method": "GetBody", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppbVal", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "142E3930ACBD72D8A9FFF186D091BD511DDC4D120170766C718C7CB8E0471A2E" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mpeg2psiparser/nf-mpeg2psiparser-igenericdescriptor-getbody", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure.ce14dfae40984af7bbf7d6511f835414.getdirectory.slot-4.param-0-ppszdirectoryname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IStreamBufferConfigure::GetDirectory parameter ppszDirectoryName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IStreamBufferConfigure", + "iid": "ce14dfae-4098-4af7-bbf7-d6511f835414" + }, + "declaringIid": "ce14dfae-4098-4af7-bbf7-d6511f835414", + "method": "GetDirectory", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszDirectoryName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "48D94FCF39A2261D88D1F8B90D4B10C5769522192C22B9AE4849842A76E7629B" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbe/nf-sbe-istreambufferconfigure-getdirectory", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.istreambufferconfigure3.7e2d2a1e71924bd780c1061fd1d10402.getnamespace.slot-16.param-0-ppsznamespace.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IStreamBufferConfigure3::GetNamespace parameter ppszNamespace as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IStreamBufferConfigure3", + "iid": "7e2d2a1e-7192-4bd7-80c1-061fd1d10402" + }, + "declaringIid": "7e2d2a1e-7192-4bd7-80c1-061fd1d10402", + "method": "GetNamespace", + "absoluteSlot": 16, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszNamespace", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "39FCC9E1458B2BEC1EFBD599058D0196FE0EE2BDAD4833FFC739445FC0D508BF" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbe/nf-sbe-istreambufferconfigure3-getnamespace", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.getdisplayname.slot-6.param-0-pszname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFAudioPolicy::GetDisplayName parameter pszName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFAudioPolicy", + "iid": "a0638c2b-6465-4395-9ae7-a321a9fd2856" + }, + "declaringIid": "a0638c2b-6465-4395-9ae7-a321a9fd2856", + "method": "GetDisplayName", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pszName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D0150E482FE8AFD914233DE51311620882CFDFAA7365AB177A27498AB3571D26" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfaudiopolicy-getdisplayname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfaudiopolicy.a0638c2b646543959ae7a321a9fd2856.geticonpath.slot-8.param-0-pszpath.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFAudioPolicy::GetIconPath parameter pszPath as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFAudioPolicy", + "iid": "a0638c2b-6465-4395-9ae7-a321a9fd2856" + }, + "declaringIid": "a0638c2b-6465-4395-9ae7-a321a9fd2856", + "method": "GetIconPath", + "absoluteSlot": 8, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pszPath", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5ED8158BEF159EAA1876F1D116E6DF68058D502D46FF87B76258366971D45C5A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfaudiopolicy-geticonpath", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.getchainedlicenseresponse.slot-4.param-0-pplicenseresponse.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFDRMNetHelper::GetChainedLicenseResponse parameter ppLicenseResponse as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFDRMNetHelper", + "iid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15" + }, + "declaringIid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15", + "method": "GetChainedLicenseResponse", + "absoluteSlot": 4, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppLicenseResponse", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pcbLicenseResponse", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B0A503F5E97545AA137E4546670FE323FAF586D9E1491B7554FCA3F498186B0B" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wmcontainer/nf-wmcontainer-imfdrmnethelper-getchainedlicenseresponse", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow-tv.idvb-st.4d5b9f232a0245debcda5d5dbfbfbe62.getdata.slot-5.param-0-ppdata.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IDVB_ST::GetData parameter ppData as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow.Tv", + "name": "IDVB_ST", + "iid": "4d5b9f23-2a02-45de-bcda-5d5dbfbfbe62" + }, + "declaringIid": "4d5b9f23-2a02-45de-bcda-5d5dbfbfbe62", + "method": "GetData", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppData", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "32FEB84B8C1EDF81B78B6419B913AE730F2610ED39885E4C57853B0BF2FB2F30" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/dvbsiparser/nf-dvbsiparser-idvb_st-getdata", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfdrmnethelper.3d1ff0ea679a41908d467fa69e8c7e15.processlicenserequest.slot-3.param-2-pplicenseresponse.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFDRMNetHelper::ProcessLicenseRequest parameter ppLicenseResponse as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFDRMNetHelper", + "iid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15" + }, + "declaringIid": "3d1ff0ea-679a-4190-8d46-7fa69e8c7e15", + "method": "ProcessLicenseRequest", + "absoluteSlot": 3, + "parameterCount": 5, + "parameters": [ + { + "index": 0, + "name": "pLicenseRequest", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "cbLicenseRequest", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "ppLicenseResponse", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 3, + "name": "pcbLicenseResponse", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 4, + "name": "pbstrKID", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5C6972693DE9DAC05DDDD0C9932078CA47AAB7EA94274B9746E98C40FADC9342" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wmcontainer/nf-wmcontainer-imfdrmnethelper-processlicenserequest", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceversion.slot-5.param-0-ppszdata.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAMExtDevice::get_ExternalDeviceVersion parameter ppszData as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IAMExtDevice", + "iid": "b5730a90-1a2c-11cf-8c23-00aa006b6814" + }, + "declaringIid": "b5730a90-1a2c-11cf-8c23-00aa006b6814", + "method": "get_ExternalDeviceVersion", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszData", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E34B73C50244EA607EB69A422E70E4F892582C77777AE0F75B4A477633305515" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamextdevice-get_externaldeviceversion", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.iamdeviceremoval.f90a6130b65811d2ae490000f8754b99.deviceinfo.slot-3.param-1-pwszsymboliclink.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAMDeviceRemoval::DeviceInfo parameter pwszSymbolicLink as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IAMDeviceRemoval", + "iid": "f90a6130-b658-11d2-ae49-0000f8754b99" + }, + "declaringIid": "f90a6130-b658-11d2-ae49-0000f8754b99", + "method": "DeviceInfo", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pclsidInterfaceClass", + "nativeType": "System.Guid", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pwszSymbolicLink", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "402563DD99B725F2F55BE496C8502DEE324C07A2CD1436D77E2E830C5F4D9823" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamdeviceremoval-deviceinfo", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-devices-portabledevices.iportabledeviceservice.d3bd3a44d7b540a998b72fa4d01dec08.advise.slot-11.param-3-ppszcookie.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IPortableDeviceService::Advise parameter ppszCookie as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Devices.PortableDevices", + "name": "IPortableDeviceService", + "iid": "d3bd3a44-d7b5-40a9-98b7-2fa4d01dec08" + }, + "declaringIid": "d3bd3a44-d7b5-40a9-98b7-2fa4d01dec08", + "method": "Advise", + "absoluteSlot": 11, + "parameterCount": 4, + "parameters": [ + { + "index": 0, + "name": "dwFlags", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "pCallback", + "nativeType": "Windows.Win32.Devices.PortableDevices.IPortableDeviceEventCallback", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pParameters", + "nativeType": "Windows.Win32.Devices.PortableDevices.IPortableDeviceValues", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 3, + "name": "ppszCookie", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5493EE1762648B405B9A409DDFEDF04C246777B764E236558F42FD65F90EDFD8" + }, + "contract": { + "parameterIndex": 3, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/portabledeviceapi/nf-portabledeviceapi-iportabledeviceservice-advise", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-devices-tapi.itcallinfo.350f85d1122711d383d400c04fb6809f.getcallinfobuffer.slot-17.param-2-ppcallinfobuffer.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITCallInfo::GetCallInfoBuffer parameter ppCallInfoBuffer as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Devices.Tapi", + "name": "ITCallInfo", + "iid": "350f85d1-1227-11d3-83d4-00c04fb6809f" + }, + "declaringIid": "350f85d1-1227-11d3-83d4-00c04fb6809f", + "method": "GetCallInfoBuffer", + "absoluteSlot": 17, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "CallInfoBuffer", + "nativeType": "Windows.Win32.Devices.Tapi.CALLINFO_BUFFER", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pdwSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "ppCallInfoBuffer", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E8A0365F1EAEAF58293F98D8F16D16EC343711BE4090CF93B0BC4F6804E54F24" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itcallinfo-get_callinfobuffer", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-devices-tapi.itlegacyaddressmediacontrol.ab4936404c0b11d2a04600c04fb6809f.getdevconfig.slot-4.param-2-ppdeviceconfig.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITLegacyAddressMediaControl::GetDevConfig parameter ppDeviceConfig as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Devices.Tapi", + "name": "ITLegacyAddressMediaControl", + "iid": "ab493640-4c0b-11d2-a046-00c04fb6809f" + }, + "declaringIid": "ab493640-4c0b-11d2-a046-00c04fb6809f", + "method": "GetDevConfig", + "absoluteSlot": 4, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "pDeviceClass", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pdwSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "ppDeviceConfig", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CA4EA3329770AE20B18497C61524785AE1A7FD1C89FB528C9028815650BF16DC" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itlegacyaddressmediacontrol-getdevconfig", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-devices-tapi.itlegacycallmediacontrol.d624582fcc234436b8a547c625c8045d.getid.slot-9.param-2-ppdeviceid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITLegacyCallMediaControl::GetID parameter ppDeviceID as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Devices.Tapi", + "name": "ITLegacyCallMediaControl", + "iid": "d624582f-cc23-4436-b8a5-47c625c8045d" + }, + "declaringIid": "d624582f-cc23-4436-b8a5-47c625c8045d", + "method": "GetID", + "absoluteSlot": 9, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "pDeviceClass", + "nativeType": "Windows.Win32.Foundation.BSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pdwSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "ppDeviceID", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8A68F31D62689E833581750D64C56476991E3D974991AB566D182AE6CACDC4FD" + }, + "contract": { + "parameterIndex": 2, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3if/nf-tapi3if-itlegacycallmediacontrol-getid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo2.fb6904c442f04b629c46983af7da7c83.getcommitinfo.slot-5.param-1-pcommithash.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IDxcVersionInfo2::GetCommitInfo parameter pCommitHash as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Graphics.Direct3D.Dxc", + "name": "IDxcVersionInfo2", + "iid": "fb6904c4-42f0-4b62-9c46-983af7da7c83" + }, + "declaringIid": "fb6904c4-42f0-4b62-9c46-983af7da7c83", + "method": "GetCommitInfo", + "absoluteSlot": 5, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "pCommitCount", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pCommitHash", + "nativeType": "i8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "40A5CC7D0DBE99FFA396F5347E568BE51E4B9B612F8B2823DC8140CF54B14851" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/dxcapi/nf-dxcapi-idxcversioninfo2-getcommitinfo", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-graphics-direct3d-dxc.idxcversioninfo3.5e13e8439d25473c9ad203b2d0b44b1e.getcustomversionstring.slot-3.param-0-pversionstring.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IDxcVersionInfo3::GetCustomVersionString parameter pVersionString as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Graphics.Direct3D.Dxc", + "name": "IDxcVersionInfo3", + "iid": "5e13e843-9d25-473c-9ad2-03b2d0b44b1e" + }, + "declaringIid": "5e13e843-9d25-473c-9ad2-03b2d0b44b1e", + "method": "GetCustomVersionString", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pVersionString", + "nativeType": "i8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "53BFB010C94841283113AED2294FD00480C9039ACED85ED6DB5450F0BA21BF16" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/dxcapi/nf-dxcapi-idxcversioninfo3-getcustomversionstring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-directshow.iamextdevice.b5730a901a2c11cf8c2300aa006b6814.get-externaldeviceid.slot-4.param-0-ppszdata.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAMExtDevice::get_ExternalDeviceID parameter ppszData as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.DirectShow", + "name": "IAMExtDevice", + "iid": "b5730a90-1a2c-11cf-8c23-00aa006b6814" + }, + "declaringIid": "b5730a90-1a2c-11cf-8c23-00aa006b6814", + "method": "get_ExternalDeviceID", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszData", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CAD4EA87E2DE63E6EE62F537A91FC363F5193211C71DE9EDDB1DFA636316ED8A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-iamextdevice-get_externaldeviceid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio-apo.iaudiosystemeffectscustomformats.b1176e34bb7f4f05bebd1b18a534e097.getformatrepresentation.slot-5.param-1-ppwstrformatrep.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAudioSystemEffectsCustomFormats::GetFormatRepresentation parameter ppwstrFormatRep as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio.Apo", + "name": "IAudioSystemEffectsCustomFormats", + "iid": "b1176e34-bb7f-4f05-bebd-1b18a534e097" + }, + "declaringIid": "b1176e34-bb7f-4f05-bebd-1b18a534e097", + "method": "GetFormatRepresentation", + "absoluteSlot": 5, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "nFormat", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppwstrFormatRep", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "24B368379EFBF0BF2CBE577A616767171EDAFA7F3B7A9579517F016A6306E987" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/audioenginebaseapo/nf-audioenginebaseapo-iaudiosystemeffectscustomformats-getformatrepresentation", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.getdisplayname.slot-4.param-0-pretval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAudioSessionControl::GetDisplayName parameter pRetVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IAudioSessionControl", + "iid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd" + }, + "declaringIid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd", + "method": "GetDisplayName", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "DE58CB39D56956C7EB410C0AAD2C931AEC75265C61021D37E7362B65C40F884F" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol-getdisplayname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol.f4b1a59972664319a8cae70acb11e8cd.geticonpath.slot-6.param-0-pretval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAudioSessionControl::GetIconPath parameter pRetVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IAudioSessionControl", + "iid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd" + }, + "declaringIid": "f4b1a599-7266-4319-a8ca-e70acb11e8cd", + "method": "GetIconPath", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "81B5D77A0E2B217A60BD2E2D6C7D2AD975EA391C313FD076A9EDF38124ED5E5C" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol-geticonpath", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.iaudiosessioncontrol2.bfb7ff8872394fc98fa207c950be9c6d.getsessionidentifier.slot-12.param-0-pretval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAudioSessionControl2::GetSessionIdentifier parameter pRetVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IAudioSessionControl2", + "iid": "bfb7ff88-7239-4fc9-8fa2-07c950be9c6d" + }, + "declaringIid": "bfb7ff88-7239-4fc9-8fa2-07c950be9c6d", + "method": "GetSessionIdentifier", + "absoluteSlot": 12, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "34268F6D7F66C19B0A08F7C60072B7552965E4D38E57C6703C44EE9DE332CBF2" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessioncontrol2-getsessionidentifier", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.iconnector.9c2c405823f541de877adf3af236a09e.getconnectoridconnectedto.slot-9.param-0-ppwstrconnectorid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IConnector::GetConnectorIdConnectedTo parameter ppwstrConnectorId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IConnector", + "iid": "9c2c4058-23f5-41de-877a-df3af236a09e" + }, + "declaringIid": "9c2c4058-23f5-41de-877a-df3af236a09e", + "method": "GetConnectorIdConnectedTo", + "absoluteSlot": 9, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwstrConnectorId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4B66CB6C52C46218B2308DA1B46DE14369664F9F36FEC102390CD1F3A29122A6" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-iconnector-getconnectoridconnectedto", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.ipart.ae2de0e45bca4f2daa465d13f8fdb3a9.getglobalid.slot-5.param-0-ppwstrglobalid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IPart::GetGlobalId parameter ppwstrGlobalId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IPart", + "iid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9" + }, + "declaringIid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9", + "method": "GetGlobalId", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwstrGlobalId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D3B17AC60F7327C900C2AD850F60318887C34E126082BCD8B7C1D156513C712C" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-ipart-getglobalid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.ipart.ae2de0e45bca4f2daa465d13f8fdb3a9.getname.slot-3.param-0-ppwstrname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IPart::GetName parameter ppwstrName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IPart", + "iid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9" + }, + "declaringIid": "ae2de0e4-5bca-4f2d-aa46-5d13f8fdb3a9", + "method": "GetName", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwstrName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5314C494FE52555DB95190C1D058A3F8C74955C50988E0D262299C361449A37E" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/devicetopology/nf-devicetopology-ipart-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-audio.iaudioeffectsmanager.4460b3ae4b44452786767548a8acd260.getaudioeffects.slot-5.param-0-effects.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAudioEffectsManager::GetAudioEffects parameter effects as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.Audio", + "name": "IAudioEffectsManager", + "iid": "4460b3ae-4b44-4527-8676-7548a8acd260" + }, + "declaringIid": "4460b3ae-4b44-4527-8676-7548a8acd260", + "method": "GetAudioEffects", + "absoluteSlot": 5, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "effects", + "nativeType": "Windows.Win32.Media.Audio.AUDIO_EFFECT", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "numEffects", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "inout", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8C30A60456F29282F538D9F1FA2BDEE18C4D3B460D49FCFFF065596581CE22B3" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/audioclient/nf-audioclient-iaudioeffectsmanager-getaudioeffects", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfmetadata.f88cfb8cef164991b450cb8c69e51704.getlanguage.slot-4.param-0-ppwszrfc1766.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFMetadata::GetLanguage parameter ppwszRFC1766 as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFMetadata", + "iid": "f88cfb8c-ef16-4991-b450-cb8c69e51704" + }, + "declaringIid": "f88cfb8c-ef16-4991-b450-cb8c69e51704", + "method": "GetLanguage", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszRFC1766", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "7AECE01900D9D10B81E24F8014BFF90A372EB7D9252B21F15DFB789B1C6D93CA" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfmetadata-getlanguage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfnetcrossoriginsupport.bc2b7d44a72d49d583761480dee58b22.getsourceorigin.slot-4.param-0-wszsourceorigin.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFNetCrossOriginSupport::GetSourceOrigin parameter wszSourceOrigin as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFNetCrossOriginSupport", + "iid": "bc2b7d44-a72d-49d5-8376-1480dee58b22" + }, + "declaringIid": "bc2b7d44-a72d-49d5-8376-1480dee58b22", + "method": "GetSourceOrigin", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "wszSourceOrigin", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "5A2C5E6A4B7BCF0D32E366257F4689EF048796C030BFDBB60A9406CEA08FDAAE" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfnetcrossoriginsupport-getsourceorigin", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsamistyle.a7e025dd53034a6289d6e747e1efac73.getselectedstyle.slot-6.param-0-ppwszstyle.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSAMIStyle::GetSelectedStyle parameter ppwszStyle as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSAMIStyle", + "iid": "a7e025dd-5303-4a62-89d6-e747e1efac73" + }, + "declaringIid": "a7e025dd-5303-4a62-89d6-e747e1efac73", + "method": "GetSelectedStyle", + "absoluteSlot": 6, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszStyle", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "7CF76B94A335F194FD2BD26FB201D504B070357939DEA786A80CB9C57814A935" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsamistyle-getselectedstyle", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getname.slot-5.param-0-filename.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxFile::GetName parameter fileName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxFile", + "iid": "91df827b-94fd-468f-827b-57f41b2f6f2e" + }, + "declaringIid": "91df827b-94fd-468f-827b-57f41b2f6f2e", + "method": "GetName", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "fileName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C6AEA71F121260944F0BE32FA109A5309B2D378F8D0CB99DC98F655796D03958" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxfile-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getappusermodelid.slot-4.param-0-appusermodelid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestApplication::GetAppUserModelId parameter appUserModelId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestApplication", + "iid": "5da89bf4-3773-46be-b650-7e744863b7e8" + }, + "declaringIid": "5da89bf4-3773-46be-b650-7e744863b7e8", + "method": "GetAppUserModelId", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "appUserModelId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "1CC6B8208EB40A94F312DA4F84B22B5DFECCE2258BCD423E478CAF2A8D6C5E06" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestapplication-getappusermodelid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestapplication.5da89bf4377346beb6507e744863b7e8.getstringvalue.slot-3.param-1-value.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestApplication::GetStringValue parameter value as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestApplication", + "iid": "5da89bf4-3773-46be-b650-7e744863b7e8" + }, + "declaringIid": "5da89bf4-3773-46be-b650-7e744863b7e8", + "method": "GetStringValue", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "value", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "35EE98A50E2E2E9B865AC78E291162A418D2F82801DC13B733888BB4B3650BD5" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestapplication-getstringvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestdevicecapabilitiesenumerator.30204541427b4a1cbacf655bf463a540.getcurrent.slot-3.param-0-devicecapability.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestDeviceCapabilitiesEnumerator::GetCurrent parameter deviceCapability as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestDeviceCapabilitiesEnumerator", + "iid": "30204541-427b-4a1c-bacf-655bf463a540" + }, + "declaringIid": "30204541-427b-4a1c-bacf-655bf463a540", + "method": "GetCurrent", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "deviceCapability", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "4261531B0DAFF6854B082FFD7BF0074278BB8CEE65CC187D6673C4FFD2CE3C77" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestdevicecapabilitiesenumerator-getcurrent", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getname.slot-3.param-0-name.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestPackageId::GetName parameter name as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f" + }, + "declaringIid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetName", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "6872EB3F83DE14AFB13A3B85DBBD4148EE6D128CDA188BD5362AEFFB6F1F99B2" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefamilyname.slot-10.param-0-packagefamilyname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestPackageId::GetPackageFamilyName parameter packageFamilyName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f" + }, + "declaringIid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPackageFamilyName", + "absoluteSlot": 10, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "packageFamilyName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "A578B14F851FD8D22FA62810898F0BE3367C90FF84EC3717A451781F846D5936" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpackagefamilyname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxfile.91df827b94fd468f827b57f41b2f6f2e.getcontenttype.slot-4.param-0-contenttype.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxFile::GetContentType parameter contentType as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxFile", + "iid": "91df827b-94fd-468f-827b-57f41b2f6f2e" + }, + "declaringIid": "91df827b-94fd-468f-827b-57f41b2f6f2e", + "method": "GetContentType", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "contentType", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E68C56A9040D0DD4A967360DE9A71EB8FAB630797778A96346D2635FEB7C5C7C" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxfile-getcontenttype", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpackagefullname.slot-9.param-0-packagefullname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestPackageId::GetPackageFullName parameter packageFullName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f" + }, + "declaringIid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPackageFullName", + "absoluteSlot": 9, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "packageFullName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "41D7CC05BFBA8E8257C29259361106B5D9AEC9733C9C0C85A09F8ACBEC299D0A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpackagefullname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getresourceid.slot-7.param-0-resourceid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestPackageId::GetResourceId parameter resourceId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f" + }, + "declaringIid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetResourceId", + "absoluteSlot": 7, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "resourceId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E0CAB4AD7BBC0623CB00ABD22F199DEB3B87B7F309AF8BA2B42858C6431140D1" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getresourceid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestproperties.03faf64df26f4b2caaf78fe7789b8bca.getstringvalue.slot-4.param-1-value.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestProperties::GetStringValue parameter value as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestProperties", + "iid": "03faf64d-f26f-4b2c-aaf7-8fe7789b8bca" + }, + "declaringIid": "03faf64d-f26f-4b2c-aaf7-8fe7789b8bca", + "method": "GetStringValue", + "absoluteSlot": 4, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "value", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C970E39D1EC4810D2139DD3EE5058353DAD24EC6C11B49F947AEE82A8B0D7E81" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestproperties-getstringvalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getnamespaces.slot-3.param-0-prefixes.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetNamespaces parameter prefixes as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetNamespaces", + "absoluteSlot": 3, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "prefixes", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "namespaces", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "14995347E5CC0CAD25125416A75F6F7290D6CB94FE23FB53DA9991957711ECFC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getnamespaces", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getnamespaces.slot-3.param-1-namespaces.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetNamespaces parameter namespaces as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetNamespaces", + "absoluteSlot": 3, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "prefixes", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "namespaces", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "14995347E5CC0CAD25125416A75F6F7290D6CB94FE23FB53DA9991957711ECFC" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getnamespaces", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignatureid.slot-4.param-0-signatureid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetSignatureId parameter signatureId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureId", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signatureId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "24AFAD8D9CEF5250BF3B52CE8B671E6671636CD98E1B32CDA56BE95BB57F5D8A" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignatureid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsignaturevalue.slot-8.param-0-signaturevalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetSignatureValue parameter signatureValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSignatureValue", + "absoluteSlot": 8, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "signatureValue", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "count", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "73B03F91F248DDD385B090B6B66653456F6887EDC8082446F9FF309354DB5B80" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsignaturevalue", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxmanifestpackageid.283ce2d771534a9196497a0f7240945f.getpublisher.slot-5.param-0-publisher.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxManifestPackageId::GetPublisher parameter publisher as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxManifestPackageId", + "iid": "283ce2d7-7153-4a91-9649-7a0f7240945f" + }, + "declaringIid": "283ce2d7-7153-4a91-9649-7a0f7240945f", + "method": "GetPublisher", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "publisher", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "57D4B1441D4718F632D413622FCCD1300F3EA49B7D68487FA4C54B52A3B214AC" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxmanifestpackageid-getpublisher", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapfile.277672ac4f6342c18abcbeae3600eb59.getname.slot-5.param-0-name.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxBlockMapFile::GetName parameter name as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxBlockMapFile", + "iid": "277672ac-4f63-42c1-8abc-beae3600eb59" + }, + "declaringIid": "277672ac-4f63-42c1-8abc-beae3600eb59", + "method": "GetName", + "absoluteSlot": 5, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "name", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CE562111BDED9847456728CB1BC87A675D0581E902CE3CEFF4B96A1A19B51E70" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxblockmapfile-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-appx.iappxblockmapblock.75cf393032444fe0a8c8e0bcb270b889.gethash.slot-3.param-1-buffer.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IAppxBlockMapBlock::GetHash parameter buffer as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Appx", + "name": "IAppxBlockMapBlock", + "iid": "75cf3930-3244-4fe0-a8c8-e0bcb270b889" + }, + "declaringIid": "75cf3930-3244-4fe0-a8c8-e0bcb270b889", + "method": "GetHash", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "bufferSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "buffer", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "684B4052AA6022C42361C42ADF316B0DFF12AA187FF648DF443041DAF1D296DC" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/appxpackaging/nf-appxpackaging-iappxblockmapblock-gethash", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilessetting.d871d3f7f61348a1827e7a34e560fff6.getname.slot-3.param-0-ppszname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOfflineFilesSetting::GetName parameter ppszName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "name": "IOfflineFilesSetting", + "iid": "d871d3f7-f613-48a1-827e-7a34e560fff6" + }, + "declaringIid": "d871d3f7-f613-48a1-827e-7a34e560fff6", + "method": "GetName", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "87642D537D6A82805AE1790C69A70B1BD4B7B67E6C747E77CADBE67B1082DF3F" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilessetting-getname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.getprotectioncertificate.slot-5.param-1-ppcert.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSampleProtection::GetProtectionCertificate parameter ppCert as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSampleProtection", + "iid": "8e36395f-c7b9-43c4-a54d-512b4af63c95" + }, + "declaringIid": "8e36395f-c7b9-43c4-a54d-512b4af63c95", + "method": "GetProtectionCertificate", + "absoluteSlot": 5, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "dwVersion", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppCert", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pcbCert", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "31CEC47BFE8CC69907FADE8284A1A68F07997C3174C4088BDF64E01FAEC29629" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsampleprotection-getprotectioncertificate", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsampleprotection.8e36395fc7b943c4a54d512b4af63c95.initoutputprotection.slot-6.param-4-ppbseed.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSampleProtection::InitOutputProtection parameter ppbSeed as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSampleProtection", + "iid": "8e36395f-c7b9-43c4-a54d-512b4af63c95" + }, + "declaringIid": "8e36395f-c7b9-43c4-a54d-512b4af63c95", + "method": "InitOutputProtection", + "absoluteSlot": 6, + "parameterCount": 6, + "parameters": [ + { + "index": 0, + "name": "dwVersion", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "dwOutputId", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pbCert", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 3, + "name": "cbCert", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 4, + "name": "ppbSeed", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 5, + "name": "pcbSeed", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "8931303923E8E9BB6E56F49AC34A16EF8D4803527FA3DBDAD22A692F75EB68EB" + }, + "contract": { + "parameterIndex": 4, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsampleprotection-initoutputprotection", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsecurechannel.d0ae555d3b124d97b0600990bc5aeb67.getcertificate.slot-3.param-0-ppcert.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSecureChannel::GetCertificate parameter ppCert as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSecureChannel", + "iid": "d0ae555d-3b12-4d97-b060-0990bc5aeb67" + }, + "declaringIid": "d0ae555d-3b12-4d97-b060-0990bc5aeb67", + "method": "GetCertificate", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppCert", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pcbCert", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "735F551BC15C34D9569475A75F612C952295FA8D17E75A139AFFA55004231DBB" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsecurechannel-getcertificate", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsslcertificatemanager.61f7d88712304a8baeba8ad434d1a64d.endgetclientcertificate.slot-5.param-1-ppbdata.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSSLCertificateManager::EndGetClientCertificate parameter ppbData as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSSLCertificateManager", + "iid": "61f7d887-1230-4a8b-aeba-8ad434d1a64d" + }, + "declaringIid": "61f7d887-1230-4a8b-aeba-8ad434d1a64d", + "method": "EndGetClientCertificate", + "absoluteSlot": 5, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "pResult", + "nativeType": "Windows.Win32.Media.MediaFoundation.IMFAsyncResult", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "ppbData", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pcbData", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "D6DDA16B6622C1E8C8775EFA35EE358787AE5FE99FE8BF6919F3D08BD6BCD36E" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsslcertificatemanager-endgetclientcertificate", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfsystemid.fff4af3a1fc14ef9a29bd26c49e2f31a.getdata.slot-3.param-1-data.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFSystemId::GetData parameter data as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFSystemId", + "iid": "fff4af3a-1fc1-4ef9-a29b-d26c49e2f31a" + }, + "declaringIid": "fff4af3a-1fc1-4ef9-a29b-d26c49e2f31a", + "method": "GetData", + "absoluteSlot": 3, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "size", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "data", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "E71984C8EF14DF7CF2E9380A9B04AD64FE2F1DCCACC6F1EA113E0D1F464F86D4" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfidl/nf-mfidl-imfsystemid-getdata", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-windowsmediaformat.iwmsecurechannel.2720598ad0f24189bd1091c46ef0936f.wmsc-getvalidcertificate.slot-11.param-0-ppbcertificate.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IWMSecureChannel::WMSC_GetValidCertificate parameter ppbCertificate as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.WindowsMediaFormat", + "name": "IWMSecureChannel", + "iid": "2720598a-d0f2-4189-bd10-91c46ef0936f" + }, + "declaringIid": "2720598a-d0f2-4189-bd10-91c46ef0936f", + "method": "WMSC_GetValidCertificate", + "absoluteSlot": 11, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppbCertificate", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pdwSignature", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "BE54BE07B6DE2C58D4896D5684A8EF70B66C52C02F2CBDBE136C1E89942FDF79" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wmsecure/nf-wmsecure-iwmsecurechannel-wmsc_getvalidcertificate", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyerror.19c613a0fcb84f2881ae897c3d078f81.geterrorcontextdescription.slot-6.param-1-pcontextdescription.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IBackgroundCopyError::GetErrorContextDescription parameter pContextDescription as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "name": "IBackgroundCopyError", + "iid": "19c613a0-fcb8-4f28-81ae-897c3d078f81" + }, + "declaringIid": "19c613a0-fcb8-4f28-81ae-897c3d078f81", + "method": "GetErrorContextDescription", + "absoluteSlot": 6, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "LanguageId", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "pContextDescription", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "AA5FBB70C495A7CEAA15AD1A068899A9C4340B6C2F2AC43DFFC6780356C9781E" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyerror-geterrorcontextdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyerror.19c613a0fcb84f2881ae897c3d078f81.getprotocol.slot-7.param-0-pprotocol.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IBackgroundCopyError::GetProtocol parameter pProtocol as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "name": "IBackgroundCopyError", + "iid": "19c613a0-fcb8-4f28-81ae-897c3d078f81" + }, + "declaringIid": "19c613a0-fcb8-4f28-81ae-897c3d078f81", + "method": "GetProtocol", + "absoluteSlot": 7, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pProtocol", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "2E5B9E3E891727C7E917EF0859190C71E58F2FFDC09DD8B2EB66FF1198458876" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyerror-getprotocol", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getlocalname.slot-4.param-0-pval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IBackgroundCopyFile::GetLocalName parameter pVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "name": "IBackgroundCopyFile", + "iid": "01b7bd23-fb88-4a77-8490-5891d3e4653a" + }, + "declaringIid": "01b7bd23-fb88-4a77-8490-5891d3e4653a", + "method": "GetLocalName", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "DEB5D2E15A73917B61536911517F4FB89CF13E37394C6F1A1AD28D745EC5022F" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyfile-getlocalname", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibackgroundcopyfile.01b7bd23fb884a7784905891d3e4653a.getremotename.slot-3.param-0-pval.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IBackgroundCopyFile::GetRemoteName parameter pVal as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "name": "IBackgroundCopyFile", + "iid": "01b7bd23-fb88-4a77-8490-5891d3e4653a" + }, + "declaringIid": "01b7bd23-fb88-4a77-8490-5891d3e4653a", + "method": "GetRemoteName", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "609048EE50E0043E280D2AA83E4B7D52C5D7E84BF5CB3597A61B16FF0C3CA025" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ibackgroundcopyfile-getremotename", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-networking-backgroundintelligenttransferservice.ibitspeer.659cdea2489e11d9a9cd000d56965251.getpeername.slot-3.param-0-pname.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IBitsPeer::GetPeerName parameter pName as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService", + "name": "IBitsPeer", + "iid": "659cdea2-489e-11d9-a9cd-000d56965251" + }, + "declaringIid": "659cdea2-489e-11d9-a9cd-000d56965251", + "method": "GetPeerName", + "absoluteSlot": 3, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "F0CDCA59D3C819BE81B234341E2E08140DDE9CFEEA522D5FE944306AA787A992" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ibitspeer-getpeername", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-security-tpm.itpmvirtualsmartcardmanager.112b1dffd9dc41f7869fd67fee7cb591.createvirtualsmartcard.slot-3.param-12-ppszinstanceid.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents ITpmVirtualSmartCardManager::CreateVirtualSmartCard parameter ppszInstanceId as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Security.Tpm", + "name": "ITpmVirtualSmartCardManager", + "iid": "112b1dff-d9dc-41f7-869f-d67fee7cb591" + }, + "declaringIid": "112b1dff-d9dc-41f7-869f-d67fee7cb591", + "method": "CreateVirtualSmartCard", + "absoluteSlot": 3, + "parameterCount": 14, + "parameters": [ + { + "index": 0, + "name": "pszFriendlyName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": true + }, + { + "index": 1, + "name": "bAdminAlgId", + "nativeType": "u8", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 2, + "name": "pbAdminKey", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 3, + "name": "cbAdminKey", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 4, + "name": "pbAdminKcv", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 5, + "name": "cbAdminKcv", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 6, + "name": "pbPuk", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 7, + "name": "cbPuk", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 8, + "name": "pbPin", + "nativeType": "u8", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 9, + "name": "cbPin", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 10, + "name": "fGenerate", + "nativeType": "Windows.Win32.Foundation.BOOL", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 11, + "name": "pStatusCallback", + "nativeType": "Windows.Win32.Security.Tpm.ITpmVirtualSmartCardManagerStatusCallback", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 12, + "name": "ppszInstanceId", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 13, + "name": "pfNeedReboot", + "nativeType": "Windows.Win32.Foundation.BOOL", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "DCB3793D77C443C26A0FDA1E9E248BE121A18BD6A602ADE11BDA81465DF672F4" + }, + "contract": { + "parameterIndex": 12, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tpmvscmgr/nf-tpmvscmgr-itpmvirtualsmartcardmanager-createvirtualsmartcard", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-enhancedstorage.ienhancedstoragesiloaction.b6f7f311206f4ff89c4b27efee77a86f.getdescription.slot-4.param-0-ppwszactiondescription.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IEnhancedStorageSiloAction::GetDescription parameter ppwszActionDescription as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.EnhancedStorage", + "name": "IEnhancedStorageSiloAction", + "iid": "b6f7f311-206f-4ff8-9c4b-27efee77a86f" + }, + "declaringIid": "b6f7f311-206f-4ff8-9c4b-27efee77a86f", + "method": "GetDescription", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppwszActionDescription", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "83456C35D90803391929A00DE2A230F3553260F2F5048D0BAABE46CF8F164D06" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/ehstorapi/nf-ehstorapi-ienhancedstoragesiloaction-getdescription", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilescache.855d6203791448b98d404c56f5acffc5.getlocation.slot-13.param-0-ppszpath.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOfflineFilesCache::GetLocation parameter ppszPath as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "name": "IOfflineFilesCache", + "iid": "855d6203-7914-48b9-8d40-4c56f5acffc5" + }, + "declaringIid": "855d6203-7914-48b9-8d40-4c56f5acffc5", + "method": "GetLocation", + "absoluteSlot": 13, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszPath", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "ACD72AD53DB19738AA1F640831E3A2BB4553A1F857097078E623E8AB681EB09D" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilescache-getlocation", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-offlinefiles.iofflinefilesitem.4a753da6e0444f12a7185d14d079a906.getpath.slot-4.param-0-ppszpath.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOfflineFilesItem::GetPath parameter ppszPath as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.OfflineFiles", + "name": "IOfflineFilesItem", + "iid": "4a753da6-e044-4f12-a718-5d14d079a906" + }, + "declaringIid": "4a753da6-e044-4f12-a718-5d14d079a906", + "method": "GetPath", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "ppszPath", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "F866FC519BD9F1C343D756D13C5E1B1DA466E4994F09D58096D0AC74923C6A2F" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-iofflinefilesitem-getpath", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-storage-packaging-opc.iopcdigitalsignature.52ab21dd1cd04949bc800c1232d00cb4.getsigningtime.slot-11.param-0-signingtime.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IOpcDigitalSignature::GetSigningTime parameter signingTime as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Storage.Packaging.Opc", + "name": "IOpcDigitalSignature", + "iid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4" + }, + "declaringIid": "52ab21dd-1cd0-4949-bc80-0c1232d00cb4", + "method": "GetSigningTime", + "absoluteSlot": 11, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "signingTime", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "ACEA0EA1D6745A634869941CCE744BA9234395E5D9E77B16F1EF7B84BC3BCAEB" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msopc/nf-msopc-iopcdigitalsignature-getsigningtime", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell-propertiessystem.ipersistserializedpropstorage.e318ad570aa0450faca56fab7103d917.getpropertystorage.slot-5.param-0-ppsps.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IPersistSerializedPropStorage::GetPropertyStorage parameter ppsps as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell.PropertiesSystem", + "name": "IPersistSerializedPropStorage", + "iid": "e318ad57-0aa0-450f-aca5-6fab7103d917" + }, + "declaringIid": "e318ad57-0aa0-450f-aca5-6fab7103d917", + "method": "GetPropertyStorage", + "absoluteSlot": 5, + "parameterCount": 2, + "parameters": [ + { + "index": 0, + "name": "ppsps", + "nativeType": "Windows.Win32.UI.Shell.PropertiesSystem.SERIALIZEDPROPSTORAGE", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 1, + "name": "pcb", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "CEE22F76E4AC924E45FCFE2BA11B90B557B9C080D4659F895150C2DC227088E9" + }, + "contract": { + "parameterIndex": 0, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/propsys/nf-propsys-ipersistserializedpropstorage-getpropertystorage", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-ui-shell.ithumbnailprovider.e357fccda9954576b01f234630154e96.getthumbnail.slot-3.param-1-phbmp.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IThumbnailProvider::GetThumbnail parameter phbmp as an owned HBITMAP that the caller releases with DeleteObject", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Shell", + "name": "IThumbnailProvider", + "iid": "e357fccd-a995-4576-b01f-234630154e96" + }, + "declaringIid": "e357fccd-a995-4576-b01f-234630154e96", + "method": "GetThumbnail", + "absoluteSlot": 3, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "cx", + "nativeType": "u32", + "pointerDepth": 0, + "direction": "in", + "optional": false, + "constness": "unspecified", + "constAttribute": false + }, + { + "index": 1, + "name": "phbmp", + "nativeType": "Windows.Win32.Graphics.Gdi.HBITMAP", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pdwAlpha", + "nativeType": "Windows.Win32.UI.Shell.WTS_ALPHATYPE", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C5CA943218AF7848E28EFAC1E3B050ED1561C651565B7D84642F91F806F80DA0" + }, + "contract": { + "parameterIndex": 1, + "ownership": "handle-owned", + "cleanup": "DeleteObject" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/thumbcache/nf-thumbcache-ithumbnailprovider-getthumbnail", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedstring.slot-13.param-1-ppwszvalue.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFAttributes::GetAllocatedString parameter ppwszValue as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3" + }, + "declaringIid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetAllocatedString", + "absoluteSlot": 13, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "guidKey", + "nativeType": "System.Guid", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 1, + "name": "ppwszValue", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pcchLength", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "C9A1CAF2E57FC40A0365188C76762495D7EB0F87BC6D66A7DB542EEF1BE0CA2F" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getallocatedstring", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + }, + { + "entryId": "com.ownership.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getallocatedblob.slot-16.param-1-ppbuf.v1", + "familyId": "com.ownership.v1", + "kind": "ownership", + "reason": "Microsoft documents IMFAttributes::GetAllocatedBlob parameter ppBuf as caller-owned task memory released with CoTaskMemFree", + "selector": { + "interface": { + "namespace": "Windows.Win32.Media.MediaFoundation", + "name": "IMFAttributes", + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3" + }, + "declaringIid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "method": "GetAllocatedBlob", + "absoluteSlot": 16, + "parameterCount": 3, + "parameters": [ + { + "index": 0, + "name": "guidKey", + "nativeType": "System.Guid", + "pointerDepth": 1, + "direction": "in", + "optional": false, + "constness": "mutable", + "constAttribute": true + }, + { + "index": 1, + "name": "ppBuf", + "nativeType": "u8", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + }, + { + "index": 2, + "name": "pcbSize", + "nativeType": "u32", + "pointerDepth": 1, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "B313F8B68D2CE9867FB8BBE285370D3A8BAC01F053B476D9D0A5DDE4611A4695" + }, + "contract": { + "parameterIndex": 1, + "ownership": "cotaskmem-owned", + "cleanup": "CoTaskMemFree" + }, + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getallocatedblob", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" + } + ] + } + ] +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/schema.json b/tools/dynwinrt-codegen/contracts/classic-com/schema.json index 687b3375..1dc5b35e 100644 --- a/tools/dynwinrt-codegen/contracts/classic-com/schema.json +++ b/tools/dynwinrt-codegen/contracts/classic-com/schema.json @@ -41,6 +41,9 @@ "wmi.conditional-output.v1", "com.sequential-stream-buffer.v1", "automation.idispatch-invoke.v1" + ,"com.reserved-null-input.v1", + "com.parameter-direction.v1" + ,"shell.flag-selected-string.v1" ] }, "kind": { @@ -55,11 +58,19 @@ "semantic-hresult", "compound-dispatch", "hazard" + ,"null-input", + "parameter-direction" + ,"flag-selected-buffer" ] }, "reason": { "type": "string", "minLength": 1 }, "selector": { "$ref": "#/$defs/selector" }, - "contract": { "$ref": "#/$defs/conditionalOutput" }, + "contract": { + "oneOf": [ + { "$ref": "#/$defs/conditionalOutput" }, + { "$ref": "#/$defs/outputOwnership" } + ] + }, "evidence": { "type": "array", "minItems": 1, @@ -157,20 +168,40 @@ "semisynchronous": { "$ref": "#/$defs/outputMode" }, "outputs": { "type": "array", - "minItems": 2, + "minItems": 1, "maxItems": 2, "items": { "$ref": "#/$defs/interfaceOutput" } } } }, + "outputOwnership": { + "type": "object", + "additionalProperties": false, + "required": ["parameterIndex", "ownership", "cleanup"], + "properties": { + "parameterIndex": { "type": "integer", "minimum": 0 }, + "ownership": { "enum": ["cotaskmem-owned", "handle-owned"] }, + "cleanup": { "enum": ["CoTaskMemFree", "DeleteObject"] } + } + }, "outputMode": { "type": "object", "additionalProperties": false, "required": ["flags", "outputParameterIndex", "optionName"], "properties": { "flags": { "type": "integer" }, - "outputParameterIndex": { "type": "integer", "minimum": 0 }, - "optionName": { "type": "string", "minLength": 1 } + "outputParameterIndex": { + "oneOf": [ + { "type": "integer", "minimum": 0 }, + { "type": "null" } + ] + }, + "optionName": { + "oneOf": [ + { "type": "string", "minLength": 1 }, + { "type": "null" } + ] + } } }, "interfaceOutput": { diff --git a/tools/dynwinrt-codegen/src/codegen/com/capability.rs b/tools/dynwinrt-codegen/src/codegen/com/capability.rs index 06cfe241..30bad4d2 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/capability.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/capability.rs @@ -45,7 +45,7 @@ const CATEGORIES: [&str; 21] = [ "Unknown", ]; -const STANDARD_CLEANUPS: [&str; 11] = [ +const STANDARD_CLEANUPS: [&str; 12] = [ "IUnknown::Release", "CoTaskMemFree", "LocalFree", @@ -57,6 +57,7 @@ const STANDARD_CLEANUPS: [&str; 11] = [ "ReleaseStgMedium", "CloseHandle", "DestroyIcon", + "DeleteObject", ]; #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize)] @@ -3383,6 +3384,9 @@ mod tests { enumerator_next: None, exact_contract: None, interface_replacement_contracts: Vec::new(), + output_ownership_contracts: Vec::new(), + exact_null_input_contracts: Vec::new(), + exact_parameter_direction_contracts: Vec::new(), exact_interface_output_call: None, safe_array_contract_error: None, } @@ -4555,10 +4559,10 @@ mod tests { ) .unwrap(); assert_eq!(report.summary.eligible_interfaces, 7_929); - assert_eq!(report.summary.safe_complete, 5_567); - assert_eq!(report.summary.safe_evidence.safe_complete, 5_567); - assert_eq!(report.summary.safe_evidence.standard_derived, 5_317); - assert_eq!(report.summary.safe_evidence.exact_registry_dependent, 250); + assert_eq!(report.summary.safe_complete, 5_681); + assert_eq!(report.summary.safe_evidence.safe_complete, 5_681); + assert_eq!(report.summary.safe_evidence.standard_derived, 5_326); + assert_eq!(report.summary.safe_evidence.exact_registry_dependent, 355); assert_eq!( report.summary.safe_evidence.standard_derived + report.summary.safe_evidence.exact_registry_dependent, @@ -4566,51 +4570,55 @@ mod tests { ); assert_eq!( report.summary.safe_evidence.metadata_fact_occurrences, - 5_867 + 5_974 ); assert_eq!( report.summary.safe_evidence.com_standard_fact_occurrences, - 25_526 + 26_076 ); - assert_eq!(report.summary.safe_evidence.registered_exact_entries, 334); + assert_eq!(report.summary.safe_evidence.registered_exact_entries, 495); assert_eq!( report.summary.safe_evidence.metadata_matched_exact_entries, - 334 + 495 ); assert_eq!( report.summary.safe_evidence.safe_consumed_exact_entries, - 291 + 404 ); assert_eq!( report .summary .safe_evidence .exact_entry_interface_dependencies, - 431 + 655 ); assert_eq!( report .summary .safe_evidence .exact_family_interface_dependencies, - 268 + 404 ); assert_eq!( report.summary.safe_evidence.by_contract_kind, BTreeMap::from([ ("borrowed-handle".into(), 54), - ("bounded-two-call".into(), 1), + ("bounded-two-call".into(), 16), ("compound-dispatch".into(), 1), + ("conditional-output".into(), 7), ("counted-buffer".into(), 16), ("enumerator-next".into(), 74), - ("ownership".into(), 20), + ("flag-selected-buffer".into(), 3), + ("null-input".into(), 2), + ("ownership".into(), 172), + ("parameter-direction".into(), 45), ("safearray".into(), 263), ("semantic-hresult".into(), 2), ]) ); assert_eq!( report.summary.safe_evidence.by_family_id["com.ownership.v1"], - 15 + 116 ); assert_eq!( report.summary.safe_evidence.by_family_id["windows.borrowed-hwnd-output.v1"], @@ -4624,7 +4632,7 @@ mod tests { report.summary.safe_evidence.by_family_id["automation.idispatch-invoke.v1"], 1 ); - assert_eq!(report.summary.safe_evidence.by_entry_id.len(), 291); + assert_eq!(report.summary.safe_evidence.by_entry_id.len(), 404); assert!( report .summary @@ -4635,7 +4643,7 @@ mod tests { ); assert_eq!( report.summary.safe_evidence.by_standard_rule_id["com.automation.bstr-output-owned-sysfreestring.v1"], - 1_227 + 1_231 ); assert_eq!( report.summary.safe_evidence.by_standard_rule_id["com.automation.bstr-replacement.v1"], @@ -4646,12 +4654,12 @@ mod tests { 25 ); assert!( - !report + report .summary .safe_evidence .by_entry_id .contains_key(crate::contract_registry::WMI_OPEN_NAMESPACE_ENTRY_ID), - "an exact entry used only by an unsafe companion must not be counted as a safe dependency" + "safe IWbemServices must retain its exact conditional-output dependency" ); assert!( report @@ -4669,7 +4677,7 @@ mod tests { .values() .filter(|entry| entry.safe_consumed) .count(), - 291 + 404 ); let status = &report.summary.safe_evidence.exact_entry_status; assert_eq!( @@ -4723,6 +4731,27 @@ mod tests { Some(SafeEvidenceClass::StandardDerived) )); assert!(standard.exact_entry_ids.is_empty()); + let promoted_audio = report + .interfaces + .iter() + .find(|interface| { + interface.namespace == "Windows.Win32.Media.Audio" + && interface.name == "IAudioSessionControl" + }) + .unwrap(); + assert!(promoted_audio.safe_complete); + assert!(matches!( + promoted_audio.evidence_class, + Some(SafeEvidenceClass::ExactRegistryDependent) + )); + assert_eq!( + promoted_audio + .exact_entry_ids + .iter() + .filter(|entry| entry.starts_with("com.ownership.entry.")) + .count(), + 2 + ); let bstr_standard = report .interfaces .iter() @@ -4782,8 +4811,8 @@ mod tests { counts.safe_incomplete_raw_runtime_blocked, ), ( - 418 - usize::from(target == CensusTarget::I686), - 1_554 - 23 * usize::from(target == CensusTarget::I686), + 412 - usize::from(target == CensusTarget::I686), + 1_446 - 23 * usize::from(target == CensusTarget::I686), 390 + 24 * usize::from(target == CensusTarget::I686) ) ); diff --git a/tools/dynwinrt-codegen/src/codegen/com/generated_unsafe.rs b/tools/dynwinrt-codegen/src/codegen/com/generated_unsafe.rs index 15964194..593d2fb1 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/generated_unsafe.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/generated_unsafe.rs @@ -246,13 +246,13 @@ pub struct UnsafeExactInterfaceOutputCall { pub source_fingerprint: String, pub flags_param_index: usize, pub context_param_index: usize, - pub synchronous_output_param_index: usize, - pub semisynchronous_output_param_index: usize, + pub synchronous_output_param_index: Option, + pub semisynchronous_output_param_index: Option, pub synchronous_flags: i32, pub semisynchronous_flag_value: i32, pub flags_option_name: String, - pub synchronous_output_option_name: String, - pub semisynchronous_output_option_name: String, + pub synchronous_output_option_name: Option, + pub semisynchronous_output_option_name: Option, pub reason: String, pub citation: String, } @@ -767,7 +767,7 @@ fn render_unsafe_class( dts.push_str("export interface UnsafeNativeLayoutRequirement { readonly size: number; readonly alignment: number; }\n"); dts.push_str("export interface UnsafeStrategyRequirement { readonly parameterIndex: number | null; readonly parameterName: string | null; readonly strategy: 'UnsafePointee' | 'UnsafePointerOutput' | 'UnsafeHandleOutput' | 'UnsafeInterfaceReplacement' | 'UnsafeCountedBuffer' | 'UnsafeRawCall'; readonly reasons: readonly string[]; readonly direction: 'in' | 'out' | 'inout' | null; readonly nullable: boolean | null; readonly pointeeLayouts: Readonly> | null; }\n"); dts.push_str("export interface UnsafeExactInterfaceOutput { readonly entryId: string; readonly familyId: string; readonly contractKind: string; readonly parameterIndex: number; readonly parameterName: string; readonly interfaceIid: string; readonly argumentOptional: boolean; readonly nullableOnSuccess: boolean; readonly reason: string; readonly citation: string; }\n"); - dts.push_str("export interface UnsafeExactInterfaceOutputCall { readonly entryId: string; readonly familyId: string; readonly contractKind: string; readonly sourceFingerprint: string; readonly flagsParamIndex: number; readonly contextParamIndex: number; readonly synchronousOutputParamIndex: number; readonly semisynchronousOutputParamIndex: number; readonly synchronousFlags: number; readonly semisynchronousFlagValue: number; readonly flagsOptionName: string; readonly synchronousOutputOptionName: string; readonly semisynchronousOutputOptionName: string; readonly reason: string; readonly citation: string; }\n"); + dts.push_str("export interface UnsafeExactInterfaceOutputCall { readonly entryId: string; readonly familyId: string; readonly contractKind: string; readonly sourceFingerprint: string; readonly flagsParamIndex: number; readonly contextParamIndex: number; readonly synchronousOutputParamIndex: number | null; readonly semisynchronousOutputParamIndex: number | null; readonly synchronousFlags: number; readonly semisynchronousFlagValue: number; readonly flagsOptionName: string; readonly synchronousOutputOptionName: string | null; readonly semisynchronousOutputOptionName: string | null; readonly reason: string; readonly citation: string; }\n"); dts.push_str("export interface UnsafeMethodSupport { readonly name: string; readonly projectedName: string; readonly declaringIid: string; readonly absoluteSlot: number; readonly signatureFingerprint: string; readonly status: UnsafeMethodStatus; readonly reasons: readonly string[]; readonly strategyRequirements: readonly UnsafeStrategyRequirement[]; readonly exactInterfaceOutputs: readonly UnsafeExactInterfaceOutput[]; readonly exactInterfaceOutputCall: UnsafeExactInterfaceOutputCall | null; readonly targets: Readonly>; }\n"); dts.push_str("export interface UnsafeMetadataFile { readonly file: string; readonly package: string; readonly version: string; readonly sha256: string; }\n"); dts.push_str("export interface UnsafeMetadataSupport { readonly setSha256: string; readonly files: readonly UnsafeMetadataFile[]; readonly definingFile: UnsafeMetadataFile | null; }\n"); @@ -974,6 +974,20 @@ fn render_exact_interface_output_call_method( layouts: &mut LayoutRegistry, registration: String, ) -> Result { + let ( + Some(synchronous_output_param_index), + Some(semisynchronous_output_param_index), + Some(synchronous_output_option_name), + Some(semisynchronous_output_option_name), + ) = ( + contract.synchronous_output_param_index, + contract.semisynchronous_output_param_index, + contract.synchronous_output_option_name.as_deref(), + contract.semisynchronous_output_option_name.as_deref(), + ) + else { + return Err("Generated unsafe exact-output emitter requires outputs in both modes".into()); + }; let flags = method .params .get(contract.flags_param_index) @@ -984,11 +998,11 @@ fn render_exact_interface_output_call_method( .ok_or_else(|| "Exact interface output context parameter is out of range".to_string())?; let synchronous = method .params - .get(contract.synchronous_output_param_index) + .get(synchronous_output_param_index) .ok_or_else(|| "Exact synchronous output parameter is out of range".to_string())?; let semisynchronous = method .params - .get(contract.semisynchronous_output_param_index) + .get(semisynchronous_output_param_index) .ok_or_else(|| "Exact semisynchronous output parameter is out of range".to_string())?; let synchronous_contract = synchronous .exact_interface_output @@ -1025,9 +1039,9 @@ fn render_exact_interface_output_call_method( )); } else if index == contract.context_param_index { native_args.push("DynComRawPointer.null().toValue()".into()); - } else if index == contract.synchronous_output_param_index { + } else if index == synchronous_output_param_index { native_args.push("__strategyArgument(_synchronousOutputRecord)".into()); - } else if index == contract.semisynchronous_output_param_index { + } else if index == semisynchronous_output_param_index { native_args.push("__strategyArgument(_semisynchronousOutputRecord)".into()); } else { return Err(format!( @@ -1042,8 +1056,8 @@ fn render_exact_interface_output_call_method( let name = safe_identifier(&camel_case(&capability.projected_name)); let flags_name = safe_identifier(&contract.flags_option_name); - let synchronous_name = safe_identifier(&contract.synchronous_output_option_name); - let semisynchronous_name = safe_identifier(&contract.semisynchronous_output_option_name); + let synchronous_name = safe_identifier(synchronous_output_option_name); + let semisynchronous_name = safe_identifier(semisynchronous_output_option_name); let method_args = if public_args.is_empty() { "options".into() } else { @@ -1053,9 +1067,8 @@ fn render_exact_interface_output_call_method( " /** @unsafe Exact OpenNamespace mode contract; pCtx is always native null. */\n {name}({method_args}) {{\n if (!options || Object.getPrototypeOf(options) !== Object.prototype) throw new TypeError('options must be a plain object');\n if (options.pCtx !== undefined && options.pCtx !== null) throw new TypeError('pCtx is reserved and must be native null');\n const {flags_name} = options[{}];\n if (!Number.isInteger({flags_name}) || {flags_name} < -2147483648 || {flags_name} > 2147483647) throw new RangeError('{} must be an exact signed 32-bit integer');\n const {synchronous_name} = options[{}] ?? null;\n const {semisynchronous_name} = options[{}] ?? null;\n if (({synchronous_name} === null) === ({semisynchronous_name} === null)) throw new TypeError('Exactly one OpenNamespace output must be supplied');\n const _isSynchronous = {flags_name} === {};\n const _isSemisynchronous = {flags_name} === {};\n if ({synchronous_name} !== null && !_isSynchronous) throw new TypeError('workingNamespace requires synchronous lFlags');\n if ({semisynchronous_name} !== null && !_isSemisynchronous) throw new TypeError('result requires exact WBEM_FLAG_RETURN_IMMEDIATELY lFlags');\n const _synchronousOutputRecord = __prepareExactWritableSpan({synchronous_name}, '{}', true);\n const _semisynchronousOutputRecord = __prepareExactWritableSpan({semisynchronous_name}, '{}', true);\n const _prepared = [_synchronousOutputRecord, _semisynchronousOutputRecord];\n __validateStrategySpans(_prepared);\n const _nativeArgs = [{}];\n const _owners = [];\n try {{\n _interface.method({}).invokeAll(this._obj, _nativeArgs);\n const _owner = {synchronous_name} !== null\n ? _takeOwnedInterfaceOutput({synchronous_name}, '{}', WinGuid.parse({}), false)\n : _takeOwnedInterfaceOutput({semisynchronous_name}, '{}', WinGuid.parse({}), false);\n _owners.push(_owner);\n return _owner;\n }} catch (_error) {{\n const _cleanupErrors = [];\n try {{ _cleanupOwnedInterfaceOutput({semisynchronous_name}); }} catch (_cleanup) {{ _cleanupErrors.push(_cleanup); }}\n try {{ _cleanupOwnedInterfaceOutput({synchronous_name}); }} catch (_cleanup) {{ _cleanupErrors.push(_cleanup); }}\n for (let _index = _owners.length - 1; _index >= 0; _index--) {{\n try {{ _owners[_index].release(); }} catch (_cleanup) {{ _cleanupErrors.push(_cleanup); }}\n }}\n if (_cleanupErrors.length) throw new AggregateError([_error, ..._cleanupErrors], 'Exact interface output cleanup failed', {{ cause: _error }});\n throw _error;\n }}\n }}\n", serde_json::to_string(&contract.flags_option_name).map_err(|error| error.to_string())?, contract.flags_option_name, - serde_json::to_string(&contract.synchronous_output_option_name) - .map_err(|error| error.to_string())?, - serde_json::to_string(&contract.semisynchronous_output_option_name) + serde_json::to_string(synchronous_output_option_name).map_err(|error| error.to_string())?, + serde_json::to_string(semisynchronous_output_option_name) .map_err(|error| error.to_string())?, contract.synchronous_flags, contract.semisynchronous_flag_value, @@ -1080,13 +1093,13 @@ fn render_exact_interface_output_call_method( contract.synchronous_flags, contract.flags_option_name, contract.synchronous_flags, - contract.synchronous_output_option_name, - contract.semisynchronous_output_option_name, + synchronous_output_option_name, + semisynchronous_output_option_name, contract.semisynchronous_flag_value, contract.flags_option_name, contract.semisynchronous_flag_value, - contract.synchronous_output_option_name, - contract.semisynchronous_output_option_name, + synchronous_output_option_name, + semisynchronous_output_option_name, ); Ok(RenderedMethod { registration, @@ -1650,6 +1663,9 @@ mod tests { enumerator_next: None, exact_contract: None, interface_replacement_contracts: Vec::new(), + output_ownership_contracts: Vec::new(), + exact_null_input_contracts: Vec::new(), + exact_parameter_direction_contracts: Vec::new(), exact_interface_output_call: None, safe_array_contract_error: None, } @@ -2303,13 +2319,13 @@ mod tests { }; let coverage = measure_stage2_coverage(&winmd).unwrap(); println!("{}", serde_json::to_string(&coverage).unwrap()); - assert_eq!(coverage.x64_manual_interfaces, 1_554); - assert_eq!(coverage.x64_manual_interfaces_with_executable_method, 1_550); + assert_eq!(coverage.x64_manual_interfaces, 1_446); + assert_eq!(coverage.x64_manual_interfaces_with_executable_method, 1_442); assert_eq!( coverage.x64_manual_interfaces_with_executable_manual_method, - 1_549 + 1_441 ); - assert_eq!(coverage.executable_manual_methods, 6_343); + assert_eq!(coverage.executable_manual_methods, 6_083); assert_eq!(coverage.remaining_manual_methods, 0); assert_eq!(coverage.runtime_blocked_methods, 1_163); } diff --git a/tools/dynwinrt-codegen/src/codegen/com/ir.rs b/tools/dynwinrt-codegen/src/codegen/com/ir.rs index 96006319..fe4dffe4 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/ir.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/ir.rs @@ -185,6 +185,7 @@ pub(super) enum ComType { underlying: ComScalarRepr, }, RawPointer, + ExactNullPointer, AllocatorPointer, ConsumedAllocatorPointer, InspectedAllocatorPointer, @@ -289,6 +290,7 @@ pub(super) enum ComReturnConvention { pub(super) enum ResultConversion { Value, BorrowedHandle, + OwnedHandle(OwnedHandleCleanup), ManagedCom, Bstr, CoTaskMemString(StringEncoding), @@ -312,6 +314,11 @@ pub(super) enum ResultConversion { MallocReallocation, } +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(super) enum OwnedHandleCleanup { + DeleteObject, +} + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub(super) enum ResultSource { DirectReturn, @@ -428,6 +435,23 @@ pub(super) enum ProjectedComMethodKind { buffer_param_index: usize, capacity_param_index: usize, }, + FlagSelectedString { + discriminator_param_index: usize, + reserved_null_param_index: usize, + buffer_param_index: usize, + capacity_param_index: usize, + string_flags: [u32; 2], + validation_flag: u32, + }, + ConditionalInterfaceOutput { + public_input_param_indices: [Option; 3], + flags_param_index: usize, + context_param_index: usize, + synchronous_output_param_index: Option, + semisynchronous_output_param_index: Option, + synchronous_flags: i32, + semisynchronous_flags: i32, + }, } /// The JS runtime `typeof`/shape category a validated value uses at a call @@ -550,6 +574,7 @@ pub(super) fn dispatch_shape(typ: &ComType) -> Option { // depending on position, so they can collide with any other category // and are never safe overload-dispatch keys. ComType::RawPointer + | ComType::ExactNullPointer | ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer diff --git a/tools/dynwinrt-codegen/src/codegen/com/javascript/render.rs b/tools/dynwinrt-codegen/src/codegen/com/javascript/render.rs index 10239172..d2dfd838 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/javascript/render.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/javascript/render.rs @@ -449,6 +449,12 @@ fn render_js(meta: &ProjectedComInterface) -> String { ProjectedComMethodKind::EnumeratorNext { .. } => { emit_enumerator_next_method_js(&mut out, method, &iface_var) } + ProjectedComMethodKind::FlagSelectedString { .. } => { + emit_flag_selected_string_method_js(&mut out, method, &iface_var) + } + ProjectedComMethodKind::ConditionalInterfaceOutput { .. } => { + emit_conditional_interface_output_method_js(&mut out, method, &iface_var) + } } } out.push_str("}\n"); @@ -633,7 +639,7 @@ fn build_method_sig_js(method: &ProjectedComMethod) -> String { match param.direction { ComParamDirection::In => parts.push(format!( ".{}({})", - if param.nullable { + if param.nullable || matches!(param.typ, ComType::ExactNullPointer) { "addNullableIn" } else { "addIn" @@ -813,6 +819,13 @@ fn wrap_param_arg_js(param: &ProjectedComParam, variable: &str) -> String { ComType::RawPointer | ComType::GuidPointer | ComType::PointerAlias { .. } => { format!("{variable} === null ? DynCom.pointer(null) : {wrapped}") } + ComType::TypedBuffer { .. } => { + format!("{variable} === null ? DynCom.nullBuffer() : {wrapped}") + } + ComType::StringArray { encoding, .. } => format!( + "{variable} === null ? DynCom.nullStringArray({}) : {wrapped}", + matches!(encoding, StringEncoding::Wide) + ), ComType::Bstr => format!("{variable} === null ? DynCom.nullBstr() : {wrapped}"), _ => unreachable!("nullable projection was validated"), }; @@ -854,6 +867,9 @@ fn out_abi_type_js(method: &ProjectedComMethod, param_index: usize, typ: &ComTyp match conversion { Some(ResultConversion::DynamicIidAdoption) => "DynCom.ownedComPointerType()".into(), Some(ResultConversion::BorrowedHandle) => "DynCom.borrowedHandleOutputType()".into(), + Some(ResultConversion::OwnedHandle(super::super::ir::OwnedHandleCleanup::DeleteObject)) => { + "DynCom.deleteObjectHandleOutputType()".into() + } Some(ResultConversion::Bstr) => "DynCom.bstrType()".into(), Some(ResultConversion::CoTaskMemString(_) | ResultConversion::CoTaskMemData) => { "DynCom.coTaskMemPointerType()".into() @@ -1210,6 +1226,9 @@ fn emit_method_js_named( if malloc_reallocation && index == 1 { return Some("DynCom.usize(_mallocSize)".into()); } + if matches!(param.typ, ComType::ExactNullPointer) { + return Some("DynCom.exactNullPointer(null)".into()); + } for group in &method.shared_counts { match group { SharedCountPlan::StringInputScalarOutput { @@ -1686,6 +1705,227 @@ fn emit_invocation_and_results( } } +fn emit_flag_selected_string_method_js( + out: &mut String, + method: &ProjectedComMethod, + iface_var: &str, +) { + let ProjectedComMethodKind::FlagSelectedString { + discriminator_param_index, + reserved_null_param_index, + buffer_param_index, + capacity_param_index, + string_flags, + validation_flag, + } = method.kind + else { + unreachable!("flag-selected string emitter requires exact method semantics") + }; + let plan = method + .string_buffer + .as_ref() + .expect("flag-selected string contract requires a string buffer"); + assert_eq!(plan.buffer_param_index, buffer_param_index); + assert_eq!(plan.count_param_index, capacity_param_index); + assert_eq!(plan.encoding, StringEncoding::Wide); + assert!(matches!( + method.params[reserved_null_param_index].typ, + ComType::ExactNullPointer + )); + let inputs = input_params(method); + let surface_name = |param_index: usize| { + let surface = inputs + .iter() + .position(|(index, _)| *index == param_index) + .expect("flag-selected input must remain visible"); + js_param_name(&method.params[param_index].name, surface) + }; + let id_name = surface_name(0); + let discriminator_name = surface_name(discriminator_param_index); + let capacity_name = surface_name(capacity_param_index); + emit_method_doc_js(out, &method.doc); + out.push_str(&format!( + " {}({id_name}, {discriminator_name}, {capacity_name} = 260) {{\n", + method.camel_name + )); + out.push_str(&format!( + " if ({discriminator_name} !== {} && {discriminator_name} !== {} && {discriminator_name} !== {}) throw new RangeError('{} must be one of the exact registered flag values');\n", + string_flags[0], + string_flags[1], + validation_flag, + method.params[discriminator_param_index].name, + )); + out.push_str(&format!( + " const _validateOnly = {discriminator_name} === {validation_flag};\n" + )); + out.push_str(&format!( + " if (!_validateOnly) {capacity_name} = _normalizeStringBufferCount({capacity_name}, '{}');\n", + method.params[capacity_param_index].name + )); + out.push_str(&format!( + " const _buffer = _validateOnly ? null : Buffer.alloc({capacity_name} * 2);\n" + )); + let args = method + .params + .iter() + .enumerate() + .filter_map(|(index, param)| { + if index == reserved_null_param_index { + return Some("DynCom.exactNullPointer(null)".into()); + } + if index == buffer_param_index { + return Some( + "(_validateOnly ? DynCom.pointer(null) : DynCom.pointer(_buffer))".into(), + ); + } + if index == capacity_param_index { + return Some(format!("DynCom.u32(_validateOnly ? 0 : {capacity_name})")); + } + if !param.surface_input { + return None; + } + let variable = if index == discriminator_param_index { + discriminator_name.clone() + } else if index == 0 { + id_name.clone() + } else { + surface_name(index) + }; + Some(wrap_param_arg_js(param, &variable)) + }) + .collect::>(); + out.push_str(&format!( + " const _hresult = {iface_var}.method({}).invoke(this._obj, [{}]);\n", + method.vtable_index, + args.join(", ") + )); + out.push_str( + " if (_validateOnly) return DynCom.toNumber(_hresult) === 0;\n return _decodeWideString(_buffer);\n }\n", + ); +} + +fn emit_conditional_interface_output_method_js( + out: &mut String, + method: &ProjectedComMethod, + iface_var: &str, +) { + let ProjectedComMethodKind::ConditionalInterfaceOutput { + public_input_param_indices, + flags_param_index, + context_param_index, + synchronous_output_param_index, + semisynchronous_output_param_index, + synchronous_flags, + semisynchronous_flags, + } = method.kind + else { + unreachable!("conditional interface output emitter requires exact method semantics") + }; + assert!(matches!( + method.params[context_param_index].typ, + ComType::ExactNullPointer + )); + let public_indices = public_input_param_indices + .into_iter() + .flatten() + .collect::>(); + let public_params = public_indices + .iter() + .enumerate() + .map(|(surface, index)| js_param_name(&method.params[*index].name, surface)) + .collect::>(); + emit_method_doc_js(out, &method.doc); + let method_params = if public_params.is_empty() { + "options".into() + } else { + format!("{}, options", public_params.join(", ")) + }; + out.push_str(&format!(" {}({method_params}) {{\n", method.camel_name)); + out.push_str(" if (!options || Object.getPrototypeOf(options) !== Object.prototype) throw new TypeError('options must be a plain object');\n"); + out.push_str(" const _mode = options.mode;\n"); + out.push_str(" if (_mode !== 'sync' && _mode !== 'semisync') throw new TypeError(\"options.mode must be 'sync' or 'semisync'\");\n"); + out.push_str(" const _sync = _mode === 'sync';\n"); + out.push_str(&format!( + " const _flags = _sync ? {synchronous_flags} : {semisynchronous_flags};\n" + )); + let args = method + .params + .iter() + .enumerate() + .filter_map(|(index, param)| match param.direction { + ComParamDirection::In if index == flags_param_index => { + Some(wrap_param_arg_js(param, "_flags")) + } + ComParamDirection::In if index == context_param_index => { + Some("DynCom.exactNullPointer(null)".into()) + } + ComParamDirection::In => { + let surface = public_indices + .iter() + .position(|candidate| *candidate == index) + .expect("conditional contract must list every public input"); + Some(wrap_param_arg_js(param, &public_params[surface])) + } + ComParamDirection::OptionalOut => Some(format!( + "DynCom.boolValue({})", + match ( + synchronous_output_param_index == Some(index), + semisynchronous_output_param_index == Some(index), + ) { + (true, false) => "_sync", + (false, true) => "!_sync", + _ => panic!("conditional output must belong to exactly one mode"), + } + )), + ComParamDirection::Out + | ComParamDirection::InOut + | ComParamDirection::OutStringBuffer + | ComParamDirection::InputBuffer + | ComParamDirection::CallerOutputBuffer + | ComParamDirection::CalleeAllocatedBuffer => { + panic!("conditional interface output has an unexpected parameter direction") + } + }) + .collect::>(); + out.push_str(&format!( + " const _results = {iface_var}.method({}).invokeAll(this._obj, [{}]);\n", + method.vtable_index, + args.join(", ") + )); + let result_index = |parameter_index: usize| { + method + .results + .iter() + .position(|result| result.source == ResultSource::Param(parameter_index)) + .expect("conditional output must have a projected result") + }; + match synchronous_output_param_index { + Some(index) => { + let position = result_index(index); + let converted = unwrap_method_result_js( + method, + &method.results[position], + &format!("_results[{position}]"), + ); + out.push_str(&format!(" if (_sync) return {converted};\n")); + } + None => out.push_str(" if (_sync) return;\n"), + } + match semisynchronous_output_param_index { + Some(index) => { + let position = result_index(index); + let converted = unwrap_method_result_js( + method, + &method.results[position], + &format!("_results[{position}]"), + ); + out.push_str(&format!(" return {converted};\n")); + } + None => out.push_str(" return;\n"), + } + out.push_str(" }\n"); +} + fn emit_dynamic_iid_method_js( out: &mut String, method: &ProjectedComMethod, @@ -2086,6 +2326,85 @@ fn render_dts(meta: &ProjectedComInterface) -> String { } continue; } + if let ProjectedComMethodKind::FlagSelectedString { + discriminator_param_index, + capacity_param_index, + string_flags, + validation_flag, + .. + } = method.kind + { + emit_method_doc_dts(&mut out, &method.doc); + let inputs = input_params(method); + let id_param_index = inputs + .iter() + .map(|(index, _)| *index) + .find(|index| *index != discriminator_param_index && *index != capacity_param_index) + .expect("flag-selected string contract requires an identifier input"); + let id_name = js_param_name(&method.params[id_param_index].name, 0); + let id_type = param_input_type_dts(&method.params[id_param_index]); + let discriminator_name = &method.params[discriminator_param_index].name; + let capacity_name = &method.params[capacity_param_index].name; + out.push_str(&format!( + " {}({id_name}: {id_type}, {discriminator_name}: {} | {}, {capacity_name}?: number): string;\n", + method.camel_name, string_flags[0], string_flags[1] + )); + out.push_str(&format!( + " {}({id_name}: {id_type}, {discriminator_name}: {validation_flag}, {capacity_name}?: number): boolean;\n", + method.camel_name + )); + continue; + } + if let ProjectedComMethodKind::ConditionalInterfaceOutput { + public_input_param_indices, + synchronous_output_param_index, + semisynchronous_output_param_index, + .. + } = method.kind + { + emit_method_doc_dts(&mut out, &method.doc); + let public = public_input_param_indices + .into_iter() + .flatten() + .enumerate() + .map(|(surface, index)| { + format!( + "{}: {}", + js_param_name(&method.params[index].name, surface), + param_input_type_dts(&method.params[index]) + ) + }) + .collect::>(); + let prefix = if public.is_empty() { + String::new() + } else { + format!("{}, ", public.join(", ")) + }; + let return_type = |output: Option| { + output.map_or_else( + || "void".into(), + |parameter_index| { + let result = method + .results + .iter() + .find(|result| result.source == ResultSource::Param(parameter_index)) + .expect("conditional output result"); + result_type_dts(result) + }, + ) + }; + out.push_str(&format!( + " {}({prefix}options: {{ readonly mode: 'sync' }}): {};\n", + method.camel_name, + return_type(synchronous_output_param_index) + )); + out.push_str(&format!( + " {}({prefix}options: {{ readonly mode: 'semisync' }}): {};\n", + method.camel_name, + return_type(semisynchronous_output_param_index) + )); + continue; + } let (params, ret) = match method.kind { ProjectedComMethodKind::Normal | ProjectedComMethodKind::FixedCapacityBytes { .. } @@ -2111,6 +2430,12 @@ fn render_dts(meta: &ProjectedComInterface) -> String { ProjectedComMethodKind::EnumeratorNext { .. } => { (vec!["count: number".into()], dts_return_type(method)) } + ProjectedComMethodKind::FlagSelectedString { .. } => { + unreachable!("flag-selected string declarations are emitted above") + } + ProjectedComMethodKind::ConditionalInterfaceOutput { .. } => { + unreachable!("conditional interface output declarations are emitted above") + } }; emit_method_doc_dts(&mut out, &method.doc); out.push_str(&format!( @@ -2283,6 +2608,7 @@ fn collect_pointer_aliases(meta: &ProjectedComInterface) -> Vec<(String, Pointer | ComType::Enum { .. } | ComType::ScalarAlias { .. } | ComType::RawPointer + | ComType::ExactNullPointer | ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer @@ -2383,6 +2709,7 @@ fn collect_native_pods(meta: &ProjectedComInterface) -> Vec Vec Vec<&'static str> { let mut types = std::collections::BTreeSet::new(); for method in &meta.methods { + if method + .results + .iter() + .any(|result| matches!(result.conversion, ResultConversion::OwnedHandle(_))) + { + types.insert("DynComOwnedHandle"); + } for typ in method .params .iter() @@ -2541,6 +2875,7 @@ fn collect_scalar_alias( | ComType::HString | ComType::Enum { .. } | ComType::RawPointer + | ComType::ExactNullPointer | ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer diff --git a/tools/dynwinrt-codegen/src/codegen/com/javascript/types.rs b/tools/dynwinrt-codegen/src/codegen/com/javascript/types.rs index ac631d77..67a1f754 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/javascript/types.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/javascript/types.rs @@ -36,6 +36,7 @@ pub(super) fn abi_type_js(typ: &ComType) -> String { ComType::Enum { underlying, .. } => enum_abi_type_js(*underlying).into(), ComType::ScalarAlias { underlying, .. } => scalar_abi_type_js(*underlying).into(), ComType::RawPointer + | ComType::ExactNullPointer | ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer @@ -142,6 +143,7 @@ pub(super) fn type_dts(typ: &ComType) -> String { ComType::Enum { name, .. } => name.clone(), ComType::ScalarAlias { name, .. } => name.clone(), ComType::RawPointer => "Buffer | Uint8Array".into(), + ComType::ExactNullPointer => "null".into(), ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer => "DynComAllocation".into(), @@ -179,6 +181,7 @@ pub(super) fn result_type_dts(result: &ProjectedComResult) -> String { ResultConversion::Value | ResultConversion::BorrowedHandle | ResultConversion::HString => { type_dts(&result.typ) } + ResultConversion::OwnedHandle(_) => "DynComOwnedHandle".into(), ResultConversion::Buffer => "Buffer".into(), ResultConversion::PlainArray => { let ComType::TypedBuffer { element } = &result.typ else { @@ -237,6 +240,7 @@ pub(super) fn wrap_arg_js(typ: &ComType, variable: &str) -> String { ComType::Enum { underlying, .. } => wrap_enum_arg_js(*underlying, variable), ComType::ScalarAlias { underlying, .. } => wrap_scalar_arg_js(*underlying, variable), ComType::RawPointer => format!("DynCom.safeDataPointer({variable})"), + ComType::ExactNullPointer => format!("DynCom.exactNullPointer({variable})"), ComType::AllocatorPointer => { format!("DynCom.mallocAllocationPointer(this._obj, {variable})") } @@ -339,6 +343,9 @@ pub(super) fn unwrap_result_js(result: &ProjectedComResult, expression: &str) -> ResultConversion::Value | ResultConversion::BorrowedHandle => { unwrap_value_js(&result.typ, expression) } + ResultConversion::OwnedHandle(super::super::ir::OwnedHandleCleanup::DeleteObject) => { + format!("DynCom.takeDeleteObjectHandle({expression})") + } ResultConversion::Buffer => format!("DynCom.takeBuffer({expression})"), ResultConversion::PlainArray => { let ComType::TypedBuffer { element } = &result.typ else { @@ -434,6 +441,7 @@ fn unwrap_value_js(typ: &ComType, expression: &str) -> String { ComType::HResult => format!("DynCom.toNumber({expression})"), ComType::Guid => format!("DynCom.toGuidString({expression})"), ComType::GuidPointer => unreachable!("GUID pointer values are input-only"), + ComType::ExactNullPointer => unreachable!("exact-null pointers are input-only"), ComType::HString => format!("{expression}.toString()"), ComType::Enum { underlying, .. } => unwrap_enum_js(*underlying, expression), ComType::ScalarAlias { underlying, .. } => unwrap_scalar_js(*underlying, expression), diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/abi.rs b/tools/dynwinrt-codegen/src/codegen/com/model/abi.rs index e1092c8b..962cb0ce 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/abi.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/abi.rs @@ -145,6 +145,7 @@ pub(in crate::codegen::com) enum ComAbiType { encoding: StringEncoding, constness: Constness, }, + ExactNullPointer, Bstr, HString, ComInterface { @@ -175,6 +176,7 @@ impl ComAbiType { Self::Pointer { .. } | Self::DataPointer { .. } | Self::StringPointer { .. } + | Self::ExactNullPointer | Self::Bstr | Self::ComInterface { .. } | Self::CountedBuffer { .. } diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs b/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs index 9bbcb9bd..c66813c9 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs @@ -376,7 +376,31 @@ fn map_method( if let Some(contract) = dynamic_iid { method = method.with_dynamic_iid_contract(contract)?; } - Ok( + let method = if let Some(contract) = &raw.exact_interface_output_call { + if contract.public_input_param_indices.len() > 3 { + return Err(ModelError::InvalidContract( + "conditional interface output supports at most three public inputs".into(), + )); + } + let mut public_input_params = [None; 3]; + for (target, source) in public_input_params + .iter_mut() + .zip(&contract.public_input_param_indices) + { + *target = Some(ParamIndex::new(*source)); + } + method.with_special_contract(ComMethodSpecialContract::ConditionalInterfaceOutput { + public_input_params, + flags_param: ParamIndex::new(contract.flags_param_index), + context_param: ParamIndex::new(contract.context_param_index), + synchronous_output: contract.synchronous_output_param_index.map(ParamIndex::new), + semisynchronous_output: contract + .semisynchronous_output_param_index + .map(ParamIndex::new), + synchronous_flags: contract.synchronous_flags, + semisynchronous_flags: contract.semisynchronous_flag_value, + }) + } else { match raw.exact_contract.as_ref().map(|contract| contract.kind) { Some(RawExactMethodContractKind::FixedCapacityBytes) => { method.with_special_contract(ComMethodSpecialContract::FixedCapacityBytes { @@ -390,9 +414,25 @@ fn map_method( Some(RawExactMethodContractKind::Malloc) => { method.with_special_contract(ComMethodSpecialContract::Malloc) } + Some(RawExactMethodContractKind::FlagSelectedString) => { + let contract = raw.exact_contract.as_ref().unwrap(); + method.with_special_contract(ComMethodSpecialContract::FlagSelectedString { + discriminator_param: ParamIndex::new( + contract.discriminator_param_index.unwrap(), + ), + reserved_null_param: ParamIndex::new( + contract.reserved_null_param_index.unwrap(), + ), + buffer_param: ParamIndex::new(contract.buffer_param_index), + capacity_param: ParamIndex::new(contract.capacity_param_index), + string_flags: [4, 5], + validation_flag: 6, + }) + } None => method, - }, - ) + } + }; + Ok(method) } fn map_param( @@ -404,6 +444,18 @@ fn map_param( raw_method: &RawComMethod, dynamic_iid_output: bool, ) -> Result { + let exact_null_input = raw_method + .exact_null_input_contracts + .iter() + .any(|contract| contract.parameter_index == param_index) + || raw_method.exact_contract.as_ref().is_some_and(|contract| { + contract.kind == RawExactMethodContractKind::FlagSelectedString + && contract.reserved_null_param_index == Some(param_index) + }) + || raw_method + .exact_interface_output_call + .as_ref() + .is_some_and(|contract| contract.context_param_index == param_index); let effective_direction = documented_bstr_direction_override( interface_namespace, interface_name, @@ -424,7 +476,32 @@ fn map_param( .then_some(RawParamDirection::Out) }) .unwrap_or(raw.direction); - let (abi_type, count) = if raw_method.exact_contract.as_ref().is_some_and(|contract| { + let (abi_type, count) = if exact_null_input { + let interface_pointer = matches!( + raw.typ.native_type, + RawNativeType::Named { + kind: RawNamedKind::Interface | RawNamedKind::RuntimeClass, + .. + } + ); + if effective_direction != RawParamDirection::In + || (raw.typ.pointer_depth == 0 && !interface_pointer) + { + return Err(ModelError::InvalidContract(format!( + "{} exact-null parameter no longer has pointer-shaped input metadata", + raw.name + ))); + } + ( + insert_abi( + model, + raw_native_name(&raw.typ)?, + None, + ComAbiType::ExactNullPointer, + )?, + None, + ) + } else if raw_method.exact_contract.as_ref().is_some_and(|contract| { contract.kind == RawExactMethodContractKind::StatStg && contract.buffer_param_index == param_index }) { @@ -557,17 +634,18 @@ fn map_param( param_index, dynamic_iid_output, )?; - let nullable = if (raw.optional - || known_nullable_param_override( - interface_namespace, - interface_name, - &raw_method.metadata_name, - &raw.name, - ) - || raw - .safe_array_evidence - .as_ref() - .is_some_and(crate::com_safe_array_registry::safe_array_output_allows_null)) + let nullable = if !exact_null_input + && (raw.optional + || known_nullable_param_override( + interface_namespace, + interface_name, + &raw_method.metadata_name, + &raw.name, + ) + || raw + .safe_array_evidence + .as_ref() + .is_some_and(crate::com_safe_array_registry::safe_array_output_allows_null)) && is_nullable_type(model, abi_type)? { Nullability::Nullable @@ -578,7 +656,7 @@ fn map_param( raw.name.clone(), abi_type, direction, - raw.optional, + raw.optional && !exact_null_input, nullable, count, ownership, @@ -734,7 +812,11 @@ fn map_return(model: &mut ComModel, raw: &RawComMethod) -> Result &'s ComAbiType::Handle(_) => "Handle", ComAbiType::DataPointer { .. } => "DataPointer", ComAbiType::StringPointer { .. } => "StringPointer", + ComAbiType::ExactNullPointer => "DataPointer", ComAbiType::Bstr => "Bstr", ComAbiType::HString => "HString", ComAbiType::ComInterface { .. } => "ComInterface", @@ -1347,6 +1430,9 @@ fn validate_pod_field_type( | ComAbiType::Handle(_) | ComAbiType::StringPointer { .. } | ComAbiType::NativeStruct(_) => Ok(()), + ComAbiType::ExactNullPointer => Err(ModelError::InvalidLayout( + "exact-null pointers cannot appear in native POD fields".into(), + )), ComAbiType::NativeUnion(_) if enclosing_union => { Err(ModelError::Unsupported(UnsupportedReason::Other( "nested native unions require an explicit nested active-field contract".into(), @@ -1430,6 +1516,7 @@ fn abi_size_alignment( | ComAbiType::Handle(_) | ComAbiType::DataPointer { .. } | ComAbiType::StringPointer { .. } + | ComAbiType::ExactNullPointer | ComAbiType::Bstr | ComAbiType::HString | ComAbiType::ComInterface { .. } @@ -1652,6 +1739,7 @@ fn buffer_element_ownership( | ComAbiType::Pointer { .. } | ComAbiType::Handle(_) | ComAbiType::DataPointer { .. } + | ComAbiType::ExactNullPointer | ComAbiType::HString | ComAbiType::NativeUnion(_) | ComAbiType::CountedBuffer { .. } @@ -1845,6 +1933,7 @@ fn map_ownership( ComAbiType::Pointer { .. } | ComAbiType::DataPointer { .. } | ComAbiType::StringPointer { .. } + | ComAbiType::ExactNullPointer | ComAbiType::Bstr | ComAbiType::HString | ComAbiType::ComInterface { .. } @@ -2205,6 +2294,7 @@ fn raw_scalar_alias(typ: &RawComType, namespace: &str, alias_name: &str) -> Opti fn handle_cleanup_namespace(function: &str) -> Option<&'static str> { match function { "CloseHandle" | "DestroyIcon" => Some("Windows.Win32.Foundation"), + "DeleteObject" => Some("Windows.Win32.Graphics.Gdi"), "RegCloseKey" => Some("Windows.Win32.System.Registry"), _ => None, } @@ -2392,6 +2482,9 @@ mod tests { enumerator_next: None, exact_contract: None, interface_replacement_contracts: Vec::new(), + output_ownership_contracts: Vec::new(), + exact_null_input_contracts: Vec::new(), + exact_parameter_direction_contracts: Vec::new(), exact_interface_output_call: None, safe_array_contract_error: None, } diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/method.rs b/tools/dynwinrt-codegen/src/codegen/com/model/method.rs index 6b1ba450..3551224a 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/method.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/method.rs @@ -33,7 +33,26 @@ impl ComReturnKind { #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub(in crate::codegen::com) enum ComMethodSpecialContract { - FixedCapacityBytes { guid_param: ParamIndex }, + FixedCapacityBytes { + guid_param: ParamIndex, + }, + FlagSelectedString { + discriminator_param: ParamIndex, + reserved_null_param: ParamIndex, + buffer_param: ParamIndex, + capacity_param: ParamIndex, + string_flags: [u32; 2], + validation_flag: u32, + }, + ConditionalInterfaceOutput { + public_input_params: [Option; 3], + flags_param: ParamIndex, + context_param: ParamIndex, + synchronous_output: Option, + semisynchronous_output: Option, + synchronous_flags: i32, + semisynchronous_flags: i32, + }, Malloc, } diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/mod.rs b/tools/dynwinrt-codegen/src/codegen/com/model/mod.rs index e0601fb8..488f00ba 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/mod.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/mod.rs @@ -171,6 +171,7 @@ impl ComModel { ComAbiType::Unknown(reason) => { return Err(ModelError::Unsupported(reason.clone())); } + ComAbiType::ExactNullPointer => {} ComAbiType::Pointer { constness: Constness::Unspecified, .. diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/ownership.rs b/tools/dynwinrt-codegen/src/codegen/com/model/ownership.rs index 5ed1fc38..e02ffdb5 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/ownership.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/ownership.rs @@ -15,7 +15,7 @@ impl HandleCleanup { Self { function } } - pub(super) const fn function(&self) -> &QualifiedName { + pub(in crate::codegen::com) const fn function(&self) -> &QualifiedName { &self.function } } diff --git a/tools/dynwinrt-codegen/src/codegen/com/project/mod.rs b/tools/dynwinrt-codegen/src/codegen/com/project/mod.rs index 6a160198..993227ed 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/project/mod.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/project/mod.rs @@ -13,12 +13,12 @@ use super::ir::{ ComSinkReturnConvention, ComType, DispatchShape, NativePodArchitectureLayout, NativePodField, NativePodFieldType, NativePodInitializer, NativePodLayout, NativePodScalar, NativeUnionArchitectureLayout, NativeUnionField, NativeUnionFieldType, NativeUnionLayout, - OverloadDispatch, OverloadInfo, PointerAliasKind, ProjectedComCoclass, ProjectedComEnum, - ProjectedComEnumMember, ProjectedComInterface, ProjectedComMethod, ProjectedComMethodKind, - ProjectedComParam, ProjectedComResult, ProjectedComSinkMethod, ProjectedEnumValue, - ProjectedInterfaceRef, ResultConversion, ResultSource, SafeArrayElement, SharedCountPlan, - StringBufferPlan, StringEncoding, TypedBufferPlan, TypedBufferRelation, TypedBufferSizing, - dispatch_shape, + OverloadDispatch, OverloadInfo, OwnedHandleCleanup, PointerAliasKind, ProjectedComCoclass, + ProjectedComEnum, ProjectedComEnumMember, ProjectedComInterface, ProjectedComMethod, + ProjectedComMethodKind, ProjectedComParam, ProjectedComResult, ProjectedComSinkMethod, + ProjectedEnumValue, ProjectedInterfaceRef, ResultConversion, ResultSource, SafeArrayElement, + SharedCountPlan, StringBufferPlan, StringEncoding, TypedBufferPlan, TypedBufferRelation, + TypedBufferSizing, dispatch_shape, }; use super::javascript::naming::camel_case; use super::model::ValidatedComInterface; @@ -494,6 +494,7 @@ fn validate_projected_surface_names(meta: &ProjectedComInterface) -> Result<(), | ComType::Guid | ComType::HString | ComType::RawPointer + | ComType::ExactNullPointer | ComType::AllocatorPointer | ComType::ConsumedAllocatorPointer | ComType::InspectedAllocatorPointer @@ -642,20 +643,52 @@ fn project_method( ) -> Result { let context = || method.name().to_string(); let dynamic_iid = method.dynamic_iid_contract(); - let mut kind = if let Some(ComMethodSpecialContract::FixedCapacityBytes { guid_param }) = - method.special_contract() - { - if dynamic_iid.is_some() { - return Err(format!( - "{}: fixed-capacity bytes cannot also use a dynamic IID output", - context() - )); - } - ProjectedComMethodKind::FixedCapacityBytes { - guid_param_index: guid_param.index(), + let mut kind = match method.special_contract() { + Some(ComMethodSpecialContract::FixedCapacityBytes { guid_param }) => { + if dynamic_iid.is_some() { + return Err(format!( + "{}: fixed-capacity bytes cannot also use a dynamic IID output", + context() + )); + } + ProjectedComMethodKind::FixedCapacityBytes { + guid_param_index: guid_param.index(), + } } - } else { - project_dynamic_method_kind( + Some(ComMethodSpecialContract::FlagSelectedString { + discriminator_param, + reserved_null_param, + buffer_param, + capacity_param, + string_flags, + validation_flag, + }) => ProjectedComMethodKind::FlagSelectedString { + discriminator_param_index: discriminator_param.index(), + reserved_null_param_index: reserved_null_param.index(), + buffer_param_index: buffer_param.index(), + capacity_param_index: capacity_param.index(), + string_flags, + validation_flag, + }, + Some(ComMethodSpecialContract::ConditionalInterfaceOutput { + public_input_params, + flags_param, + context_param, + synchronous_output, + semisynchronous_output, + synchronous_flags, + semisynchronous_flags, + }) => ProjectedComMethodKind::ConditionalInterfaceOutput { + public_input_param_indices: public_input_params + .map(|index| index.map(|index| index.index())), + flags_param_index: flags_param.index(), + context_param_index: context_param.index(), + synchronous_output_param_index: synchronous_output.map(|index| index.index()), + semisynchronous_output_param_index: semisynchronous_output.map(|index| index.index()), + synchronous_flags, + semisynchronous_flags, + }, + Some(ComMethodSpecialContract::Malloc) | None => project_dynamic_method_kind( method.name(), dynamic_iid.map(|contract| { ( @@ -664,7 +697,7 @@ fn project_method( ) }), interop_target.map(|(_, _, target_iid)| target_iid.as_str()), - ) + ), }; let is_idispatch_invoke = interface_namespace == "Windows.Win32.System.Com" && interface_name == "IDispatch" @@ -801,6 +834,15 @@ fn project_method( Direction::Out if param.optional() && (is_idispatch_invoke + || matches!( + &kind, + ProjectedComMethodKind::ConditionalInterfaceOutput { + synchronous_output_param_index, + semisynchronous_output_param_index, + .. + } if *synchronous_output_param_index == Some(index) + || *semisynchronous_output_param_index == Some(index) + ) || matches!( &kind, ProjectedComMethodKind::EnumeratorNext { @@ -824,6 +866,18 @@ fn project_method( | ComParamDirection::CallerOutputBuffer | ComParamDirection::CalleeAllocatedBuffer ); + if matches!(typ, ComType::ExactNullPointer) { + surface_input = false; + } + if matches!( + kind, + ProjectedComMethodKind::ConditionalInterfaceOutput { + flags_param_index, + .. + } if flags_param_index == index + ) { + surface_input = false; + } for plan in &typed_buffers { match plan.relation { TypedBufferRelation::Input { @@ -938,7 +992,7 @@ fn project_method( } let nullable = param.nullability() == Nullability::Nullable && (surface_input || (surface_result && matches!(typ, ComType::SafeArray { .. }))); - if nullable && !supports_nullable_projection(&typ) { + if nullable && !supports_nullable_projection(&typ, direction) { return Err(format!( "{}: nullable parameter `{}` has no safe language/runtime lowering", context(), @@ -989,72 +1043,79 @@ fn project_method( if !optional_outputs.is_empty() && !matches!(kind, ProjectedComMethodKind::EnumeratorNext { .. }) { - if interface_namespace != "Windows.Win32.System.Com" - || interface_name != "IDispatch" - || method.name() != "Invoke" - || params.len() != 8 - || optional_outputs != [5, 6, 7] - || params[..5] - .iter() - .any(|param| param.direction != ComParamDirection::In) - || !matches!( - params[0].typ, - ComType::Primitive(ComPrimitive::I32) - | ComType::ScalarAlias { - underlying: ComScalarRepr::Primitive(ComPrimitive::I32), - .. - } - ) - || !matches!(params[1].typ, ComType::GuidPointer) - || !matches!( - params[2].typ, - ComType::Primitive(ComPrimitive::U32) - | ComType::ScalarAlias { - underlying: ComScalarRepr::Primitive(ComPrimitive::U32), - .. - } - ) - || !matches!( - params[3].typ, - ComType::Primitive(ComPrimitive::U16) - | ComType::Enum { - underlying: ComEnumUnderlying::U16, - .. - } - | ComType::ScalarAlias { - underlying: ComScalarRepr::Primitive(ComPrimitive::U16), - .. - } - ) - || params[4].direction != ComParamDirection::In - || !matches!(params[4].typ, ComType::DispatchParams) - || !matches!(params[5].typ, ComType::Variant) - || !matches!(params[6].typ, ComType::ExcepInfo) - || !matches!( - params[7].typ, - ComType::Primitive(ComPrimitive::U32) - | ComType::ScalarAlias { - underlying: ComScalarRepr::Primitive(ComPrimitive::U32), - .. - } - ) - { - return Err(format!( - "{}: optional COM outputs require the exact validated IDispatch::Invoke contract", - context() - )); + if matches!( + kind, + ProjectedComMethodKind::ConditionalInterfaceOutput { .. } + ) { + // The exact mode contract controls which optional output is requested. + } else { + if interface_namespace != "Windows.Win32.System.Com" + || interface_name != "IDispatch" + || method.name() != "Invoke" + || params.len() != 8 + || optional_outputs != [5, 6, 7] + || params[..5] + .iter() + .any(|param| param.direction != ComParamDirection::In) + || !matches!( + params[0].typ, + ComType::Primitive(ComPrimitive::I32) + | ComType::ScalarAlias { + underlying: ComScalarRepr::Primitive(ComPrimitive::I32), + .. + } + ) + || !matches!(params[1].typ, ComType::GuidPointer) + || !matches!( + params[2].typ, + ComType::Primitive(ComPrimitive::U32) + | ComType::ScalarAlias { + underlying: ComScalarRepr::Primitive(ComPrimitive::U32), + .. + } + ) + || !matches!( + params[3].typ, + ComType::Primitive(ComPrimitive::U16) + | ComType::Enum { + underlying: ComEnumUnderlying::U16, + .. + } + | ComType::ScalarAlias { + underlying: ComScalarRepr::Primitive(ComPrimitive::U16), + .. + } + ) + || params[4].direction != ComParamDirection::In + || !matches!(params[4].typ, ComType::DispatchParams) + || !matches!(params[5].typ, ComType::Variant) + || !matches!(params[6].typ, ComType::ExcepInfo) + || !matches!( + params[7].typ, + ComType::Primitive(ComPrimitive::U32) + | ComType::ScalarAlias { + underlying: ComScalarRepr::Primitive(ComPrimitive::U32), + .. + } + ) + { + return Err(format!( + "{}: optional COM outputs require the exact validated IDispatch::Invoke contract", + context() + )); + } + kind = ProjectedComMethodKind::DispatchInvoke { + result_param_index: 5, + excep_info_param_index: 6, + arg_err_param_index: 7, + }; + params[4].name = "dispParams".into(); + params[6].surface_result = false; + params[7].surface_result = false; } - kind = ProjectedComMethodKind::DispatchInvoke { - result_param_index: 5, - excep_info_param_index: 6, - arg_err_param_index: 7, - }; - params[4].name = "dispParams".into(); - params[6].surface_result = false; - params[7].surface_result = false; } - fn supports_nullable_projection(typ: &ComType) -> bool { + fn supports_nullable_projection(typ: &ComType, direction: ComParamDirection) -> bool { matches!( typ, ComType::RawPointer @@ -1067,7 +1128,11 @@ fn project_method( | ComType::Bstr | ComType::ManagedInterface { .. } | ComType::SafeArray { .. } - ) + ) || (direction == ComParamDirection::InputBuffer + && matches!( + typ, + ComType::TypedBuffer { .. } | ComType::StringArray { .. } + )) } let mut return_convention = match method.return_kind() { @@ -1306,6 +1371,7 @@ fn project_input_type( .type_definition(abi_type) .map_err(|error| error.to_string())?; match definition.abi() { + ComAbiType::ExactNullPointer => Ok(ComType::ExactNullPointer), ComAbiType::Pointer { pointee, depth, .. } if depth.get() == 1 => { let pointee_definition = semantic .type_definition(*pointee) @@ -1542,6 +1608,7 @@ fn project_value_type( kind: PointerAliasKind::StringPointer(project_string_encoding(*encoding)), }) } + ComAbiType::ExactNullPointer => Ok(ComType::ExactNullPointer), ComAbiType::Bstr => Ok(ComType::Bstr), ComAbiType::HString => Ok(ComType::HString), ComAbiType::ComInterface { iid } => Ok(ComType::ManagedInterface { @@ -1939,6 +2006,9 @@ fn project_native_pod_field_type( | ComAbiType::DataPointer { .. } | ComAbiType::Handle(_) | ComAbiType::StringPointer { .. } => Ok(NativePodFieldType::Pointer), + ComAbiType::ExactNullPointer => { + Err("exact-null pointers cannot appear in native POD fields".into()) + } ComAbiType::NativeStruct(layout_id) => { if !visiting.insert(*layout_id) { return Err("recursive native POD layout".into()); @@ -2675,6 +2745,26 @@ fn result_conversion( Ok(ResultConversion::BorrowedHandle) } (ComOwnership::Borrowed, Cleanup::None) => Ok(ResultConversion::Value), + (ComOwnership::HandleOwned(expected), Cleanup::Handle(actual)) + if expected == actual + && matches!( + typ, + ComType::PointerAlias { + kind: PointerAliasKind::HandleValue, + .. + } + ) => + { + match (expected.function().namespace(), expected.function().name()) { + ("Windows.Win32.Graphics.Gdi", "DeleteObject") => Ok( + ResultConversion::OwnedHandle(OwnedHandleCleanup::DeleteObject), + ), + (namespace, function) => Err(format!( + "{}: unsupported projected handle cleanup {namespace}.{function}", + param.name() + )), + } + } (ComOwnership::ComOwned, Cleanup::ComRelease) if matches!(typ, ComType::ManagedInterface { .. }) => { diff --git a/tools/dynwinrt-codegen/src/com_metadata.rs b/tools/dynwinrt-codegen/src/com_metadata.rs index 89ee8452..36701da9 100644 --- a/tools/dynwinrt-codegen/src/com_metadata.rs +++ b/tools/dynwinrt-codegen/src/com_metadata.rs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -use std::collections::HashSet; +use std::collections::{BTreeSet, HashSet}; use sha2::{Digest, Sha256}; use windows_metadata::{HasAttributes, reader}; @@ -316,6 +316,9 @@ pub struct RawComMethod { pub enumerator_next: Option, pub exact_contract: Option, pub interface_replacement_contracts: Vec, + pub output_ownership_contracts: Vec, + pub exact_null_input_contracts: Vec, + pub exact_parameter_direction_contracts: Vec, pub exact_interface_output_call: Option, pub safe_array_contract_error: Option, } @@ -326,13 +329,13 @@ pub struct RawExactInterfaceOutputCallContract { pub public_input_param_indices: Vec, pub flags_param_index: usize, pub context_param_index: usize, - pub synchronous_output_param_index: usize, - pub semisynchronous_output_param_index: usize, + pub synchronous_output_param_index: Option, + pub semisynchronous_output_param_index: Option, pub synchronous_flags: i32, pub semisynchronous_flag_value: i32, pub flags_option_name: String, - pub synchronous_output_option_name: String, - pub semisynchronous_output_option_name: String, + pub synchronous_output_option_name: Option, + pub semisynchronous_output_option_name: Option, pub evidence: RawEvidence, } @@ -350,12 +353,34 @@ pub struct RawInterfaceReplacementContract { pub evidence: RawEvidence, } +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct RawOutputOwnershipContract { + pub parameter_index: usize, + pub source_fingerprint: String, + pub evidence: RawEvidence, +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct RawExactNullInputContract { + pub parameter_index: usize, + pub source_fingerprint: String, + pub evidence: RawEvidence, +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct RawExactParameterDirectionContract { + pub parameter_index: usize, + pub source_fingerprint: String, + pub evidence: RawEvidence, +} + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum RawExactMethodContractKind { FixedCapacityBytes, UnsafePrivateData, StatStg, Malloc, + FlagSelectedString, } #[derive(Debug, Clone, PartialEq, Eq)] @@ -369,6 +394,8 @@ pub struct RawExactMethodContract { pub buffer_param_index: usize, pub capacity_param_index: usize, pub actual_length_param_index: Option, + pub discriminator_param_index: Option, + pub reserved_null_param_index: Option, pub citation: &'static str, pub reason: &'static str, } @@ -385,6 +412,9 @@ impl RawExactMethodContract { RawExactMethodContractKind::StatStg | RawExactMethodContractKind::Malloc => { crate::contract_registry::ExactFamilyId::Ownership } + RawExactMethodContractKind::FlagSelectedString => { + crate::contract_registry::ExactFamilyId::ShellCommandString + } } } @@ -410,6 +440,9 @@ impl RawExactMethodContract { RawExactMethodContractKind::StatStg | RawExactMethodContractKind::Malloc => { crate::contract_registry::ContractKind::Ownership } + RawExactMethodContractKind::FlagSelectedString => { + crate::contract_registry::ContractKind::FlagSelectedBuffer + } } } } @@ -748,7 +781,6 @@ fn parse_com_coclass_from_index( "{namespace}.{name} is coclass-shaped but has no CLSID" )); } - // Windows.Win32.winmd represents coclasses as GUID-bearing ValueType // definitions without InterfaceImpl rows. Associate interfaces using the // metadata naming convention already used for interface activation, then @@ -1036,6 +1068,9 @@ fn parse_methods( enumerator_next, exact_contract: None, interface_replacement_contracts: Vec::new(), + output_ownership_contracts: Vec::new(), + exact_null_input_contracts: Vec::new(), + exact_parameter_direction_contracts: Vec::new(), exact_interface_output_call: None, safe_array_contract_error: None, }; @@ -1048,6 +1083,9 @@ fn parse_methods( ); apply_safe_array_evidence(&mut raw); apply_exact_parameter_direction_overrides(&mut compatibility, &mut raw); + apply_exact_out_parameter_contracts(&mut compatibility, &mut raw); + apply_exact_output_ownership_contracts(&mut compatibility, &mut raw); + apply_exact_null_input_contracts(&mut raw); (compatibility, raw) }) .unzip() @@ -1135,6 +1173,15 @@ pub(crate) fn collect_evidence_dependencies( for replacement in &method.interface_replacement_contracts { dependencies.consume_raw_evidence(&replacement.evidence); } + for contract in &method.output_ownership_contracts { + dependencies.consume_raw_evidence(&contract.evidence); + } + for contract in &method.exact_null_input_contracts { + dependencies.consume_raw_evidence(&contract.evidence); + } + for contract in &method.exact_parameter_direction_contracts { + dependencies.consume_raw_evidence(&contract.evidence); + } if let Some(borrowed) = crate::com_borrowed_handle_registry::borrowed_hwnd_evidence_for_declaration( &method.declaring_namespace, @@ -1278,6 +1325,95 @@ pub(crate) fn collect_exact_registry_entries( .map(|parameter| (replacement.parameter_index, parameter)), )); } + let output_ownership_entry_ids = method + .output_ownership_contracts + .iter() + .filter_map(|contract| match &contract.evidence { + RawEvidence::ExactRegistry { entry_id, .. } => Some(entry_id.as_str()), + _ => None, + }) + .collect::>(); + for contract in &method.output_ownership_contracts { + let Some(parameter) = method.params.get(contract.parameter_index) else { + continue; + }; + let RawEvidence::ExactRegistry { + entry_id, + family_id, + contract_kind, + reason, + citation, + } = &contract.evidence + else { + continue; + }; + entries.push(ExactRegistryEntry { + entry_id: entry_id.clone(), + family_id: *family_id, + contract_kind: *contract_kind, + selector: ExactEntrySelector { + parameter: Some((contract.parameter_index, parameter.name.clone())), + ..method_selector() + }, + source_fingerprint: contract.source_fingerprint.clone(), + reason: reason.clone(), + citation: citation.clone(), + }); + } + for contract in &method.exact_null_input_contracts { + let Some(parameter) = method.params.get(contract.parameter_index) else { + continue; + }; + let RawEvidence::ExactRegistry { + entry_id, + family_id, + contract_kind, + reason, + citation, + } = &contract.evidence + else { + continue; + }; + entries.push(ExactRegistryEntry { + entry_id: entry_id.clone(), + family_id: *family_id, + contract_kind: *contract_kind, + selector: ExactEntrySelector { + parameter: Some((contract.parameter_index, parameter.name.clone())), + ..method_selector() + }, + source_fingerprint: contract.source_fingerprint.clone(), + reason: reason.clone(), + citation: citation.clone(), + }); + } + for contract in &method.exact_parameter_direction_contracts { + let Some(parameter) = method.params.get(contract.parameter_index) else { + continue; + }; + let RawEvidence::ExactRegistry { + entry_id, + family_id, + contract_kind, + reason, + citation, + } = &contract.evidence + else { + continue; + }; + entries.push(ExactRegistryEntry { + entry_id: entry_id.clone(), + family_id: *family_id, + contract_kind: *contract_kind, + selector: ExactEntrySelector { + parameter: Some((contract.parameter_index, parameter.name.clone())), + ..method_selector() + }, + source_fingerprint: contract.source_fingerprint.clone(), + reason: reason.clone(), + citation: citation.clone(), + }); + } if let Some(borrowed) = crate::com_borrowed_handle_registry::borrowed_hwnd_evidence_for_declaration( &method.declaring_namespace, @@ -1308,10 +1444,14 @@ pub(crate) fn collect_exact_registry_entries( entries.extend(record(evidence, Some((parameter_index, parameter)))); } if let Some(free_with) = ¶meter.free_with { - entries.extend(record( - &free_with.evidence, - Some((parameter_index, parameter)), - )); + let duplicate_output_contract = matches!(&free_with.evidence, RawEvidence::ExactRegistry { entry_id, .. } + if output_ownership_entry_ids.contains(entry_id.as_str())); + if !duplicate_output_contract { + entries.extend(record( + &free_with.evidence, + Some((parameter_index, parameter)), + )); + } } if let Some(safe_array) = ¶meter.safe_array_evidence { entries.push(ExactRegistryEntry { @@ -1342,95 +1482,268 @@ fn apply_exact_parameter_direction_overrides( compatibility: &mut MethodMeta, raw: &mut RawComMethod, ) -> bool { - let entry = crate::contract_registry::conditional_output_contract( - crate::contract_registry::WMI_OPEN_NAMESPACE_ENTRY_ID, - ) - .expect("embedded WMI contract registry must validate"); - let selector = &entry.selector; - if raw.declaring_namespace != selector.interface.namespace - || raw.declaring_interface != selector.interface.name - || !raw - .declaring_iid - .eq_ignore_ascii_case(&selector.interface.iid) - || !raw - .declaring_iid - .eq_ignore_ascii_case(&selector.declaring_iid) - || raw.metadata_name != selector.method - || raw.vtable_index != selector.absolute_slot - || raw.params.len() != selector.parameter_count - || compatibility.params.len() != selector.parameter_count - { - return false; - } - if raw_method_fingerprint(raw) != selector.source_fingerprint { - return false; - } - if !selector - .parameters - .iter() - .zip(&raw.params) - .all(|(expected, actual)| { - expected.name == actual.name - && expected.native_type == raw_type_registry_name(&actual.typ) - && expected.pointer_depth == actual.typ.pointer_depth - && expected.direction == raw_direction_key(actual.direction) - && expected.optional == actual.optional - && expected.constness == raw_constness_key(actual.typ.constness) - && expected.const_attribute == actual.const_attribute - }) - { - return false; - } - let citation = entry - .evidence - .iter() - .filter_map(|source| { - source - .url - .as_deref() - .or(source.file.as_deref()) - .map(|value| format!("{}:{value}", source.kind.key())) - }) - .collect::>() - .join("; "); - for output in &entry.contract.outputs { - let index = output.parameter_index; - raw.params[index].direction = RawParamDirection::Out; - raw.params[index].exact_interface_output = Some(RawExactInterfaceOutputContract { - interface_iid: output.interface_iid.clone(), - argument_optional: output.argument_optional, - nullable_on_success: output.nullable_on_success, + let entries = crate::contract_registry::conditional_output_contracts() + .expect("embedded conditional-output registry must validate"); + for entry in entries { + let selector = &entry.selector; + if raw.declaring_namespace != selector.interface.namespace + || raw.declaring_interface != selector.interface.name + || !raw + .declaring_iid + .eq_ignore_ascii_case(&selector.interface.iid) + || !raw + .declaring_iid + .eq_ignore_ascii_case(&selector.declaring_iid) + || raw.metadata_name != selector.method + || raw.vtable_index != selector.absolute_slot + || raw.params.len() != selector.parameter_count + || compatibility.params.len() != selector.parameter_count + || raw_method_fingerprint(raw) != selector.source_fingerprint + || !selector + .parameters + .iter() + .zip(&raw.params) + .all(|(expected, actual)| { + expected.name == actual.name + && expected.native_type == raw_type_registry_name(&actual.typ) + && expected.pointer_depth == actual.typ.pointer_depth + && expected.direction == raw_direction_key(actual.direction) + && expected.optional == actual.optional + && expected.constness == raw_constness_key(actual.typ.constness) + && expected.const_attribute == actual.const_attribute + }) + { + continue; + } + let citation = entry + .evidence + .iter() + .filter_map(|source| { + source + .url + .as_deref() + .or(source.file.as_deref()) + .map(|value| format!("{}:{value}", source.kind.key())) + }) + .collect::>() + .join("; "); + for output in &entry.contract.outputs { + let index = output.parameter_index; + raw.params[index].direction = RawParamDirection::Out; + raw.params[index].exact_interface_output = Some(RawExactInterfaceOutputContract { + interface_iid: output.interface_iid.clone(), + argument_optional: output.argument_optional, + nullable_on_success: output.nullable_on_success, + evidence: RawEvidence::exact_registry( + entry.entry_id.clone(), + entry.family_id, + entry.kind, + entry.reason.clone(), + citation.clone(), + ), + }); + compatibility.params[index].direction = ParamDirection::Out; + } + raw.exact_interface_output_call = Some(RawExactInterfaceOutputCallContract { + source_fingerprint: selector.source_fingerprint.clone(), + public_input_param_indices: entry.contract.public_input_parameter_indices.clone(), + flags_param_index: entry.contract.flags_parameter_index, + context_param_index: entry.contract.context_parameter_index, + synchronous_output_param_index: entry.contract.synchronous.output_parameter_index, + semisynchronous_output_param_index: entry + .contract + .semisynchronous + .output_parameter_index, + synchronous_flags: entry.contract.synchronous.flags, + semisynchronous_flag_value: entry.contract.semisynchronous.flags, + flags_option_name: entry.contract.flags_option_name.clone(), + synchronous_output_option_name: entry.contract.synchronous.option_name.clone(), + semisynchronous_output_option_name: entry.contract.semisynchronous.option_name.clone(), evidence: RawEvidence::exact_registry( entry.entry_id.clone(), entry.family_id, entry.kind, entry.reason.clone(), - citation.clone(), + citation, ), }); - compatibility.params[index].direction = ParamDirection::Out; + return true; } - raw.exact_interface_output_call = Some(RawExactInterfaceOutputCallContract { - source_fingerprint: selector.source_fingerprint.clone(), - public_input_param_indices: entry.contract.public_input_parameter_indices.clone(), - flags_param_index: entry.contract.flags_parameter_index, - context_param_index: entry.contract.context_parameter_index, - synchronous_output_param_index: entry.contract.synchronous.output_parameter_index, - semisynchronous_output_param_index: entry.contract.semisynchronous.output_parameter_index, - synchronous_flags: entry.contract.synchronous.flags, - semisynchronous_flag_value: entry.contract.semisynchronous.flags, - flags_option_name: entry.contract.flags_option_name.clone(), - synchronous_output_option_name: entry.contract.synchronous.option_name.clone(), - semisynchronous_output_option_name: entry.contract.semisynchronous.option_name.clone(), - evidence: RawEvidence::exact_registry( + false +} + +fn apply_exact_output_ownership_contracts( + compatibility: &mut MethodMeta, + raw: &mut RawComMethod, +) -> bool { + let source_fingerprint = raw_method_fingerprint(raw); + let entries = crate::contract_registry::ownership_output_contracts() + .expect("embedded ownership contract registry must validate"); + let mut attached = false; + for entry in entries { + let selector = &entry.selector; + if raw.declaring_namespace != selector.interface.namespace + || raw.declaring_interface != selector.interface.name + || !raw + .declaring_iid + .eq_ignore_ascii_case(&selector.interface.iid) + || !raw + .declaring_iid + .eq_ignore_ascii_case(&selector.declaring_iid) + || raw.metadata_name != selector.method + || raw.vtable_index != selector.absolute_slot + || raw.params.len() != selector.parameter_count + || compatibility.params.len() != selector.parameter_count + || source_fingerprint != selector.source_fingerprint + || !selector + .parameters + .iter() + .zip(&raw.params) + .all(|(expected, actual)| { + expected.name == actual.name + && expected.native_type == raw_type_registry_name(&actual.typ) + && expected.pointer_depth == actual.typ.pointer_depth + && expected.direction == raw_direction_key(actual.direction) + && expected.optional == actual.optional + && expected.constness == raw_constness_key(actual.typ.constness) + && expected.const_attribute == actual.const_attribute + }) + { + continue; + } + + let index = entry.contract.parameter_index; + let parameter = &mut raw.params[index]; + if parameter.free_with.is_some() { + continue; + } + let citation = entry + .evidence + .iter() + .filter_map(|source| { + source + .url + .as_deref() + .or(source.file.as_deref()) + .map(|value| format!("{}:{value}", source.kind.key())) + }) + .collect::>() + .join("; "); + let evidence = RawEvidence::exact_registry( entry.entry_id.clone(), entry.family_id, entry.kind, entry.reason.clone(), citation, - ), - }); - true + ); + parameter.free_with = Some(RawFreeWith { + function: match entry.contract.cleanup { + crate::contract_registry::OutputAllocationCleanup::CoTaskMemFree => "CoTaskMemFree", + crate::contract_registry::OutputAllocationCleanup::DeleteObject => "DeleteObject", + } + .into(), + evidence: evidence.clone(), + }); + compatibility.owned_outputs.push(OwnedOutput { + param_index: index, + free_with: "CoTaskMemFree".into(), + }); + raw.output_ownership_contracts + .push(RawOutputOwnershipContract { + parameter_index: index, + source_fingerprint: source_fingerprint.clone(), + evidence, + }); + attached = true; + } + attached +} + +fn apply_exact_out_parameter_contracts( + compatibility: &mut MethodMeta, + raw: &mut RawComMethod, +) -> bool { + let source_fingerprint = raw_method_fingerprint(raw); + let mut attached = false; + for entry in crate::com_parameter_direction_registry::entries() { + if raw.declaring_namespace != entry.declaring_namespace + || raw.declaring_interface != entry.declaring_interface + || !raw.declaring_iid.eq_ignore_ascii_case(entry.declaring_iid) + || raw.metadata_name != entry.method_name + || raw.vtable_index != entry.vtable_index + || raw.params.len() != entry.parameter_count + || compatibility.params.len() != entry.parameter_count + || source_fingerprint != entry.source_fingerprint + { + continue; + } + let Some(parameter) = raw.params.get(entry.parameter_index) else { + continue; + }; + if parameter.name != entry.parameter_name + || parameter.direction != RawParamDirection::InOut + || parameter.typ.pointer_depth == 0 + { + continue; + } + raw.params[entry.parameter_index].direction = RawParamDirection::Out; + compatibility.params[entry.parameter_index].direction = ParamDirection::Out; + raw.exact_parameter_direction_contracts + .push(RawExactParameterDirectionContract { + parameter_index: entry.parameter_index, + source_fingerprint: source_fingerprint.clone(), + evidence: RawEvidence::exact_registry( + entry.entry_id(), + entry.family_id(), + entry.contract_kind(), + entry.reason, + entry.citation, + ), + }); + attached = true; + } + attached +} + +fn apply_exact_null_input_contracts(raw: &mut RawComMethod) -> bool { + let source_fingerprint = raw_method_fingerprint(raw); + let mut attached = false; + for entry in crate::com_null_input_registry::entries() { + if raw.declaring_namespace != entry.declaring_namespace + || raw.declaring_interface != entry.declaring_interface + || !raw.declaring_iid.eq_ignore_ascii_case(entry.declaring_iid) + || raw.metadata_name != entry.method_name + || raw.vtable_index != entry.vtable_index + || raw.params.len() != entry.parameter_count + || source_fingerprint != entry.source_fingerprint + { + continue; + } + let Some(parameter) = raw.params.get(entry.parameter_index) else { + continue; + }; + if parameter.name != entry.parameter_name + || parameter.direction != RawParamDirection::In + || parameter.typ.pointer_depth == 0 + || !matches!(parameter.typ.native_type, RawNativeType::Void) + { + continue; + } + raw.exact_null_input_contracts + .push(RawExactNullInputContract { + parameter_index: entry.parameter_index, + source_fingerprint: source_fingerprint.clone(), + evidence: RawEvidence::exact_registry( + entry.entry_id(), + entry.family_id(), + entry.contract_kind(), + entry.reason, + entry.citation, + ), + }); + attached = true; + } + attached } fn raw_type_registry_name(typ: &RawComType) -> String { @@ -1857,6 +2170,50 @@ fn apply_exact_method_contract( } RawExactMethodContractKind::StatStg => {} RawExactMethodContractKind::Malloc => {} + RawExactMethodContractKind::FlagSelectedString => { + let buffer = contract.buffer_param_index; + let capacity = contract.capacity_param_index; + let discriminator = contract + .discriminator_param_index + .expect("flag-selected string discriminator"); + let reserved = contract + .reserved_null_param_index + .expect("flag-selected string reserved pointer"); + let Some(relation) = raw.params[buffer].native_array.as_mut() else { + raw.params[buffer].native_array = Some(RawArrayRelation { + count_param_index: Some(capacity), + actual_length_param_index: None, + unit: RawCountUnit::Elements, + two_call: false, + projected_capacity: false, + constness: Some(RawConstness::Mutable), + evidence: vec![RawEvidence::exact_registry( + contract.entry_id(), + contract.family_id(), + contract.contract_kind(), + contract.reason, + contract.citation, + )], + }); + if let RawNativeType::Named { + namespace, name, .. + } = &mut raw.params[buffer].typ.native_type + { + *namespace = "Windows.Win32.Foundation".into(); + *name = "PWSTR".into(); + } + compatibility.params[buffer].direction = ParamDirection::OutStringBuffer { + count_param_index: capacity, + }; + compatibility.preserve_hresult = true; + debug_assert_ne!(discriminator, reserved); + return; + }; + relation.count_param_index = Some(capacity); + relation.unit = RawCountUnit::Elements; + relation.projected_capacity = false; + relation.constness = Some(RawConstness::Mutable); + } } } @@ -1894,6 +2251,22 @@ fn registered_exact_method_contract( "IStream::Stat returns an owned STATSTG whose nested name is allocated with CoTaskMem", "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istream-stat", ), + ("Windows.Win32.System.Com.StructuredStorage", "IStorage", "Stat") => ( + RawExactMethodContractKind::StatStg, + 0, + 1, + None, + "IStorage::Stat returns an owned STATSTG whose nested name is allocated with CoTaskMem", + "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-stat", + ), + ("Windows.Win32.UI.Shell", "IContextMenu", "GetCommandString") => ( + RawExactMethodContractKind::FlagSelectedString, + 3, + 4, + None, + "IContextMenu::GetCommandString selects UTF-16 caller-buffer or validation semantics by GCS flag and requires pReserved to be native null", + "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-icontextmenu-getcommandstring", + ), ("Windows.Win32.System.Com", "IMalloc", "Alloc") => ( RawExactMethodContractKind::Malloc, 0, @@ -2010,6 +2383,8 @@ fn registered_exact_method_contract( "ID3D12Object" => "Windows.Win32.Graphics.Direct3D12", "IDMLObject" => "Windows.Win32.AI.MachineLearning.DirectML", "IStream" => "Windows.Win32.System.Com", + "IStorage" => "Windows.Win32.System.Com.StructuredStorage", + "IContextMenu" => "Windows.Win32.UI.Shell", "IMalloc" => "Windows.Win32.System.Com", _ => unreachable!("matched exact method interface"), }, @@ -2023,6 +2398,8 @@ fn registered_exact_method_contract( "ID3D12Object" => "ID3D12Object", "IDMLObject" => "IDMLObject", "IStream" => "IStream", + "IStorage" => "IStorage", + "IContextMenu" => "IContextMenu", "IMalloc" => "IMalloc", _ => unreachable!("matched exact method interface"), }, @@ -2040,8 +2417,15 @@ fn registered_exact_method_contract( "IDMLObject" => "c8263aac-9e0c-4a2d-9b8e-007521a3317c", _ => unreachable!("matched exact private-data interface"), }, - RawExactMethodContractKind::StatStg => "0000000c-0000-0000-c000-000000000046", + RawExactMethodContractKind::StatStg => match interface { + "IStream" => "0000000c-0000-0000-c000-000000000046", + "IStorage" => "0000000b-0000-0000-c000-000000000046", + _ => unreachable!("matched exact STATSTG interface"), + }, RawExactMethodContractKind::Malloc => "00000002-0000-0000-c000-000000000046", + RawExactMethodContractKind::FlagSelectedString => { + "000214e4-0000-0000-c000-000000000046" + } }, method_name: match kind { RawExactMethodContractKind::FixedCapacityBytes => "GetBlob", @@ -2056,6 +2440,7 @@ fn registered_exact_method_contract( "HeapMinimize" => "HeapMinimize", _ => unreachable!("matched exact IMalloc method"), }, + RawExactMethodContractKind::FlagSelectedString => "GetCommandString", }, vtable_index: match (interface, method) { ("IMFAttributes", "GetBlob") => 15, @@ -2066,6 +2451,8 @@ fn registered_exact_method_contract( ("ID3D11Device", "GetPrivateData") => 34, ("ID3D12Object", "GetPrivateData") | ("IDMLObject", "GetPrivateData") => 3, ("IStream", "Stat") => 12, + ("IStorage", "Stat") => 17, + ("IContextMenu", "GetCommandString") => 5, ("IMalloc", "Alloc") => 3, ("IMalloc", "Realloc") => 4, ("IMalloc", "Free") => 5, @@ -2077,6 +2464,10 @@ fn registered_exact_method_contract( buffer_param_index: buffer, capacity_param_index: capacity, actual_length_param_index: actual, + discriminator_param_index: (kind == RawExactMethodContractKind::FlagSelectedString) + .then_some(1), + reserved_null_param_index: (kind == RawExactMethodContractKind::FlagSelectedString) + .then_some(2), citation, reason, }) @@ -2288,7 +2679,10 @@ pub(crate) fn validate_exact_method_contract( } RawExactMethodContractKind::StatStg => { raw_method_shape(raw) - == "Stat@12(pstatstg:out:required:noconstattr:Windows.Win32.System.Com.STATSTG[Struct]/ptr1/Mutable,grfStatFlag:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + == format!( + "Stat@{}(pstatstg:out:required:noconstattr:Windows.Win32.System.Com.STATSTG[Struct]/ptr1/Mutable,grfStatFlag:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", + contract.vtable_index + ) } RawExactMethodContractKind::Malloc => { let expected = match contract.method_name { @@ -2314,6 +2708,37 @@ pub(crate) fn validate_exact_method_contract( }; raw_method_shape(raw) == expected } + RawExactMethodContractKind::FlagSelectedString => { + let buffer = contract.buffer_param_index; + let capacity = contract.capacity_param_index; + let discriminator = contract.discriminator_param_index; + let reserved = contract.reserved_null_param_index; + raw.params.len() == 5 + && discriminator == Some(1) + && reserved == Some(2) + && raw.params[0].name == "idCmd" + && raw.params[0].direction == RawParamDirection::In + && raw.params[1].name == "uType" + && raw_u32_scalar(&raw.params[1], RawParamDirection::In, false) + && raw.params[2].name == "pReserved" + && raw.params[2].direction == RawParamDirection::In + && raw.params[2].optional + && raw.params[2].typ.pointer_depth == 1 + && raw.params[buffer].name == "pszName" + && raw.params[buffer].direction == RawParamDirection::Out + && raw.params[buffer] + .native_array + .as_ref() + .is_some_and(|relation| { + relation.count_param_index == Some(capacity) + && relation.unit == RawCountUnit::Elements + && !relation.projected_capacity + && relation.constness == Some(RawConstness::Mutable) + }) + && raw.params[capacity].name == "cchMax" + && raw_u32_scalar(&raw.params[capacity], RawParamDirection::In, false) + && raw_hresult(&raw.return_type) + } }; let indices_valid = match contract.kind { RawExactMethodContractKind::FixedCapacityBytes @@ -2325,6 +2750,16 @@ pub(crate) fn validate_exact_method_contract( .actual_length_param_index .is_none_or(|index| index < raw.params.len()) } + RawExactMethodContractKind::FlagSelectedString => { + contract.buffer_param_index < raw.params.len() + && contract.capacity_param_index < raw.params.len() + && contract + .discriminator_param_index + .is_some_and(|index| index < raw.params.len()) + && contract + .reserved_null_param_index + .is_some_and(|index| index < raw.params.len()) + } RawExactMethodContractKind::Malloc => true, }; if !valid_shape @@ -3805,6 +4240,9 @@ mod tests { enumerator_next: None, exact_contract: None, interface_replacement_contracts: Vec::new(), + output_ownership_contracts: Vec::new(), + exact_null_input_contracts: Vec::new(), + exact_parameter_direction_contracts: Vec::new(), exact_interface_output_call: None, safe_array_contract_error: None, }; @@ -4103,6 +4541,8 @@ mod tests { buffer_param_index: 0, capacity_param_index: 1, actual_length_param_index: None, + discriminator_param_index: None, + reserved_null_param_index: None, citation: "test://drift", reason: "drift", }) @@ -4128,13 +4568,13 @@ mod tests { public_input_param_indices: vec![0], flags_param_index: 1, context_param_index: 2, - synchronous_output_param_index: 3, - semisynchronous_output_param_index: 4, + synchronous_output_param_index: Some(3), + semisynchronous_output_param_index: Some(4), synchronous_flags: 0, semisynchronous_flag_value: 0x10, flags_option_name: "lFlags".into(), - synchronous_output_option_name: "workingNamespace".into(), - semisynchronous_output_option_name: "result".into(), + synchronous_output_option_name: Some("workingNamespace".into()), + semisynchronous_output_option_name: Some("result".into()), evidence: RawEvidence::exact_registry( "tests.conditional-output.drift.v1", crate::contract_registry::ExactFamilyId::ConditionalOutput, @@ -4773,6 +5213,88 @@ mod tests { ); } + #[test] + fn exact_output_ownership_registry_attaches_and_fails_closed_on_drift() { + let Ok(winmd) = std::env::var("DYNWINRT_WIN32_WINMD") else { + return; + }; + let hash = format!( + "{:X}", + Sha256::digest(std::fs::read(&winmd).expect("configured metadata must be readable")) + ); + if hash != crate::codegen::com::capability::OFFICIAL_METADATA_SHA256 { + return; + } + let interface = + parse_com_interface(&winmd, "Windows.Win32.Media.Audio", "IAudioSessionControl") + .expect("configured metadata must contain IAudioSessionControl"); + let method_index = interface + .raw_methods + .as_ref() + .unwrap() + .iter() + .position(|method| method.metadata_name == "GetDisplayName") + .unwrap(); + let method = &interface.raw_methods.as_ref().unwrap()[method_index]; + let parameter_index = method + .params + .iter() + .position(|parameter| parameter.name == "pRetVal") + .unwrap(); + let ownership = method + .output_ownership_contracts + .iter() + .find(|contract| contract.parameter_index == parameter_index) + .expect("exact output ownership must be attached"); + assert_eq!( + method.params[parameter_index] + .free_with + .as_ref() + .map(|free_with| free_with.function.as_str()), + Some("CoTaskMemFree") + ); + let RawEvidence::ExactRegistry { + entry_id, + family_id, + contract_kind, + citation, + .. + } = &ownership.evidence + else { + panic!("output ownership must retain exact provenance"); + }; + assert_eq!( + *family_id, + crate::contract_registry::ExactFamilyId::Ownership + ); + assert_eq!( + *contract_kind, + crate::contract_registry::ContractKind::Ownership + ); + assert!(entry_id.contains("iaudiosessioncontrol")); + assert!(citation.contains("learn.microsoft.com")); + + let mut baseline = method.clone(); + baseline.params[parameter_index].free_with = None; + baseline.output_ownership_contracts.clear(); + assert_eq!( + raw_method_fingerprint(&baseline), + ownership.source_fingerprint + ); + + baseline.params[parameter_index].name.push_str("Drift"); + let mut compatibility = interface.interface.methods[method_index].clone(); + compatibility + .owned_outputs + .retain(|output| output.param_index != parameter_index); + assert!(!apply_exact_output_ownership_contracts( + &mut compatibility, + &mut baseline + )); + assert!(baseline.params[parameter_index].free_with.is_none()); + assert!(baseline.output_ownership_contracts.is_empty()); + } + #[test] fn bstr_array_does_not_claim_scalar_sysfree_ownership() { let typ = windows_metadata::Type::PtrMut( diff --git a/tools/dynwinrt-codegen/src/com_null_input_registry.rs b/tools/dynwinrt-codegen/src/com_null_input_registry.rs new file mode 100644 index 00000000..159e83f5 --- /dev/null +++ b/tools/dynwinrt-codegen/src/com_null_input_registry.rs @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct ExactNullInputEvidence { + pub declaring_namespace: &'static str, + pub declaring_interface: &'static str, + pub declaring_iid: &'static str, + pub method_name: &'static str, + pub vtable_index: usize, + pub parameter_count: usize, + pub parameter_index: usize, + pub parameter_name: &'static str, + pub source_fingerprint: &'static str, + pub reason: &'static str, + pub citation: &'static str, +} + +impl ExactNullInputEvidence { + pub(crate) fn entry_id(&self) -> String { + crate::contract_registry::exact_parameter_entry_id( + self.family_id(), + self.declaring_namespace, + self.declaring_interface, + self.declaring_iid, + self.method_name, + self.vtable_index, + self.parameter_index, + self.parameter_name, + ) + } + + pub(crate) const fn family_id(&self) -> crate::contract_registry::ExactFamilyId { + crate::contract_registry::ExactFamilyId::ReservedNullInput + } + + pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { + crate::contract_registry::ContractKind::NullInput + } +} + +const EXACT_NULL_INPUTS: &[ExactNullInputEvidence] = &[ + ExactNullInputEvidence { + declaring_namespace: "Windows.Win32.System.Com.StructuredStorage", + declaring_interface: "IStorage", + declaring_iid: "0000000b-0000-0000-c000-000000000046", + method_name: "OpenStream", + vtable_index: 4, + parameter_count: 5, + parameter_index: 1, + parameter_name: "reserved1", + source_fingerprint: "A72D743B32CCE55D17F522F6695095CF08BBCDCF4FA54E29E3275B24B30716F0", + reason: "IStorage::OpenStream requires reserved1 to be native null", + citation: "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-openstream", + }, + ExactNullInputEvidence { + declaring_namespace: "Windows.Win32.System.Com.StructuredStorage", + declaring_interface: "IStorage", + declaring_iid: "0000000b-0000-0000-c000-000000000046", + method_name: "EnumElements", + vtable_index: 11, + parameter_count: 4, + parameter_index: 1, + parameter_name: "reserved2", + source_fingerprint: "77D49C81B42D6B6961239D06E42A8728EC4CDDDFFF0A0174DD3FC248D17071C6", + reason: "IStorage::EnumElements requires reserved2 to be native null", + citation: "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-enumelements", + }, +]; + +pub(crate) const fn entries() -> &'static [ExactNullInputEvidence] { + EXACT_NULL_INPUTS +} + +#[cfg(test)] +mod tests { + use std::collections::BTreeSet; + + use super::*; + + #[test] + fn entries_are_unique_selector_specific_and_cited() { + let mut selectors = BTreeSet::new(); + assert_eq!(entries().len(), 2); + for entry in entries() { + assert!(selectors.insert(( + entry.declaring_namespace, + entry.declaring_interface, + entry.declaring_iid, + entry.method_name, + entry.vtable_index, + entry.parameter_index, + ))); + assert!(entry.parameter_index < entry.parameter_count); + assert_eq!(entry.source_fingerprint.len(), 64); + assert!(entry.citation.starts_with("https://learn.microsoft.com/")); + assert!(crate::contract_registry::valid_exact_entry_id( + &entry.entry_id() + )); + } + } +} diff --git a/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs b/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs new file mode 100644 index 00000000..5d4168fb --- /dev/null +++ b/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct ExactOutParameterEvidence { + pub declaring_namespace: &'static str, + pub declaring_interface: &'static str, + pub declaring_iid: &'static str, + pub method_name: &'static str, + pub vtable_index: usize, + pub parameter_count: usize, + pub parameter_index: usize, + pub parameter_name: &'static str, + pub source_fingerprint: &'static str, + pub reason: &'static str, + pub citation: &'static str, +} + +impl ExactOutParameterEvidence { + pub(crate) fn entry_id(&self) -> String { + crate::contract_registry::exact_parameter_entry_id( + self.family_id(), + self.declaring_namespace, + self.declaring_interface, + self.declaring_iid, + self.method_name, + self.vtable_index, + self.parameter_index, + self.parameter_name, + ) + } + + pub(crate) const fn family_id(&self) -> crate::contract_registry::ExactFamilyId { + crate::contract_registry::ExactFamilyId::ParameterDirection + } + + pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { + crate::contract_registry::ContractKind::ParameterDirection + } +} + +const EXACT_OUT_PARAMETERS: &[ExactOutParameterEvidence] = &[ + ExactOutParameterEvidence { + declaring_namespace: "Windows.Win32.Media.MediaFoundation", + declaring_interface: "IMFAttributes", + declaring_iid: "2cd2d921-c447-44a7-a13c-4adabfc247e3", + method_name: "GetString", + vtable_index: 12, + parameter_count: 4, + parameter_index: 3, + parameter_name: "pcchLength", + source_fingerprint: "CF4D9EAF95123257840355F21F0623E137623EF95D205B63D5B1BB8758328DB0", + reason: "IMFAttributes::GetString documents pcchLength as an optional pure output length", + citation: "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getstring", + }, + ExactOutParameterEvidence { + declaring_namespace: "Windows.Win32.Media.MediaFoundation", + declaring_interface: "IMFAttributes", + declaring_iid: "2cd2d921-c447-44a7-a13c-4adabfc247e3", + method_name: "GetItem", + vtable_index: 3, + parameter_count: 2, + parameter_index: 1, + parameter_name: "pValue", + source_fingerprint: "0D8781FF90DF92EA09042A8386C01B7E8DEE1B2E546B3E616D2498896330BDF0", + reason: "IMFAttributes::GetItem documents pValue as an optional pure output copy initialized by the method", + citation: "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitem", + }, + ExactOutParameterEvidence { + declaring_namespace: "Windows.Win32.Media.MediaFoundation", + declaring_interface: "IMFAttributes", + declaring_iid: "2cd2d921-c447-44a7-a13c-4adabfc247e3", + method_name: "GetItemByIndex", + vtable_index: 31, + parameter_count: 3, + parameter_index: 2, + parameter_name: "pValue", + source_fingerprint: "1D349D3E79CC839831A7F6E87CC2656C2D153A136CB397815850D2417B880DAE", + reason: "IMFAttributes::GetItemByIndex documents pValue as an optional pure output copy initialized by the method", + citation: "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitembyindex", + }, +]; + +pub(crate) const fn entries() -> &'static [ExactOutParameterEvidence] { + EXACT_OUT_PARAMETERS +} + +#[cfg(test)] +mod tests { + use std::collections::BTreeSet; + + use super::*; + + #[test] + fn entries_are_unique_selector_specific_and_cited() { + let mut selectors = BTreeSet::new(); + assert_eq!(entries().len(), 3); + for entry in entries() { + assert!(selectors.insert(( + entry.declaring_namespace, + entry.declaring_interface, + entry.declaring_iid, + entry.method_name, + entry.vtable_index, + entry.parameter_index, + ))); + assert!(entry.parameter_index < entry.parameter_count); + assert_eq!(entry.source_fingerprint.len(), 64); + assert!(entry.citation.starts_with("https://learn.microsoft.com/")); + assert!(crate::contract_registry::valid_exact_entry_id( + &entry.entry_id() + )); + } + } +} diff --git a/tools/dynwinrt-codegen/src/contract_registry.rs b/tools/dynwinrt-codegen/src/contract_registry.rs index 2648945c..05ae6ee0 100644 --- a/tools/dynwinrt-codegen/src/contract_registry.rs +++ b/tools/dynwinrt-codegen/src/contract_registry.rs @@ -13,10 +13,13 @@ const MANIFEST_JSON: &str = include_str!("../contracts/classic-com/manifest.json const SCHEMA_JSON: &str = include_str!("../contracts/classic-com/schema.json"); const CONDITIONAL_OUTPUTS_JSON: &str = include_str!("../contracts/classic-com/conditional-outputs.json"); +const OWNERSHIP_OUTPUTS_JSON: &str = + include_str!("../contracts/classic-com/ownership-outputs.json"); const PINNED_METADATA_PACKAGE: &str = "Microsoft.Windows.SDK.Win32Metadata"; const PINNED_METADATA_VERSION: &str = "71.0.14-preview"; const PINNED_METADATA_SHA256: &str = "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D"; +#[cfg(test)] pub(crate) const WMI_OPEN_NAMESPACE_ENTRY_ID: &str = "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1"; #[derive(Debug, Clone, Copy, Deserialize, Eq, Ord, PartialEq, PartialOrd, Serialize)] @@ -32,6 +35,9 @@ pub enum ContractKind { SemanticHresult, CompoundDispatch, Hazard, + NullInput, + ParameterDirection, + FlagSelectedBuffer, } impl ContractKind { @@ -47,6 +53,9 @@ impl ContractKind { Self::SemanticHresult => "semantic-hresult", Self::CompoundDispatch => "compound-dispatch", Self::Hazard => "hazard", + Self::NullInput => "null-input", + Self::ParameterDirection => "parameter-direction", + Self::FlagSelectedBuffer => "flag-selected-buffer", } } } @@ -82,6 +91,9 @@ pub enum ExactFamilyId { ConditionalOutput, SequentialStreamBuffer, DispatchInvoke, + ReservedNullInput, + ParameterDirection, + ShellCommandString, } impl ExactFamilyId { @@ -98,6 +110,9 @@ impl ExactFamilyId { Self::ConditionalOutput => "wmi.conditional-output.v1", Self::SequentialStreamBuffer => "com.sequential-stream-buffer.v1", Self::DispatchInvoke => "automation.idispatch-invoke.v1", + Self::ReservedNullInput => "com.reserved-null-input.v1", + Self::ParameterDirection => "com.parameter-direction.v1", + Self::ShellCommandString => "shell.flag-selected-string.v1", } } @@ -114,6 +129,9 @@ impl ExactFamilyId { Self::ConditionalOutput, Self::SequentialStreamBuffer, Self::DispatchInvoke, + Self::ReservedNullInput, + Self::ParameterDirection, + Self::ShellCommandString, ] .into_iter() .find(|family| family.id() == value) @@ -422,6 +440,16 @@ pub(crate) fn statically_declared_exact_entry_ids() -> Result, .filter(|contract| !contract.uses_generic_standard()) .map(crate::com_enumerator_registry::EnumeratorContract::entry_id), ); + ids.extend( + crate::com_null_input_registry::entries() + .iter() + .map(crate::com_null_input_registry::ExactNullInputEvidence::entry_id), + ); + ids.extend( + crate::com_parameter_direction_registry::entries() + .iter() + .map(crate::com_parameter_direction_registry::ExactOutParameterEvidence::entry_id), + ); let registry = REGISTRY .get_or_init(load_registry) .as_ref() @@ -432,6 +460,12 @@ pub(crate) fn statically_declared_exact_entry_ids() -> Result, .iter() .map(|entry| entry.entry_id.clone()), ); + ids.extend( + registry + .ownership_outputs + .iter() + .map(|entry| entry.entry_id.clone()), + ); ids.extend( ADDITIONAL_EXACT_ENTRY_IDS .iter() @@ -456,6 +490,8 @@ const ADDITIONAL_EXACT_ENTRY_IDS: &[&str] = &[ "com.ownership.entry.windows-win32-system-com.imalloc.0000000200000000c000000000000046.realloc.slot-4.v1", "com.ownership.entry.windows-win32-system-com.ipersistfile.0000010b00000000c000000000000046.getcurfile.slot-8.param-0-ppszfilename.v1", "com.ownership.entry.windows-win32-system-com.istream.0000000c00000000c000000000000046.stat.slot-12.v1", + "com.ownership.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.stat.slot-17.v1", + "shell.flag-selected-string.entry.windows-win32-ui-shell.icontextmenu.000214e400000000c000000000000046.getcommandstring.slot-5.v1", "com.ownership.entry.windows-win32-ui-shell.ifiledialog.42f85136db7e439c85f1e4075d135fc8.getfilename.slot-16.param-0-pszname.v1", "com.ownership.entry.windows-win32-ui-shell.ishellitem.43826d1ee71842eebc55a1e261c37bfe.getdisplayname.slot-5.param-1-ppszname.v1", "com.ownership.entry.windows-win32-ui-shell.ishelllinka.000214ee00000000c000000000000046.getidlist.slot-4.param-0-ppidl.v1", @@ -504,6 +540,13 @@ struct ConditionalOutputFile { contracts: Vec, } +#[derive(Debug, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +struct OwnershipOutputFile { + schema_version: u32, + contracts: Vec, +} + #[derive(Debug, Clone, Deserialize)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct ConditionalOutputContract { @@ -517,6 +560,19 @@ pub(crate) struct ConditionalOutputContract { pub validated_metadata: Vec, } +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct OwnershipOutputContract { + pub entry_id: String, + pub family_id: ExactFamilyId, + pub kind: ContractKind, + pub reason: String, + pub selector: ContractSelector, + pub contract: OutputOwnershipSemantics, + pub evidence: Vec, + pub validated_metadata: Vec, +} + #[derive(Debug, Clone, Deserialize)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct ContractSelector { @@ -567,8 +623,8 @@ pub(crate) struct ConditionalOutputSemantics { #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct OutputMode { pub flags: i32, - pub output_parameter_index: usize, - pub option_name: String, + pub output_parameter_index: Option, + pub option_name: Option, } #[derive(Debug, Clone, Deserialize)] @@ -581,6 +637,28 @@ pub(crate) struct InterfaceOutput { pub ownership: OutputOwnership, } +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct OutputOwnershipSemantics { + pub parameter_index: usize, + pub ownership: OutputAllocationOwnership, + pub cleanup: OutputAllocationCleanup, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum OutputAllocationOwnership { + #[serde(rename = "cotaskmem-owned")] + CoTaskMemOwned, + #[serde(rename = "handle-owned")] + HandleOwned, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum OutputAllocationCleanup { + CoTaskMemFree, + DeleteObject, +} + #[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] #[serde(rename_all = "kebab-case")] pub(crate) enum OutputOwnership { @@ -606,10 +684,12 @@ pub(crate) struct ValidatedMetadata { #[derive(Debug)] struct Registry { conditional_outputs: Vec, + ownership_outputs: Vec, } static REGISTRY: OnceLock> = OnceLock::new(); +#[cfg(test)] pub(crate) fn conditional_output_contract( id: &str, ) -> Result<&'static ConditionalOutputContract, String> { @@ -624,6 +704,23 @@ pub(crate) fn conditional_output_contract( .ok_or_else(|| format!("Classic COM contract registry entry '{id}' was not found")) } +pub(crate) fn conditional_output_contracts() -> Result<&'static [ConditionalOutputContract], String> +{ + let registry = REGISTRY + .get_or_init(load_registry) + .as_ref() + .map_err(Clone::clone)?; + Ok(®istry.conditional_outputs) +} + +pub(crate) fn ownership_output_contracts() -> Result<&'static [OwnershipOutputContract], String> { + let registry = REGISTRY + .get_or_init(load_registry) + .as_ref() + .map_err(Clone::clone)?; + Ok(®istry.ownership_outputs) +} + pub(crate) fn validate_registry_usage(consumed_ids: &BTreeSet) -> Result<(), String> { let registry = REGISTRY .get_or_init(load_registry) @@ -637,6 +734,14 @@ pub(crate) fn validate_registry_usage(consumed_ids: &BTreeSet) -> Result )); } } + for entry in ®istry.ownership_outputs { + if !consumed_ids.contains(&entry.entry_id) { + return Err(format!( + "Classic COM contract registry entry '{}' is unused by the loaded metadata", + entry.entry_id + )); + } + } Ok(()) } @@ -651,21 +756,38 @@ fn load_registry() -> Result { manifest.schema_version )); } - if manifest.files.len() != 1 + if manifest.files.len() != 2 || manifest.files[0].path != "conditional-outputs.json" || manifest.files[0].kind != ContractKind::ConditionalOutput || manifest.files[0].family_ids != [ExactFamilyId::ConditionalOutput] + || manifest.files[1].path != "ownership-outputs.json" + || manifest.files[1].kind != ContractKind::Ownership + || manifest.files[1].family_ids != [ExactFamilyId::Ownership] { return Err("Classic COM contract manifest does not list the compiled data files".into()); } - validate_sha256(&manifest.files[0].sha256, "manifest file hash")?; - let actual = format!("{:X}", Sha256::digest(CONDITIONAL_OUTPUTS_JSON.as_bytes())); - if actual != manifest.files[0].sha256 { + validate_sha256( + &manifest.files[0].sha256, + "conditional-outputs.json manifest file hash", + )?; + validate_sha256( + &manifest.files[1].sha256, + "ownership-outputs.json manifest file hash", + )?; + let conditional_hash = format!("{:X}", Sha256::digest(CONDITIONAL_OUTPUTS_JSON.as_bytes())); + if conditional_hash != manifest.files[0].sha256 { return Err(format!( - "Classic COM contract file hash mismatch for conditional-outputs.json: expected {}, found {actual}", + "Classic COM contract file hash mismatch for conditional-outputs.json: expected {}, found {conditional_hash}", manifest.files[0].sha256 )); } + let ownership_hash = format!("{:X}", Sha256::digest(OWNERSHIP_OUTPUTS_JSON.as_bytes())); + if ownership_hash != manifest.files[1].sha256 { + return Err(format!( + "Classic COM contract file hash mismatch for ownership-outputs.json: expected {}, found {ownership_hash}", + manifest.files[1].sha256 + )); + } let file: ConditionalOutputFile = serde_json::from_str(CONDITIONAL_OUTPUTS_JSON) .map_err(|error| format!("Invalid conditional-output contracts: {error}"))?; if file.schema_version != 2 { @@ -675,11 +797,175 @@ fn load_registry() -> Result { )); } validate_conditional_outputs(&file.contracts)?; + let ownership_file: OwnershipOutputFile = serde_json::from_str(OWNERSHIP_OUTPUTS_JSON) + .map_err(|error| format!("Invalid ownership-output contracts: {error}"))?; + if ownership_file.schema_version != 2 { + return Err(format!( + "Unsupported ownership-output contract schema {}", + ownership_file.schema_version + )); + } + validate_ownership_outputs(&ownership_file.contracts)?; Ok(Registry { conditional_outputs: file.contracts, + ownership_outputs: ownership_file.contracts, }) } +fn validate_ownership_outputs(entries: &[OwnershipOutputContract]) -> Result<(), String> { + let mut ids = BTreeSet::new(); + let mut selectors = BTreeMap::new(); + for entry in entries { + if entry.kind != ContractKind::Ownership || entry.family_id != ExactFamilyId::Ownership { + return Err(format!( + "Contract '{}' must use the exact ownership family and kind", + entry.entry_id + )); + } + if !valid_exact_entry_id(&entry.entry_id) { + return Err(format!( + "Contract registry entry ID is invalid: '{}'", + entry.entry_id + )); + } + let output = entry.contract.parameter_index; + let parameter = entry.selector.parameters.get(output).ok_or_else(|| { + format!( + "Contract '{}' output parameter index {output} is outside its selector", + entry.entry_id + ) + })?; + let expected_entry_id = exact_parameter_entry_id( + entry.family_id, + &entry.selector.interface.namespace, + &entry.selector.interface.name, + &entry.selector.interface.iid, + &entry.selector.method, + entry.selector.absolute_slot, + output, + ¶meter.name, + ); + if entry.entry_id != expected_entry_id { + return Err(format!( + "Contract registry entry ID '{}' does not match its exact selector; expected '{expected_entry_id}'", + entry.entry_id + )); + } + if !ids.insert(entry.entry_id.clone()) { + return Err(format!( + "Duplicate Classic COM contract registry ID '{}'", + entry.entry_id + )); + } + validate_contract_selector( + &entry.entry_id, + &entry.selector, + &entry.evidence, + &entry.validated_metadata, + )?; + let valid_ownership = matches!( + (entry.contract.ownership, entry.contract.cleanup), + ( + OutputAllocationOwnership::CoTaskMemOwned, + OutputAllocationCleanup::CoTaskMemFree + ) | ( + OutputAllocationOwnership::HandleOwned, + OutputAllocationCleanup::DeleteObject + ) + ); + if parameter.direction != "out" || parameter.pointer_depth == 0 || !valid_ownership { + return Err(format!( + "Contract '{}' is not a supported output ownership/cleanup pair", + entry.entry_id + )); + } + let selector_key = format!( + "{}.{}:{}:{}:{}:{}", + entry.selector.interface.namespace, + entry.selector.interface.name, + entry.selector.interface.iid.to_ascii_lowercase(), + entry.selector.method, + entry.selector.absolute_slot, + output + ); + if let Some(existing) = selectors.insert(selector_key.clone(), entry.entry_id.clone()) { + return Err(format!( + "Conflicting contract selectors '{existing}' and '{}' for {selector_key}", + entry.entry_id + )); + } + if entry.reason.is_empty() { + return Err(format!( + "Contract '{}' has no ownership reason", + entry.entry_id + )); + } + } + Ok(()) +} + +fn validate_contract_selector( + entry_id: &str, + selector: &ContractSelector, + evidence: &[EvidenceCitation], + validated_metadata: &[ValidatedMetadata], +) -> Result<(), String> { + validate_sha256( + &selector.source_fingerprint, + &format!("source fingerprint for '{entry_id}'"), + )?; + if selector.interface.iid != selector.declaring_iid + || selector.parameters.len() != selector.parameter_count + || selector + .parameters + .iter() + .enumerate() + .any(|(index, parameter)| parameter.index != index) + { + return Err(format!( + "Contract '{entry_id}' parameter selector is incomplete, unordered, or has mismatched IIDs" + )); + } + if evidence.is_empty() + || evidence.iter().any(|citation| match citation.kind { + EvidenceSourceKind::MicrosoftLearn => { + citation.url.as_deref().is_none_or(str::is_empty) || citation.file.is_some() + } + EvidenceSourceKind::SdkHeader => { + citation.file.as_deref().is_none_or(str::is_empty) || citation.url.is_some() + } + }) + { + return Err(format!("Contract '{entry_id}' has no usable citation")); + } + if validated_metadata.is_empty() { + return Err(format!( + "Contract '{entry_id}' has no validated metadata identity" + )); + } + for metadata in validated_metadata { + if metadata.package.is_empty() || metadata.version.is_empty() { + return Err(format!( + "Contract '{entry_id}' has an incomplete metadata identity" + )); + } + validate_sha256( + &metadata.sha256, + &format!("validated metadata hash for '{entry_id}'"), + )?; + } + if !validated_metadata.iter().any(|metadata| { + metadata.package == PINNED_METADATA_PACKAGE + && metadata.version == PINNED_METADATA_VERSION + && metadata.sha256 == PINNED_METADATA_SHA256 + }) { + return Err(format!( + "Contract '{entry_id}' is not validated against the pinned metadata package/version/hash" + )); + } + Ok(()) +} + fn validate_conditional_outputs(entries: &[ConditionalOutputContract]) -> Result<(), String> { let mut ids = BTreeSet::new(); let mut selectors = BTreeMap::new(); @@ -800,10 +1086,19 @@ fn validate_conditional_outputs(entries: &[ConditionalOutputContract]) -> Result if !semantics.context_must_be_native_null || semantics.synchronous.flags != 0 || semantics.semisynchronous.flags != 16 - || semantics.outputs.len() != 2 - || output_indices.len() != 2 - || !output_indices.contains(&semantics.synchronous.output_parameter_index) - || !output_indices.contains(&semantics.semisynchronous.output_parameter_index) + || !(1..=2).contains(&semantics.outputs.len()) + || output_indices.len() != semantics.outputs.len() + || semantics.synchronous.output_parameter_index.is_some() + != semantics.synchronous.option_name.is_some() + || semantics.semisynchronous.output_parameter_index.is_some() + != semantics.semisynchronous.option_name.is_some() + || semantics + .synchronous + .output_parameter_index + .into_iter() + .chain(semantics.semisynchronous.output_parameter_index) + .collect::>() + != output_indices || semantics.context_parameter_index >= entry.selector.parameter_count || semantics.flags_parameter_index >= entry.selector.parameter_count || semantics @@ -844,8 +1139,9 @@ mod tests { serde_json::from_str::(SCHEMA_JSON).unwrap(); let registry = load_registry().unwrap(); let ids = statically_declared_exact_entry_ids().unwrap(); - assert_eq!(ids.len(), 334); - assert_eq!(registry.conditional_outputs.len(), 1); + assert_eq!(ids.len(), 495); + assert_eq!(registry.conditional_outputs.len(), 7); + assert_eq!(registry.ownership_outputs.len(), 148); assert_eq!( registry.conditional_outputs[0].entry_id, "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1" @@ -854,6 +1150,30 @@ mod tests { registry.conditional_outputs[0].family_id, ExactFamilyId::ConditionalOutput ); + assert!(registry.ownership_outputs.iter().all(|entry| { + entry.family_id == ExactFamilyId::Ownership + && entry.kind == ContractKind::Ownership + && matches!( + (entry.contract.ownership, entry.contract.cleanup), + ( + OutputAllocationOwnership::CoTaskMemOwned, + OutputAllocationCleanup::CoTaskMemFree + ) | ( + OutputAllocationOwnership::HandleOwned, + OutputAllocationCleanup::DeleteObject + ) + ) + })); + assert_eq!( + registry + .ownership_outputs + .iter() + .filter(|entry| { + entry.contract.ownership == OutputAllocationOwnership::HandleOwned + }) + .count(), + 1 + ); } #[test] @@ -962,6 +1282,28 @@ mod tests { .unwrap_err() .contains("pinned metadata") ); + + let ownership = registry.ownership_outputs[0].clone(); + assert!( + validate_ownership_outputs(&[ownership.clone(), ownership.clone()]) + .unwrap_err() + .contains("Duplicate") + ); + let mut ownership_drift = ownership.clone(); + ownership_drift.selector.parameters[ownership.contract.parameter_index].direction = + "in".into(); + assert!( + validate_ownership_outputs(&[ownership_drift]) + .unwrap_err() + .contains("supported output ownership/cleanup pair") + ); + let mut ownership_fingerprint = ownership; + ownership_fingerprint.selector.source_fingerprint = "bad".into(); + assert!( + validate_ownership_outputs(&[ownership_fingerprint]) + .unwrap_err() + .contains("SHA-256") + ); } #[test] @@ -971,11 +1313,24 @@ mod tests { .unwrap_err() .contains("unused") ); + let registry = load_registry().unwrap(); + let mut used = registry + .conditional_outputs + .iter() + .map(|entry| entry.entry_id.clone()) + .chain( + registry + .ownership_outputs + .iter() + .map(|entry| entry.entry_id.clone()), + ) + .collect::>(); + assert!(validate_registry_usage(&used).is_ok()); + used.remove(®istry.ownership_outputs[0].entry_id); assert!( - validate_registry_usage(&BTreeSet::from([ - "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1".into() - ])) - .is_ok() + validate_registry_usage(&used) + .unwrap_err() + .contains("unused") ); } @@ -989,5 +1344,15 @@ mod tests { .to_string() .contains("unknown field") ); + + let mut ownership: serde_json::Value = + serde_json::from_str(OWNERSHIP_OUTPUTS_JSON).unwrap(); + ownership["contracts"][0]["contract"]["cleanup"] = "ArbitraryFree".into(); + assert!( + serde_json::from_value::(ownership) + .unwrap_err() + .to_string() + .contains("unknown variant") + ); } } diff --git a/tools/dynwinrt-codegen/src/lib.rs b/tools/dynwinrt-codegen/src/lib.rs index d51b6694..0fc3b645 100644 --- a/tools/dynwinrt-codegen/src/lib.rs +++ b/tools/dynwinrt-codegen/src/lib.rs @@ -5,6 +5,8 @@ pub mod codegen; mod com_borrowed_handle_registry; mod com_enumerator_registry; pub mod com_metadata; +mod com_null_input_registry; +mod com_parameter_direction_registry; mod com_safe_array_registry; mod contract_registry; pub mod meta; diff --git a/tools/dynwinrt-codegen/tests/win32_com_test.rs b/tools/dynwinrt-codegen/tests/win32_com_test.rs index 520fb5e0..179f38e6 100644 --- a/tools/dynwinrt-codegen/tests/win32_com_test.rs +++ b/tools/dynwinrt-codegen/tests/win32_com_test.rs @@ -2081,6 +2081,119 @@ fn shellitem_getdisplayname_is_not_classified_as_caller_owned_string_buffer() { ); } +#[test] +fn thumbnail_provider_returns_a_delete_object_owned_handle() { + if !win32_available() { + eprintln!("Skipping: Win32 winmd not available"); + return; + } + + let interface = com_metadata::parse_com_interface( + &win32_winmd(), + "Windows.Win32.UI.Shell", + "IThumbnailProvider", + ) + .expect("IThumbnailProvider must exist"); + let get_thumbnail = interface + .raw_methods + .as_ref() + .unwrap() + .iter() + .find(|method| method.metadata_name == "GetThumbnail") + .unwrap(); + if get_thumbnail.params[1] + .free_with + .as_ref() + .is_none_or(|cleanup| cleanup.function != "DeleteObject") + { + eprintln!("Skipping: configured metadata does not match the pinned exact contract"); + return; + } + + let output = com::generate_com_interface_files(&interface, &win32_winmd()) + .expect("IThumbnailProvider exact ownership must generate safely"); + assert!( + output + .js + .contains(".addOut(DynCom.deleteObjectHandleOutputType())") + ); + assert!(output.js.contains("DynCom.takeDeleteObjectHandle(_r[0])")); + assert!(output.dts.contains("DynComOwnedHandle")); + assert!( + output + .dts + .contains("getThumbnail(cx: number): [DynComOwnedHandle, WTS_ALPHATYPE]") + ); +} + +#[test] +fn high_value_exact_contracts_generate_complete_safe_interfaces() { + if !win32_available() { + eprintln!("Skipping: Win32 winmd not available"); + return; + } + + let generate = |namespace: &str, name: &str| { + let interface = com_metadata::parse_com_interface(&win32_winmd(), namespace, name) + .unwrap_or_else(|| panic!("{namespace}.{name} must exist")); + com::generate_com_interface_files(&interface, &win32_winmd()) + .unwrap_or_else(|error| panic!("{namespace}.{name}: {error}")) + }; + + let storage = generate("Windows.Win32.System.Com.StructuredStorage", "IStorage"); + assert!(storage.js.contains("DynCom.exactNullPointer(null)")); + assert!(storage.js.contains("DynCom.nullBuffer()")); + assert!(storage.js.contains("DynCom.takeStatStg")); + assert!(storage.dts.contains("DynComStatStg")); + assert!( + !storage + .dts + .contains("openStream(pwcsName: PWSTR, reserved1") + ); + assert!( + !storage + .dts + .contains("enumElements(reserved1: number, reserved2") + ); + + let attributes = generate("Windows.Win32.Media.MediaFoundation", "IMFAttributes"); + assert!(attributes.js.contains("DynCom.takePropVariant")); + assert!(attributes.js.contains("DynCom.takeCoTaskMemWideString")); + assert!(attributes.js.contains("DynCom.takeBuffer")); + assert!(attributes.js.contains("DynCom.adoptComPointer")); + assert!(attributes.dts.contains("DynComPropVariant")); + + let context_menu = generate("Windows.Win32.UI.Shell", "IContextMenu3"); + assert!(context_menu.js.contains("uType !== 4")); + assert!(context_menu.js.contains("uType !== 5")); + assert!(context_menu.js.contains("uType !== 6")); + assert!(context_menu.js.contains("_decodeWideString(_buffer)")); + assert!(context_menu.dts.contains("uType: 4 | 5")); + assert!(context_menu.dts.contains("uType: 6")); + assert!(!context_menu.dts.contains("pReserved")); + + let wbem = generate("Windows.Win32.System.Wmi", "IWbemServices"); + assert!(wbem.js.contains(".addOptionalOut(")); + assert!( + wbem.js + .contains("options.mode must be 'sync' or 'semisync'") + ); + assert!(wbem.js.contains("DynCom.exactNullPointer(null)")); + assert!(wbem.dts.contains("readonly mode: 'sync'")); + assert!(wbem.dts.contains("readonly mode: 'semisync'")); + assert!(!wbem.dts.contains("getObject(strObjectPath: string, pCtx")); + assert!(!wbem.dts.contains("putClass(pObject: DynWinRtValue, pCtx")); + assert!( + !wbem + .dts + .contains("execMethod(strObjectPath: string, strMethodName: string, pCtx") + ); + + let dxc = generate("Windows.Win32.Graphics.Direct3D.Dxc", "IDxcCompiler"); + assert!(dxc.js.contains("DynCom.nullStringArray(true)")); + assert!(dxc.dts.contains("pArguments: string[] | null")); +} + #[test] fn u16_input_param_uses_existing_u16_value_ctor_not_u16value() { if !win32_available() { @@ -4820,9 +4933,9 @@ fn safe_incomplete_interface_generates_an_isolated_unsafe_companion() { "--winmd", &win32_winmd(), "--namespace", - "Windows.Win32.System.Wmi", + "Windows.Win32.Media.Audio", "--class-name", - "IWbemServices", + "IAudioClient", "--output", output.to_str().unwrap(), ]); @@ -4833,34 +4946,22 @@ fn safe_incomplete_interface_generates_an_isolated_unsafe_companion() { }; let dry_run = generate(&dry_run_dir, true); - assert!( - dry_run.status.success(), - "unsafe dry run failed:\n{}", - String::from_utf8_lossy(&dry_run.stderr) - ); - assert!( - !dry_run_dir.exists(), - "unsafe dry run must not create output files" - ); + assert!(dry_run.status.success()); + assert!(!dry_run_dir.exists()); let first = generate(&output_dir, false); assert!( first.status.success(), - "unsafe generation failed:\n{}", + "{}", String::from_utf8_lossy(&first.stderr) ); - assert!( - String::from_utf8_lossy(&first.stdout) - .contains("Generated IWbemServicesUnsafe (raw metadata-complete: 17, manual executable: 6, blocked omitted: 0)"), - "unsafe generation must report executable and omitted method counts:\n{}", - String::from_utf8_lossy(&first.stdout) - ); + assert!(String::from_utf8_lossy(&first.stdout).contains("Generated IAudioClientUnsafe")); let unsafe_dir = output_dir.join("com").join("unsafe"); - let class_module = "windows/win32/system/wmi/IWbemServicesUnsafe"; + let class_module = "windows/win32/media/audio/IAudioClientUnsafe"; let retained = [ - "windows/win32/system/wmi/IWbemServicesUnsafe.js", - "windows/win32/system/wmi/IWbemServicesUnsafe.d.ts", + "windows/win32/media/audio/IAudioClientUnsafe.js", + "windows/win32/media/audio/IAudioClientUnsafe.d.ts", "index.js", "index.mjs", "index.d.ts", @@ -4877,68 +4978,22 @@ fn safe_incomplete_interface_generates_an_isolated_unsafe_companion() { .collect::>(); let js = fs::read_to_string(unsafe_dir.join(format!("{class_module}.js"))).unwrap(); - assert!(js.contains("class IWbemServicesUnsafe")); - assert!(js.contains("openNamespace(strNamespace, options)")); - assert!(js.contains("DynCom.bstr(strNamespace)")); - assert!(js.contains("DynCom.bstrType()")); - assert!(js.contains("DynCom.interfaceType(WinGuid.parse(")); - assert!(js.contains("__prepareExactWritableSpan(workingNamespace")); - assert!(js.contains("_takeOwnedInterfaceOutput(workingNamespace")); - assert!(js.contains("DynComRawPointer.null().toValue()")); - assert!(js.contains("const _isSemisynchronous = lFlags === 16")); - assert!(!js.contains("(lFlags & 16)")); - assert!(!js.contains("DynComRawStructLayout.fromDescriptor")); - assert!(!js.contains("implement(") && !js.contains("implementation")); let dts = fs::read_to_string(unsafe_dir.join(format!("{class_module}.d.ts"))).unwrap(); + assert!(js.contains("class IAudioClientUnsafe")); + assert!(js.contains("isFormatSupported(")); + assert!(!js.contains("implement(") && !js.contains("implementation")); assert!(dts.contains("private constructor()")); assert!(dts.contains("static from(value: DynWinRtValue")); - assert!(dts.contains("strNamespace: string")); - assert!(dts.contains( - "options: { readonly lFlags: 0; readonly workingNamespace: DynComRawMemory; readonly result?: null }" - )); - assert!(dts.contains( - "options: { readonly lFlags: 16; readonly workingNamespace?: null; readonly result: DynComRawMemory }" - )); let support: serde_json::Value = serde_json::from_str(&fs::read_to_string(unsafe_dir.join("support.json")).unwrap()) .unwrap(); assert_eq!(support["schemaVersion"], com::UNSAFE_SUPPORT_SCHEMA_VERSION); assert_eq!(support["interfaces"][0]["modulePath"], class_module); - let methods = support["interfaces"][0]["methods"] - .as_array() - .expect("unsafe support methods"); - assert_eq!(methods.len(), 23); - assert!(methods.iter().all(|method| { - method["absoluteSlot"].as_u64().is_some() - && method["declaringIid"].as_str().is_some() - && method["signatureFingerprint"] - .as_str() - .is_some_and(|fingerprint| fingerprint.len() == 64) + let methods = support["interfaces"][0]["methods"].as_array().unwrap(); + assert!(methods.iter().any(|method| { + method["name"] == "IsFormatSupported" && method["status"] == "raw_manual_contract" })); - assert_eq!( - methods - .iter() - .filter(|method| method["status"] == "raw_metadata_complete") - .count(), - 17 - ); - assert_eq!( - methods - .iter() - .filter(|method| method["status"] == "raw_manual_contract") - .count(), - 6 - ); - assert_eq!(methods[0]["projectedName"], "openNamespace"); - assert_eq!( - methods[0]["targets"]["x64"]["lifecycle"]["requires_current_apartment"], - true - ); - assert_eq!( - methods[0]["targets"]["x64"]["lifecycle"]["requires_external_acquisition"], - true - ); assert!(!output_dir.join("index.js").exists()); assert!(!output_dir.join("index.d.ts").exists()); @@ -4947,25 +5002,20 @@ fn safe_incomplete_interface_generates_an_isolated_unsafe_companion() { output_dir.join("com").join("index.mjs"), output_dir.join("com").join("index.d.ts"), ] { - let contents = fs::read_to_string(&path).unwrap(); assert!( - !contents.contains("IWbemServicesUnsafe"), - "safe package surface leaked an unsafe companion through {}", - path.display() + !fs::read_to_string(path) + .unwrap() + .contains("IAudioClientUnsafe") ); } let second = generate(&output_dir, false); - assert!( - second.status.success(), - "repeat unsafe generation failed:\n{}", - String::from_utf8_lossy(&second.stderr) - ); + assert!(second.status.success()); for (name, expected) in first_bytes { assert_eq!( fs::read(unsafe_dir.join(&name)).unwrap(), expected, - "generated unsafe output is not deterministic: {name}" + "{name}" ); } @@ -4974,15 +5024,12 @@ fn safe_incomplete_interface_generates_an_isolated_unsafe_companion() { unsafe_dir.join("index.js"), unsafe_dir.join("index.mjs"), ] { - let syntax = Command::new("node") - .args(["--check", script.to_str().unwrap()]) - .output() - .expect("run node --check"); assert!( - syntax.status.success(), - "generated unsafe JavaScript did not parse ({}):\n{}", - script.display(), - String::from_utf8_lossy(&syntax.stderr) + Command::new("node") + .args(["--check", script.to_str().unwrap()]) + .status() + .unwrap() + .success() ); } @@ -5035,12 +5082,6 @@ fn stage2_official_manual_interfaces_emit_exact_strategy_requirements() { "windows/win32/devices/fax/IStillImageWUnsafe", "getSTILaunchInformation(pwszDeviceName: UnsafeCountedBuffer, pdwEventCode: DynComRawMemory, pwszEventName: UnsafeCountedBuffer): void", ), - ( - "Windows.Win32.System.Wmi", - "IWbemServices", - "windows/win32/system/wmi/IWbemServicesUnsafe", - "openNamespace(strNamespace: string, options: { readonly lFlags: 0; readonly workingNamespace: DynComRawMemory; readonly result?: null }): DynComRawOwnedComPointer", - ), ]; for (namespace, name, module, declaration) in cases { let result = Command::new(env!("CARGO_BIN_EXE_dynwinrt-codegen")) @@ -5106,62 +5147,6 @@ fn stage2_official_manual_interfaces_emit_exact_strategy_requirements() { format["strategyRequirements"][0]["pointeeLayouts"], serde_json::json!({"arm64": null, "i686": null, "x64": null}) ); - let wbem = support["interfaces"] - .as_array() - .unwrap() - .iter() - .find(|interface| interface["interfaceName"] == "Windows.Win32.System.Wmi.IWbemServices") - .unwrap(); - let open_namespace = wbem["methods"] - .as_array() - .unwrap() - .iter() - .find(|method| method["name"] == "OpenNamespace") - .unwrap(); - assert_eq!(open_namespace["status"], "raw_metadata_complete"); - assert_eq!( - open_namespace["strategyRequirements"], - serde_json::json!([]) - ); - let working_output = open_namespace["exactInterfaceOutputs"] - .as_array() - .unwrap() - .iter() - .find(|output| output["parameterName"] == "ppWorkingNamespace") - .unwrap(); - assert_eq!( - working_output["interfaceIid"], - "9556dc99-828c-11cf-a37e-00aa003240c7" - ); - assert_eq!(working_output["argumentOptional"], true); - assert_eq!(working_output["nullableOnSuccess"], false); - let result_output = open_namespace["exactInterfaceOutputs"] - .as_array() - .unwrap() - .iter() - .find(|output| output["parameterName"] == "ppResult") - .unwrap(); - assert_eq!(result_output["argumentOptional"], true); - assert_eq!(result_output["nullableOnSuccess"], false); - assert!( - working_output["citation"] - .as_str() - .unwrap() - .contains("learn.microsoft.com") - ); - let output_call = &open_namespace["exactInterfaceOutputCall"]; - assert_eq!( - output_call["entryId"], - "wmi.conditional-output.entry.windows-win32-system-wmi.iwbemservices.9556dc99828c11cfa37e00aa003240c7.opennamespace.slot-3.v1" - ); - assert_eq!(output_call["familyId"], "wmi.conditional-output.v1"); - assert_eq!(output_call["contractKind"], "conditional-output"); - assert_eq!( - output_call["sourceFingerprint"], - "EA3628EB9E45E1A0BAA0BC9F6DA1FD82FE938091EF1730E25E3CCEEA9EFD316B" - ); - assert_eq!(output_call["synchronousFlags"], 0); - assert_eq!(output_call["semisynchronousFlagValue"], 0x10); assert!( output .join("com") @@ -5186,7 +5171,6 @@ fn stage2_official_manual_interfaces_emit_exact_strategy_requirements() { "Windows.Win32.System.ClrHosting.IHostMalloc", "Windows.Win32.Devices.Fax.IStiDeviceControl", "Windows.Win32.Devices.Fax.IStillImageW", - "Windows.Win32.System.Wmi.IWbemServices", ] { let files = manifest["roots"][root].as_array().unwrap(); assert!(files.contains(&serde_json::json!("unsafe/runtime.js"))); @@ -5291,7 +5275,7 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { ); let unsafe_dir = output_dir.join("com").join("unsafe"); let mf_module = "windows/win32/media/media-foundation/MFASYNCRESULTUnsafe"; - let iwbem_module = "windows/win32/system/wmi/IWbemServicesUnsafe"; + let unsafe_module = "windows/win32/media/audio/IAudioClientUnsafe"; assert!(unsafe_dir.join("support.json").is_file()); assert!(!unsafe_dir.join(format!("{mf_module}.js")).exists()); assert!(!unsafe_dir.join(format!("{mf_module}.d.ts")).exists()); @@ -5332,8 +5316,8 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { let unsafe_success = run( &output_dir, - "Windows.Win32.System.Wmi", - "IWbemServices", + "Windows.Win32.Media.Audio", + "IAudioClient", false, ); assert!( @@ -5344,17 +5328,18 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { let merged: serde_json::Value = serde_json::from_str(&fs::read_to_string(unsafe_dir.join("support.json")).unwrap()) .unwrap(); + let merged_names = merged["interfaces"] + .as_array() + .unwrap() + .iter() + .map(|interface| interface["interfaceName"].as_str().unwrap()) + .collect::>(); assert_eq!( - merged["interfaces"] - .as_array() - .unwrap() - .iter() - .map(|interface| interface["interfaceName"].as_str().unwrap()) - .collect::>(), - vec![ + merged_names, + std::collections::BTreeSet::from([ + "Windows.Win32.Media.Audio.IAudioClient", "Windows.Win32.Media.MediaFoundation.MFASYNCRESULT", - "Windows.Win32.System.Wmi.IWbemServices" - ] + ]) ); let mut manifest: serde_json::Value = @@ -5377,7 +5362,7 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { ); assert!(!repeated.status.success()); assert!(!stale_path.exists()); - assert!(unsafe_dir.join(format!("{iwbem_module}.js")).is_file()); + assert!(unsafe_dir.join(format!("{unsafe_module}.js")).is_file()); let merged_again = fs::read_to_string(unsafe_dir.join("support.json")).unwrap(); assert_eq!( serde_json::from_str::(&merged_again).unwrap()["interfaces"] @@ -5387,7 +5372,7 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { 2 ); - let iwbem_before = fs::read(unsafe_dir.join(format!("{iwbem_module}.js"))).unwrap(); + let unsafe_before = fs::read(unsafe_dir.join(format!("{unsafe_module}.js"))).unwrap(); fs::write(unsafe_dir.join("support.json"), "{ invalid support").unwrap(); let atomic_failure = run( &output_dir, @@ -5401,8 +5386,8 @@ fn report_only_interface_persists_support_and_removes_only_owned_stale_files() { "{ invalid support" ); assert_eq!( - fs::read(unsafe_dir.join(format!("{iwbem_module}.js"))).unwrap(), - iwbem_before + fs::read(unsafe_dir.join(format!("{unsafe_module}.js"))).unwrap(), + unsafe_before ); fs::remove_dir_all(&output_dir).unwrap(); @@ -5444,7 +5429,7 @@ fn concurrent_incremental_com_generation_preserves_all_roots_and_reports() { }; let safe = spawn("Windows.Win32.UI.Shell", "ITaskbarList3"); - let unsafe_companion = spawn("Windows.Win32.System.Wmi", "IWbemServices"); + let unsafe_companion = spawn("Windows.Win32.Media.Audio", "IAudioClient"); let safe = safe.wait_with_output().unwrap(); let unsafe_companion = unsafe_companion.wait_with_output().unwrap(); assert!( @@ -5460,23 +5445,23 @@ fn concurrent_incremental_com_generation_preserves_all_roots_and_reports() { let com_dir = output_dir.join("com"); let unsafe_dir = com_dir.join("unsafe"); - let iwbem_module = "windows/win32/system/wmi/IWbemServicesUnsafe.js"; + let unsafe_module = "windows/win32/media/audio/IAudioClientUnsafe.js"; assert!( generated_com_module(&output_dir, "Windows.Win32.UI.Shell", "ITaskbarList3", "js") .is_file() ); - assert!(unsafe_dir.join(iwbem_module).is_file()); + assert!(unsafe_dir.join(unsafe_module).is_file()); let safe_barrel = fs::read_to_string(com_dir.join("index.js")).unwrap(); let unsafe_barrel = fs::read_to_string(unsafe_dir.join("index.js")).unwrap(); assert!(safe_barrel.contains("ITaskbarList3")); - assert!(!safe_barrel.contains("IWbemServicesUnsafe")); - assert!(unsafe_barrel.contains("IWbemServicesUnsafe")); + assert!(!safe_barrel.contains("IAudioClientUnsafe")); + assert!(unsafe_barrel.contains("IAudioClientUnsafe")); let manifest: serde_json::Value = serde_json::from_str( &fs::read_to_string(com_dir.join(".dynwinrt-com-manifest.json")).unwrap(), ) .unwrap(); assert!(manifest["roots"]["Windows.Win32.UI.Shell.ITaskbarList3"].is_array()); - assert!(manifest["roots"]["Windows.Win32.System.Wmi.IWbemServices"].is_array()); + assert!(manifest["roots"]["Windows.Win32.Media.Audio.IAudioClient"].is_array()); let safe_second = spawn("Windows.Win32.UI.Shell", "IShellLinkW"); let report_only = spawn("Windows.Win32.Media.MediaFoundation", "MFASYNCRESULT"); @@ -5495,7 +5480,7 @@ fn concurrent_incremental_com_generation_preserves_all_roots_and_reports() { assert!( generated_com_module(&output_dir, "Windows.Win32.UI.Shell", "IShellLinkW", "js").is_file() ); - assert!(unsafe_dir.join(iwbem_module).is_file()); + assert!(unsafe_dir.join(unsafe_module).is_file()); let support: serde_json::Value = serde_json::from_str(&fs::read_to_string(unsafe_dir.join("support.json")).unwrap()) .unwrap(); @@ -5507,7 +5492,7 @@ fn concurrent_incremental_com_generation_preserves_all_roots_and_reports() { for root in [ "Windows.Win32.UI.Shell.ITaskbarList3", "Windows.Win32.UI.Shell.IShellLinkW", - "Windows.Win32.System.Wmi.IWbemServices", + "Windows.Win32.Media.Audio.IAudioClient", "Windows.Win32.Media.MediaFoundation.MFASYNCRESULT", ] { assert!( @@ -5637,8 +5622,8 @@ fn concurrent_com_and_winrt_writers_share_one_output_lock_in_both_orders() { let baseline_unsafe = spawn( &output, &win32_metadata, - "Windows.Win32.System.Wmi", - "IWbemServices", + "Windows.Win32.Media.Audio", + "IAudioClient", None, None, ) @@ -5699,7 +5684,7 @@ fn concurrent_com_and_winrt_writers_share_one_output_lock_in_both_orders() { ); assert!(generated_com_module(&output, "Windows.Win32.UI.Shell", "IShellLinkW", "js").is_file()); assert!( - generated_unsafe_module(&output, "Windows.Win32.System.Wmi", "IWbemServices", "js") + generated_unsafe_module(&output, "Windows.Win32.Media.Audio", "IAudioClient", "js") .is_file() ); let manifest: serde_json::Value = serde_json::from_str( @@ -5707,14 +5692,14 @@ fn concurrent_com_and_winrt_writers_share_one_output_lock_in_both_orders() { ) .unwrap(); assert!(manifest["roots"]["Windows.Win32.UI.Shell.IShellLinkW"].is_array()); - assert!(manifest["roots"]["Windows.Win32.System.Wmi.IWbemServices"].is_array()); + assert!(manifest["roots"]["Windows.Win32.Media.Audio.IAudioClient"].is_array()); let root_barrel = fs::read_to_string(output.join("index.d.ts")).unwrap(); let com_barrel = fs::read_to_string(output.join("com").join("index.d.ts")).unwrap(); let unsafe_barrel = fs::read_to_string(output.join("com").join("unsafe").join("index.d.ts")).unwrap(); assert!(root_barrel.contains("Uri") && !root_barrel.contains("Calendar")); assert!(com_barrel.contains("IShellLinkW")); - assert!(unsafe_barrel.contains("IWbemServicesUnsafe")); + assert!(unsafe_barrel.contains("IAudioClientUnsafe")); let support: serde_json::Value = serde_json::from_str( &fs::read_to_string(output.join("com").join("unsafe").join("support.json")).unwrap(), ) @@ -5759,9 +5744,9 @@ fn generated_unsafe_fingerprint_includes_sibling_and_reference_metadata() { "--winmd", winmd.to_str().unwrap(), "--namespace", - "Windows.Win32.System.Wmi", + "Windows.Win32.Media.Audio", "--class-name", - "IWbemServices", + "IAudioClient", "--output", output.to_str().unwrap(), ]); @@ -5892,7 +5877,7 @@ fn unified_output_transaction_rolls_back_first_and_incremental_failures() { ); let before = snapshot_tree(&output_dir); let incremental_failure = run( - "Windows.Win32.System.Wmi.IWbemServices", + "Windows.Win32.Media.Audio.IAudioClient", Some("after_backup_rename"), ); assert!(!incremental_failure.status.success()); @@ -5914,7 +5899,7 @@ fn unified_output_transaction_rolls_back_first_and_incremental_failures() { "--winmd", &metadata, "--class-name", - "Windows.Win32.System.Wmi.IWbemServices", + "Windows.Win32.Media.Audio.IAudioClient", "--output", output_dir.to_str().unwrap(), ]) @@ -5943,8 +5928,8 @@ fn unified_output_transaction_rolls_back_first_and_incremental_failures() { assert!( generated_unsafe_module( &output_dir, - "Windows.Win32.System.Wmi", - "IWbemServices", + "Windows.Win32.Media.Audio", + "IAudioClient", "js" ) .is_file() @@ -6199,8 +6184,8 @@ fn mixed_unsafe_only_com_retains_com_package_exports() { run_codegen_command( &win32_winmd(), - Some("Windows.Win32.System.Wmi"), - "IWbemServices", + Some("Windows.Win32.Media.Audio"), + "IAudioClient", &output, ); run_codegen_command( @@ -6211,7 +6196,7 @@ fn mixed_unsafe_only_com_retains_com_package_exports() { ); assert!( - generated_unsafe_module(&output, "Windows.Win32.System.Wmi", "IWbemServices", "js") + generated_unsafe_module(&output, "Windows.Win32.Media.Audio", "IAudioClient", "js") .is_file() ); let package = fs::read_to_string(output.join("package.json")).unwrap();