diff --git a/docs/architecture/classic-com-contract-evidence-registry.md b/docs/architecture/classic-com-contract-evidence-registry.md index 3c2c4840..0d3a83ef 100644 --- a/docs/architecture/classic-com-contract-evidence-registry.md +++ b/docs/architecture/classic-com-contract-evidence-registry.md @@ -18,9 +18,11 @@ does not completely describe: - context-dependent payload interpretation; or - failure-time cleanup. -Today, dynwinrt supplements metadata with COM standard rules and several -code-embedded exact registries. Those facts need one provenance model, one -data format, and reproducible dependency counts. +dynwinrt supplements metadata with COM standard rules and audited exact +registries. Grouped JSON contracts and the remaining code-defined families +share typed provenance and reproducible dependency counts. These are +method-contract evidence records, not OS registration or per-interface native +implementations. ## Evidence tiers @@ -104,69 +106,130 @@ tools/dynwinrt-codegen/contracts/classic-com/ ├── schema.json ├── manifest.json ├── conditional-outputs.json -└── ownership-outputs.json +├── ownership-outputs.json +├── safearrays.json +├── null-inputs.json +├── parameter-directions.json +├── borrowed-handles.json +└── enumerators.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. Other exact families remain typed Rust registries until -they are migrated to equally strict grouped JSON files. +directory at runtime. The manifest allowlists the compiled files, kinds, and +families and pins each file's SHA-256. Other exact families remain in their +existing registries; this migration does not externalize every COM contract. + +The Rust implementation separates the shared registry from its compatibility +adapters: + +```text +tools/dynwinrt-codegen/src/ +├── contract_registry.rs +├── contract_registry/ +│ ├── families.rs +│ ├── migration_tests.rs +│ └── adapters/ +│ ├── mod.rs +│ ├── safearray.rs +│ ├── null_input.rs +│ ├── parameter_direction.rs +│ ├── borrowed_handle.rs +│ └── enumerator.rs +└── com_metadata.rs +``` + +The JSON files are the only source of facts for these five families. +`contract_registry.rs` and `families.rs` own the compiled file allowlist, +schema/typed payload validation, hashes, selectors, and provenance. +`contract_registry/adapters` provides crate-private, family-specific views for +the existing Raw metadata model. Its `OnceLock` caches contain only derived +values; they are not independently maintained registries. There are no old +top-level module aliases or alternate loading paths. + +Raw parsing, attachment, and semantic validation remain in their existing +layers and order. The metadata-side tests in `com_contract_registry_tests.rs` +remain a child module of `com_metadata`, where they can exercise private +parsing/attachment helpers without widening production visibility. +Unmigrated evidence such as `com_activation_registry.rs` remains separate, +not disguised as a JSON adapter. ## Entry format +Each file has a `schemaVersion` and a `contracts` array. For example, this is +the existing nullable runtime-ID contract from `safearrays.json`: + ```json { "schemaVersion": 2, - "entryId": "audio.conditional-output.entry.windows-win32-media-audio.iaudioclient.1cb9ad4cdbfa4c328b32e7f3216b7b3d.isformatsupported.slot-7.v1", - "familyId": "audio.conditional-output.v1", - "kind": "conditional-output", - "selector": { - "interface": { - "namespace": "Windows.Win32.Media.Audio", - "name": "IAudioClient", - "iid": "..." - }, - "declaringIid": "...", - "method": "IsFormatSupported", - "absoluteSlot": 7, - "sourceFingerprint": "..." - }, - "contract": { - "discriminator": { - "parameterIndex": 0, - "cases": [ - { - "value": 0, - "outputArgument": "required-pointer-slot" + "contracts": [ + { + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementproviderfragment.f7063da88359439c9297bbc5299a7d87.getruntimeid.slot-4.param-0-pretval.v1", + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderFragment::GetRuntimeId parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "interface": { + "namespace": "Windows.Win32.UI.Accessibility", + "name": "IRawElementProviderFragment", + "iid": "f7063da8-8359-439c-9297-bbc5299a7d87" }, + "declaringIid": "f7063da8-8359-439c-9297-bbc5299a7d87", + "method": "GetRuntimeId", + "absoluteSlot": 4, + "parameterCount": 1, + "parameters": [ + { + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "pointerDepth": 2, + "direction": "out", + "optional": false, + "constness": "mutable", + "constAttribute": false + } + ], + "sourceFingerprint": "10CDC63F3FED0D67BA0B735F93246E1745D42DBC11FCDF2CF73B6CF7BF82B347", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRuntimeId@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "contract": { + "parameterIndex": 0, + "element": { "vartype": "VT_I4", "interfaceIid": null }, + "ownership": "owned-output", + "cleanup": "SafeArrayDestroy", + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "nullable-on-success", + "reason": "Microsoft permits a NULL SAFEARRAY result on success; the receiving SAFEARRAY** cell remains required.", + "evidence": [ + { + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid", + "file": null + } + ] + } + } + }, + "evidence": [ { - "value": 1, - "outputArgument": "native-null" + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid", + "file": null + } + ], + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "version": "71.0.14-preview", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" } ] - }, - "output": { - "parameterIndex": 2, - "ownership": "owned", - "allocator": "CoTaskMem", - "cleanup": "CoTaskMemFree" - } - }, - "evidence": [ - { - "kind": "microsoft-learn", - "url": "https://learn.microsoft.com/windows/win32/api/audioclient/nf-audioclient-iaudioclient-isformatsupported" - }, - { - "kind": "sdk-header", - "file": "audioclient.h" - } - ], - "validatedMetadata": [ - { - "package": "Microsoft.Windows.SDK.Win32Metadata", - "version": "71.0.14-preview", - "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D" } ] } @@ -199,39 +262,113 @@ An exact contract never matches by method name alone. The selector validates: - direction, optionality, and constness; - array, `FreeWith`, SAFEARRAY, and exact-contract metadata; - return type and HRESULT convention; and -- a canonical full-method fingerprint. +- an independently pinned full-method fingerprint or source shape. Any drift disables the entry and restores the ordinary fail-closed or unsafe classification. +### Fingerprint formats + +The existing canonical SHA-256 convention is unchanged for ownership, +conditional outputs, null inputs, and parameter-direction corrections: +`sourceFingerprint` hashes `canonical_raw_method` before that contract is +attached. In particular, parameter-direction selectors retain the original +WinMD `inout` direction, not the corrected `out` direction. + +SAFEARRAY entries retain their original `raw_method_shape` strings verbatim +in `sourceShape.value`. Borrowed-handle and enumerator entries now also pin +complete shapes captured from the same independently checked metadata. +`sourceShape.format` is the closed `raw-method-shape-v1` format; +`sourceFingerprint` must equal the SHA-256 of that exact UTF-8 string. The +loader checks the stored hash, and semantic validation checks the full shape +and every parameter selector against the declaration. Enumerator source +shapes retain their established array and semantic-HRESULT annotations. + +These storage-side shape hashes do not replace the existing canonical +fingerprints in the evidence catalog or generated unsafe descriptors. +Thin Rust adapters preserve the raw evidence representation, so those +fingerprints and generated files remain unchanged. An inherited method uses +its declaring interface's selector and ID. + ## Closed contract kinds -The schema admits only implemented semantic kinds: +The grouped-file schema admits only kinds with implemented typed payloads: ```text ownership conditional-output -counted-buffer -bounded-two-call borrowed-handle enumerator-next safearray -semantic-hresult -compound-dispatch -hazard +null-input +parameter-direction ``` Each kind maps to a typed semantic IR. Data files cannot inject JavaScript, Rust code, arbitrary cleanup functions, or renderer fragments. Unknown contract kinds and unknown fields fail validation. +The schema binds each kind to its exact family and payload, not just an +unrelated union of allowed fields. Other catalog kinds remain available to +their existing Rust or packaged-contract implementations; listing a catalog +kind does not make an unimplemented JSON payload valid. + +### Five migrated evidence families + +| File | Records | Existing contract preserved | +| --- | ---: | --- | +| `safearrays.json` | 209 | 69 borrowed inputs and 140 owned outputs; exact VARTYPE/IID, shape, cleanup, and pointee nullability | +| `null-inputs.json` | 2 | Reserved native-NULL `IStorage` inputs | +| `parameter-directions.json` | 3 | Exact `IMFAttributes` InOut-to-Out corrections | +| `borrowed-handles.json` | 22 | Borrowed HWND outputs through required cells, with no cleanup or ownership transfer | +| `enumerators.json` | 97 | Count/value/fetched roles, raw directions and optionality, exact element identity, and `S_OK`/`S_FALSE` behavior | + +Of the 333 records, 309 are exact entries and 24 enumerator declarations +remain **COM-standard**. `enumerators.json` records this distinction with +`evidenceSource`: `com-standard` uses `com.enumerator-next.generic.v1`; +`exact-registry` uses the existing selector-derived exception entry. +The storage IDs keep their existing selector-derived namespace, but a +COM-standard row is not registered or counted as an exact entry or an exact +family dependency. The fetched/value direction tables and optional-fetched +lists are now data in the complete parameter selectors, not name-based Rust +exceptions. + +`VT_UNKNOWN` means Automation interface elements, not an unknown ABI. It +requires an exact `interfaceIid`; scalar, BSTR, and VARIANT arrays require +`interfaceIid: null`. The supported set remains `VT_I4`, `VT_UI1`, `VT_UI4`, +`VT_R8`, `VT_BSTR`, `VT_VARIANT`, and `VT_UNKNOWN`. Borrowed inputs cannot +request destruction; owned outputs require `SafeArrayDestroy`. + +Only four existing SAFEARRAY outputs allow a null contained pointer: +`IRawElementProviderFragment.GetRuntimeId`, +`IRawElementProviderFragment.GetEmbeddedFragmentRoots`, +`ITextProvider.GetSelection`, and `IDragProvider.GetGrabbedItems`. +Their `nullability` is `required-output-cell` with a `nullable-on-success` +pointee, reason, and citation. The `SAFEARRAY**` argument remains required, +mutable, Out, and pointer-depth two. Other outputs use a `required` pointee; +inputs use `required-input`. The consumer reads this validated field only +after exact evidence matching; it does not recognize UIA names or citations. + +The five modules under `contract_registry/adapters` contain derived typed +adapters, exact lookups, and tests, not fixed evidence arrays. Matching, +HRESULT handling, ownership lowering, native layout validation, and runtime cleanup remain +Rust logic. Newly pinned borrowed/enumerator source shapes are checked after +existing semantic validation, preserving the more specific allocator and +ownership diagnostics for already-unsupported inputs. The raw/unsafe +classification entrypoint and exact-entry catalog collection use the same +source-shape guard, so fallback generation or census accounting cannot +consume drifted evidence. This guard is limited to the migrated declarations; +it does not expand raw classifier support. ## Registry versus renderer The required flow is: ```text -exact evidence entry +contracts/classic-com JSON evidence + -> contract_registry typed loader and validation + -> contract_registry/adapters Raw compatibility views + -> metadata and semantic contract validation -> validated ComMethodContract -> projected semantic IR -> generic JavaScript renderer @@ -265,6 +402,16 @@ when: - an entry references an unsupported contract kind; or - an entry is unused by every loaded interface. +When authoring these files, validate against `schema.json`, update the +manifest hash from the exact file bytes, and run +`cargo test -p dynwinrt-codegen --lib registry` with the pinned +`DYNWINRT_WIN32_WINMD`. The regression checks all 333 migrated records, +including the 24 COM-standard rows, against real metadata. Unknown fields, +missing required fields, kind/family mismatches, duplicate IDs/selectors, +unsupported semantics, invalid hashes, and metadata drift fail closed. +Do not replace an expected fingerprint with one computed from drifted input +merely to make validation pass. + ## Upstream policy If a fact is universal and representable in Win32Metadata, prefer contributing @@ -324,13 +471,12 @@ Dependency counts are computed directly from semantic provenance. Net contribution requires a controlled ablation census and is not inferred from dependency counts. -## Existing registry migration +## Remaining registry migration scope -Current code registries are migrated without changing behavior: +The five-family data migration above is behavior-preserving and bounded. +Other method-specific contract implementations retain their existing +locations, including: -- borrowed HWND outputs; -- SAFEARRAY element/ownership evidence; -- enumerator `Next` contracts; - counted-buffer and sizing overrides; - semantic HRESULT exceptions; - `IWbemServices::OpenNamespace`; @@ -347,7 +493,7 @@ Current code registries are migrated without changing behavior: audio-format inputs selecting the device default; and - exact fail-closed hazards such as `GetPrivateData`. -Migration or promotion is complete only when generated safe snapshots, the +Any further migration or promotion is complete only when generated safe snapshots, the 5,721/7,929 safe census, generated unsafe manifests, and all live tests agree with the exact evidence dependencies. @@ -368,7 +514,7 @@ user unsafe contract User entries cannot override or weaken a built-in safe contract. -## Stage 1 implementation +## Implemented registry and evidence accounting Stage 1 is implemented for the pinned `Microsoft.Windows.SDK.Win32Metadata` 71.0.14-preview input. The embedded @@ -544,7 +690,7 @@ available in the CI capability artifact. Generic scalar BSTR Out ownership/SysFreeString behavior now uses `com.automation.bstr-output-owned-sysfreestring.v1`; supported BSTR replacement -uses `com.automation.bstr-replacement.v1`. Twenty-four generic code-registry +uses `com.automation.bstr-replacement.v1`. Twenty-four generic JSON-registry enumerator entries use `com.enumerator-next.generic.v1` after exact signature validation (25 safe interfaces consume the rule because of inheritance). ISequentialStream `Read` and `Write` have distinct exact entries in @@ -554,24 +700,35 @@ 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, 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. +Counted-buffer, the remaining ownership/cleanup declarations, semantic-HRESULT, +IDispatch, STATSTG/IMalloc, activation policies, native completion, and hazard +registries retain their existing implementations. Borrowed-copy/runtime +recipes are not part of this five-family migration. Each exact path continues +to expose its stable typed provenance ID/kind and participates in the +dependency census only when consumed. Further grouped-file migration and +controlled contract-family ablation remain separate work. The strict contract data schema and its registry `manifest.json` remain version 2. The capability summary is version 3, and generated unsafe support manifests are version 12. -Seven WMI conditional-output entries and 149 output-ownership entries use the -grouped contract-data registry. Of the other 376 registered entries, 26 -borrowed-copy/context entries now live in the native-independent packaged -`dynwinrt-com-contracts` JSON registry; their existing exact-entry catalog and -dependency classification are preserved. The other 350 remain code-defined. +The seven grouped files contain 489 records: 465 exact entries and 24 +COM-standard enumerator declarations. The exact subset includes the original +seven WMI conditional-output and 149 output-ownership entries plus the 309 +migrated exact entries. Of the other 67 registered exact entries, 26 +borrowed-copy/context entries live in the native-independent packaged +`dynwinrt-com-contracts` JSON registry, and 41 remain code-defined. Their +locations and dependency classification are unchanged. All entries use the same selector-derived `entryId`, typed `familyId`, selector/fingerprint/citation catalog, and pinned-metadata validation path. +The five-family migration preserves the 5,721/7,929 complete-safe census, +all 532 registered/matched exact IDs, 431 safe-consumed entries, and all +entry/family dependency sets and totals. A mechanical baseline comparison +also retained all per-record fields and compared 285 declaring/inherited +roots: 1,366 generated safe file hashes, unsafe output/support records, and +4,247 canonical method fingerprints were identical. No generated-bindings +manifest or runtime/API version change is needed for this data migration. + Separately, PR1 raised the generated COM file-ownership manifest `com/.dynwinrt-com-manifest.json` from version 2 to version 3; borrowed-copy context effects introduced version 4, and version-2 typed copy recipes now diff --git a/docs/architecture/classic-com-support.md b/docs/architecture/classic-com-support.md index 64ebc2e8..b86465b9 100644 --- a/docs/architecture/classic-com-support.md +++ b/docs/architecture/classic-com-support.md @@ -1382,11 +1382,16 @@ Representative evidence: and [`GetSelectedItems`](https://learn.microsoft.com/windows/win32/api/camerauicontrol/nf-camerauicontrol-icamerauicontrol-getselecteditems). -`ITextProvider::GetSelection` and +The current nullable output set is `ITextProvider::GetSelection`, [`IRawElementProviderFragment::GetEmbeddedFragmentRoots`](https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getembeddedfragmentroots) -have separate exact evidence that a successful output may be null. Both -project as `DynComSafeArray | null`; `GetVisibleRanges` and all other -registered outputs remain required. +plus `IRawElementProviderFragment::GetRuntimeId` and +`IDragProvider::GetGrabbedItems`. Their exact evidence permits a successful +contained `SAFEARRAY*` to be null; the receiving `SAFEARRAY**` cell is still +required. These four methods project as `DynComSafeArray | null`; +`GetVisibleRanges` and all other registered outputs remain required. +The [contract evidence registry](classic-com-contract-evidence-registry.md) +stores these existing allowances as structured, cited nullability fields in +`safearrays.json`, without method-name branches or new support. The complete-interface result is: @@ -1416,7 +1421,7 @@ Generated JavaScript keeps every supported result as `DynComSafeArray`, not a natural array, so VARTYPE, exact interface IID, rank, and signed lower bounds remain observable. Generated signatures use `DynCom.safeArrayType(kind, iid?, nullable?)`; -owned results transfer through `DynCom.takeSafeArray` or, for the two proven +owned results transfer through `DynCom.takeSafeArray` or, for the four proven nullable methods, `DynCom.takeNullableSafeArray`. `DynComSafeArray.interface` creates `VT_UNKNOWN` arrays with `SafeArrayCreateEx`; its `interfaceIid`, `bounds`, `elementType`, and conversion methods preserve identity and shape. diff --git a/tools/dynwinrt-codegen/contracts/classic-com/borrowed-handles.json b/tools/dynwinrt-codegen/contracts/classic-com/borrowed-handles.json new file mode 100644 index 00000000..4ed9619c --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/borrowed-handles.json @@ -0,0 +1,1215 @@ +{ + "contracts": [ + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-devices-imageacquisition.iwiaapperrorhandler.6c16186cd0a6400c80f4d26986a0e734.getwindow.slot-3.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/previous-versions/windows/desktop/wia/-wia-iwiaapperrorhandler-getwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as the existing WIA error-handler dialog HWND, which may be NULL and must remain valid for the transfer; the caller does not acquire window ownership", + "selector": { + "absoluteSlot": 3, + "declaringIid": "6c16186c-d0a6-400c-80f4-d26986a0e734", + "interface": { + "iid": "6c16186c-d0a6-400c-80f4-d26986a0e734", + "name": "IWiaAppErrorHandler", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "method": "GetWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6B4A2DDEA4F9A75E5F7B41EB45E954E95091249C53589F4DBCB5863870B3624A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWindow@3(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-pictureacquisition.iphotoprogressdialog.00f246f907504f0893812cd8e906a4ae.getwindow.slot-4.param-0-phwndprogressdialog.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/photoacquire/nf-photoacquire-iphotoprogressdialog-getwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this getter as retrieving the progress dialog box handle; it does not create or transfer ownership of the dialog", + "selector": { + "absoluteSlot": 4, + "declaringIid": "00f246f9-0750-4f08-9381-2cd8e906a4ae", + "interface": { + "iid": "00f246f9-0750-4f08-9381-2cd8e906a4ae", + "name": "IPhotoProgressDialog", + "namespace": "Windows.Win32.Media.PictureAcquisition" + }, + "method": "GetWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwndProgressDialog", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "92EC43598B47500A26D59BE70D79C63F926C5685B1DCBC08E3459E7263069CCC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWindow@4(phwndProgressDialog:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-directshow.ioverlay.56a868a10ad411ceb03a0020af0ba770.getwindowhandle.slot-8.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ioverlay-getwindowhandle" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the clipping window handle already associated with the overlay; it does not create or transfer ownership of the window", + "selector": { + "absoluteSlot": 8, + "declaringIid": "56a868a1-0ad4-11ce-b03a-0020af0ba770", + "interface": { + "iid": "56a868a1-0ad4-11ce-b03a-0020af0ba770", + "name": "IOverlay", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "method": "GetWindowHandle", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pHwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "946DEC86AEE73651090A53C54FF7F7CED78AC97E665D2327EB036A4AFCC2B737", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWindowHandle@8(pHwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-directshow-tv.imsvidctl.b0edf162910a11d2b63200c04f79498e.get-window.slot-15.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msvidctl/nf-msvidctl-imsvidctl-get_window" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the existing video control window handle; the caller does not acquire ownership of that window", + "selector": { + "absoluteSlot": 15, + "declaringIid": "b0edf162-910a-11d2-b632-00c04f79498e", + "interface": { + "iid": "b0edf162-910a-11d2-b632-00c04f79498e", + "name": "IMSVidCtl", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "get_Window", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "2174058F5F5D2854B883007C60889D07A71571920EB42BAFE5BA34F1E307FF1B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Window@15(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-directshow-tv.imsvidrect.7f5000a6a44047ca8accc0e75531a2c2.get-hwnd.slot-15.param-0-hwndval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/segment/nf-segment-imsvidrect-get_hwnd" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the window handle represented by the existing video rectangle; it does not create or transfer the window", + "selector": { + "absoluteSlot": 15, + "declaringIid": "7f5000a6-a440-47ca-8acc-c0e75531a2c2", + "interface": { + "iid": "7f5000a6-a440-47ca-8acc-c0e75531a2c2", + "name": "IMSVidRect", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "get_HWnd", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "HWndVal", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "97DD60A195B4AEE9D432AB08DF0870AC3FA0F91F5FC9931651161A14D0B97A3B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_HWnd@15(HWndVal:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-mediafoundation.imfpmediaplayer.a714590a58af430a85bf44f5ec838d85.getvideowindow.slot-31.param-0-phwndvideo.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfplay/nf-mfplay-imfpmediaplayer-getvideowindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the media player's current video window; it is an existing caller-configured window and ownership is not transferred", + "selector": { + "absoluteSlot": 31, + "declaringIid": "a714590a-58af-430a-85bf-44f5ec838d85", + "interface": { + "iid": "a714590a-58af-430a-85bf-44f5ec838d85", + "name": "IMFPMediaPlayer", + "namespace": "Windows.Win32.Media.MediaFoundation" + }, + "method": "GetVideoWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwndVideo", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F5A20E1B0514A7E693D8DCEDE5BE547CE7FFAC8BE63D447E010BE79A2EB106C9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetVideoWindow@31(phwndVideo:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-media-mediafoundation.imfvideodisplaycontrol.a490b1e4ab844d31a1b2181e03b1077a.getvideowindow.slot-10.param-0-phwndvideo.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/evr/nf-evr-imfvideodisplaycontrol-getvideowindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the video window already set on the display control; it does not create or transfer ownership of the window", + "selector": { + "absoluteSlot": 10, + "declaringIid": "a490b1e4-ab84-4d31-a1b2-181e03b1077a", + "interface": { + "iid": "a490b1e4-ab84-4d31-a1b2-181e03b1077a", + "name": "IMFVideoDisplayControl", + "namespace": "Windows.Win32.Media.MediaFoundation" + }, + "method": "GetVideoWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwndVideo", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0C0D6FC6B4F7D50F5895E1F642A3EFDA5FC8DFAFF68D7A426DCF9E91D3F71665", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetVideoWindow@10(phwndVideo:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-mmc.iconsole.43136eb1d36c11cfadbc00aa00a80033.getmainwindow.slot-12.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mmc/nf-mmc-iconsole-getmainwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving MMC's existing main frame window handle, not creating a caller-owned window", + "selector": { + "absoluteSlot": 12, + "declaringIid": "43136eb1-d36c-11cf-adbc-00aa00a80033", + "interface": { + "iid": "43136eb1-d36c-11cf-adbc-00aa00a80033", + "name": "IConsole", + "namespace": "Windows.Win32.System.Mmc" + }, + "method": "GetMainWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F3119F4DDF3853771CA37E06E23B95D9E6AE279795800511EACCAFAFB4AEF034", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetMainWindow@12(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-ole.iolewindow.0000011400000000c000000000000046.getwindow.slot-3.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/oleidl/nf-oleidl-iolewindow-getwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving an existing frame, document, parent, or in-place activation window; ownership remains with the participant that created that window", + "selector": { + "absoluteSlot": 3, + "declaringIid": "00000114-0000-0000-c000-000000000046", + "interface": { + "iid": "00000114-0000-0000-c000-000000000046", + "name": "IOleWindow", + "namespace": "Windows.Win32.System.Ole" + }, + "method": "GetWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6B4A2DDEA4F9A75E5F7B41EB45E954E95091249C53589F4DBCB5863870B3624A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWindow@3(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-winrt.icorewindowinterop.45d64a29a63e4cb6b4985781d298cb4f.get-windowhandle.slot-3.param-0-hwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/corewindow/nf-corewindow-icorewindowinterop-get_windowhandle" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this read-only property as obtaining the HWND of the existing CoreWindow; it does not transfer window lifetime", + "selector": { + "absoluteSlot": 3, + "declaringIid": "45d64a29-a63e-4cb6-b498-5781d298cb4f", + "interface": { + "iid": "45d64a29-a63e-4cb6-b498-5781d298cb4f", + "name": "ICoreWindowInterop", + "namespace": "Windows.Win32.System.WinRT" + }, + "method": "get_WindowHandle", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "hwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "ACB19C87346876CE26B3EB4D0D3E1EC71FD034D8B2A4C30722863C3C076093F0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_WindowHandle@3(hwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-winrt.isharewindowcommandeventargsinterop.6571a721643d43d4aca46b6f5f30f1ad.getwindow.slot-3.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sharewindowcommandsourceinterop/nf-sharewindowcommandsourceinterop-isharewindowcommandeventargsinterop-getwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as receiving the window identifier carried by the event arguments, with no creation or ownership transfer", + "selector": { + "absoluteSlot": 3, + "declaringIid": "6571a721-643d-43d4-aca4-6b6f5f30f1ad", + "interface": { + "iid": "6571a721-643d-43d4-aca4-6b6f5f30f1ad", + "name": "IShareWindowCommandEventArgsInterop", + "namespace": "Windows.Win32.System.WinRT" + }, + "method": "GetWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "DD0C1C08D140AF595B36CA02942DF5963B95D7B244859F0469F2C26C9120B06C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWindow@3(value:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-winrt-xaml.idesktopwindowxamlsourcenative.3cbcf1bf2f764e9c96abe84b37972554.get-windowhandle.slot-4.param-0-hwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/windows.ui.xaml.hosting.desktopwindowxamlsource/nf-windows-ui-xaml-hosting-desktopwindowxamlsource-idesktopwindowxamlsourcenative-get_windowhandle" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as the parent UI element HWND associated with the current XAML source instance; the associated UI element retains ownership", + "selector": { + "absoluteSlot": 4, + "declaringIid": "3cbcf1bf-2f76-4e9c-96ab-e84b37972554", + "interface": { + "iid": "3cbcf1bf-2f76-4e9c-96ab-e84b37972554", + "name": "IDesktopWindowXamlSourceNative", + "namespace": "Windows.Win32.System.WinRT.Xaml" + }, + "method": "get_WindowHandle", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "hWnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "388B3D6F6EBFE9F924F682E81AD7F0AD5F56D3EA5CAC1730CA87FA895BBCD8FB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_WindowHandle@4(hWnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-system-updateagent.iupdateinstaller.7b929c68ccdc422696b18724600b54c2.get-parenthwnd.slot-11.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wuapi/nf-wuapi-iupdateinstaller-get_parenthwnd" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the existing parent window configured for the update installer; no window ownership is transferred", + "selector": { + "absoluteSlot": 11, + "declaringIid": "7b929c68-ccdc-4226-96b1-8724600b54c2", + "interface": { + "iid": "7b929c68-ccdc-4226-96b1-8724600b54c2", + "name": "IUpdateInstaller", + "namespace": "Windows.Win32.System.UpdateAgent" + }, + "method": "get_ParentHwnd", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retval", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FB1C6F07F9CEAC5285C60627BB8C8BBBEF5C0E4A9364AED24DFC10F2805AF55E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ParentHwnd@11(retval:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-accessibility.iuiautomationelement.d22108aa8ac549a5837b37bbb3d7591e.get-cachednativewindowhandle.slot-68.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachednativewindowhandle" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the cached native window handle of the existing UI Automation element; the element's window remains externally owned", + "selector": { + "absoluteSlot": 68, + "declaringIid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "interface": { + "iid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "name": "IUIAutomationElement", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CachedNativeWindowHandle", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "5479B7D7AC5604C8D5EBCDAAFB6DD4359E67CBF8D68878781BA96321D0223FCE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CachedNativeWindowHandle@68(retVal:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-accessibility.iuiautomationelement.d22108aa8ac549a5837b37bbb3d7591e.get-currentnativewindowhandle.slot-36.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_currentnativewindowhandle" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the current native window handle of the existing UI Automation element; the element's window remains externally owned", + "selector": { + "absoluteSlot": 36, + "declaringIid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "interface": { + "iid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "name": "IUIAutomationElement", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CurrentNativeWindowHandle", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "472319FE6903BB2260BE13A873F72E602D5F2251D1B6B6215AF95EBD9C4AEDD3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentNativeWindowHandle@36(retVal:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-shell.icredentialprovidercredentialevents.fa6fa76b66b74b1195f186171118e816.oncreatingwindow.slot-12.param-0-phwndowner.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/credentialprovider/nf-credentialprovider-icredentialprovidercredentialevents-oncreatingwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as the Credential UI or Logon UI parent HWND that providers must borrow when parenting dialogs", + "selector": { + "absoluteSlot": 12, + "declaringIid": "fa6fa76b-66b7-4b11-95f1-86171118e816", + "interface": { + "iid": "fa6fa76b-66b7-4b11-95f1-86171118e816", + "name": "ICredentialProviderCredentialEvents", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "OnCreatingWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwndOwner", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "5A56814E0744C6F625E276A17CD418587FF5A4288A48ACF1C20D391282D96DF2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnCreatingWindow@12(phwndOwner:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-shell.ilaunchsourceviewsizepreference.e5aa01f71fb8483087204e6734cbd5f3.getsourceviewtoposition.slot-3.param-0-hwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ilaunchsourceviewsizepreference-getsourceviewtoposition" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the existing source application window used for positioning, without creating or transferring it", + "selector": { + "absoluteSlot": 3, + "declaringIid": "e5aa01f7-1fb8-4830-8720-4e6734cbd5f3", + "interface": { + "iid": "e5aa01f7-1fb8-4830-8720-4e6734cbd5f3", + "name": "ILaunchSourceViewSizePreference", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "GetSourceViewToPosition", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "hwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "30C0767645B86C5327C0E4F655A413D1272EDADAF9510738781EEDE20ACC3361", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSourceViewToPosition@3(hwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-shell.ifileisinuse.64a1cbf03a1a44619158376969693950.getswitchtohwnd.slot-6.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifileisinuse-getswitchtohwnd" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the existing application window to switch to; the caller observes the handle without acquiring the window", + "selector": { + "absoluteSlot": 6, + "declaringIid": "64a1cbf0-3a1a-4461-9158-376969693950", + "interface": { + "iid": "64a1cbf0-3a1a-4461-9158-376969693950", + "name": "IFileIsInUse", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "GetSwitchToHWND", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1A1014B2E640159C61654F4229C2023F81B405C1A7D0C8CDE9EBA8ACB18B9B71", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSwitchToHWND@6(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-shell.ipreviewhandler.8895b1c6b41f4c1ca5620d564250836f.queryfocus.slot-8.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ipreviewhandler-queryfocus" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as the HWND returned by GetFocus on the preview handler's foreground thread, which is an observed borrowed window identity", + "selector": { + "absoluteSlot": 8, + "declaringIid": "8895b1c6-b41f-4c1c-a562-0d564250836f", + "interface": { + "iid": "8895b1c6-b41f-4c1c-a562-0d564250836f", + "name": "IPreviewHandler", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "QueryFocus", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "22E0B6F671B7AAED222B1AAAC7E0BE70B96F7023794443AA94D79BF701EB42F9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "QueryFocus@8(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-tabletpc.itextinputpanel.6b6a65a56af346c2b6ea56cd1f80df71.get-attachededitwindow.slot-3.param-0-attachededitwindow.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/peninputpanel/nf-peninputpanel-itextinputpanel-get_attachededitwindow" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this property as retrieving the edit window already attached to the text input panel; attachment does not transfer window ownership", + "selector": { + "absoluteSlot": 3, + "declaringIid": "6b6a65a5-6af3-46c2-b6ea-56cd1f80df71", + "interface": { + "iid": "6b6a65a5-6af3-46c2-b6ea-56cd1f80df71", + "name": "ITextInputPanel", + "namespace": "Windows.Win32.UI.TabletPC" + }, + "method": "get_AttachedEditWindow", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "AttachedEditWindow", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "5CFFC0F8277CF4CFEBD0DF52CE01CAEC77547C214502F5A8FDDCDB5B1F205C8F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_AttachedEditWindow@3(AttachedEditWindow:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-textservices.itfcontextowner.aa80e80c202111d293e00060b067b86e.getwnd.slot-7.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-itfcontextowner-getwnd" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the existing owner window associated with the text context; ownership remains with the context owner", + "selector": { + "absoluteSlot": 7, + "declaringIid": "aa80e80c-2021-11d2-93e0-0060b067b86e", + "interface": { + "iid": "aa80e80c-2021-11d2-93e0-0060b067b86e", + "name": "ITfContextOwner", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "GetWnd", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "02FCA45184CEBA85A04F9EBC7345C23D1801D73787FFEE14ACBCFC8629676406", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWnd@7(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "handle": "Windows.Win32.Foundation.HWND", + "ownership": "borrowed", + "parameterIndex": 0, + "receivingCell": "required" + }, + "entryId": "windows.borrowed-hwnd-output.entry.windows-win32-ui-textservices.itfcontextview.2433bf8e0f9b435cba2c180611978c30.getwnd.slot-6.param-0-phwnd.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-itfcontextview-getwnd" + } + ], + "familyId": "windows.borrowed-hwnd-output.v1", + "kind": "borrowed-handle", + "reason": "Microsoft documents this as retrieving the existing window represented by the text context view; the view retains window ownership", + "selector": { + "absoluteSlot": 6, + "declaringIid": "2433bf8e-0f9b-435c-ba2c-180611978c30", + "interface": { + "iid": "2433bf8e-0f9b-435c-ba2c-180611978c30", + "name": "ITfContextView", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "GetWnd", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "phwnd", + "nativeType": "Windows.Win32.Foundation.HWND", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "A554F9967C5FED3D969A219CB8894C6F9EEA650E73DA83C5BA9A26A164EA40C0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWnd@6(phwnd:out:required:noconstattr:Windows.Win32.Foundation.HWND[Struct]/ptr1/Mutable/underlying=void/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + } + ], + "schemaVersion": 2 +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/enumerators.json b/tools/dynwinrt-codegen/contracts/classic-com/enumerators.json new file mode 100644 index 00000000..1dba3a8f --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/enumerators.json @@ -0,0 +1,7959 @@ +{ + "contracts": [ + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "unknown", + "name": "Guid", + "namespace": "System" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com.ienumguid.0002e00000000000c000000000000046.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/objidl/nn-objidl-ienumguid" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0002e000-0000-0000-c000-000000000046", + "interface": { + "iid": "0002e000-0000-0000-c000-000000000046", + "name": "IEnumGUID", + "namespace": "Windows.Win32.System.Com" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6BB45DD7D10C61BE30485CD758ABC0B42329C383B8A7ACAFDD8F72F9F1871832", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:System.Guid[Unknown]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "b196b286-bab4-101a-b69c-00aa00341d07", + "kind": "interface", + "name": "IConnectionPoint", + "namespace": "Windows.Win32.System.Com" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com.ienumconnectionpoints.b196b285bab4101ab69c00aa00341d07.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/ocidl/nn-ocidl-ienumconnectionpoints" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "b196b285-bab4-101a-b69c-00aa00341d07", + "interface": { + "iid": "b196b285-bab4-101a-b69c-00aa00341d07", + "name": "IEnumConnectionPoints", + "namespace": "Windows.Win32.System.Com" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cConnections", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppCP", + "nativeType": "Windows.Win32.System.Com.IConnectionPoint", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1B8320B45BB6B2CAFEA00ACB944BACC3CCB2B4FE6811E2F22F9EA4EA5858E333", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cConnections:in:required:noconstattr:u32/ptr0/Unspecified,ppCP:out:required:noconstattr:Windows.Win32.System.Com.IConnectionPoint[Interface]{b196b286-bab4-101a-b69c-00aa00341d07}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "VARIANT", + "namespace": "Windows.Win32.System.Variant" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-ole.ienumvariant.0002040400000000c000000000000046.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/oaidl/nn-oaidl-ienumvariant" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "00020404-0000-0000-c000-000000000046", + "interface": { + "iid": "00020404-0000-0000-c000-000000000046", + "name": "IEnumVARIANT", + "namespace": "Windows.Win32.System.Ole" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgVar", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pCeltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "4C35E68EF228445F9A3A6EFBAA694180BE148AB8B373CCF7D44FA1313496448A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgVar:out:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pCeltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "PWSTR", + "namespace": "Windows.Win32.Foundation" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com.ienumstring.0000010100000000c000000000000046.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/objidl/nn-objidl-ienumstring" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "00000101-0000-0000-c000-000000000046", + "interface": { + "iid": "00000101-0000-0000-c000-000000000046", + "name": "IEnumString", + "namespace": "Windows.Win32.System.Com" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "72388B9445AD856FBE725F899C95BF425193DB1C005E35C024C9DACBFBE73FF2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Foundation.PWSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None:strings=Utf16/1/Mutable/CoTaskMemOwned,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "00000000-0000-0000-c000-000000000046", + "kind": "interface", + "name": "IUnknown", + "namespace": "Windows.Win32.System.Com" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com.ienumunknown.0000010000000000c000000000000046.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nn-unknwn-iunknown" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "00000100-0000-0000-c000-000000000046", + "interface": { + "iid": "00000100-0000-0000-c000-000000000046", + "name": "IEnumUnknown", + "namespace": "Windows.Win32.System.Com" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.System.Com.IUnknown", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D80E47767CFB85DA33273F7029C1639E8020D4EF2F41ECAE5AEA519B386B6EFB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.System.Com.IUnknown[Interface]{00000000-0000-0000-c000-000000000046}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "00000000-0000-0000-c000-000000000046", + "kind": "interface", + "name": "IUnknown", + "namespace": "Windows.Win32.System.Com" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-virtualdiskservice.ienumvdsobject.118610b78d944030b5b8500889788e4e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/vds/nn-vds-ienumvdsobject" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "118610b7-8d94-4030-b5b8-500889788e4e", + "interface": { + "iid": "118610b7-8d94-4030-b5b8-500889788e4e", + "name": "IEnumVdsObject", + "namespace": "Windows.Win32.Storage.VirtualDiskService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppObjectArray", + "nativeType": "Windows.Win32.System.Com.IUnknown", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "4CD3EDB2F3685F033CB1782A156D75A9F66261D4CFC7C67EF6333B840F4B7D45", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppObjectArray:out:required:noconstattr:Windows.Win32.System.Com.IUnknown[Interface]{00000000-0000-0000-c000-000000000046}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "00000000-0000-0000-c000-000000000046", + "kind": "interface", + "name": "IUnknown", + "namespace": "Windows.Win32.System.Com" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com-events.ienumeventobject.f4a07d632e2511d1996400c04fbbb345.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/eventsys/nn-eventsys-ienumeventobject" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "f4a07d63-2e25-11d1-9964-00c04fbbb345", + "interface": { + "iid": "f4a07d63-2e25-11d1-9964-00c04fbbb345", + "name": "IEnumEventObject", + "namespace": "Windows.Win32.System.Com.Events" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cReqElem", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppInterface", + "nativeType": "Windows.Win32.System.Com.IUnknown", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "cRetElem", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D32F48B0EF0813B061D9D42259768155095A96BF4B188DE2A0A1882EB5995275", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(cReqElem:in:required:noconstattr:u32/ptr0/Unspecified,ppInterface:out:required:noconstattr:Windows.Win32.System.Com.IUnknown[Interface]{00000000-0000-0000-c000-000000000046}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,cRetElem:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "d7540241-f9a1-4364-befc-dbcd2c4395b7", + "kind": "interface", + "name": "ITfCompositionView", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumitfcompositionview.5efd22ba783846cb88e2cadb14124f8f.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nn-msctf-ienumitfcompositionview" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "5efd22ba-7838-46cb-88e2-cadb14124f8f", + "interface": { + "iid": "5efd22ba-7838-46cb-88e2-cadb14124f8f", + "name": "IEnumITfCompositionView", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgCompositionView", + "nativeType": "Windows.Win32.UI.TextServices.ITfCompositionView", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "5F76EEC40A57EF4279BA08B34A3AAA6C3E53CAF8E69D1D2665EDF935F674BAD7", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,rgCompositionView:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfCompositionView[Interface]{d7540241-f9a1-4364-befc-dbcd2c4395b7}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "04c18ccf-1f57-4cbd-88cc-3900f5195ce3", + "kind": "interface", + "name": "ISearchRoot", + "namespace": "Windows.Win32.System.Search" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-search.ienumsearchroots.ab310581ac8011d18df300c04fb6ef52.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-ienumsearchroots-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "ab310581-ac80-11d1-8df3-00c04fb6ef52", + "interface": { + "iid": "ab310581-ac80-11d1-8df3-00c04fb6ef52", + "name": "IEnumSearchRoots", + "namespace": "Windows.Win32.System.Search" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.System.Search.ISearchRoot", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "02F98D9B634905E8579F88982808DC75FEB520996EA6F376BC63F21AA936DDFB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.System.Search.ISearchRoot[Interface]{04c18ccf-1f57-4cbd-88cc-3900f5195ce3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "ab310581-ac80-11d1-8df3-00c04fb6ef53", + "kind": "interface", + "name": "ISearchScopeRule", + "namespace": "Windows.Win32.System.Search" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-search.ienumsearchscoperules.ab310581ac8011d18df300c04fb6ef54.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-ienumsearchscoperules-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "ab310581-ac80-11d1-8df3-00c04fb6ef54", + "interface": { + "iid": "ab310581-ac80-11d1-8df3-00c04fb6ef54", + "name": "IEnumSearchScopeRules", + "namespace": "Windows.Win32.System.Search" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pprgelt", + "nativeType": "Windows.Win32.System.Search.ISearchScopeRule", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "429458F4776DDC8A4586DFA4938FCFA3F084D68204B47D852412985145C7F930", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pprgelt:out:required:noconstattr:Windows.Win32.System.Search.ISearchScopeRule[Interface]{ab310581-ac80-11d1-8df3-00c04fb6ef53}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "unknown", + "name": "Guid", + "namespace": "System" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-search.ienumsubscription.f72c8d976dbd11d1a1e800c04fc2fbe1.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "f72c8d97-6dbd-11d1-a1e8-00c04fc2fbe1", + "interface": { + "iid": "f72c8d97-6dbd-11d1-a1e8-00c04fc2fbe1", + "name": "IEnumSubscription", + "namespace": "Windows.Win32.System.Search" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "956DBBCF37F3D98B8028345F6F8146E3B0065A954A6681A79B19101C85DA08E2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:System.Guid[Unknown]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "7988b574-ec89-11cf-9c00-00aa00a14f56", + "kind": "interface", + "name": "IDiskQuotaUser", + "namespace": "Windows.Win32.Storage.FileSystem" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-filesystem.ienumdiskquotausers.7988b577ec8911cf9c0000aa00a14f56.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/dskquota/nf-dskquota-ienumdiskquotausers-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "7988b577-ec89-11cf-9c00-00aa00a14f56", + "interface": { + "iid": "7988b577-ec89-11cf-9c00-00aa00a14f56", + "name": "IEnumDiskQuotaUsers", + "namespace": "Windows.Win32.Storage.FileSystem" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cUsers", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgUsers", + "nativeType": "Windows.Win32.Storage.FileSystem.IDiskQuotaUser", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcUsersFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "256470DCDE77F224AB6852E307325A2B9BA98082A7A382F023A177AF757951EB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cUsers:in:required:noconstattr:u32/ptr0/Unspecified,rgUsers:out:required:noconstattr:Windows.Win32.Storage.FileSystem.IDiskQuotaUser[Interface]{7988b574-ec89-11cf-9c00-00aa00a14f56}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcUsersFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "BSTR", + "namespace": "Windows.Win32.Foundation" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-applicationinstallationandservicing.ienummsmstring.0adda8262c2611d2ad6500a0c9af11a6.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0adda826-2c26-11d2-ad65-00a0c9af11a6", + "interface": { + "iid": "0adda826-2c26-11d2-ad65-00a0c9af11a6", + "name": "IEnumMsmString", + "namespace": "Windows.Win32.System.ApplicationInstallationAndServicing" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFetch", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 1, + "name": "rgbstrStrings", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "924560F018DBF343BA191E2E2AAEC9A150DB1FD34DC8BA18A3F3F73E97D9BDD9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFetch:in:required:noconstattr:u32/ptr0/Unspecified,rgbstrStrings:inout:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None:free=SysFreeString,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "0adda828-2c26-11d2-ad65-00a0c9af11a6", + "kind": "interface", + "name": "IMsmError", + "namespace": "Windows.Win32.System.ApplicationInstallationAndServicing" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-applicationinstallationandservicing.ienummsmerror.0adda8292c2611d2ad6500a0c9af11a6.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0adda829-2c26-11d2-ad65-00a0c9af11a6", + "interface": { + "iid": "0adda829-2c26-11d2-ad65-00a0c9af11a6", + "name": "IEnumMsmError", + "namespace": "Windows.Win32.System.ApplicationInstallationAndServicing" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFetch", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgmsmErrors", + "nativeType": "Windows.Win32.System.ApplicationInstallationAndServicing.IMsmError", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "848077315F89A324C5363F0DCB1184AF8EEB1FDE49FDA0D7CF0D6A5546481694", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFetch:in:required:noconstattr:u32/ptr0/Unspecified,rgmsmErrors:out:required:noconstattr:Windows.Win32.System.ApplicationInstallationAndServicing.IMsmError[Interface]{0adda828-2c26-11d2-ad65-00a0c9af11a6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "0adda82b-2c26-11d2-ad65-00a0c9af11a6", + "kind": "interface", + "name": "IMsmDependency", + "namespace": "Windows.Win32.System.ApplicationInstallationAndServicing" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-applicationinstallationandservicing.ienummsmdependency.0adda82c2c2611d2ad6500a0c9af11a6.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0adda82c-2c26-11d2-ad65-00a0c9af11a6", + "interface": { + "iid": "0adda82c-2c26-11d2-ad65-00a0c9af11a6", + "name": "IEnumMsmDependency", + "namespace": "Windows.Win32.System.ApplicationInstallationAndServicing" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFetch", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgmsmDependencies", + "nativeType": "Windows.Win32.System.ApplicationInstallationAndServicing.IMsmDependency", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "2D9B57873B85827B9A67E02BBD142906145B576E11453302B872966112146CC1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFetch:in:required:noconstattr:u32/ptr0/Unspecified,rgmsmDependencies:out:required:noconstattr:Windows.Win32.System.ApplicationInstallationAndServicing.IMsmDependency[Interface]{0adda82b-2c26-11d2-ad65-00a0c9af11a6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "unknown", + "name": "Guid", + "namespace": "System" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-imapi.ienumdiscmasterformats.ddf445e154ba11d3914400104ba11c5e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "ddf445e1-54ba-11d3-9144-00104ba11c5e", + "interface": { + "iid": "ddf445e1-54ba-11d3-9144-00104ba11c5e", + "name": "IEnumDiscMasterFormats", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFormats", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "lpiidFormatID", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C38FA8D944062E7DD52D165BAA1226E6B509A692F2BFFF5F63B9B355C17DDC30", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFormats:in:required:noconstattr:u32/ptr0/Unspecified,lpiidFormatID:out:required:noconstattr:System.Guid[Unknown]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "85ac9776-ca88-4cf2-894e-09598c078a41", + "kind": "interface", + "name": "IDiscRecorder", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-imapi.ienumdiscrecorders.9b1921e154ac11d3914400104ba11c5e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "9b1921e1-54ac-11d3-9144-00104ba11c5e", + "interface": { + "iid": "9b1921e1-54ac-11d3-9144-00104ba11c5e", + "name": "IEnumDiscRecorders", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cRecorders", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppRecorder", + "nativeType": "Windows.Win32.Storage.Imapi.IDiscRecorder", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D3BD9E9D1660EE32B487A94C4A4DC1BB06B7B9874921C7EC11CF49813C781834", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cRecorders:in:required:noconstattr:u32/ptr0/Unspecified,ppRecorder:out:required:noconstattr:Windows.Win32.Storage.Imapi.IDiscRecorder[Interface]{85ac9776-ca88-4cf2-894e-09598c078a41}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "2c941fd5-975b-59be-a960-9a2a262853a5", + "kind": "interface", + "name": "IProgressItem", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-imapi.ienumprogressitems.2c941fd6975b59bea9609a2a262853a5.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ienumprogressitems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "2c941fd6-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fd6-975b-59be-a960-9a2a262853a5", + "name": "IEnumProgressItems", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Storage.Imapi.IProgressItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6B7C8C7276BE2597B76070619D0F9703DAFA6103BF1BFDF1C7ACE8DBA028B9A9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Storage.Imapi.IProgressItem[Interface]{2c941fd5-975b-59be-a960-9a2a262853a5}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "2c941fd9-975b-59be-a960-9a2a262853a5", + "kind": "interface", + "name": "IFsiItem", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-imapi.ienumfsiitems.2c941fda975b59bea9609a2a262853a5.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ienumfsiitems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "2c941fda-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fda-975b-59be-a960-9a2a262853a5", + "name": "IEnumFsiItems", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Storage.Imapi.IFsiItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "70DB642F6FCE559DDFF4D908DC71206F1B03A6624F6472195828C4C5085B4D77", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Storage.Imapi.IFsiItem[Interface]{2c941fd9-975b-59be-a960-9a2a262853a5}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "37668d37-507e-4160-9316-26306d150b12", + "kind": "interface", + "name": "IBackgroundCopyJob", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbackgroundcopyjobs.1af4f6123b71466f8f587b6f73ac57ad.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ienumbackgroundcopyjobs-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "1af4f612-3b71-466f-8f58-7b6f73ac57ad", + "interface": { + "iid": "1af4f612-3b71-466f-8f58-7b6f73ac57ad", + "name": "IEnumBackgroundCopyJobs", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Networking.BackgroundIntelligentTransferService.IBackgroundCopyJob", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3DA8BE15B79806671C7B4B9BE674F02ECB9AA3AF9FD035D07999C541EE895DA4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Networking.BackgroundIntelligentTransferService.IBackgroundCopyJob[Interface]{37668d37-507e-4160-9316-26306d150b12}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "unknown", + "name": "Guid", + "namespace": "System" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbackgroundcopygroups.d993e6034aa447c58665c20d39c2ba4f.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/qmgr/nf-qmgr-ienumbackgroundcopygroups-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "d993e603-4aa4-47c5-8665-c20d39c2ba4f", + "interface": { + "iid": "d993e603-4aa4-47c5-8665-c20d39c2ba4f", + "name": "IEnumBackgroundCopyGroups", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "956DBBCF37F3D98B8028345F6F8146E3B0065A954A6681A79B19101C85DA08E2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:System.Guid[Unknown]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "659cdea2-489e-11d9-a9cd-000d56965251", + "kind": "interface", + "name": "IBitsPeer", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbitspeers.659cdea5489e11d9a9cd000d56965251.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ienumbitspeers-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "659cdea5-489e-11d9-a9cd-000d56965251", + "interface": { + "iid": "659cdea5-489e-11d9-a9cd-000d56965251", + "name": "IEnumBitsPeers", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Networking.BackgroundIntelligentTransferService.IBitsPeer", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "49F022034CB899DF22138B3F417E281A53630883CD26E765C9AB3EFB6C28C37B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Networking.BackgroundIntelligentTransferService.IBitsPeer[Interface]{659cdea2-489e-11d9-a9cd-000d56965251}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "01b7bd23-fb88-4a77-8490-5891d3e4653a", + "kind": "interface", + "name": "IBackgroundCopyFile", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbackgroundcopyfiles.ca51e165c365424c8d4124aaa4ff3c40.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ienumbackgroundcopyfiles-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "ca51e165-c365-424c-8d41-24aaa4ff3c40", + "interface": { + "iid": "ca51e165-c365-424c-8d41-24aaa4ff3c40", + "name": "IEnumBackgroundCopyFiles", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Networking.BackgroundIntelligentTransferService.IBackgroundCopyFile", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "939DFD8ABF4F49CE338548312B0FF1E03778F841C40F8DC3B0905EF73229D6E3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Networking.BackgroundIntelligentTransferService.IBackgroundCopyFile[Interface]{01b7bd23-fb88-4a77-8490-5891d3e4653a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "659cdeaf-489e-11d9-a9cd-000d56965251", + "kind": "interface", + "name": "IBitsPeerCacheRecord", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbitspeercacherecords.659cdea4489e11d9a9cd000d56965251.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ienumbitspeercacherecords-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "659cdea4-489e-11d9-a9cd-000d56965251", + "interface": { + "iid": "659cdea4-489e-11d9-a9cd-000d56965251", + "name": "IEnumBitsPeerCacheRecords", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Networking.BackgroundIntelligentTransferService.IBitsPeerCacheRecord", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D355FEBF9EDC745AE79F25E34EFC5B92E95F15B6EDFAB20D8C510AF7AE7A2401", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Networking.BackgroundIntelligentTransferService.IBitsPeerCacheRecord[Interface]{659cdeaf-489e-11d9-a9cd-000d56965251}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "unknown", + "name": "Guid", + "namespace": "System" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networking-backgroundintelligenttransferservice.ienumbackgroundcopyjobs1.8baeba9d8f1c42c4b82c09ae79980d25.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/qmgr/nf-qmgr-ienumbackgroundcopyjobs1-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8baeba9d-8f1c-42c4-b82c-09ae79980d25", + "interface": { + "iid": "8baeba9d-8f1c-42c4-b82c-09ae79980d25", + "name": "IEnumBackgroundCopyJobs1", + "namespace": "Windows.Win32.Networking.BackgroundIntelligentTransferService" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "956DBBCF37F3D98B8028345F6F8146E3B0065A954A6681A79B19101C85DA08E2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:System.Guid[Unknown]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "88ec5e58-bb73-41d6-99ce-66c524b8b591", + "kind": "interface", + "name": "IGuideDataProperty", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienumguidedataproperties.ae44423b4571475cad2cf40a771d80ef.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bdatif/nf-bdatif-ienumguidedataproperties-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "ae44423b-4571-475c-ad2c-f40a771d80ef", + "interface": { + "iid": "ae44423b-4571-475c-ad2c-f40a771d80ef", + "name": "IEnumGuideDataProperties", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppprop", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.IGuideDataProperty", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcelt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C269F576697AB44CF3FF6A404F89BAE650DD683FE9AB48E10CBAAEFAB25CA42D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppprop:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.IGuideDataProperty[Interface]{88ec5e58-bb73-41d6-99ce-66c524b8b591}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcelt:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "1a5576fc-0e19-11d3-9d8e-00c04f72d980", + "kind": "interface", + "name": "IComponent", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienumcomponents.2a6e2939259511d3b64c00c04f79498e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumcomponents-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "2a6e2939-2595-11d3-b64c-00c04f79498e", + "interface": { + "iid": "2a6e2939-2595-11d3-b64c-00c04f79498e", + "name": "IEnumComponents", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.IComponent", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C2D059E76621FD9E34B236F48F981BC6B51A2F08728218C4BD862EC7BC0ECDFE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.IComponent[Interface]{1a5576fc-0e19-11d3-9d8e-00c04f72d980}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "238dec54-adeb-4005-a349-f772b9afebc4", + "kind": "interface", + "name": "IMSVidGraphSegment", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienummsvidgraphsegment.3dd2903ee0aa11d2b63a00c04f79498e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "3dd2903e-e0aa-11d2-b63a-00c04f79498e", + "interface": { + "iid": "3dd2903e-e0aa-11d2-b63a-00c04f79498e", + "name": "IEnumMSVidGraphSegment", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.IMSVidGraphSegment", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "16731ABFA21D68835A402C7F6CE8B849DE2F87AD9344C1818C637A44FAA1E007", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.IMSVidGraphSegment[Interface]{238dec54-adeb-4005-a349-f772b9afebc4}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "07ddc146-fc3d-11d2-9d8c-00c04f72d980", + "kind": "interface", + "name": "ITuneRequest", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienumtunerequests.1993299cced6478887a3420067dce0c7.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/bdatif/nf-bdatif-ienumtunerequests-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "1993299c-ced6-4788-87a3-420067dce0c7", + "interface": { + "iid": "1993299c-ced6-4788-87a3-420067dce0c7", + "name": "IEnumTuneRequests", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppprop", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.ITuneRequest", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcelt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "02EA5BDD168821F7930845E89C10C1F8838C6DC2A3857719CEB379096BEECFF4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppprop:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.ITuneRequest[Interface]{07ddc146-fc3d-11d2-9d8c-00c04f72d980}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcelt:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "061c6e30-e622-11d2-9493-00c04f72d980", + "kind": "interface", + "name": "ITuningSpace", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienumtuningspaces.8b8eb248fc2b11d29d8c00c04f72d980.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumtuningspaces-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8b8eb248-fc2b-11d2-9d8c-00c04f72d980", + "interface": { + "iid": "8b8eb248-fc2b-11d2-9d8c-00c04f72d980", + "name": "IEnumTuningSpaces", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.ITuningSpace", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D0320F218D17CA97993374FDE12107936BDED924C8D46FC4A9F7D022A2BA89B6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.ITuningSpace[Interface]{061c6e30-e622-11d2-9493-00c04f72d980}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "6a340dc0-0311-11d3-9d8e-00c04f72d980", + "kind": "interface", + "name": "IComponentType", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow-tv.ienumcomponenttypes.8a674b4a1f6311d3b64c00c04f79498e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumcomponenttypes-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8a674b4a-1f63-11d3-b64c-00c04f79498e", + "interface": { + "iid": "8a674b4a-1f63-11d3-b64c-00c04f79498e", + "name": "IEnumComponentTypes", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Media.DirectShow.Tv.IComponentType", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B7CDFFDC0208F60AAB3BE0483F83207A7A6988DF745E9FDD80E846E5A799AC68", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Media.DirectShow.Tv.IComponentType[Interface]{6a340dc0-0311-11d3-9d8e-00c04f72d980}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "MIMECPINFO", + "namespace": "Windows.Win32.Globalization" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-globalization.ienumcodepage.275c23e3374711d09fea00aa003f8646.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "275c23e3-3747-11d0-9fea-00aa003f8646", + "interface": { + "iid": "275c23e3-3747-11d0-9fea-00aa003f8646", + "name": "IEnumCodePage", + "namespace": "Windows.Win32.Globalization" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Globalization.MIMECPINFO", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "194C0FBF05A34A08C0B3F277603CCC991EEBE87E48A46ED40C813B584AF6FD4E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Globalization.MIMECPINFO[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "SCRIPTINFO", + "namespace": "Windows.Win32.Globalization" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-globalization.ienumscript.ae5f1430388b11d2838000c04f8f5da1.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "ae5f1430-388b-11d2-8380-00c04f8f5da1", + "interface": { + "iid": "ae5f1430-388b-11d2-8380-00c04f8f5da1", + "name": "IEnumScript", + "namespace": "Windows.Win32.Globalization" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Globalization.SCRIPTINFO", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CF094EFEE187D086369EECB6F812DBBDE9831213FA75AEFD13E9AC75E6E0CEFF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Globalization.SCRIPTINFO[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "RFC1766INFO", + "namespace": "Windows.Win32.Globalization" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-globalization.ienumrfc1766.3dc39d1dc03011d0b81b00c04fc9b31f.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "3dc39d1d-c030-11d0-b81b-00c04fc9b31f", + "interface": { + "iid": "3dc39d1d-c030-11d0-b81b-00c04fc9b31f", + "name": "IEnumRfc1766", + "namespace": "Windows.Win32.Globalization" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Globalization.RFC1766INFO", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "78DFEC8388E81CE13DD4495D5E1C90579E9903CD21F74566AD3003C2F24EF41B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Globalization.RFC1766INFO[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "c0e8ae94-306e-11d1-aacf-00805fc1270e", + "kind": "interface", + "name": "INetCfgBindingInterface", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-netmanagement.ienumnetcfgbindinginterface.c0e8ae90306e11d1aacf00805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c0e8ae90-306e-11d1-aacf-00805fc1270e", + "interface": { + "iid": "c0e8ae90-306e-11d1-aacf-00805fc1270e", + "name": "IEnumNetCfgBindingInterface", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.NetworkManagement.NetManagement.INetCfgBindingInterface", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "90B402F0DD1F0754048EBD60A71E4D29C92D02B0479FEB0D1B780F54FC99B55B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.NetworkManagement.NetManagement.INetCfgBindingInterface[Interface]{c0e8ae94-306e-11d1-aacf-00805fc1270e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "c0e8ae96-306e-11d1-aacf-00805fc1270e", + "kind": "interface", + "name": "INetCfgBindingPath", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-netmanagement.ienumnetcfgbindingpath.c0e8ae91306e11d1aacf00805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c0e8ae91-306e-11d1-aacf-00805fc1270e", + "interface": { + "iid": "c0e8ae91-306e-11d1-aacf-00805fc1270e", + "name": "IEnumNetCfgBindingPath", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.NetworkManagement.NetManagement.INetCfgBindingPath", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9100BA39653F917ADC5B6FEBD30AFAD59F7B66574C31A042B98A4C58E619C1C9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.NetworkManagement.NetManagement.INetCfgBindingPath[Interface]{c0e8ae96-306e-11d1-aacf-00805fc1270e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "c0e8ae99-306e-11d1-aacf-00805fc1270e", + "kind": "interface", + "name": "INetCfgComponent", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-netmanagement.ienumnetcfgcomponent.c0e8ae92306e11d1aacf00805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c0e8ae92-306e-11d1-aacf-00805fc1270e", + "interface": { + "iid": "c0e8ae92-306e-11d1-aacf-00805fc1270e", + "name": "IEnumNetCfgComponent", + "namespace": "Windows.Win32.NetworkManagement.NetManagement" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.NetworkManagement.NetManagement.INetCfgComponent", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FD501290AE35F507C17D46E49FE83C5E6714D3EA4614844928E51C29EAF5D2F7", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.NetworkManagement.NetManagement.INetCfgComponent[Interface]{c0e8ae99-306e-11d1-aacf-00805fc1270e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "WIA_FORMAT_INFO", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-imageacquisition.ienumwia-format-info.81befc5b656d44f1b24cd41d51b4dc81.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_format_info-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "81befc5b-656d-44f1-b24c-d41d51b4dc81", + "interface": { + "iid": "81befc5b-656d-44f1-b24c-d41d51b4dc81", + "name": "IEnumWIA_FORMAT_INFO", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Devices.ImageAcquisition.WIA_FORMAT_INFO", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "8E9BBC68CC1C088215C6764427A4A95DB4373BFD9CA34B024F285F9DA4FFDC04", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:inout:required:noconstattr:Windows.Win32.Devices.ImageAcquisition.WIA_FORMAT_INFO[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "6cba0075-1287-407d-9b77-cf0e030435cc", + "kind": "interface", + "name": "IWiaItem2", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-imageacquisition.ienumwiaitem2.59970af4cd0d44d9ab2452295630e582.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/wia/-wia-ienumwiaitem2-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "59970af4-cd0d-44d9-ab24-52295630e582", + "interface": { + "iid": "59970af4-cd0d-44d9-ab24-52295630e582", + "name": "IEnumWiaItem2", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppIWiaItem2", + "nativeType": "Windows.Win32.Devices.ImageAcquisition.IWiaItem2", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "52C965D5619FEC74722A11614CF96F1F7D9DF0B110599C36B7118301866C918F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,ppIWiaItem2:out:required:noconstattr:Windows.Win32.Devices.ImageAcquisition.IWiaItem2[Interface]{6cba0075-1287-407d-9b77-cf0e030435cc}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "98b5e8a0-29cc-491a-aac0-e6db4fdcceb6", + "kind": "interface", + "name": "IWiaPropertyStorage", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-imageacquisition.ienumwia-dev-info.5e38b83c8cf111d1bf920060081ed811.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_dev_info-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5e38b83c-8cf1-11d1-bf92-0060081ed811", + "interface": { + "iid": "5e38b83c-8cf1-11d1-bf92-0060081ed811", + "name": "IEnumWIA_DEV_INFO", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Devices.ImageAcquisition.IWiaPropertyStorage", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "15B67B005C8826834D8517A3FEA967E7EB11DB4F251B3C259B4E571C535F3FB8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Devices.ImageAcquisition.IWiaPropertyStorage[Interface]{98b5e8a0-29cc-491a-aac0-e6db4fdcceb6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "4db1ad10-3391-11d2-9a33-00c04fa36145", + "kind": "interface", + "name": "IWiaItem", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-imageacquisition.ienumwiaitem.5e8383fc339111d29a3300c04fa36145.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwiaitem-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5e8383fc-3391-11d2-9a33-00c04fa36145", + "interface": { + "iid": "5e8383fc-3391-11d2-9a33-00c04fa36145", + "name": "IEnumWiaItem", + "namespace": "Windows.Win32.Devices.ImageAcquisition" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppIWiaItem", + "nativeType": "Windows.Win32.Devices.ImageAcquisition.IWiaItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0784821FA9A60212E28BB68E1736A196167BE378625FDAEDA9777B8AFD4DF569", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppIWiaItem:out:required:noconstattr:Windows.Win32.Devices.ImageAcquisition.IWiaItem[Interface]{4db1ad10-3391-11d2-9a33-00c04fa36145}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "8f10cc29-cf0d-42a0-acbe-e2de7007384d", + "kind": "interface", + "name": "IDot11AdHocNetwork", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-wifi.ienumdot11adhocnetworks.8f10cc28cf0d42a0acbee2de7007384d.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocnetworks-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8f10cc28-cf0d-42a0-acbe-e2de7007384d", + "interface": { + "iid": "8f10cc28-cf0d-42a0-acbe-e2de7007384d", + "name": "IEnumDot11AdHocNetworks", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgElt", + "nativeType": "Windows.Win32.NetworkManagement.WiFi.IDot11AdHocNetwork", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "36106FC50146ECA46350D471B1BF2653DC329046A857D557761387ED94478810", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,rgElt:out:required:noconstattr:Windows.Win32.NetworkManagement.WiFi.IDot11AdHocNetwork[Interface]{8f10cc29-cf0d-42a0-acbe-e2de7007384d}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "8f10cc2b-cf0d-42a0-acbe-e2de7007384d", + "kind": "interface", + "name": "IDot11AdHocInterface", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-wifi.ienumdot11adhocinterfaces.8f10cc2ccf0d42a0acbee2de7007384d.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocinterfaces-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8f10cc2c-cf0d-42a0-acbe-e2de7007384d", + "interface": { + "iid": "8f10cc2c-cf0d-42a0-acbe-e2de7007384d", + "name": "IEnumDot11AdHocInterfaces", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgElt", + "nativeType": "Windows.Win32.NetworkManagement.WiFi.IDot11AdHocInterface", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "E7C523FBACE0E827753573B2AE1E683D2AEBD8B7904F941984027C84C0712DA9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,rgElt:out:required:noconstattr:Windows.Win32.NetworkManagement.WiFi.IDot11AdHocInterface[Interface]{8f10cc2b-cf0d-42a0-acbe-e2de7007384d}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "8f10cc2e-cf0d-42a0-acbe-e2de7007384d", + "kind": "interface", + "name": "IDot11AdHocSecuritySettings", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-wifi.ienumdot11adhocsecuritysettings.8f10cc2dcf0d42a0acbee2de7007384d.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocsecuritysettings-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "8f10cc2d-cf0d-42a0-acbe-e2de7007384d", + "interface": { + "iid": "8f10cc2d-cf0d-42a0-acbe-e2de7007384d", + "name": "IEnumDot11AdHocSecuritySettings", + "namespace": "Windows.Win32.NetworkManagement.WiFi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgElt", + "nativeType": "Windows.Win32.NetworkManagement.WiFi.IDot11AdHocSecuritySettings", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F9819564790D6DCAFCA5F90885C24ED8F445E569D369313816051CFFBE1C29C6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,rgElt:out:required:noconstattr:Windows.Win32.NetworkManagement.WiFi.IDot11AdHocSecuritySettings[Interface]{8f10cc2e-cf0d-42a0-acbe-e2de7007384d}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "aa80e7ff-2021-11d2-93e0-0060b067b86e", + "kind": "interface", + "name": "ITfRange", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfranges.f99d3f408e3211d2bf4600105a2799b5.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfranges-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "f99d3f40-8e32-11d2-bf46-00105a2799b5", + "interface": { + "iid": "f99d3f40-8e32-11d2-bf46-00105a2799b5", + "name": "IEnumTfRanges", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppRange", + "nativeType": "Windows.Win32.UI.TextServices.ITfRange", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CD8DB14465EF2379E4CCD72E42808E0D9549ECB0FDCE1A573663685FFB916E51", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppRange:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfRange[Interface]{aa80e7ff-2021-11d2-93e0-0060b067b86e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "70528852-2f26-4aea-8c96-215150578932", + "kind": "interface", + "name": "ITfDisplayAttributeInfo", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfdisplayattributeinfo.7cef04d7cb754e80a7ab5f5bc7d332de.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfdisplayattributeinfo-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "7cef04d7-cb75-4e80-a7ab-5f5bc7d332de", + "interface": { + "iid": "7cef04d7-cb75-4e80-a7ab-5f5bc7d332de", + "name": "IEnumTfDisplayAttributeInfo", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgInfo", + "nativeType": "Windows.Win32.UI.TextServices.ITfDisplayAttributeInfo", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "AAC793AAD2D7A55A6992E4A332837070335C4A43518B3E4C85462118C5368604", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,rgInfo:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfDisplayAttributeInfo[Interface]{70528852-2f26-4aea-8c96-215150578932}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "2433bf8e-0f9b-435c-ba2c-180611978c30", + "kind": "interface", + "name": "ITfContextView", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfcontextviews.f0c0f8ddcf3844e1bb0f68cf0d551c78.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78", + "interface": { + "iid": "f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78", + "name": "IEnumTfContextViews", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgViews", + "nativeType": "Windows.Win32.UI.TextServices.ITfContextView", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "4105FB9B27DF3BC5B62E2E83A6E137A44A6DE0C8995A5599B66B55FEF29292D9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,rgViews:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfContextView[Interface]{2433bf8e-0f9b-435c-ba2c-180611978c30}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "ea1ea137-19df-11d7-a6d2-00065b84435c", + "kind": "interface", + "name": "ITfUIElement", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfuielements.887aa91eacba493184da3c5208cf543f.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfuielements-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "887aa91e-acba-4931-84da-3c5208cf543f", + "interface": { + "iid": "887aa91e-acba-4931-84da-3c5208cf543f", + "name": "IEnumTfUIElements", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElement", + "nativeType": "Windows.Win32.UI.TextServices.ITfUIElement", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "659224C2971278508F5E6309D79CFC667A95E6F67D34DFD75F9F3B4CAF303F5E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppElement:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfUIElement[Interface]{ea1ea137-19df-11d7-a6d2-00065b84435c}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "581f317e-fd9d-443f-b972-ed00467c5d40", + "kind": "interface", + "name": "ITfCandidateString", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfcandidates.defb19266c804ce887d4d6b72b812bde.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/ctffunc/nf-ctffunc-ienumtfcandidates-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "defb1926-6c80-4ce8-87d4-d6b72b812bde", + "interface": { + "iid": "defb1926-6c80-4ce8-87d4-d6b72b812bde", + "name": "IEnumTfCandidates", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppCand", + "nativeType": "Windows.Win32.UI.TextServices.ITfCandidateString", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1A3696285F2294A217A6C58E10E4A3A53E1B763668E69350AB1CF5D3C18B1584", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppCand:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfCandidateString[Interface]{581f317e-fd9d-443f-b972-ed00467c5d40}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "73540d69-edeb-4ee9-96c9-23aa30b25916", + "kind": "interface", + "name": "ITfLangBarItem", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtflangbaritems.583f34d0de2511d2afdd00105a2799b5.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/ctfutb/nf-ctfutb-ienumtflangbaritems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "583f34d0-de25-11d2-afdd-00105a2799b5", + "interface": { + "iid": "583f34d0-de25-11d2-afdd-00105a2799b5", + "name": "IEnumTfLangBarItems", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppItem", + "nativeType": "Windows.Win32.UI.TextServices.ITfLangBarItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "EB63ADD08108441AC220405B96EA6E987DFD43DCAE278F482582131D462CD3FB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppItem:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfLangBarItem[Interface]{73540d69-edeb-4ee9-96c9-23aa30b25916}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "101d6610-0990-11d3-8df0-00105a2799b5", + "kind": "interface", + "name": "ITfFunctionProvider", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtffunctionproviders.e4b24db0099011d38df000105a2799b5.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtffunctionproviders-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "e4b24db0-0990-11d3-8df0-00105a2799b5", + "interface": { + "iid": "e4b24db0-0990-11d3-8df0-00105a2799b5", + "name": "IEnumTfFunctionProviders", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppCmdobj", + "nativeType": "Windows.Win32.UI.TextServices.ITfFunctionProvider", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetch", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "17CCCB269753A3377CA2F3B52F4732BD8A38DECE5F62CD0ABA6AFC2DCAF817BF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppCmdobj:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfFunctionProvider[Interface]{101d6610-0990-11d3-8df0-00105a2799b5}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetch:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "e2449660-9542-11d2-bf46-00105a2799b5", + "kind": "interface", + "name": "ITfProperty", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfproperties.19188cb0aca911d2afc500105a2799b5.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfproperties-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "19188cb0-aca9-11d2-afc5-00105a2799b5", + "interface": { + "iid": "19188cb0-aca9-11d2-afc5-00105a2799b5", + "name": "IEnumTfProperties", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppProp", + "nativeType": "Windows.Win32.UI.TextServices.ITfProperty", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6599E243339A70D4945CA3CED541A271CB6AEA98661ABAD4BC4DD44D20BC7203", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,ppProp:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfProperty[Interface]{e2449660-9542-11d2-bf46-00105a2799b5}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "aa80e7f4-2021-11d2-93e0-0060b067b86e", + "kind": "interface", + "name": "ITfDocumentMgr", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfdocumentmgrs.aa80e808202111d293e00060b067b86e.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfdocumentmgrs-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "aa80e808-2021-11d2-93e0-0060b067b86e", + "interface": { + "iid": "aa80e808-2021-11d2-93e0-0060b067b86e", + "name": "IEnumTfDocumentMgrs", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgDocumentMgr", + "nativeType": "Windows.Win32.UI.TextServices.ITfDocumentMgr", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FD282D421240C3018BD30A936A5126BD13C400F9AE9A4C8F3706657683C95508", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,rgDocumentMgr:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfDocumentMgr[Interface]{aa80e7f4-2021-11d2-93e0-0060b067b86e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "aa80e7fd-2021-11d2-93e0-0060b067b86e", + "kind": "interface", + "name": "ITfContext", + "namespace": "Windows.Win32.UI.TextServices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-textservices.ienumtfcontexts.8f1a7ea616544502a86eb2902344d507.next.slot-4.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfcontexts-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 4, + "declaringIid": "8f1a7ea6-1654-4502-a86e-b2902344d507", + "interface": { + "iid": "8f1a7ea6-1654-4502-a86e-b2902344d507", + "name": "IEnumTfContexts", + "namespace": "Windows.Win32.UI.TextServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ulCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgContext", + "nativeType": "Windows.Win32.UI.TextServices.ITfContext", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "697FFC80DEA0505CFD5FCDF4DADE872EA2B3EC64304C8409689C79CD867BCE37", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@4(ulCount:in:required:noconstattr:u32/ptr0/Unspecified,rgContext:out:required:noconstattr:Windows.Win32.UI.TextServices.ITfContext[Interface]{aa80e7fd-2021-11d2-93e0-0060b067b86e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "0000000f-0000-0000-c000-000000000046", + "kind": "interface", + "name": "IMoniker", + "namespace": "Windows.Win32.System.Com" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-com.ienummoniker.0000010200000000c000000000000046.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ienummoniker-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "00000102-0000-0000-c000-000000000046", + "interface": { + "iid": "00000102-0000-0000-c000-000000000046", + "name": "IEnumMoniker", + "namespace": "Windows.Win32.System.Com" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.System.Com.IMoniker", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F8D6EC1FCFE4452B7D16C961367245C1DECAFCFFE0EE3AB3EDF8F246D62D70A1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.System.Com.IMoniker[Interface]{0000000f-0000-0000-c000-000000000046}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "214141ae-33d7-4d8d-8e37-f227e880ce50", + "kind": "interface", + "name": "ISyncProviderConfigUIInfo", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumsyncproviderconfiguiinfos.f6be260217c64658a2d768ed3330f641.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncregistration/nf-syncregistration-ienumsyncproviderconfiguiinfos-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "f6be2602-17c6-4658-a2d7-68ed3330f641", + "interface": { + "iid": "f6be2602-17c6-4658-a2d7-68ed3330f641", + "name": "IEnumSyncProviderConfigUIInfos", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFactories", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppSyncProviderConfigUIInfo", + "nativeType": "Windows.Win32.System.WindowsSync.ISyncProviderConfigUIInfo", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F959A3073A5103F685AAA8ADDA5F3AEB5FBB5A928E46DA8C6928534F92EE01D5", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFactories:in:required:noconstattr:u32/ptr0/Unspecified,ppSyncProviderConfigUIInfo:out:required:noconstattr:Windows.Win32.System.WindowsSync.ISyncProviderConfigUIInfo[Interface]{214141ae-33d7-4d8d-8e37-f227e880ce50}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "892fb9b0-7c55-4a18-9316-fdf449569b64", + "kind": "interface", + "name": "ISingleItemException", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumsingleitemexceptions.e563381c1b4d4c669796c86faccdcd40.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsingleitemexceptions-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "e563381c-1b4d-4c66-9796-c86faccdcd40", + "interface": { + "iid": "e563381c-1b4d-4c66-9796-c86faccdcd40", + "name": "IEnumSingleItemExceptions", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cExceptions", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppSingleItemException", + "nativeType": "Windows.Win32.System.WindowsSync.ISingleItemException", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "7167F610F1BF156B7FDF7F0046A81FF0F2A1B7A7ADD8BDC6CADCA7BA32D1CAE3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cExceptions:in:required:noconstattr:u32/ptr0/Unspecified,ppSingleItemException:out:required:noconstattr:Windows.Win32.System.WindowsSync.ISingleItemException[Interface]{892fb9b0-7c55-4a18-9316-fdf449569b64}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "60edd8ca-7341-4bb7-95ce-fab6394b51cb", + "kind": "interface", + "name": "ISyncChangeUnit", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumsyncchangeunits.346b35f187034c6dab1a4dbca2cff97f.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsyncchangeunits-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "346b35f1-8703-4c6d-ab1a-4dbca2cff97f", + "interface": { + "iid": "346b35f1-8703-4c6d-ab1a-4dbca2cff97f", + "name": "IEnumSyncChangeUnits", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cChanges", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppChangeUnit", + "nativeType": "Windows.Win32.System.WindowsSync.ISyncChangeUnit", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0616732ADE2DF6652DD81A4FF2568A9D2F98B3FBDF45918B2D759E413FC6DB0C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cChanges:in:required:noconstattr:u32/ptr0/Unspecified,ppChangeUnit:out:required:noconstattr:Windows.Win32.System.WindowsSync.ISyncChangeUnit[Interface]{60edd8ca-7341-4bb7-95ce-fab6394b51cb}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "1ee135de-88a4-4504-b0d0-f7920d7e5ba6", + "kind": "interface", + "name": "ISyncProviderInfo", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumsyncproviderinfos.a04ba8505eb1460da973393fcb608a11.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncregistration/nf-syncregistration-ienumsyncproviderinfos-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "a04ba850-5eb1-460d-a973-393fcb608a11", + "interface": { + "iid": "a04ba850-5eb1-460d-a973-393fcb608a11", + "name": "IEnumSyncProviderInfos", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cInstances", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppSyncProviderInfo", + "nativeType": "Windows.Win32.System.WindowsSync.ISyncProviderInfo", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1B157689B1363BACB532A7D3AAA66D28E2BDEB59946FDFDF418F623EFF937ADD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cInstances:in:required:noconstattr:u32/ptr0/Unspecified,ppSyncProviderInfo:out:required:noconstattr:Windows.Win32.System.WindowsSync.ISyncProviderInfo[Interface]{1ee135de-88a4-4504-b0d0-f7920d7e5ba6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "e71c4250-adf8-4a07-8fae-5669596909c1", + "kind": "interface", + "name": "IClockVectorElement", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumclockvector.525844db283747999e8081a66e02220c.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumclockvector-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "525844db-2837-4799-9e80-81a66e02220c", + "interface": { + "iid": "525844db-2837-4799-9e80-81a66e02220c", + "name": "IEnumClockVector", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cClockVectorElements", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppiClockVectorElements", + "nativeType": "Windows.Win32.System.WindowsSync.IClockVectorElement", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CC4D5B454FEF3E0B673F296F8D986A67474309C9D3801792F793667F5112371B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cClockVectorElements:in:required:noconstattr:u32/ptr0/Unspecified,ppiClockVectorElements:out:required:noconstattr:Windows.Win32.System.WindowsSync.IClockVectorElement[Interface]{e71c4250-adf8-4a07-8fae-5669596909c1}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "0cd7ee7c-fec0-4021-99ee-f0e5348f2a5f", + "kind": "interface", + "name": "IChangeUnitException", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumchangeunitexceptions.3074e80293194420be211022e2e21da8.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumchangeunitexceptions-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "3074e802-9319-4420-be21-1022e2e21da8", + "interface": { + "iid": "3074e802-9319-4420-be21-1022e2e21da8", + "name": "IEnumChangeUnitExceptions", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cExceptions", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppChangeUnitException", + "nativeType": "Windows.Win32.System.WindowsSync.IChangeUnitException", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D97FE0868BF62723F1384ACE6300B0F5747C7FAB284CB8F7ADC1005FA2F20E1A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cExceptions:in:required:noconstattr:u32/ptr0/Unspecified,ppChangeUnitException:out:required:noconstattr:Windows.Win32.System.WindowsSync.IChangeUnitException[Interface]{0cd7ee7c-fec0-4021-99ee-f0e5348f2a5f}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "a1952beb-0f6b-4711-b136-01da85b968a6", + "kind": "interface", + "name": "ISyncChange", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumsyncchanges.5f86be4a5e784e32ac1cc24fd223ef85.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsyncchanges-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5f86be4a-5e78-4e32-ac1c-c24fd223ef85", + "interface": { + "iid": "5f86be4a-5e78-4e32-ac1c-c24fd223ef85", + "name": "IEnumSyncChanges", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cChanges", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppChange", + "nativeType": "Windows.Win32.System.WindowsSync.ISyncChange", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0FBC4C22EE794CF929D2EE76644B7569D22E82221EEA29B40ED2729FE7A9F962", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cChanges:in:required:noconstattr:u32/ptr0/Unspecified,ppChange:out:required:noconstattr:Windows.Win32.System.WindowsSync.ISyncChange[Interface]{a1952beb-0f6b-4711-b136-01da85b968a6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "75ae8777-6848-49f7-956c-a3a92f5096e8", + "kind": "interface", + "name": "IRangeException", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumrangeexceptions.0944439fddb14176b703046ff22a2386.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumrangeexceptions-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0944439f-ddb1-4176-b703-046ff22a2386", + "interface": { + "iid": "0944439f-ddb1-4176-b703-046ff22a2386", + "name": "IEnumRangeExceptions", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cExceptions", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppRangeException", + "nativeType": "Windows.Win32.System.WindowsSync.IRangeException", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "391220850B540B9C7A0EB249ED460F219AA5AF0DAEE8AF2D7FF08F97EC911D53", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cExceptions:in:required:noconstattr:u32/ptr0/Unspecified,ppRangeException:out:required:noconstattr:Windows.Win32.System.WindowsSync.IRangeException[Interface]{75ae8777-6848-49f7-956c-a3a92f5096e8}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "a40b46d2-e97b-4156-b6da-991f501b0f05", + "kind": "interface", + "name": "IFeedClockVectorElement", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-windowssync.ienumfeedclockvector.550f763d146a48f6abeb6c88c7f70514.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumfeedclockvector-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "550f763d-146a-48f6-abeb-6c88c7f70514", + "interface": { + "iid": "550f763d-146a-48f6-abeb-6c88c7f70514", + "name": "IEnumFeedClockVector", + "namespace": "Windows.Win32.System.WindowsSync" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cClockVectorElements", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppiClockVectorElements", + "nativeType": "Windows.Win32.System.WindowsSync.IFeedClockVectorElement", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CBB78B7712726159A11EDB747ADE6821F2CC97E6CC486CABAFFE5E3EB3FDE42A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cClockVectorElements:in:required:noconstattr:u32/ptr0/Unspecified,ppiClockVectorElements:out:required:noconstattr:Windows.Win32.System.WindowsSync.IFeedClockVectorElement[Interface]{a40b46d2-e97b-4156-b6da-991f501b0f05}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "14056589-e16c-11d2-bb90-00c04f8ee6c0", + "kind": "interface", + "name": "ISpObjectToken", + "namespace": "Windows.Win32.Media.Speech" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-speech.ienumspobjecttokens.06b64f9e7fda11d2b4f200c04f797396.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "06b64f9e-7fda-11d2-b4f2-00c04f797396", + "interface": { + "iid": "06b64f9e-7fda-11d2-b4f2-00c04f797396", + "name": "IEnumSpObjectTokens", + "namespace": "Windows.Win32.Media.Speech" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pelt", + "nativeType": "Windows.Win32.Media.Speech.ISpObjectToken", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "88D76EBF3C32D2775C675DE1664ABC3A7951CB89FB29DA7433247FDDA7BD0E17", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pelt:out:required:noconstattr:Windows.Win32.Media.Speech.ISpObjectToken[Interface]{14056589-e16c-11d2-bb90-00c04f8ee6c0}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "850af9d6-7309-40b5-bdb8-786c106b2153", + "kind": "interface", + "name": "IOpenServiceActivityCategory", + "namespace": "Windows.Win32.Web.InternetExplorer" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-web-internetexplorer.ienumopenserviceactivitycategory.33627a568c9a44308fd1b5f5c771afb6.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "33627a56-8c9a-4430-8fd1-b5f5c771afb6", + "interface": { + "iid": "33627a56-8c9a-4430-8fd1-b5f5c771afb6", + "name": "IEnumOpenServiceActivityCategory", + "namespace": "Windows.Win32.Web.InternetExplorer" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Web.InternetExplorer.IOpenServiceActivityCategory", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9DA184EC1D375D16E9A2DE3A6F7427268A81502239E328F400CF8B1FD4AC4864", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Web.InternetExplorer.IOpenServiceActivityCategory[Interface]{850af9d6-7309-40b5-bdb8-786c106b2153}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "13645c88-221a-4905-8ed1-4f5112cfc108", + "kind": "interface", + "name": "IOpenServiceActivity", + "namespace": "Windows.Win32.Web.InternetExplorer" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-web-internetexplorer.ienumopenserviceactivity.a436d7d217c34ef4a1e85c86faff26c0.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "a436d7d2-17c3-4ef4-a1e8-5c86faff26c0", + "interface": { + "iid": "a436d7d2-17c3-4ef4-a1e8-5c86faff26c0", + "name": "IEnumOpenServiceActivity", + "namespace": "Windows.Win32.Web.InternetExplorer" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Web.InternetExplorer.IOpenServiceActivity", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "AD8A164015325C1754A75F611EEEC7B73EEF623B574A92CDEB331FF7031701FE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Web.InternetExplorer.IOpenServiceActivity[Interface]{13645c88-221a-4905-8ed1-4f5112cfc108}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "56a86891-0ad4-11ce-b03a-0020af0ba770", + "kind": "interface", + "name": "IPin", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow.ienumpins.56a868920ad411ceb03a0020af0ba770.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ienumpins-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "56a86892-0ad4-11ce-b03a-0020af0ba770", + "interface": { + "iid": "56a86892-0ad4-11ce-b03a-0020af0ba770", + "name": "IEnumPins", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cPins", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppPins", + "nativeType": "Windows.Win32.Media.DirectShow.IPin", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "138906E681D16A827EE3AFE7E51A20FD53026F600D6A93415C4439ECCC8FB511", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cPins:in:required:noconstattr:u32/ptr0/Unspecified,ppPins:out:required:noconstattr:Windows.Win32.Media.DirectShow.IPin[Interface]{56a86891-0ad4-11ce-b03a-0020af0ba770}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "56a86895-0ad4-11ce-b03a-0020af0ba770", + "kind": "interface", + "name": "IBaseFilter", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-media-directshow.ienumfilters.56a868930ad411ceb03a0020af0ba770.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ienumfilters-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "56a86893-0ad4-11ce-b03a-0020af0ba770", + "interface": { + "iid": "56a86893-0ad4-11ce-b03a-0020af0ba770", + "name": "IEnumFilters", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cFilters", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppFilter", + "nativeType": "Windows.Win32.Media.DirectShow.IBaseFilter", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3595CFE663814C761275F87C1E9A03C05430256A9E872B9F2E2FE91B181BE99D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cFilters:in:required:noconstattr:u32/ptr0/Unspecified,ppFilter:out:required:noconstattr:Windows.Win32.Media.DirectShow.IBaseFilter[Interface]{56a86895-0ad4-11ce-b03a-0020af0ba770}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "5afc3149-4bcc-11d1-bf80-00805fc147d3", + "kind": "interface", + "name": "ITQueue", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-tapi.ienumqueue.5afc31584bcc11d1bf8000805fc147d3.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumqueue-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5afc3158-4bcc-11d1-bf80-00805fc147d3", + "interface": { + "iid": "5afc3158-4bcc-11d1-bf80-00805fc147d3", + "name": "IEnumQueue", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElements", + "nativeType": "Windows.Win32.Devices.Tapi.ITQueue", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "EDC7CF2A1C867DE2C693858A50690C42F199CBA06B9F15BF50500C14CB481181", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppElements:out:required:noconstattr:Windows.Win32.Devices.Tapi.ITQueue[Interface]{5afc3149-4bcc-11d1-bf80-00805fc147d3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "5afc3147-4bcc-11d1-bf80-00805fc147d3", + "kind": "interface", + "name": "ITAgentSession", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-tapi.ienumagentsession.5afc314e4bcc11d1bf8000805fc147d3.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagentsession-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5afc314e-4bcc-11d1-bf80-00805fc147d3", + "interface": { + "iid": "5afc314e-4bcc-11d1-bf80-00805fc147d3", + "name": "IEnumAgentSession", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElements", + "nativeType": "Windows.Win32.Devices.Tapi.ITAgentSession", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "304B4DF67158A73D31E4590C22F5345E96D488D7487C018E5B1F267F5E9C0946", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppElements:out:required:noconstattr:Windows.Win32.Devices.Tapi.ITAgentSession[Interface]{5afc3147-4bcc-11d1-bf80-00805fc147d3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "5afc3148-4bcc-11d1-bf80-00805fc147d3", + "kind": "interface", + "name": "ITACDGroup", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-tapi.ienumacdgroup.5afc31574bcc11d1bf8000805fc147d3.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumacdgroup-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5afc3157-4bcc-11d1-bf80-00805fc147d3", + "interface": { + "iid": "5afc3157-4bcc-11d1-bf80-00805fc147d3", + "name": "IEnumACDGroup", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElements", + "nativeType": "Windows.Win32.Devices.Tapi.ITACDGroup", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6E01E977EB83E9FF26B72E849954F7E3965E5EC550E414FB7DC8A54B284A0879", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppElements:out:required:noconstattr:Windows.Win32.Devices.Tapi.ITACDGroup[Interface]{5afc3148-4bcc-11d1-bf80-00805fc147d3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "5770ece5-4b27-11d1-bf80-00805fc147d3", + "kind": "interface", + "name": "ITAgent", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-tapi.ienumagent.5afc314d4bcc11d1bf8000805fc147d3.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagent-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "5afc314d-4bcc-11d1-bf80-00805fc147d3", + "interface": { + "iid": "5afc314d-4bcc-11d1-bf80-00805fc147d3", + "name": "IEnumAgent", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElements", + "nativeType": "Windows.Win32.Devices.Tapi.ITAgent", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D009C3882BB955B9FBC07C91BD9A154C2269F029B352D1357FB627A28D805AFD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppElements:out:required:noconstattr:Windows.Win32.Devices.Tapi.ITAgent[Interface]{5770ece5-4b27-11d1-bf80-00805fc147d3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "587e8c22-9802-11d1-a0a4-00805fc147d3", + "kind": "interface", + "name": "ITAgentHandler", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-tapi.ienumagenthandler.587e8c28980211d1a0a400805fc147d3.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagenthandler-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "587e8c28-9802-11d1-a0a4-00805fc147d3", + "interface": { + "iid": "587e8c28-9802-11d1-a0a4-00805fc147d3", + "name": "IEnumAgentHandler", + "namespace": "Windows.Win32.Devices.Tapi" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppElements", + "nativeType": "Windows.Win32.Devices.Tapi.ITAgentHandler", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6E66E36D4C71C0D209C95B5478914FD2564EEE237E4BC19206FEAF27A73DA5F3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppElements:out:required:noconstattr:Windows.Win32.Devices.Tapi.ITAgentHandler[Interface]{587e8c22-9802-11d1-a0a4-00805fc147d3}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "894ad3b0-ef97-11ce-9bc9-00aa00608e01", + "kind": "interface", + "name": "IOleUndoUnit", + "namespace": "Windows.Win32.System.Ole" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-ole.ienumoleundounits.b3e7c340ef9711ce9bc900aa00608e01.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/ocidl/nf-ocidl-ienumoleundounits-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "b3e7c340-ef97-11ce-9bc9-00aa00608e01", + "interface": { + "iid": "b3e7c340-ef97-11ce-9bc9-00aa00608e01", + "name": "IEnumOleUndoUnits", + "namespace": "Windows.Win32.System.Ole" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgElt", + "nativeType": "Windows.Win32.System.Ole.IOleUndoUnit", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "E55255E5532A89D397D6F08A24119CA7444FF5E74C7AF58C3A9F072029AB2432", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,rgElt:out:required:noconstattr:Windows.Win32.System.Ole.IOleUndoUnit[Interface]{894ad3b0-ef97-11ce-9bc9-00aa00608e01}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "b722bcc6-4e68-101b-a2bc-00aa00404770", + "kind": "interface", + "name": "IOleDocumentView", + "namespace": "Windows.Win32.System.Ole" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-ole.ienumoledocumentviews.b722bcc84e68101ba2bc00aa00404770.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/docobj/nf-docobj-ienumoledocumentviews-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "b722bcc8-4e68-101b-a2bc-00aa00404770", + "interface": { + "iid": "b722bcc8-4e68-101b-a2bc-00aa00404770", + "name": "IEnumOleDocumentViews", + "namespace": "Windows.Win32.System.Ole" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cViews", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgpView", + "nativeType": "Windows.Win32.System.Ole.IOleDocumentView", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "245698C4A4F80CBDD52CE7B9A0F03F87FE9C319FCBA59994B3560EB2D2654500", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cViews:in:required:noconstattr:u32/ptr0/Unspecified,rgpView:out:required:noconstattr:Windows.Win32.System.Ole.IOleDocumentView[Interface]{b722bcc6-4e68-101b-a2bc-00aa00404770}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "VARIANT", + "namespace": "Windows.Win32.System.Variant" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-windowsfirewall.ienumnetsharingprivateconnection.c08956b51cd311d1b1c500805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingprivateconnection-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c08956b5-1cd3-11d1-b1c5-00805fc1270e", + "interface": { + "iid": "c08956b5-1cd3-11d1-b1c5-00805fc1270e", + "name": "IEnumNetSharingPrivateConnection", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgVar", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pCeltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "4C35E68EF228445F9A3A6EFBAA694180BE148AB8B373CCF7D44FA1313496448A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgVar:out:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pCeltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "VARIANT", + "namespace": "Windows.Win32.System.Variant" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-windowsfirewall.ienumnetsharingpublicconnection.c08956b41cd311d1b1c500805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingpublicconnection-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c08956b4-1cd3-11d1-b1c5-00805fc1270e", + "interface": { + "iid": "c08956b4-1cd3-11d1-b1c5-00805fc1270e", + "name": "IEnumNetSharingPublicConnection", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgVar", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B527AF302D34104D1DBE106C776F6FC233036939D6318EEF0689B7FEE2F0B5B6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgVar:out:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "c08956a1-1cd3-11d1-b1c5-00805fc1270e", + "kind": "interface", + "name": "INetConnection", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-windowsfirewall.ienumnetconnection.c08956a01cd311d1b1c500805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c08956a0-1cd3-11d1-b1c5-00805fc1270e", + "interface": { + "iid": "c08956a0-1cd3-11d1-b1c5-00805fc1270e", + "name": "IEnumNetConnection", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.NetworkManagement.WindowsFirewall.INetConnection", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C48FCFEBC521ABD9451A98672CD50C2029EADF07FB7EE11650014A0DB0CEEEFF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.NetworkManagement.WindowsFirewall.INetConnection[Interface]{c08956a1-1cd3-11d1-b1c5-00805fc1270e}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "VARIANT", + "namespace": "Windows.Win32.System.Variant" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-windowsfirewall.ienumnetsharingeveryconnection.c08956b81cd311d1b1c500805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingeveryconnection-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c08956b8-1cd3-11d1-b1c5-00805fc1270e", + "interface": { + "iid": "c08956b8-1cd3-11d1-b1c5-00805fc1270e", + "name": "IEnumNetSharingEveryConnection", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgVar", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B527AF302D34104D1DBE106C776F6FC233036939D6318EEF0689B7FEE2F0B5B6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgVar:out:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "VARIANT", + "namespace": "Windows.Win32.System.Variant" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-networkmanagement-windowsfirewall.ienumnetsharingportmapping.c08956b01cd311d1b1c500805fc1270e.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingportmapping-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c08956b0-1cd3-11d1-b1c5-00805fc1270e", + "interface": { + "iid": "c08956b0-1cd3-11d1-b1c5-00805fc1270e", + "name": "IEnumNetSharingPortMapping", + "namespace": "Windows.Win32.NetworkManagement.WindowsFirewall" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgVar", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B527AF302D34104D1DBE106C776F6FC233036939D6318EEF0689B7FEE2F0B5B6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgVar:out:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "625e2df8-6392-4cf0-9ad1-3cfa5f17775c", + "kind": "interface", + "name": "IPortableDeviceConnector", + "namespace": "Windows.Win32.Devices.PortableDevices" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-devices-portabledevices.ienumportabledeviceconnectors.bfdef5499247454fbd8206fe80853faa.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/wpd_sdk/ienumportabledeviceconnectors-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "bfdef549-9247-454f-bd82-06fe80853faa", + "interface": { + "iid": "bfdef549-9247-454f-bd82-06fe80853faa", + "name": "IEnumPortableDeviceConnectors", + "namespace": "Windows.Win32.Devices.PortableDevices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cRequested", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pConnectors", + "nativeType": "Windows.Win32.Devices.PortableDevices.IPortableDeviceConnector", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pcFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "02F15534F4825784924A16DBAC2B3E8B9613309261F2ECB12DF5621E3ED50FE8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cRequested:in:required:noconstattr:u32/ptr0/Unspecified,pConnectors:out:required:noconstattr:Windows.Win32.Devices.PortableDevices.IPortableDeviceConnector[Interface]{625e2df8-6392-4cf0-9ad1-3cfa5f17775c}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "43826d1e-e718-42ee-bc55-a1e261c37bfe", + "kind": "interface", + "name": "IShellItem", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumshellitems.70629033e3634a28a5670db78006e6d7.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumshellitems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "70629033-e363-4a28-a567-0db78006e6d7", + "interface": { + "iid": "70629033-e363-4a28-a567-0db78006e6d7", + "name": "IEnumShellItems", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.UI.Shell.IShellItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9ED535273416220D7F7259217545E7CB0D4A07D2439367C2D9413E866A697934", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.UI.Shell.IShellItem[Interface]{43826d1e-e718-42ee-bc55-a1e261c37bfe}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "fee0ef8b-46bd-4db4-b7e6-ff2c687313bc", + "kind": "interface", + "name": "ISyncMgrEvent", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumsyncmgrevents.c81a1d4e8cf7468380e0bcae88d677b6.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrevents-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "c81a1d4e-8cf7-4683-80e0-bcae88d677b6", + "interface": { + "iid": "c81a1d4e-8cf7-4683-80e0-bcae88d677b6", + "name": "IEnumSyncMgrEvents", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.UI.Shell.ISyncMgrEvent", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "502AFA7CADEF7AE0766B7CEBDF2ED4B0F67A00459339A33D2E0FAE32C552FDC1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.UI.Shell.ISyncMgrEvent[Interface]{fee0ef8b-46bd-4db4-b7e6-ff2c687313bc}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8", + "kind": "interface", + "name": "ITravelLogEntry", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumtravellogentry.7ebfdd85ad1811d3a4c500c04f72d6b8.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8", + "interface": { + "iid": "7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8", + "name": "IEnumTravelLogEntry", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "cElt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgElt", + "nativeType": "Windows.Win32.UI.Shell.ITravelLogEntry", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pcEltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "355615E189E4D0D5932A17D1E7AE15C8EA3D66C73D82875ED36A76F7D48C5953", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(cElt:in:required:noconstattr:u32/ptr0/Unspecified,rgElt:out:required:noconstattr:Windows.Win32.UI.Shell.ITravelLogEntry[Interface]{7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pcEltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "9c204249-c443-4ba4-85ed-c972681db137", + "kind": "interface", + "name": "ISyncMgrConflict", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumsyncmgrconflict.82705914dda34893ba9949de6c8c8036.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrconflict-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "82705914-dda3-4893-ba99-49de6c8c8036", + "interface": { + "iid": "82705914-dda3-4893-ba99-49de6c8c8036", + "name": "IEnumSyncMgrConflict", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.UI.Shell.ISyncMgrConflict", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9C9ADE248BCBB88774BADE4BB2419ABC42E0F6268BF727E8DE052421BE36B255", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.UI.Shell.ISyncMgrConflict[Interface]{9c204249-c443-4ba4-85ed-c972681db137}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "b20b24ce-2593-4f04-bd8b-7ad6c45051cd", + "kind": "interface", + "name": "ISyncMgrSyncItem", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumsyncmgrsyncitems.54b3abf3f0854181b546e29c403c726b.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrsyncitems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "54b3abf3-f085-4181-b546-e29c403c726b", + "interface": { + "iid": "54b3abf3-f085-4181-b546-e29c403c726b", + "name": "IEnumSyncMgrSyncItems", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.UI.Shell.ISyncMgrSyncItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CA8EFBF9D1EBE96C82F861A28FA9A2E03771D53D7590049A85ED8A87BDA2928D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.UI.Shell.ISyncMgrSyncItem[Interface]{b20b24ce-2593-4f04-bd8b-7ad6c45051cd}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "f04061ac-1659-4a3f-a954-775aa57fc083", + "kind": "interface", + "name": "IAssocHandler", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumassochandlers.973810ae95994b889e4d6ee98c9552da.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumassochandlers-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "973810ae-9599-4b88-9e4d-6ee98c9552da", + "interface": { + "iid": "973810ae-9599-4b88-9e4d-6ee98c9552da", + "name": "IEnumAssocHandlers", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.UI.Shell.IAssocHandler", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "44A70FEC0161EE30D5987135C13AC079288234C4F421742AF2447764D2D72E9B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.UI.Shell.IAssocHandler[Interface]{f04061ac-1659-4a3f-a954-775aa57fc083}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "a08ce4d0-fa25-44ab-b57c-c7b1c323e0b9", + "kind": "interface", + "name": "IExplorerCommand", + "namespace": "Windows.Win32.UI.Shell" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": true, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-ui-shell.ienumexplorercommand.a88826f8186f4987aadeea0cef8fbfe8.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumexplorercommand-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "a88826f8-186f-4987-aade-ea0cef8fbfe8", + "interface": { + "iid": "a88826f8-186f-4987-aade-ea0cef8fbfe8", + "name": "IEnumExplorerCommand", + "namespace": "Windows.Win32.UI.Shell" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pUICommand", + "nativeType": "Windows.Win32.UI.Shell.IExplorerCommand", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "EF4BCCBD35A3C77B0DE2AB0FDC45CCB79DAB90545DA005A421CEF416AA12D845", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pUICommand:out:required:noconstattr:Windows.Win32.UI.Shell.IExplorerCommand[Interface]{a08ce4d0-fa25-44ab-b57c-c7b1c323e0b9}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:optional:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "51973c30-cb0c-11d0-b5c9-00a0244a0e7a", + "kind": "interface", + "name": "IRemoteDebugApplication", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-diagnostics-debug-activescript.ienumremotedebugapplications.51973c3bcb0c11d0b5c900a0244a0e7a.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51973c3b-cb0c-11d0-b5c9-00a0244a0e7a", + "interface": { + "iid": "51973c3b-cb0c-11d0-b5c9-00a0244a0e7a", + "name": "IEnumRemoteDebugApplications", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppda", + "nativeType": "Windows.Win32.System.Diagnostics.Debug.ActiveScript.IRemoteDebugApplication", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3E175B8C4259919BAECBCB2574A274D7802B3B2B220ED1B7C95E186C54B9FDB8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppda:out:required:noconstattr:Windows.Win32.System.Diagnostics.Debug.ActiveScript.IRemoteDebugApplication[Interface]{51973c30-cb0c-11d0-b5c9-00a0244a0e7a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "51973c15-cb0c-11d0-b5c9-00a0244a0e7a", + "kind": "interface", + "name": "IDebugExpressionContext", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-diagnostics-debug-activescript.ienumdebugexpressioncontexts.51973c40cb0c11d0b5c900a0244a0e7a.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51973c40-cb0c-11d0-b5c9-00a0244a0e7a", + "interface": { + "iid": "51973c40-cb0c-11d0-b5c9-00a0244a0e7a", + "name": "IEnumDebugExpressionContexts", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppdec", + "nativeType": "Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugExpressionContext", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "591E3931E648A36A5FF4E6B793AD9FA1FEEC839DADC283D241C96C770888DD6F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,ppdec:out:required:noconstattr:Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugExpressionContext[Interface]{51973c15-cb0c-11d0-b5c9-00a0244a0e7a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "51973c37-cb0c-11d0-b5c9-00a0244a0e7a", + "kind": "interface", + "name": "IRemoteDebugApplicationThread", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-diagnostics-debug-activescript.ienumremotedebugapplicationthreads.51973c3ccb0c11d0b5c900a0244a0e7a.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51973c3c-cb0c-11d0-b5c9-00a0244a0e7a", + "interface": { + "iid": "51973c3c-cb0c-11d0-b5c9-00a0244a0e7a", + "name": "IEnumRemoteDebugApplicationThreads", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pprdat", + "nativeType": "Windows.Win32.System.Diagnostics.Debug.ActiveScript.IRemoteDebugApplicationThread", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "5AC34B7AE322FD5B29E1B879C9813FCAF9BA94FAC643E993A75B62B7921FB075", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pprdat:out:required:noconstattr:Windows.Win32.System.Diagnostics.Debug.ActiveScript.IRemoteDebugApplicationThread[Interface]{51973c37-cb0c-11d0-b5c9-00a0244a0e7a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "51973c34-cb0c-11d0-b5c9-00a0244a0e7a", + "kind": "interface", + "name": "IDebugApplicationNode", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-diagnostics-debug-activescript.ienumdebugapplicationnodes.51973c3acb0c11d0b5c900a0244a0e7a.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51973c3a-cb0c-11d0-b5c9-00a0244a0e7a", + "interface": { + "iid": "51973c3a-cb0c-11d0-b5c9-00a0244a0e7a", + "name": "IEnumDebugApplicationNodes", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pprddp", + "nativeType": "Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugApplicationNode", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "F279D41A19DF7F4633911FB91BBA23B7E8FDEB085D593BA185A6C745B8137EB4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pprddp:out:required:noconstattr:Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugApplicationNode[Interface]{51973c34-cb0c-11d0-b5c9-00a0244a0e7a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "51973c13-cb0c-11d0-b5c9-00a0244a0e7a", + "kind": "interface", + "name": "IDebugCodeContext", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "evidenceSource": "com-standard", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-diagnostics-debug-activescript.ienumdebugcodecontexts.51973c1dcb0c11d0b5c900a0244a0e7a.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51973c1d-cb0c-11d0-b5c9-00a0244a0e7a", + "interface": { + "iid": "51973c1d-cb0c-11d0-b5c9-00a0244a0e7a", + "name": "IEnumDebugCodeContexts", + "namespace": "Windows.Win32.System.Diagnostics.Debug.ActiveScript" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pscc", + "nativeType": "Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugCodeContext", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "88CD5E7BD3B3AA192866A66E577A104C9A7F99B4946C1122416BE7B3DF030409", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,pscc:out:required:noconstattr:Windows.Win32.System.Diagnostics.Debug.ActiveScript.IDebugCodeContext[Interface]{51973c13-cb0c-11d0-b5c9-00a0244a0e7a}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "d871d3f7-f613-48a1-827e-7a34e560fff6", + "kind": "interface", + "name": "IOfflineFilesSetting", + "namespace": "Windows.Win32.Storage.OfflineFiles" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-offlinefiles.ienumofflinefilessettings.729680c41a3847bc9e5c02c51562ac30.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-ienumofflinefilessettings-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "729680c4-1a38-47bc-9e5c-02c51562ac30", + "interface": { + "iid": "729680c4-1a38-47bc-9e5c-02c51562ac30", + "name": "IEnumOfflineFilesSettings", + "namespace": "Windows.Win32.Storage.OfflineFiles" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Storage.OfflineFiles.IOfflineFilesSetting", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FB7AB50E8B19C0374B091BF257A5DFCFF9416AFEC52174977D263CD6195497D9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Storage.OfflineFiles.IOfflineFilesSetting[Interface]{d871d3f7-f613-48a1-827e-7a34e560fff6}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": "4a753da6-e044-4f12-a718-5d14d079a906", + "kind": "interface", + "name": "IOfflineFilesItem", + "namespace": "Windows.Win32.Storage.OfflineFiles" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-storage-offlinefiles.ienumofflinefilesitems.da70e815c3614407bc0b0d7046e5f2cd.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-ienumofflinefilesitems-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "da70e815-c361-4407-bc0b-0d7046e5f2cd", + "interface": { + "iid": "da70e815-c361-4407-bc0b-0d7046e5f2cd", + "name": "IEnumOfflineFilesItems", + "namespace": "Windows.Win32.Storage.OfflineFiles" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rgelt", + "nativeType": "Windows.Win32.Storage.OfflineFiles.IOfflineFilesItem", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "8B20582185F7CC0D62EF9AC06B5B04382A6F9351E80C12F1D68E4A84B5BA2905", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgelt:out:required:noconstattr:Windows.Win32.Storage.OfflineFiles.IOfflineFilesItem[Interface]{4a753da6-e044-4f12-a718-5d14d079a906}/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None,pceltFetched:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "capacityParameterIndex": 0, + "element": { + "iid": null, + "kind": "struct", + "name": "BSTR", + "namespace": "Windows.Win32.Foundation" + }, + "evidenceSource": "exact-registry", + "fetchedOptionalForSingle": false, + "fetchedParameterIndex": 2, + "hresult": "s-ok-s-false", + "valuesParameterIndex": 1 + }, + "entryId": "com.enumerator-next-exception.entry.windows-win32-system-componentservices.ienumnames.51372af2cae711cfbe8100aa00a2fa25.next.slot-3.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comsvcs/nf-comsvcs-ienumnames-next" + } + ], + "familyId": "com.enumerator-next-exception.v1", + "kind": "enumerator-next", + "reason": "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", + "selector": { + "absoluteSlot": 3, + "declaringIid": "51372af2-cae7-11cf-be81-00aa00a2fa25", + "interface": { + "iid": "51372af2-cae7-11cf-be81-00aa00a2fa25", + "name": "IEnumNames", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "Next", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "celt", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 1, + "name": "rgname", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pceltFetched", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3C930C86AA12B87617CD0F4D408BAFF69546C5BF26F70F82C609D3E3DCD257BA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Next@3(celt:in:required:noconstattr:u32/ptr0/Unspecified,rgname:inout:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:array=Some(0)/None/Elements/false/false/None:free=SysFreeString,pceltFetched:inout:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + } + ], + "schemaVersion": 2 +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/manifest.json b/tools/dynwinrt-codegen/contracts/classic-com/manifest.json index 3bbfafd3..12436d16 100644 --- a/tools/dynwinrt-codegen/contracts/classic-com/manifest.json +++ b/tools/dynwinrt-codegen/contracts/classic-com/manifest.json @@ -4,14 +4,58 @@ { "path": "conditional-outputs.json", "kind": "conditional-output", - "familyIds": ["wmi.conditional-output.v1"], + "familyIds": [ + "wmi.conditional-output.v1" + ], "sha256": "01E05134218C12F6E3BC0D0F6DBB6D19E40A553B3EA94266262CC0AC6D720B4C" }, { "path": "ownership-outputs.json", "kind": "ownership", - "familyIds": ["com.ownership.v1"], + "familyIds": [ + "com.ownership.v1" + ], "sha256": "0D3A9B890BD89710B47487DAF12A1860C02DEE25279D2A82C1D228FB3AE727E6" + }, + { + "path": "safearrays.json", + "kind": "safearray", + "familyIds": [ + "automation.safearray.v1" + ], + "sha256": "839CE7E1ECAA4EE1B340A1E1A237698C191E8FD83FEDAC578AEB2CA4FA98114C" + }, + { + "path": "null-inputs.json", + "kind": "null-input", + "familyIds": [ + "com.reserved-null-input.v1" + ], + "sha256": "9E8CFA9C2120F6B0B42E92F4562563E96FD0D005083D44DF9FA6478BA27B61EB" + }, + { + "path": "parameter-directions.json", + "kind": "parameter-direction", + "familyIds": [ + "com.parameter-direction.v1" + ], + "sha256": "4358A8441AC9FE8EE62E2CFCAD9B949ED3BA384BFDD4081A68CE1D31E2F508B3" + }, + { + "path": "borrowed-handles.json", + "kind": "borrowed-handle", + "familyIds": [ + "windows.borrowed-hwnd-output.v1" + ], + "sha256": "1639BC60E73897925D192453E3A1518F6E95A106AE3E242CD682395971EDC449" + }, + { + "path": "enumerators.json", + "kind": "enumerator-next", + "familyIds": [ + "com.enumerator-next-exception.v1" + ], + "sha256": "BAABAE6B25A575D54D774429B92BD9D2A970FCE1149234BB386160F62B1AB080" } ] } diff --git a/tools/dynwinrt-codegen/contracts/classic-com/null-inputs.json b/tools/dynwinrt-codegen/contracts/classic-com/null-inputs.json new file mode 100644 index 00000000..219de5ff --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/null-inputs.json @@ -0,0 +1,171 @@ +{ + "contracts": [ + { + "contract": { + "parameterIndex": 1, + "value": "native-null" + }, + "entryId": "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.openstream.slot-4.param-1-reserved1.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-openstream" + } + ], + "familyId": "com.reserved-null-input.v1", + "kind": "null-input", + "reason": "IStorage::OpenStream requires reserved1 to be native null", + "selector": { + "absoluteSlot": 4, + "declaringIid": "0000000b-0000-0000-c000-000000000046", + "interface": { + "iid": "0000000b-0000-0000-c000-000000000046", + "name": "IStorage", + "namespace": "Windows.Win32.System.Com.StructuredStorage" + }, + "method": "OpenStream", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": true, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pwcsName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "reserved1", + "nativeType": "void", + "optional": true, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "grfMode", + "nativeType": "Windows.Win32.System.Com.STGM", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "reserved2", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppstm", + "nativeType": "Windows.Win32.System.Com.IStream", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "A72D743B32CCE55D17F522F6695095CF08BBCDCF4FA54E29E3275B24B30716F0" + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "parameterIndex": 1, + "value": "native-null" + }, + "entryId": "com.reserved-null-input.entry.windows-win32-system-com-structuredstorage.istorage.0000000b00000000c000000000000046.enumelements.slot-11.param-1-reserved2.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-istorage-enumelements" + } + ], + "familyId": "com.reserved-null-input.v1", + "kind": "null-input", + "reason": "IStorage::EnumElements requires reserved2 to be native null", + "selector": { + "absoluteSlot": 11, + "declaringIid": "0000000b-0000-0000-c000-000000000046", + "interface": { + "iid": "0000000b-0000-0000-c000-000000000046", + "name": "IStorage", + "namespace": "Windows.Win32.System.Com.StructuredStorage" + }, + "method": "EnumElements", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "reserved1", + "nativeType": "u32", + "optional": true, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "reserved2", + "nativeType": "void", + "optional": true, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "reserved3", + "nativeType": "u32", + "optional": true, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppenum", + "nativeType": "Windows.Win32.System.Com.StructuredStorage.IEnumSTATSTG", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "77D49C81B42D6B6961239D06E42A8728EC4CDDDFFF0A0174DD3FC248D17071C6" + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + } + ], + "schemaVersion": 2 +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/parameter-directions.json b/tools/dynwinrt-codegen/contracts/classic-com/parameter-directions.json new file mode 100644 index 00000000..3cc3cf28 --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/parameter-directions.json @@ -0,0 +1,209 @@ +{ + "contracts": [ + { + "contract": { + "direction": "out", + "parameterIndex": 3 + }, + "entryId": "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getstring.slot-12.param-3-pcchlength.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getstring" + } + ], + "familyId": "com.parameter-direction.v1", + "kind": "parameter-direction", + "reason": "IMFAttributes::GetString documents pcchLength as an optional pure output length", + "selector": { + "absoluteSlot": 12, + "declaringIid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "interface": { + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "name": "IMFAttributes", + "namespace": "Windows.Win32.Media.MediaFoundation" + }, + "method": "GetString", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": true, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "guidKey", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "out", + "index": 1, + "name": "pwszValue", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "cchBufSize", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 3, + "name": "pcchLength", + "nativeType": "u32", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CF4D9EAF95123257840355F21F0623E137623EF95D205B63D5B1BB8758328DB0" + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "direction": "out", + "parameterIndex": 1 + }, + "entryId": "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitem.slot-3.param-1-pvalue.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitem" + } + ], + "familyId": "com.parameter-direction.v1", + "kind": "parameter-direction", + "reason": "IMFAttributes::GetItem documents pValue as an optional pure output copy initialized by the method", + "selector": { + "absoluteSlot": 3, + "declaringIid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "interface": { + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "name": "IMFAttributes", + "namespace": "Windows.Win32.Media.MediaFoundation" + }, + "method": "GetItem", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": true, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "guidKey", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 1, + "name": "pValue", + "nativeType": "Windows.Win32.System.Com.StructuredStorage.PROPVARIANT", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0D8781FF90DF92EA09042A8386C01B7E8DEE1B2E546B3E616D2498896330BDF0" + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "direction": "out", + "parameterIndex": 2 + }, + "entryId": "com.parameter-direction.entry.windows-win32-media-mediafoundation.imfattributes.2cd2d921c44744a7a13c4adabfc247e3.getitembyindex.slot-31.param-2-pvalue.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mfobjects/nf-mfobjects-imfattributes-getitembyindex" + } + ], + "familyId": "com.parameter-direction.v1", + "kind": "parameter-direction", + "reason": "IMFAttributes::GetItemByIndex documents pValue as an optional pure output copy initialized by the method", + "selector": { + "absoluteSlot": 31, + "declaringIid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "interface": { + "iid": "2cd2d921-c447-44a7-a13c-4adabfc247e3", + "name": "IMFAttributes", + "namespace": "Windows.Win32.Media.MediaFoundation" + }, + "method": "GetItemByIndex", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "unIndex", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pguidKey", + "nativeType": "System.Guid", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "pValue", + "nativeType": "Windows.Win32.System.Com.StructuredStorage.PROPVARIANT", + "optional": true, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1D349D3E79CC839831A7F6E87CC2656C2D153A136CB397815850D2417B880DAE" + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + } + ], + "schemaVersion": 2 +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/safearrays.json b/tools/dynwinrt-codegen/contracts/classic-com/safearrays.json new file mode 100644 index 00000000..121b3c05 --- /dev/null +++ b/tools/dynwinrt-codegen/contracts/classic-com/safearrays.json @@ -0,0 +1,14557 @@ +{ + "contracts": [ + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-media-directshow.iesevent.1f0e5357af4344e68547654c645145d2.getdata.slot-6.param-0-pbdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesevent-getdata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IESEvent::GetData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 6, + "declaringIid": "1f0e5357-af43-44e6-8547-654c645145d2", + "interface": { + "iid": "1f0e5357-af43-44e6-8547-654c645145d2", + "name": "IESEvent", + "namespace": "Windows.Win32.Media.DirectShow" + }, + "method": "GetData", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pbData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "DC30385DC81BC51C1F70330F35DC92321655B55089C0FF65FB0DC1301F6BABD5", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetData@6(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-media-directshow-tv.iesisdbcasresponseevent.2017cb03dc0f4c2483ca36307b2cd19f.getresponsedata.slot-11.param-0-pbdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesisdbcasresponseevent-getresponsedata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IESIsdbCasResponseEvent::GetResponseData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 11, + "declaringIid": "2017cb03-dc0f-4c24-83ca-36307b2cd19f", + "interface": { + "iid": "2017cb03-dc0f-4c24-83ca-36307b2cd19f", + "name": "IESIsdbCasResponseEvent", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "GetResponseData", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pbData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "36FE60E2B42BBA4AF9A4F3BC6F11B12C03462F575B01C9EC14147208CB89517A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetResponseData@11(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-media-directshow-tv.ieslicenserenewalresultevent.d5a48ef5a81b4df0acaa5e35e7ea45d4.getentitlementtoken.slot-17.param-0-pbdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ieslicenserenewalresultevent-getentitlementtoken" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IESLicenseRenewalResultEvent::GetEntitlementToken parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 17, + "declaringIid": "d5a48ef5-a81b-4df0-acaa-5e35e7ea45d4", + "interface": { + "iid": "d5a48ef5-a81b-4df0-acaa-5e35e7ea45d4", + "name": "IESLicenseRenewalResultEvent", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "GetEntitlementToken", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pbData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "489E9C09D1130E70841A8227741209B0502FF3BADF0577C100499B3A6D5F5818", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEntitlementToken@17(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-media-directshow-tv.iesopenmmievent.ba4b65261a3546358b563ec612746a8c.getdialogdata.slot-10.param-0-pbdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesopenmmievent-getdialogdata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IESOpenMmiEvent::GetDialogData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 10, + "declaringIid": "ba4b6526-1a35-4635-8b56-3ec612746a8c", + "interface": { + "iid": "ba4b6526-1a35-4635-8b56-3ec612746a8c", + "name": "IESOpenMmiEvent", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "GetDialogData", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pbData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "8A3CEA977E7E4B371D2DD41925BF6BF4A5DFC2CD9F4286559FB592BC5A180BB3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetDialogData@10(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-media-directshow-tv.iesvalueupdatedevent.8a24c46ebb63466486025d9c718c146d.getvaluenames.slot-8.param-0-pbstrnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesvalueupdatedevent-getvaluenames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IESValueUpdatedEvent::GetValueNames parameter pbstrNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 8, + "declaringIid": "8a24c46e-bb63-4664-8602-5d9c718c146d", + "interface": { + "iid": "8a24c46e-bb63-4664-8602-5d9c718c146d", + "name": "IESValueUpdatedEvent", + "namespace": "Windows.Win32.Media.DirectShow.Tv" + }, + "method": "GetValueNames", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pbstrNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "01A350FD39388531E649AE1EF01BAF247C0B3DE68261B36CC5BAE0F32CA4A8E2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetValueNames@8(pbstrNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "dcbbbab6-200d-4bbb-aaee-338e368af6fa", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnconnectionmanager.dcbbbab6201d4bbbaaee338e368af6fa.getconnections.slot-4.param-0-mbnconnections.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectionmanager-getconnections" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnConnectionManager::GetConnections parameter mbnConnections as SAFEARRAY(IMbnConnection*), requiring VT_UNKNOWN with IID dcbbbab6-200d-4bbb-aaee-338e368af6fa", + "selector": { + "absoluteSlot": 4, + "declaringIid": "dcbbbab6-201d-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-201d-4bbb-aaee-338e368af6fa", + "name": "IMbnConnectionManager", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "GetConnections", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "mbnConnections", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "30F54D6CA7A4BF8E1EED864C497B35697691690F38946D800B41B218908CD0EA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetConnections@4(mbnConnections:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "dcbbbab6-2010-4bbb-aaee-338e368af6fa", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnconnectionprofilemanager.dcbbbab6200f4bbbaaee338e368af6fa.getconnectionprofiles.slot-3.param-1-connectionprofiles.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectionprofilemanager-getconnectionprofiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnConnectionProfileManager::GetConnectionProfiles parameter connectionProfiles as SAFEARRAY(IMbnConnectionProfile*), requiring VT_UNKNOWN with IID dcbbbab6-2010-4bbb-aaee-338e368af6fa", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-200f-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-200f-4bbb-aaee-338e368af6fa", + "name": "IMbnConnectionProfileManager", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "GetConnectionProfiles", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "mbnInterface", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnInterface", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "connectionProfiles", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "B596F8AD53687808349E8EA1484564CF2E091CC9FCA5AEE1CF58205515B9EBB6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetConnectionProfiles@3(mbnInterface:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnInterface[Interface]{dcbbbab6-2001-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,connectionProfiles:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservice.b3bb9a71dc704be9a4da7886ae8b191b.setcommand.slot-6.param-1-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-setcommand" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceService::SetCommand parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 6, + "declaringIid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "interface": { + "iid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "name": "IMbnDeviceService", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "SetCommand", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "commandID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "69E0741BFBEF098A1987798C1C3CB1FD78DD6707B4E6082E7B67C593D7BAADCD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SetCommand@6(commandID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservice.b3bb9a71dc704be9a4da7886ae8b191b.querycommand.slot-7.param-1-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-querycommand" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceService::QueryCommand parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 7, + "declaringIid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "interface": { + "iid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "name": "IMbnDeviceService", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "QueryCommand", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "commandID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B8F05378F574418FDC59A788D2484FA3A4C23016C0C3401DD203B546BDFFFBC8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "QueryCommand@7(commandID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservice.b3bb9a71dc704be9a4da7886ae8b191b.writedata.slot-10.param-0-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-writedata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceService::WriteData parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 10, + "declaringIid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "interface": { + "iid": "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", + "name": "IMbnDeviceService", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "WriteData", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CE541140D04E8D73B8028A5DDEA033646184E3470B567700804682DDF7B06759", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "WriteData@10(deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservicesevents.0a900c1968244e97b76ecf239d0ca642.onquerysupportedcommandscomplete.slot-3.param-1-commandidlist.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onquerysupportedcommandscomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnQuerySupportedCommandsComplete parameter commandIDList as SAFEARRAY(ULONG), requiring VT_UI4", + "selector": { + "absoluteSlot": 3, + "declaringIid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "interface": { + "iid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "name": "IMbnDeviceServicesEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnQuerySupportedCommandsComplete", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "deviceService", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "commandIDList", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "status", + "nativeType": "Windows.Win32.Foundation.HRESULT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "91844CB67EF2550C5DAF4D994926460E9591F8AD0F99C9B3E610B7764CA45252", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnQuerySupportedCommandsComplete@3(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,commandIDList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservicesevents.0a900c1968244e97b76ecf239d0ca642.onsetcommandcomplete.slot-6.param-2-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onsetcommandcomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnSetCommandComplete parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 6, + "declaringIid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "interface": { + "iid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "name": "IMbnDeviceServicesEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnSetCommandComplete", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "deviceService", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "responseID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "status", + "nativeType": "Windows.Win32.Foundation.HRESULT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "B46D8A58B7EBE74738847063BDFE3FA73FE19B3384025532C51BF1291DEE5C68", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnSetCommandComplete@6(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,responseID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservicesevents.0a900c1968244e97b76ecf239d0ca642.onquerycommandcomplete.slot-7.param-2-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onquerycommandcomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnQueryCommandComplete parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 7, + "declaringIid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "interface": { + "iid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "name": "IMbnDeviceServicesEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnQueryCommandComplete", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "deviceService", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "responseID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "status", + "nativeType": "Windows.Win32.Foundation.HRESULT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "4D3E0A793AEC71797B333AED9F06AAB8744FD8AE92E2232B86248BAE7D08E52A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnQueryCommandComplete@7(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,responseID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservicesevents.0a900c1968244e97b76ecf239d0ca642.oneventnotification.slot-8.param-2-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-oneventnotification" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnEventNotification parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 8, + "declaringIid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "interface": { + "iid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "name": "IMbnDeviceServicesEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnEventNotification", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "deviceService", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "eventID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "64F4C003969BE42948EE51310A63F4E65323C92C8174EF60C15CEC34C6EBC3C0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnEventNotification@8(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,eventID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbndeviceservicesevents.0a900c1968244e97b76ecf239d0ca642.onreaddata.slot-12.param-1-deviceservicedata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onreaddata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnReadData parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 12, + "declaringIid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "interface": { + "iid": "0a900c19-6824-4e97-b76e-cf239d0ca642", + "name": "IMbnDeviceServicesEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnReadData", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "deviceService", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "deviceServiceData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1EE7926F98A5871928A92178E80F79E30C5871AC23B141DE954E40D69339AB82", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnReadData@12(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "dcbbbab6-2001-4bbb-aaee-338e368af6fa", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbninterfacemanager.dcbbbab6201b4bbbaaee338e368af6fa.getinterfaces.slot-4.param-0-mbninterfaces.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbninterfacemanager-getinterfaces" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnInterfaceManager::GetInterfaces parameter mbnInterfaces as SAFEARRAY(IMbnInterface*), requiring VT_UNKNOWN with IID dcbbbab6-2001-4bbb-aaee-338e368af6fa", + "selector": { + "absoluteSlot": 4, + "declaringIid": "dcbbbab6-201b-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-201b-4bbb-aaee-338e368af6fa", + "name": "IMbnInterfaceManager", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "GetInterfaces", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "mbnInterfaces", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3AB3EE7CDDDC551161DC52539DFE7320C798ACD8385B7188BBBA7A6962AC70B1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetInterfaces@4(mbnInterfaces:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnmulticarrier.dcbbbab620204bbbaaee338e368af6fa.getsupportedcellularclasses.slot-6.param-0-cellularclasses.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnmulticarrier-getsupportedcellularclasses" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnMultiCarrier::GetSupportedCellularClasses parameter cellularClasses as SAFEARRAY(MBN_CELLULAR_CLASS), requiring VT_I4", + "selector": { + "absoluteSlot": 6, + "declaringIid": "dcbbbab6-2020-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2020-4bbb-aaee-338e368af6fa", + "name": "IMbnMultiCarrier", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "GetSupportedCellularClasses", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "cellularClasses", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "337E1A3007F57E32AEE2F72ACC551927CE40CB0BEE4ACA1DE69FD465265934C3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSupportedCellularClasses@6(cellularClasses:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "dcbbbab6-2007-4bbb-aaee-338e368af6fa", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnpinmanager.dcbbbab620054bbbaaee338e368af6fa.getpinlist.slot-3.param-0-pinlist.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinmanager-getpinlist" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnPinManager::GetPinList parameter pinList as SAFEARRAY(IMbnPin*), requiring VT_UNKNOWN with IID dcbbbab6-2007-4bbb-aaee-338e368af6fa", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-2005-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2005-4bbb-aaee-338e368af6fa", + "name": "IMbnPinManager", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "GetPinList", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pinList", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "93869F7C5D666776BD9A79E01DF2102A1D5D877AC69E958E3170A5BDD525ED99", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetPinList@3(pinList:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnserviceactivation.dcbbbab620174bbbaaee338e368af6fa.activate.slot-3.param-0-vendorspecificdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivation-activate" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnServiceActivation::Activate parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-2017-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2017-4bbb-aaee-338e368af6fa", + "name": "IMbnServiceActivation", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "Activate", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "vendorSpecificData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "DB70A46828D9AA520F491DA073CB18A59C772E8D3BEC6524422EB25457AF3BEC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "Activate@3(vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnserviceactivationevents.dcbbbab620184bbbaaee338e368af6fa.onactivationcomplete.slot-3.param-1-vendorspecificdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivationevents-onactivationcomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnServiceActivationEvents::OnActivationComplete parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-2018-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2018-4bbb-aaee-338e368af6fa", + "name": "IMbnServiceActivationEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnActivationComplete", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "serviceActivation", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnServiceActivation", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "vendorSpecificData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "status", + "nativeType": "Windows.Win32.Foundation.HRESULT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "networkError", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "9CB283B49E847118E3FCFACAD85E7FA14622884F293D12BF28D60436B2B9DBA1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnActivationComplete@3(serviceActivation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnServiceActivation[Interface]{dcbbbab6-2017-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:in:required:noconstattr:u32/ptr0/Unspecified,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,networkError:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 4 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsms.dcbbbab620154bbbaaee338e368af6fa.smssendcdma.slot-6.param-4-message.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsms-smssendcdma" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSms::SmsSendCdma parameter message as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 6, + "declaringIid": "dcbbbab6-2015-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2015-4bbb-aaee-338e368af6fa", + "name": "IMbnSms", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "SmsSendCdma", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": true, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "address", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "encoding", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_ENCODING", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "language", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_LANG", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "sizeInCharacters", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 4, + "name": "message", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "EF406B256E3196F414D69EF98AC4BAA546FDC2E569C883EE79D0C1E11FEC5123", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SmsSendCdma@6(address:in:required:constattr:Windows.Win32.Foundation.PWSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,encoding:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_ENCODING[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,language:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_LANG[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,sizeInCharacters:in:required:noconstattr:u32/ptr0/Unspecified,message:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsms.dcbbbab620154bbbaaee338e368af6fa.smssendcdmapdu.slot-7.param-0-message.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsms-smssendcdmapdu" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSms::SmsSendCdmaPdu parameter message as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 7, + "declaringIid": "dcbbbab6-2015-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2015-4bbb-aaee-338e368af6fa", + "name": "IMbnSms", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "SmsSendCdmaPdu", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "message", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "12FC234DFCA3BBFC450B766B411830E3EEE4039CDC4C36812E415966545A09B8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SmsSendCdmaPdu@7(message:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "00000000-0000-0000-c000-000000000046", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsmsevents.dcbbbab620164bbbaaee338e368af6fa.onsmsreadcomplete.slot-6.param-2-readmsgs.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsreadcomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSmsEvents::OnSmsReadComplete parameter readMsgs as SAFEARRAY(IUnknown*), requiring VT_UNKNOWN with IID 00000000-0000-0000-c000-000000000046", + "selector": { + "absoluteSlot": 6, + "declaringIid": "dcbbbab6-2016-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2016-4bbb-aaee-338e368af6fa", + "name": "IMbnSmsEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnSmsReadComplete", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "sms", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "smsFormat", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "readMsgs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "moreMsgs", + "nativeType": "Windows.Win32.Foundation.VARIANT_BOOL", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 5, + "name": "status", + "nativeType": "Windows.Win32.Foundation.HRESULT", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "E8CD97B65C4D255549C3FBB537F1DA9D86000BE54D002597CA9BE2F5EAC600DC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnSmsReadComplete@6(sms:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms[Interface]{dcbbbab6-2015-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,smsFormat:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,readMsgs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,moreMsgs:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "00000000-0000-0000-c000-000000000046", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsmsevents.dcbbbab620164bbbaaee338e368af6fa.onsmsnewclass0message.slot-7.param-2-readmsgs.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsnewclass0message" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSmsEvents::OnSmsNewClass0Message parameter readMsgs as SAFEARRAY(IUnknown*), requiring VT_UNKNOWN with IID 00000000-0000-0000-c000-000000000046", + "selector": { + "absoluteSlot": 7, + "declaringIid": "dcbbbab6-2016-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2016-4bbb-aaee-338e368af6fa", + "name": "IMbnSmsEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnSmsNewClass0Message", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "sms", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "smsFormat", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "readMsgs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "AC44FC1A216EA4BAF43978E0D2E20E96994626927B47E5F21493411321A4DE63", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnSmsNewClass0Message@7(sms:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms[Interface]{dcbbbab6-2015-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,smsFormat:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,readMsgs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsmsreadmsgpdu.dcbbbab620134bbbaaee338e368af6fa.get-message.slot-6.param-0-message.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsreadmsgpdu-get_message" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSmsReadMsgPdu::get_Message parameter Message as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 6, + "declaringIid": "dcbbbab6-2013-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2013-4bbb-aaee-338e368af6fa", + "name": "IMbnSmsReadMsgPdu", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "get_Message", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "Message", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "420C43CC1E53C93D8DE70E224F0485124A6271F98108B67BD15F01DD3505B910", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Message@6(Message:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsmsreadmsgtextcdma.dcbbbab620144bbbaaee338e368af6fa.get-message.slot-10.param-0-message.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsreadmsgtextcdma-get_message" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSmsReadMsgTextCdma::get_Message parameter Message as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 10, + "declaringIid": "dcbbbab6-2014-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2014-4bbb-aaee-338e368af6fa", + "name": "IMbnSmsReadMsgTextCdma", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "get_Message", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "Message", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4BA8E1ECA67DE965DE4CC64A02105A09E6F68C405F1551A59173011498F136D8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Message@10(Message:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnsubscriberinformation.459ecc43bcf511dca8a8001321f1405f.get-telephonenumbers.slot-5.param-0-telephonenumbers.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsubscriberinformation-get_telephonenumbers" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnSubscriberInformation::get_TelephoneNumbers parameter TelephoneNumbers as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 5, + "declaringIid": "459ecc43-bcf5-11dc-a8a8-001321f1405f", + "interface": { + "iid": "459ecc43-bcf5-11dc-a8a8-001321f1405f", + "name": "IMbnSubscriberInformation", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "get_TelephoneNumbers", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "TelephoneNumbers", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "89C10397396E92C2D41B659B3944E70AD44EF1341C1C2DF3AFEBFC38F19230DE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_TelephoneNumbers@5(TelephoneNumbers:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnvendorspecificevents.dcbbbab6201a4bbbaaee338e368af6fa.oneventnotification.slot-3.param-1-vendorspecificdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificevents-oneventnotification" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnVendorSpecificEvents::OnEventNotification parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-201a-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-201a-4bbb-aaee-338e368af6fa", + "name": "IMbnVendorSpecificEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnEventNotification", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "vendorOperation", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "vendorSpecificData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "56FC221C5838594559B218ACD39B1E5586A06CC33A34A04CDD4229A47131ADAA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnEventNotification@3(vendorOperation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation[Interface]{dcbbbab6-2019-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnvendorspecificevents.dcbbbab6201a4bbbaaee338e368af6fa.onsetvendorspecificcomplete.slot-4.param-1-vendorspecificdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificevents-onsetvendorspecificcomplete" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnVendorSpecificEvents::OnSetVendorSpecificComplete parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 4, + "declaringIid": "dcbbbab6-201a-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-201a-4bbb-aaee-338e368af6fa", + "name": "IMbnVendorSpecificEvents", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "OnSetVendorSpecificComplete", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "vendorOperation", + "nativeType": "Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "vendorSpecificData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "A475F01941F61A0891968BF14E4499EFAF210035BB7D4D9E551FB180DA4D51DA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnSetVendorSpecificComplete@4(vendorOperation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation[Interface]{dcbbbab6-2019-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-networkmanagement-mobilebroadband.imbnvendorspecificoperation.dcbbbab620194bbbaaee338e368af6fa.setvendorspecific.slot-3.param-0-vendorspecificdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificoperation-setvendorspecific" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMbnVendorSpecificOperation::SetVendorSpecific parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 3, + "declaringIid": "dcbbbab6-2019-4bbb-aaee-338e368af6fa", + "interface": { + "iid": "dcbbbab6-2019-4bbb-aaee-338e368af6fa", + "name": "IMbnVendorSpecificOperation", + "namespace": "Windows.Win32.NetworkManagement.MobileBroadband" + }, + "method": "SetVendorSpecific", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "vendorSpecificData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "requestID", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B4A3F5B15FB715C40D4033A77E646DAAE3C4DEBA216AA0D0F6119BD4E6DC8500", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SetVendorSpecific@3(vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmactionreport.2dbe63c4b34048a0a5b0158e07fc567e.get-reporttypes.slot-12.param-0-reporttypes.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmactionreport-get_reporttypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmActionReport::get_ReportTypes parameter reportTypes as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 12, + "declaringIid": "2dbe63c4-b340-48a0-a5b0-158e07fc567e", + "interface": { + "iid": "2dbe63c4-b340-48a0-a5b0-158e07fc567e", + "name": "IFsrmActionReport", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ReportTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "reportTypes", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E73F8F1B4A6F64468DDC09DF16B3B633F363E27BBE7CD3CC721D33447DCD5230", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ReportTypes@12(reportTypes:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmactionreport.2dbe63c4b34048a0a5b0158e07fc567e.put-reporttypes.slot-13.param-0-reporttypes.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmactionreport-put_reporttypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmActionReport::put_ReportTypes parameter reportTypes as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 13, + "declaringIid": "2dbe63c4-b340-48a0-a5b0-158e07fc567e", + "interface": { + "iid": "2dbe63c4-b340-48a0-a5b0-158e07fc567e", + "name": "IFsrmActionReport", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_ReportTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "reportTypes", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "CAD2682394BD186A95715A360465D4A281953875D597B8A9E6614C652EEAAC75", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ReportTypes@13(reportTypes:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmautoapplyquota.f82e57296aba4740bfc7c7f58f75fb7b.get-excludefolders.slot-28.param-0-folders.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmautoapplyquota-get_excludefolders" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmAutoApplyQuota::get_ExcludeFolders parameter folders as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 28, + "declaringIid": "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", + "interface": { + "iid": "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", + "name": "IFsrmAutoApplyQuota", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ExcludeFolders", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "folders", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "35D1AD84A74C7753779302E581A549C98C6816F5172129FD121F02528D13D60C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ExcludeFolders@28(folders:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmautoapplyquota.f82e57296aba4740bfc7c7f58f75fb7b.put-excludefolders.slot-29.param-0-folders.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmautoapplyquota-put_excludefolders" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmAutoApplyQuota::put_ExcludeFolders parameter folders as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 29, + "declaringIid": "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", + "interface": { + "iid": "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", + "name": "IFsrmAutoApplyQuota", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_ExcludeFolders", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "folders", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3ADA4E15D862829AFC164B6D03896CFF02A0E9FA49B0CB1EEB9DE97F07CD6539", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ExcludeFolders@29(folders:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassificationmanager.d2dc89daee9148a085d8cc72a56f7d04.get-classificationreportformats.slot-7.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager-get_classificationreportformats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassificationManager::get_ClassificationReportFormats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", + "interface": { + "iid": "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", + "name": "IFsrmClassificationManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ClassificationReportFormats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "CA54D28E6466AC9232571FF3088ADF3EAC7E3B920E6C1947228705A0499B1874", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ClassificationReportFormats@7(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassificationmanager.d2dc89daee9148a085d8cc72a56f7d04.put-classificationreportformats.slot-8.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager-put_classificationreportformats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassificationManager::put_ClassificationReportFormats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 8, + "declaringIid": "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", + "interface": { + "iid": "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", + "name": "IFsrmClassificationManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_ClassificationReportFormats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FFCB0FA1BDD64D349BDDD246D71BB5836D6D5EFFD7E227794801498206240F71", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ClassificationReportFormats@8(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassificationmanager2.0004c1c9127e4765ba076a3147bca112.classifyfiles.slot-34.param-0-filepaths.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter filePaths as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 34, + "declaringIid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "interface": { + "iid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "name": "IFsrmClassificationManager2", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "ClassifyFiles", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "filePaths", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "propertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "propertyValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "options", + "nativeType": "Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "5D7FC0A90F2A7E119246C42B81DCC372B4D86108285DE1F7C0700F39BDB20228", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassificationmanager2.0004c1c9127e4765ba076a3147bca112.classifyfiles.slot-34.param-1-propertynames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter propertyNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 34, + "declaringIid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "interface": { + "iid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "name": "IFsrmClassificationManager2", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "ClassifyFiles", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "filePaths", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "propertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "propertyValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "options", + "nativeType": "Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "5D7FC0A90F2A7E119246C42B81DCC372B4D86108285DE1F7C0700F39BDB20228", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassificationmanager2.0004c1c9127e4765ba076a3147bca112.classifyfiles.slot-34.param-2-propertyvalues.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter propertyValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 34, + "declaringIid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "interface": { + "iid": "0004c1c9-127e-4765-ba07-6a3147bca112", + "name": "IFsrmClassificationManager2", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "ClassifyFiles", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "filePaths", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "propertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "propertyValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "options", + "nativeType": "Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions", + "optional": false, + "pointerDepth": 0 + } + ], + "sourceFingerprint": "5D7FC0A90F2A7E119246C42B81DCC372B4D86108285DE1F7C0700F39BDB20228", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassifiermoduledefinition.bb36ea2663184b8c8592f72dd602e7a5.get-propertiesaffected.slot-31.param-0-propertiesaffected.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-get_propertiesaffected" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::get_PropertiesAffected parameter propertiesAffected as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 31, + "declaringIid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "interface": { + "iid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "name": "IFsrmClassifierModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_PropertiesAffected", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "propertiesAffected", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "7598068A69BC670DD6D0C8098B3392320CB1532A6161EA9E85D829DCA6732404", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_PropertiesAffected@31(propertiesAffected:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassifiermoduledefinition.bb36ea2663184b8c8592f72dd602e7a5.put-propertiesaffected.slot-32.param-0-propertiesaffected.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-put_propertiesaffected" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::put_PropertiesAffected parameter propertiesAffected as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 32, + "declaringIid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "interface": { + "iid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "name": "IFsrmClassifierModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_PropertiesAffected", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "propertiesAffected", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C7B402805F4C21FF386095EF58615F310CEE6715C8BCA7B34ACEE2170EF1367E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_PropertiesAffected@32(propertiesAffected:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassifiermoduledefinition.bb36ea2663184b8c8592f72dd602e7a5.get-propertiesused.slot-33.param-0-propertiesused.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-get_propertiesused" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::get_PropertiesUsed parameter propertiesUsed as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 33, + "declaringIid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "interface": { + "iid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "name": "IFsrmClassifierModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_PropertiesUsed", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "propertiesUsed", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "85C9121744A886B0A8F939D2A0FE402C3C70D76FCA5D04674402487EDF3D16A0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_PropertiesUsed@33(propertiesUsed:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassifiermoduledefinition.bb36ea2663184b8c8592f72dd602e7a5.put-propertiesused.slot-34.param-0-propertiesused.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-put_propertiesused" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::put_PropertiesUsed parameter propertiesUsed as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 34, + "declaringIid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "interface": { + "iid": "bb36ea26-6318-4b8c-8592-f72dd602e7a5", + "name": "IFsrmClassifierModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_PropertiesUsed", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "propertiesUsed", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "359812CC05394E76A431FBDD8707DFC4544FCE65C3FEEC205046E1855547CC42", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_PropertiesUsed@34(propertiesUsed:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmclassifiermoduleimplementation.4c968fc66edb40519c1873b7291ae106.onbeginfile.slot-11.param-1-arrayruleids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduleimplementation-onbeginfile" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleImplementation::OnBeginFile parameter arrayRuleIds as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 11, + "declaringIid": "4c968fc6-6edb-4051-9c18-73b7291ae106", + "interface": { + "iid": "4c968fc6-6edb-4051-9c18-73b7291ae106", + "name": "IFsrmClassifierModuleImplementation", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "OnBeginFile", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "propertyBag", + "nativeType": "Windows.Win32.Storage.FileServerResourceManager.IFsrmPropertyBag", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "arrayRuleIds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "13CFEE204B8D4075A590154F0CA621BF7139DB559CD2D3FA4D6B2528F1C4C9BD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnBeginFile@11(propertyBag:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.IFsrmPropertyBag[Interface]{774589d1-d300-4f7a-9a24-f7b766800250}/ptr0/Unspecified,arrayRuleIds:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.get-namespaceroots.slot-14.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 14, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3E6C257D44946130210F96ECD0A722EF3B2B0520925AE9C00B4331465C04E3D4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_NamespaceRoots@14(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.put-namespaceroots.slot-15.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 15, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6A3A711A6E25E92B1510DF5740684DC4314D66C0320B57663B88C2B0973CD4B1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_NamespaceRoots@15(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.get-notifications.slot-23.param-0-notifications.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_notifications" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Notifications parameter notifications as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Notifications", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "notifications", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E1A66CF665D26F86A2F279244E235E7CF7756E3DD02F23F92790DF9B45BC5CCF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Notifications@23(notifications:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.get-formats.slot-28.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_formats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 28, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Formats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "977FB5E257BD9C243BD4348A9D85E27D0FE401621505570DA124B086D69764DF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Formats@28(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.put-formats.slot-29.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_formats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 29, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Formats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "699209F9AFFD2F2193B774B9D32F3ED24597F0DCAA25CCBFB3D2726AFD1C5D2A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Formats@29(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.get-parameters.slot-43.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 43, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "AA5710046DD6FCFC4F43AD9248F4552B477B88E3EFCC936180BC5C53377810AC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Parameters@43(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjob.0770687e9f364d6f8778599d188461c9.put-parameters.slot-44.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 44, + "declaringIid": "0770687e-9f36-4d6f-8778-599d188461c9", + "interface": { + "iid": "0770687e-9f36-4d6f-8778-599d188461c9", + "name": "IFsrmFileManagementJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "7311B0163C8008575688127F4BAB751A1798464EC20DE8907EE038032CA2F520", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Parameters@44(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjobmanager.ee321ecbd95e48e9907cc7685a013235.get-actionvariables.slot-7.param-0-variables.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjobmanager-get_actionvariables" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJobManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "ee321ecb-d95e-48e9-907c-c7685a013235", + "interface": { + "iid": "ee321ecb-d95e-48e9-907c-c7685a013235", + "name": "IFsrmFileManagementJobManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariables", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "variables", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FCCC980599935715031B8605DBE71401E364B43B6D380A8F63BCC73FC5DC8954", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilemanagementjobmanager.ee321ecbd95e48e9907cc7685a013235.get-actionvariabledescriptions.slot-8.param-0-descriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjobmanager-get_actionvariabledescriptions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileManagementJobManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 8, + "declaringIid": "ee321ecb-d95e-48e9-907c-c7685a013235", + "interface": { + "iid": "ee321ecb-d95e-48e9-907c-c7685a013235", + "name": "IFsrmFileManagementJobManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariableDescriptions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "descriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A4DE84D31318B466399F74ACCD3DE965F8BF1CC1733E8970E3E8745E67CD3D20", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilescreenmanager.ff4fa04e5a944bdaa3a0d5b4d3c52eba.get-actionvariables.slot-7.param-0-variables.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmscreen/nf-fsrmscreen-ifsrmfilescreenmanager-get_actionvariables" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileScreenManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", + "interface": { + "iid": "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", + "name": "IFsrmFileScreenManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariables", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "variables", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FCCC980599935715031B8605DBE71401E364B43B6D380A8F63BCC73FC5DC8954", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmfilescreenmanager.ff4fa04e5a944bdaa3a0d5b4d3c52eba.get-actionvariabledescriptions.slot-8.param-0-descriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmscreen/nf-fsrmscreen-ifsrmfilescreenmanager-get_actionvariabledescriptions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmFileScreenManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 8, + "declaringIid": "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", + "interface": { + "iid": "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", + "name": "IFsrmFileScreenManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariableDescriptions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "descriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A4DE84D31318B466399F74ACCD3DE965F8BF1CC1733E8970E3E8745E67CD3D20", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpathmapper.6f4dbfff69204821a6c3b7e94c1fd60c.getsharepathsforlocalpath.slot-7.param-1-sharepaths.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmpathmapper-getsharepathsforlocalpath" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPathMapper::GetSharePathsForLocalPath parameter sharePaths as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "6f4dbfff-6920-4821-a6c3-b7e94c1fd60c", + "interface": { + "iid": "6f4dbfff-6920-4821-a6c3-b7e94c1fd60c", + "name": "IFsrmPathMapper", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "GetSharePathsForLocalPath", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "localPath", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "sharePaths", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4F913738B1C5E24B6E5CD686E48BEC358ABEB6B29185A1F966B354F6EE70065D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSharePathsForLocalPath@7(localPath:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,sharePaths:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpipelinemoduledefinition.515c12772c81440e8fcf367921ed4f59.get-supportedextensions.slot-27.param-0-supportedextensions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-get_supportedextensions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::get_SupportedExtensions parameter supportedExtensions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 27, + "declaringIid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "interface": { + "iid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "name": "IFsrmPipelineModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_SupportedExtensions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedExtensions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E24FD5E8F73E0F386F05C1D32BDF841BFB77611F7CBE7D4C6F9DDDF9E1BDA9CB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedExtensions@27(supportedExtensions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpipelinemoduledefinition.515c12772c81440e8fcf367921ed4f59.put-supportedextensions.slot-28.param-0-supportedextensions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-put_supportedextensions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::put_SupportedExtensions parameter supportedExtensions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 28, + "declaringIid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "interface": { + "iid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "name": "IFsrmPipelineModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_SupportedExtensions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "supportedExtensions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "51E2335B3A2D42CF3D4D43034A9F3F9F9022D90FCC4AA83FC935BEC618304355", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_SupportedExtensions@28(supportedExtensions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpipelinemoduledefinition.515c12772c81440e8fcf367921ed4f59.get-parameters.slot-29.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-get_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 29, + "declaringIid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "interface": { + "iid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "name": "IFsrmPipelineModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "178D21EC08AF5E7E754DA30756D3C1945DF41BFFA069129373FD8A67ECDE3A7B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Parameters@29(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpipelinemoduledefinition.515c12772c81440e8fcf367921ed4f59.put-parameters.slot-30.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-put_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 30, + "declaringIid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "interface": { + "iid": "515c1277-2c81-440e-8fcf-367921ed4f59", + "name": "IFsrmPipelineModuleDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "17AE6982428740144135ACC755CDB775CB7402AACED77EC95E9BFAE0CA791CAE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Parameters@30(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmproperty.4a73fee441024fcc9ffb38614f9ee768.get-sources.slot-9.param-0-sources.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmproperty-get_sources" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmProperty::get_Sources parameter sources as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 9, + "declaringIid": "4a73fee4-4102-4fcc-9ffb-38614f9ee768", + "interface": { + "iid": "4a73fee4-4102-4fcc-9ffb-38614f9ee768", + "name": "IFsrmProperty", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Sources", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "sources", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "5FFAC8DD6CA5DA71D29BF9229062DA7D9308AF1D60BFB83A5E5C08FBD5A447BD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Sources@9(sources:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertybag.774589d1d3004f7a9a24f7b766800250.get-filepropertynames.slot-21.param-0-filepropertynames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertybag-get_filepropertynames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyBag::get_FilePropertyNames parameter filePropertyNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 21, + "declaringIid": "774589d1-d300-4f7a-9a24-f7b766800250", + "interface": { + "iid": "774589d1-d300-4f7a-9a24-f7b766800250", + "name": "IFsrmPropertyBag", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_FilePropertyNames", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "filePropertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "32141E6776C93C78F54110C0BC777059F06823CAAD170D76C70E20A92EF09B73", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_FilePropertyNames@21(filePropertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertybag.774589d1d3004f7a9a24f7b766800250.get-messages.slot-22.param-0-messages.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertybag-get_messages" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyBag::get_Messages parameter messages as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 22, + "declaringIid": "774589d1-d300-4f7a-9a24-f7b766800250", + "interface": { + "iid": "774589d1-d300-4f7a-9a24-f7b766800250", + "name": "IFsrmPropertyBag", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Messages", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "messages", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "522BBE582900C1E80ED78B80FD656537D56BE7EF97C4216830BDC399E71548AF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Messages@22(messages:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.get-possiblevalues.slot-16.param-0-possiblevalues.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_possiblevalues" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_PossibleValues parameter possibleValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 16, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_PossibleValues", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "possibleValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A387CFE6A5F5DDCB8C345C9EDB80C6DF7BD79087157C6FA961E83AEE1A85A0D2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_PossibleValues@16(possibleValues:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.put-possiblevalues.slot-17.param-0-possiblevalues.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_possiblevalues" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_PossibleValues parameter possibleValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 17, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_PossibleValues", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "possibleValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "D865DAABC9CEC71F0A3372E3CCB742608D43B4495D7D76DAD7882CD957EEB5FE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_PossibleValues@17(possibleValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.get-valuedescriptions.slot-18.param-0-valuedescriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_valuedescriptions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_ValueDescriptions parameter valueDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 18, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ValueDescriptions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "valueDescriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "225DF95D35906BA1DB119702558A853484914A1BE25173EEFE2BB53C049348F7", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ValueDescriptions@18(valueDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.put-valuedescriptions.slot-19.param-0-valuedescriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_valuedescriptions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_ValueDescriptions parameter valueDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 19, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_ValueDescriptions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "valueDescriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "B25B01653DFDFF04E461F6863EE82AF2A4226C1B64BCD15D741E9A6515140DD0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ValueDescriptions@19(valueDescriptions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.get-parameters.slot-20.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 20, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "5865FB87A26E6AF86AAF462A52C2EE14069E55D4ADEAF7AD0C32F0245631F4FB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Parameters@20(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmpropertydefinition.ede0150fe9a3419c877c01fe5d24c5d3.put-parameters.slot-21.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 21, + "declaringIid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "interface": { + "iid": "ede0150f-e9a3-419c-877c-01fe5d24c5d3", + "name": "IFsrmPropertyDefinition", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "42E4EC3338836C9B6CCE4A9FD3BD1E8348CE2CD15B62122223626ECB95512F3D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Parameters@21(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmquotabase.1568a79539244118b74b68d8f0fa5daf.get-thresholds.slot-16.param-0-thresholds.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotabase-get_thresholds" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmQuotaBase::get_Thresholds parameter thresholds as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 16, + "declaringIid": "1568a795-3924-4118-b74b-68d8f0fa5daf", + "interface": { + "iid": "1568a795-3924-4118-b74b-68d8f0fa5daf", + "name": "IFsrmQuotaBase", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Thresholds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "thresholds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "EB847DDD3CC0F558E08420BF7BE47345D1C7A051F0813017AA9DB2395CF93523", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Thresholds@16(thresholds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmquotamanager.8bb68c7d19d84ffb809ebe4fc1734014.get-actionvariables.slot-7.param-0-variables.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotamanager-get_actionvariables" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmQuotaManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "8bb68c7d-19d8-4ffb-809e-be4fc1734014", + "interface": { + "iid": "8bb68c7d-19d8-4ffb-809e-be4fc1734014", + "name": "IFsrmQuotaManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariables", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "variables", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FCCC980599935715031B8605DBE71401E364B43B6D380A8F63BCC73FC5DC8954", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmquotamanager.8bb68c7d19d84ffb809ebe4fc1734014.get-actionvariabledescriptions.slot-8.param-0-descriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotamanager-get_actionvariabledescriptions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmQuotaManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 8, + "declaringIid": "8bb68c7d-19d8-4ffb-809e-be4fc1734014", + "interface": { + "iid": "8bb68c7d-19d8-4ffb-809e-be4fc1734014", + "name": "IFsrmQuotaManager", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_ActionVariableDescriptions", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "descriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A4DE84D31318B466399F74ACCD3DE965F8BF1CC1733E8970E3E8745E67CD3D20", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmreportjob.38e87280715c4c7da280ea1651a19fef.get-namespaceroots.slot-14.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-get_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmReportJob::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 14, + "declaringIid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "interface": { + "iid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "name": "IFsrmReportJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3E6C257D44946130210F96ECD0A722EF3B2B0520925AE9C00B4331465C04E3D4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_NamespaceRoots@14(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmreportjob.38e87280715c4c7da280ea1651a19fef.put-namespaceroots.slot-15.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-put_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmReportJob::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 15, + "declaringIid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "interface": { + "iid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "name": "IFsrmReportJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "6A3A711A6E25E92B1510DF5740684DC4314D66C0320B57663B88C2B0973CD4B1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_NamespaceRoots@15(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmreportjob.38e87280715c4c7da280ea1651a19fef.get-formats.slot-16.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-get_formats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmReportJob::get_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 16, + "declaringIid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "interface": { + "iid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "name": "IFsrmReportJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Formats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "C1B297836964BD1A4FC7D1E0F9B5A90F587845C5CEE026B298FBB64BE9B233F0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Formats@16(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmreportjob.38e87280715c4c7da280ea1651a19fef.put-formats.slot-17.param-0-formats.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-put_formats" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmReportJob::put_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 17, + "declaringIid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "interface": { + "iid": "38e87280-715c-4c7d-a280-ea1651a19fef", + "name": "IFsrmReportJob", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Formats", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "formats", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "2D2BD481F3CD926B4CD65D160C51AEA27F6B291EB7E456DECDFB80EC1C3E78B1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Formats@17(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmrule.cb0df96016f5449590793f9360d831df.get-namespaceroots.slot-17.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-get_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmRule::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 17, + "declaringIid": "cb0df960-16f5-4495-9079-3f9360d831df", + "interface": { + "iid": "cb0df960-16f5-4495-9079-3f9360d831df", + "name": "IFsrmRule", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "EAAA05423CE634747BEF8F43213B0C29542257C37033F1D2BF5C4A36FA4A772F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_NamespaceRoots@17(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmrule.cb0df96016f5449590793f9360d831df.put-namespaceroots.slot-18.param-0-namespaceroots.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-put_namespaceroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmRule::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 18, + "declaringIid": "cb0df960-16f5-4495-9079-3f9360d831df", + "interface": { + "iid": "cb0df960-16f5-4495-9079-3f9360d831df", + "name": "IFsrmRule", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_NamespaceRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "namespaceRoots", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FD50554E3931B6B8BB13E50FD04FCB6A21338A7F7A7FC55BD9A650A66949D8DB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_NamespaceRoots@18(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmrule.cb0df96016f5449590793f9360d831df.get-parameters.slot-21.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-get_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmRule::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 21, + "declaringIid": "cb0df960-16f5-4495-9079-3f9360d831df", + "interface": { + "iid": "cb0df960-16f5-4495-9079-3f9360d831df", + "name": "IFsrmRule", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "get_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "8F3AD0DE23214B75C1185A7F056CD04E1A3B67D975AD0CEA3CBAAEBFE62857F9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Parameters@21(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-fileserverresourcemanager.ifsrmrule.cb0df96016f5449590793f9360d831df.put-parameters.slot-22.param-0-parameters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-put_parameters" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFsrmRule::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 22, + "declaringIid": "cb0df960-16f5-4495-9079-3f9360d831df", + "interface": { + "iid": "cb0df960-16f5-4495-9079-3f9360d831df", + "name": "IFsrmRule", + "namespace": "Windows.Win32.Storage.FileServerResourceManager" + }, + "method": "put_Parameters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "parameters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "DA169DE819025BFBF2E698D1AF0D1BF404FA4473FCBE45A76BE5DAE4B37CA821", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Parameters@22(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.iblockrangelist.b507ca26220411dd966a001aa01bbc58.get-blockranges.slot-7.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-iblockrangelist-get_blockranges" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IBlockRangeList::get_BlockRanges parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 7, + "declaringIid": "b507ca26-2204-11dd-966a-001aa01bbc58", + "interface": { + "iid": "b507ca26-2204-11dd-966a-001aa01bbc58", + "name": "IBlockRangeList", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_BlockRanges", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "6AC1ABD0744828DCD114F50F81995BD56DF523CE96FDA77A3818498014B95A3F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_BlockRanges@7(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2.273541528f645b0f8f005d77afbe261e.get-supportedmediatypes.slot-11.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2-get_supportedmediatypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2::get_SupportedMediaTypes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 11, + "declaringIid": "27354152-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354152-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedMediaTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0D3CAC9BA376EF9713F4F71D3F7DCDC405923340DD8DC308B17813FC24C90B89", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedMediaTypes@11(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2data.273541539f645b0f8f005d77afbe261e.get-supportedwritespeeds.slot-36.param-0-supportedspeeds.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_supportedwritespeeds" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 36, + "declaringIid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2Data", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeeds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeeds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "49A3EF6CBA00E151DB383AAEAAD2138F514AFBF54DC3A8C629D0544CE91CF04F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeeds@36(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2data.273541539f645b0f8f005d77afbe261e.get-supportedwritespeeddescriptors.slot-37.param-0-supportedspeeddescriptors.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_supportedwritespeeddescriptors" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 37, + "declaringIid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2Data", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeedDescriptors", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeedDescriptors", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "C3B2F7092B7F245FE798E362168A48D949EBB08F768C45A5B15E4987D3AA1165", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeedDescriptors@37(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2data.273541539f645b0f8f005d77afbe261e.get-multisessioninterfaces.slot-40.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_multisessioninterfaces" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_MultisessionInterfaces parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 40, + "declaringIid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354153-9f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2Data", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_MultisessionInterfaces", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "5540106307CD0F3968EDBC98DF2D943CB998DAAE091FC9C9A33CC11059B2EF0B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_MultisessionInterfaces@40(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2rawcd.273541558f645b0f8f005d77afbe261e.get-supportedsectortypes.slot-25.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedsectortypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedSectorTypes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 25, + "declaringIid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2RawCD", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedSectorTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "CD4E67369724CFCA414120D4A0422E90887914FD469657240C560E5F6EA757CF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedSectorTypes@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2rawcd.273541558f645b0f8f005d77afbe261e.get-supportedwritespeeds.slot-34.param-0-supportedspeeds.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedwritespeeds" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 34, + "declaringIid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2RawCD", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeeds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeeds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3356B6027B94D91F92A1DA6AA4C0C5E448CE2F704BC297CF404075833BAF4B73", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeeds@34(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2rawcd.273541558f645b0f8f005d77afbe261e.get-supportedwritespeeddescriptors.slot-35.param-0-supportedspeeddescriptors.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedwritespeeddescriptors" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 35, + "declaringIid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354155-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2RawCD", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeedDescriptors", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeedDescriptors", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "F04C7D37B48A8AC41FA17D7643C24C07790A6646A82BD095E1D5C037C89C9C74", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeedDescriptors@35(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2trackatonce.273541548f645b0f8f005d77afbe261e.get-expectedtableofcontents.slot-27.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_expectedtableofcontents" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_ExpectedTableOfContents parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 27, + "declaringIid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2TrackAtOnce", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_ExpectedTableOfContents", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4550B8B8BCB55053A1D1E21DC905F2411E5A57F95A091F0DBFB8A21A57834835", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ExpectedTableOfContents@27(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2trackatonce.273541548f645b0f8f005d77afbe261e.get-supportedwritespeeds.slot-35.param-0-supportedspeeds.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_supportedwritespeeds" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 35, + "declaringIid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2TrackAtOnce", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeeds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeeds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A531DA787C7F9E75D91E2DBA6D3DD234D59DC1624B55FE6432055573ED81A46C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeeds@35(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscformat2trackatonce.273541548f645b0f8f005d77afbe261e.get-supportedwritespeeddescriptors.slot-36.param-0-supportedspeeddescriptors.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_supportedwritespeeddescriptors" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 36, + "declaringIid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354154-8f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscFormat2TrackAtOnce", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedWriteSpeedDescriptors", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "supportedSpeedDescriptors", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A4B3BAD2F593A1E96DA8610FB6DDBFD287B455626AF9A3DF23104A1C347780A4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedWriteSpeedDescriptors@36(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-volumepathnames.slot-19.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_volumepathnames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_VolumePathNames parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 19, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_VolumePathNames", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "07883B32CC7740A6EC336B0EC6B190A3CE28D0B713C37B1B9DCFBC419EAEF1F3", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_VolumePathNames@19(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-supportedfeaturepages.slot-22.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedfeaturepages" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedFeaturePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 22, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedFeaturePages", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "EAF8EC203F04BC6A932A5AEEEACF75D1EB2AC95E06FDDBA025885CFB910E03E1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedFeaturePages@22(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-currentfeaturepages.slot-23.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_currentfeaturepages" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_CurrentFeaturePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_CurrentFeaturePages", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "D20E350E851779C21CAE522FA9CB7CAB27E6FA0CEE303A9CFD85B4ABA24B3FBC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentFeaturePages@23(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-supportedprofiles.slot-24.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedprofiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedProfiles parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 24, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedProfiles", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E4ED25B3E5C0E334A6BA823585E54285E72B4BA79CB3288B850DA0594878A4BD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedProfiles@24(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-currentprofiles.slot-25.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_currentprofiles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_CurrentProfiles parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 25, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_CurrentProfiles", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "EC13992E41DB9917FAE0ACDEF652BE20DAF67B5341070D9995F73F77B5037391", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentProfiles@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.idiscrecorder2.273541337f645b0f8f005d77afbe261e.get-supportedmodepages.slot-26.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedmodepages" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedModePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 26, + "declaringIid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "interface": { + "iid": "27354133-7f64-5b0f-8f00-5d77afbe261e", + "name": "IDiscRecorder2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_SupportedModePages", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "48B14D31EB8C6DD4F99175A020AADB10C2EC7673CFAF9F06C2D7690E0B605CD4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_SupportedModePages@26(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage.2c941fe1975b59bea9609a2a262853a5.get-udfrevisionssupported.slot-33.param-0-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_udfrevisionssupported" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage::get_UDFRevisionsSupported parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 33, + "declaringIid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "name": "IFileSystemImage", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_UDFRevisionsSupported", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "09E4E9F1754F1DECFF29F431C44E483729358B34F4745E980E3618D38F51FD6E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_UDFRevisionsSupported@33(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage.2c941fe1975b59bea9609a2a262853a5.get-iso9660interchangelevelssupported.slot-38.param-0-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_iso9660interchangelevelssupported" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage::get_ISO9660InterchangeLevelsSupported parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 38, + "declaringIid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "name": "IFileSystemImage", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_ISO9660InterchangeLevelsSupported", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "1CA842EDC0F8DE7AF3ABDDC96F9E7F43E57EF1D126F190249FC207D251EC6654", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ISO9660InterchangeLevelsSupported@38(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage.2c941fe1975b59bea9609a2a262853a5.get-multisessioninterfaces.slot-55.param-0-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_multisessioninterfaces" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage::get_MultisessionInterfaces parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 55, + "declaringIid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "name": "IFileSystemImage", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_MultisessionInterfaces", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "C9AD8DFEE24BA8249BE0E4A8688F194CA5FFB269B6797D8C84D8677E4FD2522C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_MultisessionInterfaces@55(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage.2c941fe1975b59bea9609a2a262853a5.put-multisessioninterfaces.slot-56.param-0-newval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-put_multisessioninterfaces" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage::put_MultisessionInterfaces parameter newVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 56, + "declaringIid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "interface": { + "iid": "2c941fe1-975b-59be-a960-9a2a262853a5", + "name": "IFileSystemImage", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "put_MultisessionInterfaces", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "newVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1AD2C1A461EA8CD7573B76391DFC3721B7437381C57AFD22FA5E8138D6C5D963", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_MultisessionInterfaces@56(newVal:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage2.d7644b2c15374767b62ff1387b02ddfd.get-bootimageoptionsarray.slot-57.param-0-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage2-get_bootimageoptionsarray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage2::get_BootImageOptionsArray parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 57, + "declaringIid": "d7644b2c-1537-4767-b62f-f1387b02ddfd", + "interface": { + "iid": "d7644b2c-1537-4767-b62f-f1387b02ddfd", + "name": "IFileSystemImage2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_BootImageOptionsArray", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "CEE792F982F701DB232EDFE9799693734F5763CEE172B9568290B6F613DC4788", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_BootImageOptionsArray@57(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.ifilesystemimage2.d7644b2c15374767b62ff1387b02ddfd.put-bootimageoptionsarray.slot-58.param-0-newval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage2-put_bootimageoptionsarray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IFileSystemImage2::put_BootImageOptionsArray parameter newVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 58, + "declaringIid": "d7644b2c-1537-4767-b62f-f1387b02ddfd", + "interface": { + "iid": "d7644b2c-1537-4767-b62f-f1387b02ddfd", + "name": "IFileSystemImage2", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "put_BootImageOptionsArray", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "newVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "82F7981ACF769B58B325BA02C60CB7BB3EA0FB232BCE9249E7FA50790E092C24", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_BootImageOptionsArray@58(newVal:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.irawcdimagecreator.259835509d6549ceb33540630d901227.get-expectedtableofcontents.slot-25.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-irawcdimagecreator-get_expectedtableofcontents" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawCDImageCreator::get_ExpectedTableOfContents parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 25, + "declaringIid": "25983550-9d65-49ce-b335-40630d901227", + "interface": { + "iid": "25983550-9d65-49ce-b335-40630d901227", + "name": "IRawCDImageCreator", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_ExpectedTableOfContents", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "31EB4DEB0AD0F1B54EDFC7FAF0FA5145C4CED5185CF0DBC67C32017B493C2189", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ExpectedTableOfContents@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-storage-imapi.irawcdimagetrackinfo.259835519d6549ceb33540630d901227.get-trackindexes.slot-17.param-0-value.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-irawcdimagetrackinfo-get_trackindexes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawCDImageTrackInfo::get_TrackIndexes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 17, + "declaringIid": "25983551-9d65-49ce-b335-40630d901227", + "interface": { + "iid": "25983551-9d65-49ce-b335-40630d901227", + "name": "IRawCDImageTrackInfo", + "namespace": "Windows.Win32.Storage.Imapi" + }, + "method": "get_TrackIndexes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "value", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "261E67BDCAFDCBA69069360183A9B8B87DF47FB39A4AB94406B66941B2BC160A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_TrackIndexes@17(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.getmultiplecomponentsinfo.slot-23.param-2-ppsavarclsids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarCLSIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetMultipleComponentsInfo", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrApplIdOrName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "ppsaVarFileNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarClassNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppsaVarFileFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "ppsaVarComponentFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BCF7F8825FF93B72930D413444380A72EA9E53B77661E0735B05B3622BEEA3A0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 3 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.getmultiplecomponentsinfo.slot-23.param-3-ppsavarclassnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarClassNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetMultipleComponentsInfo", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrApplIdOrName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "ppsaVarFileNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarClassNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppsaVarFileFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "ppsaVarComponentFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BCF7F8825FF93B72930D413444380A72EA9E53B77661E0735B05B3622BEEA3A0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 4 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.getmultiplecomponentsinfo.slot-23.param-4-ppsavarfileflags.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarFileFlags as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetMultipleComponentsInfo", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrApplIdOrName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "ppsaVarFileNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarClassNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppsaVarFileFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "ppsaVarComponentFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BCF7F8825FF93B72930D413444380A72EA9E53B77661E0735B05B3622BEEA3A0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 5 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.getmultiplecomponentsinfo.slot-23.param-5-ppsavarcomponentflags.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarComponentFlags as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 23, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetMultipleComponentsInfo", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrApplIdOrName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "ppsaVarFileNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarClassNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppsaVarFileFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "ppsaVarComponentFlags", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BCF7F8825FF93B72930D413444380A72EA9E53B77661E0735B05B3622BEEA3A0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 5 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.queryapplicationfile.slot-27.param-5-ppsavarfilenames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-queryapplicationfile" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::QueryApplicationFile parameter ppsaVarFileNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 27, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "QueryApplicationFile", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrApplicationFile", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pbstrApplicationName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pbstrApplicationDescription", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "pbHasUsers", + "nativeType": "Windows.Win32.Foundation.VARIANT_BOOL", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "pbIsProxy", + "nativeType": "Windows.Win32.Foundation.VARIANT_BOOL", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 5, + "name": "ppsaVarFileNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0BAC54F5535D0CCECF3FF665C498D64F58DB6379DD31F529377BC4D9B12B639B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "QueryApplicationFile@27(bstrApplicationFile:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,pbstrApplicationName:out:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:free=SysFreeString,pbstrApplicationDescription:out:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:free=SysFreeString,pbHasUsers:out:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr1/Mutable/underlying=i16/ptr0/Unspecified,pbIsProxy:out:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr1/Mutable/underlying=i16/ptr0/Unspecified,ppsaVarFileNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.geteventclassesforiid.slot-32.param-1-ppsavarclsids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarCLSIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 32, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetEventClassesForIID", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrIID", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarProgIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarDescriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0EA80A80937FD3B44FBDF2FB7A743FA28FDF8D5F0B33CB3C5B06607C5FDDBA25", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.geteventclassesforiid.slot-32.param-2-ppsavarprogids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarProgIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 32, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetEventClassesForIID", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrIID", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarProgIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarDescriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0EA80A80937FD3B44FBDF2FB7A743FA28FDF8D5F0B33CB3C5B06607C5FDDBA25", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 3 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icomadmincatalog.dd662187dfc211d1a2cf00805fc79235.geteventclassesforiid.slot-32.param-3-ppsavardescriptions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 32, + "declaringIid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "interface": { + "iid": "dd662187-dfc2-11d1-a2cf-00805fc79235", + "name": "ICOMAdminCatalog", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "GetEventClassesForIID", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrIID", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "ppsaVarCLSIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "ppsaVarProgIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "ppsaVarDescriptions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0EA80A80937FD3B44FBDF2FB7A743FA28FDF8D5F0B33CB3C5B06607C5FDDBA25", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-componentservices.icatalogcollection.6eb228728a1911d081b600a0c9231c29.populatebykey.slot-21.param-0-psakeys.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icatalogcollection-populatebykey" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ICatalogCollection::PopulateByKey parameter psaKeys as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 21, + "declaringIid": "6eb22872-8a19-11d0-81b6-00a0c9231c29", + "interface": { + "iid": "6eb22872-8a19-11d0-81b6-00a0c9231c29", + "name": "ICatalogCollection", + "namespace": "Windows.Win32.System.ComponentServices" + }, + "method": "PopulateByKey", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "psaKeys", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "7FFD877942360E8C6B531E598889656DD7F7313CBF06D47DA088548D3E9A6970", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "PopulateByKey@21(psaKeys:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 4 + }, + "entryId": "automation.safearray.entry.windows-win32-system-desktopsharing.irdpsrapiframebuffer.3d67e7d2b27b448e81b3c6110ed8b4be.getframebufferbits.slot-10.param-4-ppbits.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/rdpencomapi/nf-rdpencomapi-irdpsrapiframebuffer-getframebufferbits" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRDPSRAPIFrameBuffer::GetFrameBufferBits parameter ppBits as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 10, + "declaringIid": "3d67e7d2-b27b-448e-81b3-c6110ed8b4be", + "interface": { + "iid": "3d67e7d2-b27b-448e-81b3-c6110ed8b4be", + "name": "IRDPSRAPIFrameBuffer", + "namespace": "Windows.Win32.System.DesktopSharing" + }, + "method": "GetFrameBufferBits", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "x", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "y", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "Width", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "Heigth", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 4, + "name": "ppBits", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "D83DAE062B20607C33C6C698C1AE908193E194BA61F9244C6F4D83FEC259DFB1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetFrameBufferBits@10(x:in:required:noconstattr:i32/ptr0/Unspecified,y:in:required:noconstattr:i32/ptr0/Unspecified,Width:in:required:noconstattr:i32/ptr0/Unspecified,Heigth:in:required:noconstattr:i32/ptr0/Unspecified,ppBits:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.ialertdatacollector.03837516098b11d89414505054503030.get-alertthresholds.slot-32.param-0-alerts.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4eec695c-3db7-48b2-acc9-4614050eb73e" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IAlertDataCollector::get_AlertThresholds parameter alerts as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 32, + "declaringIid": "03837516-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837516-098b-11d8-9414-505054503030", + "name": "IAlertDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_AlertThresholds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "alerts", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "7FBF1F9E60FAD26EF3D824CBB8D10C6022176FDA4BF5AF3CBC32C63871BA5469", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_AlertThresholds@32(alerts:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.ialertdatacollector.03837516098b11d89414505054503030.put-alertthresholds.slot-33.param-0-alerts.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/5a4acb29-3360-4f6b-9b4f-445d6149d0c8" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IAlertDataCollector::put_AlertThresholds parameter alerts as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 33, + "declaringIid": "03837516-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837516-098b-11d8-9414-505054503030", + "name": "IAlertDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_AlertThresholds", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "alerts", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "27074BE8896CE824E6F0E5161BF3588B8DF5E70853E8B415C2801769CCCD0DDF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_AlertThresholds@33(alerts:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.get-includemodules.slot-40.param-0-includemodules.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/8c6ec48b-3a2b-4f7f-a77b-93f311175d72" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::get_IncludeModules parameter includemodules as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 40, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_IncludeModules", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "includemodules", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "935E55321CD29203F578248B6770004A30F0703AADB5172A2ECF8F9AF4CDB056", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_IncludeModules@40(includemodules:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.put-includemodules.slot-41.param-0-includemodules.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4a15bef7-2231-4626-883a-76c608fe144e" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::put_IncludeModules parameter includemodules as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 41, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_IncludeModules", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "includemodules", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "86489CBD3CB57CBC3D731D855FDF25002B4900022F77ECA15BB24AB4B6A199C9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_IncludeModules@41(includemodules:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.get-includeapis.slot-42.param-0-includeapis.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4a23e92d-3a98-4c9b-bffa-730eb94d300e" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::get_IncludeApis parameter includeapis as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 42, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_IncludeApis", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "includeapis", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FC92EBA658FA56B1D23EC0CEE406DF915E5FD39F0A5AB0267B4B242153AE3801", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_IncludeApis@42(includeapis:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.put-includeapis.slot-43.param-0-includeapis.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/7d22d37a-c3e7-43c7-9d37-99eef3f2a76e" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::put_IncludeApis parameter includeapis as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 43, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_IncludeApis", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "includeapis", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "47E22C097C04A0169B6C47785D6FDD07AE0F8ADE2C2B2DCEF42B946E3BACD21E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_IncludeApis@43(includeapis:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.get-excludeapis.slot-44.param-0-excludeapis.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/522d5831-3675-4e8a-a464-804f8aae23d1" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::get_ExcludeApis parameter excludeapis as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 44, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_ExcludeApis", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "excludeapis", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "046E8EE37BFD5F345D92B6C18F138C7AB6BD4F0D55AAE185242070ABC160D7EC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ExcludeApis@44(excludeapis:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iapitracingdatacollector.0383751a098b11d89414505054503030.put-excludeapis.slot-45.param-0-excludeapis.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/d4e1cca9-b5ff-43a2-9460-09cc28fdfbb3" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IApiTracingDataCollector::put_ExcludeApis parameter excludeapis as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 45, + "declaringIid": "0383751a-098b-11d8-9414-505054503030", + "interface": { + "iid": "0383751a-098b-11d8-9414-505054503030", + "name": "IApiTracingDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_ExcludeApis", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "excludeapis", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9B7989C51F757F7B684BB6E3C2825BCD140A498450DC6FCD680D49500160AA66", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ExcludeApis@45(excludeapis:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.get-files.slot-38.param-0-files.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/2e5e0b1f-58b9-4c3e-b871-b2926181618b" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::get_Files parameter Files as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 38, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_Files", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "Files", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "761EE1296F540D4E90B43468253224E9A591B988FC5A65171C664E2C2384F8C0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Files@38(Files:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.put-files.slot-39.param-0-files.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/b818eebc-4ac6-4e4d-8b37-9bf16bd73dbe" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::put_Files parameter Files as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 39, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_Files", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "Files", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C129102A22B97EAF1A5732A68933B5B88BBAF233AE7B5838A51ADAABFE530C40", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Files@39(Files:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.get-managementqueries.slot-40.param-0-queries.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/075523bd-fe49-4418-a35c-1a6304a2d96f" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::get_ManagementQueries parameter Queries as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 40, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_ManagementQueries", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "Queries", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "23D333049339F94F199078C51522BAF5DABD0FADBB39CDCD048B19B9B27D3E34", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_ManagementQueries@40(Queries:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.put-managementqueries.slot-41.param-0-queries.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4014616b-e79c-4c31-a341-4b93682f4b86" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::put_ManagementQueries parameter Queries as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 41, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_ManagementQueries", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "Queries", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "201EA5ADC2EFFB68CE98E7EB310A27FEDDE9B66E7F9BECB7023BE86B6ED637A8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_ManagementQueries@41(Queries:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.get-registrykeys.slot-44.param-0-query.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/8cd3e9f0-7fc4-4145-97e2-1e11068d51cf" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::get_RegistryKeys parameter query as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 44, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_RegistryKeys", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "query", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FDE6FF0C094C74E3867B5077A027B5455476D3BBFE657799A3A7A058D4534526", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_RegistryKeys@44(query:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iconfigurationdatacollector.03837514098b11d89414505054503030.put-registrykeys.slot-45.param-0-query.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/af80e2b4-f631-4d9f-851e-00af476b596b" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IConfigurationDataCollector::put_RegistryKeys parameter query as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 45, + "declaringIid": "03837514-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837514-098b-11d8-9414-505054503030", + "name": "IConfigurationDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_RegistryKeys", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "query", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "9F631D7E522116EA21A843AFF13B9165803464B660D2AB9623EAD5CC1F27F357", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_RegistryKeys@45(query:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.idatacollectorset.03837520098b11d89414505054503030.get-keywords.slot-16.param-0-keywords.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/e0d56db0-adbe-4596-bd30-6fa7ed22afdd" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IDataCollectorSet::get_Keywords parameter keywords as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 16, + "declaringIid": "03837520-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837520-098b-11d8-9414-505054503030", + "name": "IDataCollectorSet", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_Keywords", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "keywords", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "90DC3F82B6A8EC9CF69B7D1D7599D7706CA414B325821688BD43F67DA667A8C4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Keywords@16(keywords:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.idatacollectorset.03837520098b11d89414505054503030.put-keywords.slot-17.param-0-keywords.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/48c9bab4-ba47-4486-8b01-fb9e8294870b" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IDataCollectorSet::put_Keywords parameter keywords as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 17, + "declaringIid": "03837520-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837520-098b-11d8-9414-505054503030", + "name": "IDataCollectorSet", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_Keywords", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "keywords", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "FE80F3047A55FFA785634320B8857F27C8F86FEB0D584D4DEB78355EBDD87B74", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_Keywords@17(keywords:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iperformancecounterdatacollector.03837506098b11d89414505054503030.get-performancecounters.slot-34.param-0-counters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/f78f5a32-4fbb-4991-9618-432968c4b0c4" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IPerformanceCounterDataCollector::get_PerformanceCounters parameter counters as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 34, + "declaringIid": "03837506-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837506-098b-11d8-9414-505054503030", + "name": "IPerformanceCounterDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_PerformanceCounters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "counters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3503883264289FC0F396BAFF24C625BB7B55BE41280B1E78C23E4ADF50ACF582", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_PerformanceCounters@34(counters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.iperformancecounterdatacollector.03837506098b11d89414505054503030.put-performancecounters.slot-35.param-0-counters.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/9cce1255-a3a3-420d-bd3f-42996d685ac8" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft Open Specifications define IPerformanceCounterDataCollector::put_PerformanceCounters parameter counters as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 35, + "declaringIid": "03837506-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837506-098b-11d8-9414-505054503030", + "name": "IPerformanceCounterDataCollector", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_PerformanceCounters", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "counters", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "1F9A58327DED567A957389536A6CC6611547A0F36DCBB45295C7ED614402D59E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_PerformanceCounters@35(counters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.itracedataprovider.03837512098b11d89414505054503030.get-filterdata.slot-19.param-0-ppdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/pla/nf-pla-itracedataprovider-get_filterdata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft API documentation defines ITraceDataProvider::get_FilterData parameter ppData as a SAFEARRAY of bytes, requiring VT_UI1", + "selector": { + "absoluteSlot": 19, + "declaringIid": "03837512-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837512-098b-11d8-9414-505054503030", + "name": "ITraceDataProvider", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "get_FilterData", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "ppData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "810C02733FD74D38D47DACBDBE2EA7B3DDC6B8A1A029AB54EE941C6E43C2287C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_FilterData@19(ppData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-performance.itracedataprovider.03837512098b11d89414505054503030.put-filterdata.slot-20.param-0-pdata.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/pla/nf-pla-itracedataprovider-put_filterdata" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft API documentation defines ITraceDataProvider::put_FilterData parameter pData as a SAFEARRAY of bytes, requiring VT_UI1", + "selector": { + "absoluteSlot": 20, + "declaringIid": "03837512-098b-11d8-9414-505054503030", + "interface": { + "iid": "03837512-098b-11d8-9414-505054503030", + "name": "ITraceDataProvider", + "namespace": "Windows.Win32.System.Performance" + }, + "method": "put_FilterData", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "pData", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "DE8A2C46610BEEA1554C17D0FAED3975363C2648D7D0A6B24E8924D495D808BC", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "put_FilterData@20(pData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.itssbglobalstore.9ab60f7bbd724d9f8a3aa0ea5574e635.enumeratefarms.slot-5.param-2-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbglobalstore-enumeratefarms" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITsSbGlobalStore::EnumerateFarms parameter pVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 5, + "declaringIid": "9ab60f7b-bd72-4d9f-8a3a-a0ea5574e635", + "interface": { + "iid": "9ab60f7b-bd72-4d9f-8a3a-a0ea5574e635", + "name": "ITsSbGlobalStore", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "EnumerateFarms", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "ProviderName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pdwCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "B86D86D5D2D6471CE152C2721BAF2774CC767B062AAF6DD4FD1016A2DC95C516", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "EnumerateFarms@5(ProviderName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,pdwCount:out:required:noconstattr:u32/ptr1/Mutable,pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.itssbresourcepluginstore.5c38f65fbcf14036a6bf9e3cccae0b63.enumeratefarms.slot-9.param-1-pval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbresourcepluginstore-enumeratefarms" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITsSbResourcePluginStore::EnumerateFarms parameter pVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 9, + "declaringIid": "5c38f65f-bcf1-4036-a6bf-9e3cccae0b63", + "interface": { + "iid": "5c38f65f-bcf1-4036-a6bf-9e3cccae0b63", + "name": "ITsSbResourcePluginStore", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "EnumerateFarms", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pdwCount", + "nativeType": "u32", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "A1CE683DFB1E6C3AC421B4813A7A1FB8B5C193ADD137307FC9BF540B4DF33140", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "EnumerateFarms@9(pdwCount:out:required:noconstattr:u32/ptr1/Mutable,pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.itssbtaskinfo.523d108389be48dd99ea04e82ffa7265.get-context.slot-9.param-0-pcontext.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbtaskinfo-get_context" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITsSbTaskInfo::get_Context parameter pContext as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 9, + "declaringIid": "523d1083-89be-48dd-99ea-04e82ffa7265", + "interface": { + "iid": "523d1083-89be-48dd-99ea-04e82ffa7265", + "name": "ITsSbTaskInfo", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "get_Context", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pContext", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0B15A755910F3D55155746F4EC0581B2E9C1686D0244A32113CD438D19FF64C9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_Context@9(pContext:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI1" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 8 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.itssbtaskpluginnotifysink.6aaf899ec2ec45eeaa3745e60895261a.onsettasktime.slot-5.param-8-sacontext.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbtaskpluginnotifysink-onsettasktime" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITsSbTaskPluginNotifySink::OnSetTaskTime parameter saContext as SAFEARRAY(BYTE), requiring VT_UI1", + "selector": { + "absoluteSlot": 5, + "declaringIid": "6aaf899e-c2ec-45ee-aa37-45e60895261a", + "interface": { + "iid": "6aaf899e-c2ec-45ee-aa37-45e60895261a", + "name": "ITsSbTaskPluginNotifySink", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "OnSetTaskTime", + "parameterCount": 9, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "szTargetName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "TaskStartTime", + "nativeType": "Windows.Win32.Foundation.FILETIME", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "TaskEndTime", + "nativeType": "Windows.Win32.Foundation.FILETIME", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "TaskDeadline", + "nativeType": "Windows.Win32.Foundation.FILETIME", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "szTaskLabel", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 5, + "name": "szTaskIdentifier", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 6, + "name": "szTaskPlugin", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 7, + "name": "dwTaskStatus", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 8, + "name": "saContext", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C3CD083EB6B037C8C7EA01024C5D1333773C9D1C03CD857BDFBB4DAE9396456C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "OnSetTaskTime@5(szTargetName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,TaskStartTime:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,TaskEndTime:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,TaskDeadline:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,szTaskLabel:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,szTaskIdentifier:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,szTaskPlugin:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,dwTaskStatus:in:required:noconstattr:u32/ptr0/Unspecified,saContext:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.iworkspace.b922bbb84c554fea8496beb0b44285e5.getworkspacenames.slot-3.param-0-psawkspnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace-getworkspacenames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWorkspace::GetWorkspaceNames parameter psaWkspNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 3, + "declaringIid": "b922bbb8-4c55-4fea-8496-beb0b44285e5", + "interface": { + "iid": "b922bbb8-4c55-4fea-8496-beb0b44285e5", + "name": "IWorkspace", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "GetWorkspaceNames", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "psaWkspNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "5BD1A366804BB87F99A0D08AFEB2944E98C0B82B8D77FCC38C15C369550774B1", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWorkspaceNames@3(psaWkspNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.iworkspace.b922bbb84c554fea8496beb0b44285e5.startremoteapplication.slot-4.param-1-psaparams.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace-startremoteapplication" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWorkspace::StartRemoteApplication parameter psaParams as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 4, + "declaringIid": "b922bbb8-4c55-4fea-8496-beb0b44285e5", + "interface": { + "iid": "b922bbb8-4c55-4fea-8496-beb0b44285e5", + "name": "IWorkspace", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "StartRemoteApplication", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrWorkspaceId", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "psaParams", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "AD56E702B7F427E118A0458C00C7A4D354255EBF32503F7360E7F2F3BA2C6589", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "StartRemoteApplication@4(bstrWorkspaceId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,psaParams:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 5 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.iworkspace2.96d8d7cf783e4286834cebc0e95f783c.startremoteapplicationex.slot-6.param-5-psaparams.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace2-startremoteapplicationex" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWorkspace2::StartRemoteApplicationEx parameter psaParams as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 6, + "declaringIid": "96d8d7cf-783e-4286-834c-ebc0e95f783c", + "interface": { + "iid": "96d8d7cf-783e-4286-834c-ebc0e95f783c", + "name": "IWorkspace2", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "StartRemoteApplicationEx", + "parameterCount": 6, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "bstrWorkspaceId", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "bstrRequestingAppId", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "bstrRequestingAppFamilyName", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "bLaunchIntoImmersiveClient", + "nativeType": "Windows.Win32.Foundation.VARIANT_BOOL", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 4, + "name": "bstrImmersiveClientActivationContext", + "nativeType": "Windows.Win32.Foundation.BSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 5, + "name": "psaParams", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "3DEAD2D8DB6938E4C1F78F0C298FC382F6AC93D8C2CC23E904094E7E6B2396F6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "StartRemoteApplicationEx@6(bstrWorkspaceId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bstrRequestingAppId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bstrRequestingAppFamilyName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bLaunchIntoImmersiveClient:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,bstrImmersiveClientActivationContext:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,psaParams:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-remotedesktop.iworkspacerestyperegistry.1d428c796e2e4351a361c0401a03a0ba.getregisteredfileextensions.slot-9.param-1-psafileextensions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/workspaceax/nf-workspaceax-iworkspacerestyperegistry-getregisteredfileextensions" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft API documentation defines IWorkspaceResTypeRegistry::GetRegisteredFileExtensions parameter psaFileExtensions as a SAFEARRAY of BSTR file extensions, requiring VT_BSTR", + "selector": { + "absoluteSlot": 9, + "declaringIid": "1d428c79-6e2e-4351-a361-c0401a03a0ba", + "interface": { + "iid": "1d428c79-6e2e-4351-a361-c0401a03a0ba", + "name": "IWorkspaceResTypeRegistry", + "namespace": "Windows.Win32.System.RemoteDesktop" + }, + "method": "GetRegisteredFileExtensions", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "fMachineWide", + "nativeType": "Windows.Win32.Foundation.VARIANT_BOOL", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "psaFileExtensions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FD94CB00F5D9354F7341A1C538D0E5BB4725A33FEBBF16BB84AE862EB5FD26AF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRegisteredFileExtensions@9(fMachineWide:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,psaFileExtensions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 3 + }, + "entryId": "automation.safearray.entry.windows-win32-system-wmi.iwbemclassobject.dc12a681737f11cf884d00aa004b2e24.getnames.slot-7.param-3-pnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemclassobject-getnames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWbemClassObject::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 7, + "declaringIid": "dc12a681-737f-11cf-884d-00aa004b2e24", + "interface": { + "iid": "dc12a681-737f-11cf-884d-00aa004b2e24", + "name": "IWbemClassObject", + "namespace": "Windows.Win32.System.Wmi" + }, + "method": "GetNames", + "parameterCount": 4, + "parameters": [ + { + "constAttribute": true, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "wszQualifierName", + "nativeType": "Windows.Win32.Foundation.PWSTR", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "lFlags", + "nativeType": "Windows.Win32.System.Wmi.WBEM_CONDITION_FLAG_TYPE", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "pQualifierVal", + "nativeType": "Windows.Win32.System.Variant.VARIANT", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 3, + "name": "pNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4C4B6CC441A391583BF3D464DDFDE2D18E346B082957E567501D18536AED425A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetNames@7(wszQualifierName:in:required:constattr:Windows.Win32.Foundation.PWSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,lFlags:in:required:noconstattr:Windows.Win32.System.Wmi.WBEM_CONDITION_FLAG_TYPE[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,pQualifierVal:in:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-wmi.iwbemcontext.44aca674e8fc11d0a07c00c04fb68820.getnames.slot-4.param-1-pnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemcontext-getnames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWbemContext::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 4, + "declaringIid": "44aca674-e8fc-11d0-a07c-00c04fb68820", + "interface": { + "iid": "44aca674-e8fc-11d0-a07c-00c04fb68820", + "name": "IWbemContext", + "namespace": "Windows.Win32.System.Wmi" + }, + "method": "GetNames", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "lFlags", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "5D0EDBB67E6CD291A1A5CD9F38930B5B06DE9F664CFEB07690BCBFC1C8839DCD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetNames@4(lFlags:in:required:noconstattr:i32/ptr0/Unspecified,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-system-wmi.iwbemqualifierset.dc12a680737f11cf884d00aa004b2e24.getnames.slot-6.param-1-pnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemqualifierset-getnames" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IWbemQualifierSet::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 6, + "declaringIid": "dc12a680-737f-11cf-884d-00aa004b2e24", + "interface": { + "iid": "dc12a680-737f-11cf-884d-00aa004b2e24", + "name": "IWbemQualifierSet", + "namespace": "Windows.Win32.System.Wmi" + }, + "method": "GetNames", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "lFlags", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "pNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E955C0ED39273F578A7143DF5E1E014BF5CA7334AB4E4371B82CBF2A6B11F211", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetNames@6(lFlags:in:required:noconstattr:i32/ptr0/Unspecified,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-system-windowsprogramming.icamerauicontrol.b8733adf3d684b8fbb08e28a0bed0376.getselecteditems.slot-9.param-0-ppselecteditempaths.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/camerauicontrol/nf-camerauicontrol-icamerauicontrol-getselecteditems" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft API documentation defines ICameraUIControl::GetSelectedItems parameter ppSelectedItemPaths as a SAFEARRAY of BSTR captured-item paths, requiring VT_BSTR", + "selector": { + "absoluteSlot": 9, + "declaringIid": "b8733adf-3d68-4b8f-bb08-e28a0bed0376", + "interface": { + "iid": "b8733adf-3d68-4b8f-bb08-e28a0bed0376", + "name": "ICameraUIControl", + "namespace": "Windows.Win32.System.WindowsProgramming" + }, + "method": "GetSelectedItems", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "ppSelectedItemPaths", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "3895DC7DF5B566CD9029CB4FAC1769771DF8BB8AD816CCC34BCF9D9DD8577661", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSelectedItems@9(ppSelectedItemPaths:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "b2e8a3f1-4c5d-4e7a-8f6b-3d2e1c9a0b8f", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationclientinfosource.f4b8a2e19c3d4a7e8f6b2d5e4c1a9b8f.getconnectedclients.slot-5.param-0-clients.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iuiautomationclientinfosource-getconnectedclients" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft API documentation defines IUIAutomationClientInfoSource::GetConnectedClients parameter clients as a SAFEARRAY of IUIAutomationClientInfo interface pointers, requiring VT_UNKNOWN with IID b2e8a3f1-4c5d-4e7a-8f6b-3d2e1c9a0b8f", + "selector": { + "absoluteSlot": 5, + "declaringIid": "f4b8a2e1-9c3d-4a7e-8f6b-2d5e4c1a9b8f", + "interface": { + "iid": "f4b8a2e1-9c3d-4a7e-8f6b-2d5e4c1a9b8f", + "name": "IUIAutomationClientInfoSource", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetConnectedClients", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "clients", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "079ADE8D66484D8827BB04309CA557619CBD169A4DE77A9F686EC92A8159EA8F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetConnectedClients@5(clients:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iaccessibleex.f8b80ada2c4448d089be5ff23c9cd875.getruntimeid.slot-5.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iaccessibleex-getruntimeid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IAccessibleEx::GetRuntimeId parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 5, + "declaringIid": "f8b80ada-2c44-48d0-89be-5ff23c9cd875", + "interface": { + "iid": "f8b80ada-2c44-48d0-89be-5ff23c9cd875", + "name": "IAccessibleEx", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRuntimeId", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "B5485256B792C0FDC94E72DFF15C81AD6A4C8AA362D93E2F8E097C89665D43DE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRuntimeId@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "620ce2a5-ab8f-40a9-86cb-de3c75599b58", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iaccessiblehostingelementproviders.33ac331b943e4020b295db37784974a3.getembeddedfragmentroots.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iaccessiblehostingelementproviders-getembeddedfragmentroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IAccessibleHostingElementProviders::GetEmbeddedFragmentRoots parameter pRetVal as SAFEARRAY(IRawElementProviderFragmentRoot*), requiring VT_UNKNOWN with IID 620ce2a5-ab8f-40a9-86cb-de3c75599b58", + "selector": { + "absoluteSlot": 3, + "declaringIid": "33ac331b-943e-4020-b295-db37784974a3", + "interface": { + "iid": "33ac331b-943e-4020-b295-db37784974a3", + "name": "IAccessibleHostingElementProviders", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetEmbeddedFragmentRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "7F547FDACF574F4689F382F8B8F3A089DA9A73A77F8A8F5FE1EA58C4C9CA924D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEmbeddedFragmentRoots@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iaccessiblewindowlesssite.bf3abd9c76da43899eb61427d25abab7.queryobjectidranges.slot-5.param-1-psaranges.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/oleacc/nf-oleacc-iaccessiblewindowlesssite-queryobjectidranges" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IAccessibleWindowlessSite::QueryObjectIdRanges parameter psaRanges as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 5, + "declaringIid": "bf3abd9c-76da-4389-9eb6-1427d25abab7", + "interface": { + "iid": "bf3abd9c-76da-4389-9eb6-1427d25abab7", + "name": "IAccessibleWindowlessSite", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "QueryObjectIdRanges", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pRangesOwner", + "nativeType": "Windows.Win32.UI.Accessibility.IAccessibleHandler", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "psaRanges", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "7DBF8D9F6E1CC730C29117FBA2495D44765FB9EDD296792C592AA8516F4F49FD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "QueryObjectIdRanges@5(pRangesOwner:in:required:noconstattr:Windows.Win32.UI.Accessibility.IAccessibleHandler[Interface]{03022430-abc4-11d0-bde2-00aa001a1953}/ptr0/Unspecified,psaRanges:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.idragprovider.6aa7bbbb7ff9497d904fd20b897929d8.get-dropeffects.slot-5.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-get_dropeffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDragProvider::get_DropEffects parameter pRetVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 5, + "declaringIid": "6aa7bbbb-7ff9-497d-904f-d20b897929d8", + "interface": { + "iid": "6aa7bbbb-7ff9-497d-904f-d20b897929d8", + "name": "IDragProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_DropEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "81EEBDDDF09D4A9332129E2402AC78D1BD92E2F52AA598A996F83B7116797DBA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_DropEffects@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-getgrabbeditems" + } + ], + "kind": "nullable-on-success", + "reason": "Microsoft permits a NULL SAFEARRAY result on success; the receiving SAFEARRAY** cell remains required." + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.idragprovider.6aa7bbbb7ff9497d904fd20b897929d8.getgrabbeditems.slot-6.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-getgrabbeditems" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDragProvider::GetGrabbedItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 6, + "declaringIid": "6aa7bbbb-7ff9-497d-904f-d20b897929d8", + "interface": { + "iid": "6aa7bbbb-7ff9-497d-904f-d20b897929d8", + "name": "IDragProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetGrabbedItems", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4B552A0E4DE916D071AABD66A9AF619FE3FEB0959CF0DF7F325B11CEA569282E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetGrabbedItems@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.idroptargetprovider.bae82bfd358a481c85a0d8b4d90a5d61.get-droptargeteffects.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idroptargetprovider-get_droptargeteffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IDropTargetProvider::get_DropTargetEffects parameter pRetVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 4, + "declaringIid": "bae82bfd-358a-481c-85a0-d8b4d90a5d61", + "interface": { + "iid": "bae82bfd-358a-481c-85a0-d8b4d90a5d61", + "name": "IDropTargetProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_DropTargetEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "135C724A286581BE46E8C1419ED74971A8DFB880EF753927EC70A7B9D603E6A4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_DropTargetEffects@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.ilegacyiaccessibleprovider.e44c3566915d407099c6047bff5a08f5.getselection.slot-15.param-0-pvarselectedchildren.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ilegacyiaccessibleprovider-getselection" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ILegacyIAccessibleProvider::GetSelection parameter pvarSelectedChildren as SAFEARRAY(IRawElementProviderSimple *), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 15, + "declaringIid": "e44c3566-915d-4070-99c6-047bff5a08f5", + "interface": { + "iid": "e44c3566-915d-4070-99c6-047bff5a08f5", + "name": "ILegacyIAccessibleProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetSelection", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pvarSelectedChildren", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "99B5FD0AEEC9702521A1DCD6CC8C3899901D562493BBECEEE89B37D8C209206F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSelection@15(pvarSelectedChildren:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.imultipleviewprovider.6278cab1b5564a1ab4e0418acc523201.getsupportedviews.slot-6.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-imultipleviewprovider-getsupportedviews" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IMultipleViewProvider::GetSupportedViews parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 6, + "declaringIid": "6278cab1-b556-4a1a-b4e0-418acc523201", + "interface": { + "iid": "6278cab1-b556-4a1a-b4e0-418acc523201", + "name": "IMultipleViewProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetSupportedViews", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4D922B56075CD97CCB3B10E27D3C73496A17064C9CC2C2245AD0729665FD5F45", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSupportedViews@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iproxyproviderwineventsink.4fd82b78a43e46ac98030a6969c7c183.addstructurechangedevent.slot-5.param-2-runtimeid.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iproxyproviderwineventsink-addstructurechangedevent" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IProxyProviderWinEventSink::AddStructureChangedEvent parameter runtimeId as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 5, + "declaringIid": "4fd82b78-a43e-46ac-9803-0a6969c7c183", + "interface": { + "iid": "4fd82b78-a43e-46ac-9803-0a6969c7c183", + "name": "IProxyProviderWinEventSink", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "AddStructureChangedEvent", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pProvider", + "nativeType": "Windows.Win32.UI.Accessibility.IRawElementProviderSimple", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "structureChangeType", + "nativeType": "Windows.Win32.UI.Accessibility.StructureChangeType", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "runtimeId", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "EAD3F807A396BF8B3E9314723AD40EB572E6F72043C398FA69F1351FB221FBC9", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "AddStructureChangedEvent@5(pProvider:in:required:noconstattr:Windows.Win32.UI.Accessibility.IRawElementProviderSimple[Interface]{d6dd68d1-86fd-4332-8666-9abedea2d24c}/ptr0/Unspecified,structureChangeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.StructureChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,runtimeId:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementprovideradviseevents.a407b27b0f6d44279292473c7bf93258.adviseeventadded.slot-3.param-1-propertyids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementprovideradviseevents-adviseeventadded" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderAdviseEvents::AdviseEventAdded parameter propertyIDs as SAFEARRAY(PROPERTYID), requiring VT_I4", + "selector": { + "absoluteSlot": 3, + "declaringIid": "a407b27b-0f6d-4427-9292-473c7bf93258", + "interface": { + "iid": "a407b27b-0f6d-4427-9292-473c7bf93258", + "name": "IRawElementProviderAdviseEvents", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "AdviseEventAdded", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "eventId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_EVENT_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "propertyIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "7241C34CC86515C7CB1DB797F9B1F63EAC967260967B0DE6E9ED02D50C7B9581", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "AdviseEventAdded@3(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyIDs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementprovideradviseevents.a407b27b0f6d44279292473c7bf93258.adviseeventremoved.slot-4.param-1-propertyids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementprovideradviseevents-adviseeventremoved" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderAdviseEvents::AdviseEventRemoved parameter propertyIDs as SAFEARRAY(PROPERTYID), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "a407b27b-0f6d-4427-9292-473c7bf93258", + "interface": { + "iid": "a407b27b-0f6d-4427-9292-473c7bf93258", + "name": "IRawElementProviderAdviseEvents", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "AdviseEventRemoved", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "eventId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_EVENT_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "propertyIDs", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "C43267CD902BB6D1E98A0BA860A332CBB7A3AF8DB5B31369F329BE2D74057617", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "AdviseEventRemoved@4(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyIDs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid" + } + ], + "kind": "nullable-on-success", + "reason": "Microsoft permits a NULL SAFEARRAY result on success; the receiving SAFEARRAY** cell remains required." + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementproviderfragment.f7063da88359439c9297bbc5299a7d87.getruntimeid.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderFragment::GetRuntimeId parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "f7063da8-8359-439c-9297-bbc5299a7d87", + "interface": { + "iid": "f7063da8-8359-439c-9297-bbc5299a7d87", + "name": "IRawElementProviderFragment", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRuntimeId", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "10CDC63F3FED0D67BA0B735F93246E1745D42DBC11FCDF2CF73B6CF7BF82B347", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRuntimeId@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "620ce2a5-ab8f-40a9-86cb-de3c75599b58", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getembeddedfragmentroots" + } + ], + "kind": "nullable-on-success", + "reason": "Microsoft permits a NULL SAFEARRAY result on success; the receiving SAFEARRAY** cell remains required." + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementproviderfragment.f7063da88359439c9297bbc5299a7d87.getembeddedfragmentroots.slot-6.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getembeddedfragmentroots" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderFragment::GetEmbeddedFragmentRoots parameter pRetVal as SAFEARRAY(IRawElementProviderFragmentRoot*), requiring VT_UNKNOWN with IID 620ce2a5-ab8f-40a9-86cb-de3c75599b58, and explicitly allow successful NULL output", + "selector": { + "absoluteSlot": 6, + "declaringIid": "f7063da8-8359-439c-9297-bbc5299a7d87", + "interface": { + "iid": "f7063da8-8359-439c-9297-bbc5299a7d87", + "name": "IRawElementProviderFragment", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetEmbeddedFragmentRoots", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "2C43CA6DBB9D9B0CFA90A7BC3C407B3EDF085171137FD3387C51F2A34E44353F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEmbeddedFragmentRoots@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "618736e0-3c3d-11cf-810c-00aa00389b71", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementproviderhostingaccessibles.24be0b07d37d487a98cfa13ed465e9b3.getembeddedaccessibles.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderhostingaccessibles-getembeddedaccessibles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderHostingAccessibles::GetEmbeddedAccessibles parameter pRetVal as SAFEARRAY(IAccessible*), requiring VT_UNKNOWN with IID 618736e0-3c3d-11cf-810c-00aa00389b71", + "selector": { + "absoluteSlot": 3, + "declaringIid": "24be0b07-d37d-487a-98cf-a13ed465e9b3", + "interface": { + "iid": "24be0b07-d37d-487a-98cf-a13ed465e9b3", + "name": "IRawElementProviderHostingAccessibles", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetEmbeddedAccessibles", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4846115F19C90AD596B5DD2F4832B80DD0266D624C44DA0989646F1BDBD19534", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetEmbeddedAccessibles@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.irawelementproviderwindowlesssite.0a2a93ccbfad42ac9b2e0991fb0d3ea0.getruntimeidprefix.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderwindowlesssite-getruntimeidprefix" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IRawElementProviderWindowlessSite::GetRuntimeIdPrefix parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "0a2a93cc-bfad-42ac-9b2e-0991fb0d3ea0", + "interface": { + "iid": "0a2a93cc-bfad-42ac-9b2e-0991fb0d3ea0", + "name": "IRawElementProviderWindowlessSite", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRuntimeIdPrefix", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "4F905BBF896E4F8159483E9C7DD1011D0260870FE6CCA1293FECDF4A630B0516", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRuntimeIdPrefix@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iselectionprovider.fb8b03af3bdf48d4bd361a65793be168.getselection.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iselectionprovider-getselection" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ISelectionProvider::GetSelection parameter pRetVal as SAFEARRAY(IRawElementProviderSimple *), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 3, + "declaringIid": "fb8b03af-3bdf-48d4-bd36-1a65793be168", + "interface": { + "iid": "fb8b03af-3bdf-48d4-bd36-1a65793be168", + "name": "ISelectionProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetSelection", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E2E0CB80B6670F8F35A6C9A7C76B2460FADCFD2E06C54078BBBD833A4CC7D067", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSelection@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.ispreadsheetitemprovider.eaed46607b3d4879a2e6365ce603f3d0.getannotationobjects.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ispreadsheetitemprovider-getannotationobjects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ISpreadsheetItemProvider::GetAnnotationObjects parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 4, + "declaringIid": "eaed4660-7b3d-4879-a2e6-365ce603f3d0", + "interface": { + "iid": "eaed4660-7b3d-4879-a2e6-365ce603f3d0", + "name": "ISpreadsheetItemProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetAnnotationObjects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "2E8CEBBBAA7D4D327EE92A5C509B812B89D31107CF4B02DE5D17F6E36170E218", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetAnnotationObjects@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.ispreadsheetitemprovider.eaed46607b3d4879a2e6365ce603f3d0.getannotationtypes.slot-5.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ispreadsheetitemprovider-getannotationtypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ISpreadsheetItemProvider::GetAnnotationTypes parameter pRetVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 5, + "declaringIid": "eaed4660-7b3d-4879-a2e6-365ce603f3d0", + "interface": { + "iid": "eaed4660-7b3d-4879-a2e6-365ce603f3d0", + "name": "ISpreadsheetItemProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetAnnotationTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "351DA44F6BD8580DBB2F1BD7CF9C5361C2363792DB948FCDE23CF22E81F602A8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetAnnotationTypes@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itableitemprovider.b9734fa6771f4d789c902517999349cd.getrowheaderitems.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableitemprovider-getrowheaderitems" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITableItemProvider::GetRowHeaderItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 3, + "declaringIid": "b9734fa6-771f-4d78-9c90-2517999349cd", + "interface": { + "iid": "b9734fa6-771f-4d78-9c90-2517999349cd", + "name": "ITableItemProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRowHeaderItems", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BB9C1C97B1C461E67A0C913A44EEA182F69AC055703E58F9638D27A5E1D19703", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRowHeaderItems@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itableitemprovider.b9734fa6771f4d789c902517999349cd.getcolumnheaderitems.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableitemprovider-getcolumnheaderitems" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITableItemProvider::GetColumnHeaderItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 4, + "declaringIid": "b9734fa6-771f-4d78-9c90-2517999349cd", + "interface": { + "iid": "b9734fa6-771f-4d78-9c90-2517999349cd", + "name": "ITableItemProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetColumnHeaderItems", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "C417A6FD2667AD78B0BFA43CD8AFC0861C91F31BE1CD1FF961B9C2D8EFC0A2D5", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetColumnHeaderItems@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itableprovider.9c86039597b3490ab52a858cc22af166.getrowheaders.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableprovider-getrowheaders" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITableProvider::GetRowHeaders parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 3, + "declaringIid": "9c860395-97b3-490a-b52a-858cc22af166", + "interface": { + "iid": "9c860395-97b3-490a-b52a-858cc22af166", + "name": "ITableProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRowHeaders", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "369B9B74CD549ECC2DE5BF7D9B42203067394E5822442B07435431F189B3519D", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRowHeaders@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itableprovider.9c86039597b3490ab52a858cc22af166.getcolumnheaders.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableprovider-getcolumnheaders" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITableProvider::GetColumnHeaders parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 4, + "declaringIid": "9c860395-97b3-490a-b52a-858cc22af166", + "interface": { + "iid": "9c860395-97b3-490a-b52a-858cc22af166", + "name": "ITableProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetColumnHeaders", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "B1CC141DE68A6245695120C31248F40CC9F85222405D7E46E9A9F4D234486659", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetColumnHeaders@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "5347ad7b-c355-46f8-aff5-909033582f63", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getselection" + } + ], + "kind": "nullable-on-success", + "reason": "Microsoft permits a NULL SAFEARRAY result on success; the receiving SAFEARRAY** cell remains required." + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itextprovider.3589c92c63f3436799bbada653b77cf2.getselection.slot-3.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getselection" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITextProvider::GetSelection parameter pRetVal as SAFEARRAY(ITextRangeProvider *), requiring VT_UNKNOWN with IID 5347ad7b-c355-46f8-aff5-909033582f63", + "selector": { + "absoluteSlot": 3, + "declaringIid": "3589c92c-63f3-4367-99bb-ada653b77cf2", + "interface": { + "iid": "3589c92c-63f3-4367-99bb-ada653b77cf2", + "name": "ITextProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetSelection", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E2E0CB80B6670F8F35A6C9A7C76B2460FADCFD2E06C54078BBBD833A4CC7D067", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetSelection@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "5347ad7b-c355-46f8-aff5-909033582f63", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itextprovider.3589c92c63f3436799bbada653b77cf2.getvisibleranges.slot-4.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getvisibleranges" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITextProvider::GetVisibleRanges parameter pRetVal as SAFEARRAY(ITextRangeProvider *), requiring VT_UNKNOWN with IID 5347ad7b-c355-46f8-aff5-909033582f63", + "selector": { + "absoluteSlot": 4, + "declaringIid": "3589c92c-63f3-4367-99bb-ada653b77cf2", + "interface": { + "iid": "3589c92c-63f3-4367-99bb-ada653b77cf2", + "name": "ITextProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetVisibleRanges", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "28040F88D166EB0879C8AA23EDD1E5B456E9157396E7BE27B40F017EEDEED8A6", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetVisibleRanges@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_R8" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itextrangeprovider.5347ad7bc35546f8aff5909033582f63.getboundingrectangles.slot-10.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextrangeprovider-getboundingrectangles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITextRangeProvider::GetBoundingRectangles parameter pRetVal as SAFEARRAY(double), requiring VT_R8", + "selector": { + "absoluteSlot": 10, + "declaringIid": "5347ad7b-c355-46f8-aff5-909033582f63", + "interface": { + "iid": "5347ad7b-c355-46f8-aff5-909033582f63", + "name": "ITextRangeProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetBoundingRectangles", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "AEABCB62AE3CD08EC82122530264E9AFD2C12F64F0053BFA065C5D005C230408", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetBoundingRectangles@10(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d6dd68d1-86fd-4332-8666-9abedea2d24c", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.itextrangeprovider.5347ad7bc35546f8aff5909033582f63.getchildren.slot-20.param-0-pretval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextrangeprovider-getchildren" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define ITextRangeProvider::GetChildren parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", + "selector": { + "absoluteSlot": 20, + "declaringIid": "5347ad7b-c355-46f8-aff5-909033582f63", + "interface": { + "iid": "5347ad7b-c355-46f8-aff5-909033582f63", + "name": "ITextRangeProvider", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetChildren", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "pRetVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "1D1A00C8A4D5A10EA68E3BCE982BCC9317BCB039C3B91F66623BB66A05C09117", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetChildren@20(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.compareruntimeids.slot-4.param-0-runtimeid1.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-compareruntimeids" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::CompareRuntimeIds parameter runtimeId1 as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "CompareRuntimeIds", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "runtimeId1", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "runtimeId2", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "areSame", + "nativeType": "Windows.Win32.Foundation.BOOL", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "972BBC006BBA9621E98CA682D4D998CED8DEC810A8ADD4530FD711C45838D3FD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "CompareRuntimeIds@4(runtimeId1:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,runtimeId2:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,areSame:out:required:noconstattr:Windows.Win32.Foundation.BOOL[Struct]/ptr1/Mutable/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.compareruntimeids.slot-4.param-1-runtimeid2.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-compareruntimeids" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::CompareRuntimeIds parameter runtimeId2 as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "CompareRuntimeIds", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "runtimeId1", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "runtimeId2", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "areSame", + "nativeType": "Windows.Win32.Foundation.BOOL", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "972BBC006BBA9621E98CA682D4D998CED8DEC810A8ADD4530FD711C45838D3FD", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "CompareRuntimeIds@4(runtimeId1:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,runtimeId2:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,areSame:out:required:noconstattr:Windows.Win32.Foundation.BOOL[Struct]/ptr1/Mutable/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "352ffba8-0973-437c-a61f-f64cafd81df9", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.createandconditionfromarray.slot-26.param-0-conditions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-createandconditionfromarray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::CreateAndConditionFromArray parameter conditions as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", + "selector": { + "absoluteSlot": 26, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "CreateAndConditionFromArray", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "conditions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "newCondition", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationCondition", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "A46A1576CA18729C5F2430655531383CF72BA659ACC166DB25807FBECEB1A78C", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "CreateAndConditionFromArray@26(conditions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,newCondition:out:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCondition[Interface]{352ffba8-0973-437c-a61f-f64cafd81df9}/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "352ffba8-0973-437c-a61f-f64cafd81df9", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.createorconditionfromarray.slot-29.param-0-conditions.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-createorconditionfromarray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::CreateOrConditionFromArray parameter conditions as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", + "selector": { + "absoluteSlot": 29, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "CreateOrConditionFromArray", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "conditions", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "newCondition", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationCondition", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "A43957CBBF5DD4C605B12CC4A1A040FFF1873E1D9502D7F92137F2F6A6E0D60A", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "CreateOrConditionFromArray@29(conditions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,newCondition:out:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCondition[Interface]{352ffba8-0973-437c-a61f-f64cafd81df9}/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 4 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.addpropertychangedeventhandler.slot-35.param-4-propertyarray.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-addpropertychangedeventhandler" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::AddPropertyChangedEventHandler parameter propertyArray as SAFEARRAY(PROPERTYID), requiring VT_I4", + "selector": { + "absoluteSlot": 35, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "AddPropertyChangedEventHandler", + "parameterCount": 5, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "element", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "scope", + "nativeType": "Windows.Win32.UI.Accessibility.TreeScope", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 2, + "name": "cacheRequest", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationCacheRequest", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 3, + "name": "handler", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationPropertyChangedEventHandler", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 4, + "name": "propertyArray", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "A0C787341A83511DEE765407F937F4409BC183D39D5239FBE0DC50482EF7485F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "AddPropertyChangedEventHandler@35(element:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,scope:in:required:noconstattr:Windows.Win32.UI.Accessibility.TreeScope[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,cacheRequest:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCacheRequest[Interface]{b32a92b5-bc25-4078-9c08-d7ee95c48e03}/ptr0/Unspecified,handler:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationPropertyChangedEventHandler[Interface]{40cd37d4-c756-4b0c-8c6f-bddfeeb13b50}/ptr0/Unspecified,propertyArray:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.intnativearraytosafearray.slot-42.param-2-safearray.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-intnativearraytosafearray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::IntNativeArrayToSafeArray parameter safeArray as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 42, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "IntNativeArrayToSafeArray", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "array", + "nativeType": "i32", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "arrayCount", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "safeArray", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "BCC4828D1A0CF787F664CF5CB1F70CE61341CD4712F0E291DA283B38D8B7E571", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "IntNativeArrayToSafeArray@42(array:in:required:noconstattr:i32/ptr1/Mutable:array=Some(1)/None/Elements/false/false/None,arrayCount:in:required:noconstattr:i32/ptr0/Unspecified,safeArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.intsafearraytonativearray.slot-43.param-0-intarray.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-intsafearraytonativearray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::IntSafeArrayToNativeArray parameter intArray as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 43, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "IntSafeArrayToNativeArray", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "intArray", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "array", + "nativeType": "i32", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "arrayCount", + "nativeType": "i32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "BF6B4C4AA74B58C8C88E88ED955AC2CE7552EF20C2CF5E8FD0E9254B6DC0EE04", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "IntSafeArrayToNativeArray@43(intArray:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,array:out:required:noconstattr:i32/ptr2/Mutable:array=Some(2)/None/Elements/false/false/None,arrayCount:out:required:noconstattr:i32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_R8" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.safearraytorectnativearray.slot-46.param-0-rects.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-safearraytorectnativearray" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::SafeArrayToRectNativeArray parameter rects as SAFEARRAY(double), requiring VT_R8", + "selector": { + "absoluteSlot": 46, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "SafeArrayToRectNativeArray", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "rects", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "rectArray", + "nativeType": "Windows.Win32.Foundation.RECT", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "rectArrayCount", + "nativeType": "i32", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "4FDAE99D29F7C2D72AE61A89864ACD4BA30BE4CA79EA6CC7D187E6B30E0FB7CE", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SafeArrayToRectNativeArray@46(rects:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,rectArray:out:required:noconstattr:Windows.Win32.Foundation.RECT[Struct]/ptr2/Mutable:array=Some(2)/None/Elements/false/false/None,rectArrayCount:out:required:noconstattr:i32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.pollforpotentialsupportedpatterns.slot-51.param-1-patternids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedpatterns" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedPatterns parameter patternIds as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 51, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "PollForPotentialSupportedPatterns", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pElement", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "patternIds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "patternNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "43EBF4FF20C6141CF6F282E300E709BDE2CC5EF3C74FAD9A97E49312462A9F90", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "PollForPotentialSupportedPatterns@51(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,patternIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,patternNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.pollforpotentialsupportedpatterns.slot-51.param-2-patternnames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedpatterns" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedPatterns parameter patternNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 51, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "PollForPotentialSupportedPatterns", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pElement", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "patternIds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "patternNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "43EBF4FF20C6141CF6F282E300E709BDE2CC5EF3C74FAD9A97E49312462A9F90", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "PollForPotentialSupportedPatterns@51(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,patternIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,patternNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.pollforpotentialsupportedproperties.slot-52.param-1-propertyids.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedproperties" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedProperties parameter propertyIds as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 52, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "PollForPotentialSupportedProperties", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pElement", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "propertyIds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "propertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FCE8E7D1E1A555F710D6A34D349B0808D110A7ED38FD3EE385ED60B9D64DE739", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "PollForPotentialSupportedProperties@52(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,propertyIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,propertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomation.30cbe57dd9d0452aab137ac5ac4825ee.pollforpotentialsupportedproperties.slot-52.param-2-propertynames.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedproperties" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedProperties parameter propertyNames as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 52, + "declaringIid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "interface": { + "iid": "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", + "name": "IUIAutomation", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "PollForPotentialSupportedProperties", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "pElement", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 1, + "name": "propertyIds", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "propertyNames", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FCE8E7D1E1A555F710D6A34D349B0808D110A7ED38FD3EE385ED60B9D64DE739", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "PollForPotentialSupportedProperties@52(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,propertyIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,propertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "352ffba8-0973-437c-a61f-f64cafd81df9", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationandcondition.a7d0af36b91245fe9855091ddc174aec.getchildren.slot-5.param-0-childarray.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationandcondition-getchildren" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationAndCondition::GetChildren parameter childArray as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", + "selector": { + "absoluteSlot": 5, + "declaringIid": "a7d0af36-b912-45fe-9855-091ddc174aec", + "interface": { + "iid": "a7d0af36-b912-45fe-9855-091ddc174aec", + "name": "IUIAutomationAndCondition", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetChildren", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "childArray", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "66349BA3AEA840B7D3AC558F2D2B741964984D93F753C3F577C3F7740CF5B01B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetChildren@5(childArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationdragpattern.1dc7b5701f544badbcdad36a722fb7bd.get-currentdropeffects.slot-7.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdragpattern-get_currentdropeffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationDragPattern::get_CurrentDropEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 7, + "declaringIid": "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", + "interface": { + "iid": "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", + "name": "IUIAutomationDragPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CurrentDropEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "2E29F7449E5D1B1AA90FC4B12BED73C9348C8ADC5F9AE54E07E37A2EA558A28F", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentDropEffects@7(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationdragpattern.1dc7b5701f544badbcdad36a722fb7bd.get-cacheddropeffects.slot-8.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdragpattern-get_cacheddropeffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationDragPattern::get_CachedDropEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 8, + "declaringIid": "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", + "interface": { + "iid": "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", + "name": "IUIAutomationDragPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CachedDropEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0B33AC40F084B79B5F32D7A7DFB1ADCEC67A535BC0C66895EDC7A58771483D4B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CachedDropEffects@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationdroptargetpattern.69a095f7eee4430ea46bfb73b1ae39a5.get-currentdroptargeteffects.slot-5.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdroptargetpattern-get_currentdroptargeteffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationDropTargetPattern::get_CurrentDropTargetEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 5, + "declaringIid": "69a095f7-eee4-430e-a46b-fb73b1ae39a5", + "interface": { + "iid": "69a095f7-eee4-430e-a46b-fb73b1ae39a5", + "name": "IUIAutomationDropTargetPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CurrentDropTargetEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "46D9C808F7BD07627771B21FFFE258062ABB4F997D874F368C4F9CD2A82AFAFF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentDropTargetEffects@5(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationdroptargetpattern.69a095f7eee4430ea46bfb73b1ae39a5.get-cacheddroptargeteffects.slot-6.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdroptargetpattern-get_cacheddroptargeteffects" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationDropTargetPattern::get_CachedDropTargetEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 6, + "declaringIid": "69a095f7-eee4-430e-a46b-fb73b1ae39a5", + "interface": { + "iid": "69a095f7-eee4-430e-a46b-fb73b1ae39a5", + "name": "IUIAutomationDropTargetPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CachedDropTargetEffects", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "F5158EC1F84C319CA031C7D11B67B7A46454EC3D24FE0E458F82A5680F2029DB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CachedDropTargetEffects@6(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationelement.d22108aa8ac549a5837b37bbb3d7591e.getruntimeid.slot-4.param-0-runtimeid.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-getruntimeid" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationElement::GetRuntimeId parameter runtimeId as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 4, + "declaringIid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "interface": { + "iid": "d22108aa-8ac5-49a5-837b-37bbb3d7591e", + "name": "IUIAutomationElement", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetRuntimeId", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "runtimeId", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "C91D3ECD0D328A401AFC404DCBE3250C12D541B8132811A3B5C487580A34EA2E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetRuntimeId@4(runtimeId:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationelement4.3b6e233c52fb4063a4c977c075c2a06b.get-currentannotationtypes.slot-97.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement4-get_currentannotationtypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationElement4::get_CurrentAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 97, + "declaringIid": "3b6e233c-52fb-4063-a4c9-77c075c2a06b", + "interface": { + "iid": "3b6e233c-52fb-4063-a4c9-77c075c2a06b", + "name": "IUIAutomationElement4", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CurrentAnnotationTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "B87809E2297C185931DCE5ADD7C7401906B0282EE5BF44A24621AC29B772CCF2", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CurrentAnnotationTypes@97(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationelement4.3b6e233c52fb4063a4c977c075c2a06b.get-cachedannotationtypes.slot-102.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement4-get_cachedannotationtypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationElement4::get_CachedAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 102, + "declaringIid": "3b6e233c-52fb-4063-a4c9-77c075c2a06b", + "interface": { + "iid": "3b6e233c-52fb-4063-a4c9-77c075c2a06b", + "name": "IUIAutomationElement4", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "get_CachedAnnotationTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "540C5202AFC9EF3AE68313C8D176DC62A53D9B5E31BA25E01D2B6D84D5F8B255", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "get_CachedAnnotationTypes@102(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationmultipleviewpattern.8d253c911dc54bb5b18fade16fa495e8.getcurrentsupportedviews.slot-6.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationmultipleviewpattern-getcurrentsupportedviews" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationMultipleViewPattern::GetCurrentSupportedViews parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 6, + "declaringIid": "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", + "interface": { + "iid": "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", + "name": "IUIAutomationMultipleViewPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetCurrentSupportedViews", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "79AF58DDE3C14FD66DBEB66607C45BC998911D89F12FE541DFC8D776F0FEAE55", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetCurrentSupportedViews@6(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationmultipleviewpattern.8d253c911dc54bb5b18fade16fa495e8.getcachedsupportedviews.slot-8.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationmultipleviewpattern-getcachedsupportedviews" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationMultipleViewPattern::GetCachedSupportedViews parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 8, + "declaringIid": "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", + "interface": { + "iid": "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", + "name": "IUIAutomationMultipleViewPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetCachedSupportedViews", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "55BD23BC2005A5CEEB188C535902C77C78219F0965E613259BCE037B3EB5A8C4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetCachedSupportedViews@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "352ffba8-0973-437c-a61f-f64cafd81df9", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationorcondition.8753f0323db147b5a1fc6e34a266c712.getchildren.slot-5.param-0-childarray.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationorcondition-getchildren" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationOrCondition::GetChildren parameter childArray as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", + "selector": { + "absoluteSlot": 5, + "declaringIid": "8753f032-3db1-47b5-a1fc-6e34a266c712", + "interface": { + "iid": "8753f032-3db1-47b5-a1fc-6e34a266c712", + "name": "IUIAutomationOrCondition", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetChildren", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "childArray", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "66349BA3AEA840B7D3AC558F2D2B741964984D93F753C3F577C3F7740CF5B01B", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetChildren@5(childArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_UI4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationproxyfactoryentry.d50e472eb64b490cbca1d30696f9f289.setwineventsforautomationevent.slot-14.param-2-winevents.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactoryentry-setwineventsforautomationevent" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryEntry::SetWinEventsForAutomationEvent parameter winEvents as SAFEARRAY(UINT), requiring VT_UI4", + "selector": { + "absoluteSlot": 14, + "declaringIid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "interface": { + "iid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "name": "IUIAutomationProxyFactoryEntry", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "SetWinEventsForAutomationEvent", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "eventId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_EVENT_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "propertyId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "winEvents", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "65298808FCC24847697126E0D90540266BCDB1C0E55B4B2BDE0C2A423E4DEF51", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SetWinEventsForAutomationEvent@14(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,winEvents:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_UI4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationproxyfactoryentry.d50e472eb64b490cbca1d30696f9f289.getwineventsforautomationevent.slot-15.param-2-winevents.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactoryentry-getwineventsforautomationevent" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryEntry::GetWinEventsForAutomationEvent parameter winEvents as SAFEARRAY(UINT), requiring VT_UI4", + "selector": { + "absoluteSlot": 15, + "declaringIid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "interface": { + "iid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "name": "IUIAutomationProxyFactoryEntry", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetWinEventsForAutomationEvent", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "eventId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_EVENT_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "propertyId", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "winEvents", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "FD166BD8EA8A987FD51F13C58B254203F1CFFC6FF2F4ED0EF32CB2AE032C23FB", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetWinEventsForAutomationEvent@15(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,winEvents:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationproxyfactorymapping.09e31e18872d487393d11e541ec133fd.gettable.slot-4.param-0-table.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-gettable" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::GetTable parameter table as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", + "selector": { + "absoluteSlot": 4, + "declaringIid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "interface": { + "iid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "name": "IUIAutomationProxyFactoryMapping", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetTable", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "table", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "1AE17B6A05ECF94EC59E5C87670EFAE576809307A3E4A6EB1DA7806FC5E848B4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetTable@4(table:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationproxyfactorymapping.09e31e18872d487393d11e541ec133fd.settable.slot-6.param-0-factorylist.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-settable" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::SetTable parameter factoryList as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", + "selector": { + "absoluteSlot": 6, + "declaringIid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "interface": { + "iid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "name": "IUIAutomationProxyFactoryMapping", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "SetTable", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "factoryList", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "BE8F99BAC108FB8DC72D2869A87FE26FA01C16A2BCE965E9929E0F24FA3FF0D4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "SetTable@6(factoryList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": "d50e472e-b64b-490c-bca1-d30696f9f289", + "vartype": "VT_UNKNOWN" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 1 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationproxyfactorymapping.09e31e18872d487393d11e541ec133fd.insertentries.slot-7.param-1-factorylist.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-insertentries" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::InsertEntries parameter factoryList as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", + "selector": { + "absoluteSlot": 7, + "declaringIid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "interface": { + "iid": "09e31e18-872d-4873-93d1-1e541ec133fd", + "name": "IUIAutomationProxyFactoryMapping", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "InsertEntries", + "parameterCount": 2, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "before", + "nativeType": "u32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 1, + "name": "factoryList", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0481D675F82BF41D0A1563E40629FD6506FD2CE0641F0F73BC7DDF9B6F9DAFFA", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "InsertEntries@7(before:in:required:noconstattr:u32/ptr0/Unspecified,factoryList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationspreadsheetitempattern.7d4fb86c8d3440e18e8362c15204e335.getcurrentannotationtypes.slot-5.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationspreadsheetitempattern-getcurrentannotationtypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationSpreadsheetItemPattern::GetCurrentAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 5, + "declaringIid": "7d4fb86c-8d34-40e1-8e83-62c15204e335", + "interface": { + "iid": "7d4fb86c-8d34-40e1-8e83-62c15204e335", + "name": "IUIAutomationSpreadsheetItemPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetCurrentAnnotationTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0AA581B6849A0C9CC7BA9D219A4E29BBFA447AF0E2E16BEFA74D24C75CC6DDF8", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetCurrentAnnotationTypes@5(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationspreadsheetitempattern.7d4fb86c8d3440e18e8362c15204e335.getcachedannotationtypes.slot-8.param-0-retval.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationspreadsheetitempattern-getcachedannotationtypes" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationSpreadsheetItemPattern::GetCachedAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 8, + "declaringIid": "7d4fb86c-8d34-40e1-8e83-62c15204e335", + "interface": { + "iid": "7d4fb86c-8d34-40e1-8e83-62c15204e335", + "name": "IUIAutomationSpreadsheetItemPattern", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetCachedAnnotationTypes", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "retVal", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "F7E75D057EC26F6B39FDDE1F5AEA0E6C81E4A350695F4E83867C32522C12E139", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetCachedAnnotationTypes@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_I4" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationstructurechangedeventhandler.e81d1b4e11c542f89754e7036c79f054.handlestructurechangedevent.slot-3.param-2-runtimeid.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationstructurechangedeventhandler-handlestructurechangedevent" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationStructureChangedEventHandler::HandleStructureChangedEvent parameter runtimeId as SAFEARRAY(int), requiring VT_I4", + "selector": { + "absoluteSlot": 3, + "declaringIid": "e81d1b4e-11c5-42f8-9754-e7036c79f054", + "interface": { + "iid": "e81d1b4e-11c5-42f8-9754-e7036c79f054", + "name": "IUIAutomationStructureChangedEventHandler", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "HandleStructureChangedEvent", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "sender", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "changeType", + "nativeType": "Windows.Win32.UI.Accessibility.StructureChangeType", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "runtimeId", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "0943EAA49337BF6F417C2FA31ED66C3E9BE79DEA07AA16964DA0C575A2DCEA5E", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "HandleStructureChangedEvent@3(sender:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,changeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.StructureChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,runtimeId:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "none", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-input" + }, + "ownership": "borrowed-input", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextedittextchangedeventhandler.92faa680e7044156931ae32d5bb38f3f.handletextedittextchangedevent.slot-3.param-2-eventstrings.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextedittextchangedeventhandler-handletextedittextchangedevent" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationTextEditTextChangedEventHandler::HandleTextEditTextChangedEvent parameter eventStrings as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 3, + "declaringIid": "92faa680-e704-4156-931a-e32d5bb38f3f", + "interface": { + "iid": "92faa680-e704-4156-931a-e32d5bb38f3f", + "name": "IUIAutomationTextEditTextChangedEventHandler", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "HandleTextEditTextChangedEvent", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 0, + "name": "sender", + "nativeType": "Windows.Win32.UI.Accessibility.IUIAutomationElement", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "textEditChangeType", + "nativeType": "Windows.Win32.UI.Accessibility.TextEditChangeType", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "in", + "index": 2, + "name": "eventStrings", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 1 + } + ], + "sourceFingerprint": "2978F834DCDA8DBCD5A8B7AA0F33F31A842E1BB2EE6B261A9E6A3BAF39FFE4E4", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "HandleTextEditTextChangedEvent@3(sender:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,textEditChangeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.TextEditChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,eventStrings:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_R8" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextrange.a543cc6af4ae494b8239c814481187a8.getboundingrectangles.slot-10.param-0-boundingrects.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextrange-getboundingrectangles" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationTextRange::GetBoundingRectangles parameter boundingRects as SAFEARRAY(double), requiring VT_R8", + "selector": { + "absoluteSlot": 10, + "declaringIid": "a543cc6a-f4ae-494b-8239-c814481187a8", + "interface": { + "iid": "a543cc6a-f4ae-494b-8239-c814481187a8", + "name": "IUIAutomationTextRange", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetBoundingRectangles", + "parameterCount": 1, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "boundingRects", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "DA6E9756BD9AEA7D65ED57B96668D6F445EE2605E93E798B4A7C9B1A606F21DF", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetBoundingRectangles@10(boundingRects:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_VARIANT" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 2 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-accessibility.iuiautomationtextrange3.6a315d6955124c2e85f053fce6dd4bc2.getattributevalues.slot-24.param-2-attributevalues.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextrange3-getattributevalues" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IUIAutomationTextRange3::GetAttributeValues parameter attributeValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", + "selector": { + "absoluteSlot": 24, + "declaringIid": "6a315d69-5512-4c2e-85f0-53fce6dd4bc2", + "interface": { + "iid": "6a315d69-5512-4c2e-85f0-53fce6dd4bc2", + "name": "IUIAutomationTextRange3", + "namespace": "Windows.Win32.UI.Accessibility" + }, + "method": "GetAttributeValues", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": true, + "constness": "mutable", + "direction": "in", + "index": 0, + "name": "attributeIds", + "nativeType": "Windows.Win32.UI.Accessibility.UIA_TEXTATTRIBUTE_ID", + "optional": false, + "pointerDepth": 1 + }, + { + "constAttribute": false, + "constness": "unspecified", + "direction": "in", + "index": 1, + "name": "attributeIdCount", + "nativeType": "i32", + "optional": false, + "pointerDepth": 0 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 2, + "name": "attributeValues", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "E97E105A43CCEC50A831B86FA5CC9B7C7068E1A21155AFE56D02A85FAA99DBF0", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetAttributeValues@24(attributeIds:in:required:constattr:Windows.Win32.UI.Accessibility.UIA_TEXTATTRIBUTE_ID[Enum]/ptr1/Mutable/underlying=i32/ptr0/Unspecified:array=Some(1)/None/Elements/false/false/None,attributeIdCount:in:required:noconstattr:i32/ptr0/Unspecified,attributeValues:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + }, + { + "contract": { + "cleanup": "SafeArrayDestroy", + "element": { + "interfaceIid": null, + "vartype": "VT_BSTR" + }, + "nullability": { + "kind": "required-output-cell", + "pointee": { + "kind": "required" + } + }, + "ownership": "owned-output", + "parameterIndex": 0 + }, + "entryId": "automation.safearray.entry.windows-win32-ui-input-ime.iimeplugindictdictionarylist.98752974b0a6489b8f6fbff3769c8eeb.getdictionariesinuse.slot-3.param-0-prgdictionaryguid.v1", + "evidence": [ + { + "file": null, + "kind": "microsoft-learn", + "url": "https://learn.microsoft.com/windows/win32/api/msimeapi/nf-msimeapi-iimeplugindictdictionarylist-getdictionariesinuse" + } + ], + "familyId": "automation.safearray.v1", + "kind": "safearray", + "reason": "Microsoft SDK IDL and API documentation define IImePlugInDictDictionaryList::GetDictionariesInUse parameter prgDictionaryGUID as SAFEARRAY(BSTR), requiring VT_BSTR", + "selector": { + "absoluteSlot": 3, + "declaringIid": "98752974-b0a6-489b-8f6f-bff3769c8eeb", + "interface": { + "iid": "98752974-b0a6-489b-8f6f-bff3769c8eeb", + "name": "IImePlugInDictDictionaryList", + "namespace": "Windows.Win32.UI.Input.Ime" + }, + "method": "GetDictionariesInUse", + "parameterCount": 3, + "parameters": [ + { + "constAttribute": false, + "constness": "mutable", + "direction": "out", + "index": 0, + "name": "prgDictionaryGUID", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 1, + "name": "prgDateCreated", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + }, + { + "constAttribute": false, + "constness": "mutable", + "direction": "inout", + "index": 2, + "name": "prgfEncrypted", + "nativeType": "Windows.Win32.System.Com.SAFEARRAY", + "optional": false, + "pointerDepth": 2 + } + ], + "sourceFingerprint": "0B01C7AB33B14F7FD2FC322113B2B8C75C8B0AD3C00DC2AA3C3CC8B46EF085E5", + "sourceShape": { + "format": "raw-method-shape-v1", + "value": "GetDictionariesInUse@3(prgDictionaryGUID:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,prgDateCreated:inout:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,prgfEncrypted:inout:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next" + } + }, + "validatedMetadata": [ + { + "package": "Microsoft.Windows.SDK.Win32Metadata", + "sha256": "B64EE4818A7ED9F9D135038D58C51BD08369184D4D5ED428F20E9DE55DF8121D", + "version": "71.0.14-preview" + } + ] + } + ], + "schemaVersion": 2 +} diff --git a/tools/dynwinrt-codegen/contracts/classic-com/schema.json b/tools/dynwinrt-codegen/contracts/classic-com/schema.json index 1dc5b35e..0d2545a2 100644 --- a/tools/dynwinrt-codegen/contracts/classic-com/schema.json +++ b/tools/dynwinrt-codegen/contracts/classic-com/schema.json @@ -33,44 +33,26 @@ "automation.safearray.v1", "windows.borrowed-hwnd-output.v1", "com.enumerator-next-exception.v1", - "buffers.bounded-two-call.v1", - "buffers.counted-buffer.v1", "com.ownership.v1", - "com.semantic-hresult.v1", - "graphics.private-data-hazard.v1", "wmi.conditional-output.v1", - "com.sequential-stream-buffer.v1", - "automation.idispatch-invoke.v1" - ,"com.reserved-null-input.v1", + "com.reserved-null-input.v1", "com.parameter-direction.v1" - ,"shell.flag-selected-string.v1" ] }, "kind": { "enum": [ "ownership", "conditional-output", - "counted-buffer", - "bounded-two-call", "borrowed-handle", "enumerator-next", "safearray", - "semantic-hresult", - "compound-dispatch", - "hazard" - ,"null-input", + "null-input", "parameter-direction" - ,"flag-selected-buffer" ] }, "reason": { "type": "string", "minLength": 1 }, "selector": { "$ref": "#/$defs/selector" }, - "contract": { - "oneOf": [ - { "$ref": "#/$defs/conditionalOutput" }, - { "$ref": "#/$defs/outputOwnership" } - ] - }, + "contract": { "type": "object" }, "evidence": { "type": "array", "minItems": 1, @@ -81,7 +63,65 @@ "minItems": 1, "items": { "$ref": "#/$defs/validatedMetadata" } } - } + }, + "oneOf": [ + { + "properties": { + "kind": { "const": "conditional-output" }, + "familyId": { "const": "wmi.conditional-output.v1" }, + "selector": { "not": { "required": ["sourceShape"] } }, + "contract": { "$ref": "#/$defs/conditionalOutput" } + } + }, + { + "properties": { + "kind": { "const": "ownership" }, + "familyId": { "const": "com.ownership.v1" }, + "selector": { "not": { "required": ["sourceShape"] } }, + "contract": { "$ref": "#/$defs/outputOwnership" } + } + }, + { + "properties": { + "kind": { "const": "safearray" }, + "familyId": { "const": "automation.safearray.v1" }, + "selector": { "required": ["sourceShape"] }, + "contract": { "$ref": "#/$defs/safeArray" } + } + }, + { + "properties": { + "kind": { "const": "borrowed-handle" }, + "familyId": { "const": "windows.borrowed-hwnd-output.v1" }, + "selector": { "required": ["sourceShape"] }, + "contract": { "$ref": "#/$defs/borrowedHandle" } + } + }, + { + "properties": { + "kind": { "const": "enumerator-next" }, + "familyId": { "const": "com.enumerator-next-exception.v1" }, + "selector": { "required": ["sourceShape"] }, + "contract": { "$ref": "#/$defs/enumerator" } + } + }, + { + "properties": { + "kind": { "const": "null-input" }, + "familyId": { "const": "com.reserved-null-input.v1" }, + "selector": { "not": { "required": ["sourceShape"] } }, + "contract": { "$ref": "#/$defs/nullInput" } + } + }, + { + "properties": { + "kind": { "const": "parameter-direction" }, + "familyId": { "const": "com.parameter-direction.v1" }, + "selector": { "not": { "required": ["sourceShape"] } }, + "contract": { "$ref": "#/$defs/parameterDirection" } + } + } + ] }, "selector": { "type": "object", @@ -105,7 +145,17 @@ "type": "array", "items": { "$ref": "#/$defs/parameter" } }, - "sourceFingerprint": { "$ref": "#/$defs/sha256" } + "sourceFingerprint": { "$ref": "#/$defs/sha256" }, + "sourceShape": { "$ref": "#/$defs/sourceShape" } + } + }, + "sourceShape": { + "type": "object", + "additionalProperties": false, + "required": ["format", "value"], + "properties": { + "format": { "const": "raw-method-shape-v1" }, + "value": { "type": "string", "minLength": 1 } } }, "interface": { @@ -182,8 +232,167 @@ "parameterIndex": { "type": "integer", "minimum": 0 }, "ownership": { "enum": ["cotaskmem-owned", "handle-owned"] }, "cleanup": { "enum": ["CoTaskMemFree", "DeleteObject"] } + }, + "oneOf": [ + { + "properties": { + "ownership": { "const": "cotaskmem-owned" }, + "cleanup": { "const": "CoTaskMemFree" } + } + }, + { + "properties": { + "ownership": { "const": "handle-owned" }, + "cleanup": { "const": "DeleteObject" } + } + } + ] + }, + "safeArray": { + "type": "object", + "additionalProperties": false, + "required": ["parameterIndex", "element", "ownership", "cleanup", "nullability"], + "properties": { + "parameterIndex": { "type": "integer", "minimum": 0 }, + "element": { "$ref": "#/$defs/safeArrayElement" }, + "ownership": { "enum": ["borrowed-input", "owned-output"] }, + "cleanup": { "enum": ["none", "SafeArrayDestroy"] }, + "nullability": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": ["kind"], + "properties": { "kind": { "const": "required-input" } } + }, + { + "type": "object", + "additionalProperties": false, + "required": ["kind", "pointee"], + "properties": { + "kind": { "const": "required-output-cell" }, + "pointee": { "$ref": "#/$defs/safeArrayPointee" } + } + } + ] + } + }, + "oneOf": [ + { + "properties": { + "ownership": { "const": "borrowed-input" }, + "cleanup": { "const": "none" }, + "nullability": { "properties": { "kind": { "const": "required-input" } } } + } + }, + { + "properties": { + "ownership": { "const": "owned-output" }, + "cleanup": { "const": "SafeArrayDestroy" }, + "nullability": { "properties": { "kind": { "const": "required-output-cell" } } } + } + } + ] + }, + "safeArrayElement": { + "type": "object", + "additionalProperties": false, + "required": ["vartype", "interfaceIid"], + "properties": { + "vartype": { + "enum": ["VT_I4", "VT_UI1", "VT_UI4", "VT_R8", "VT_BSTR", "VT_UNKNOWN", "VT_VARIANT"] + }, + "interfaceIid": { "oneOf": [{ "$ref": "#/$defs/guid" }, { "type": "null" }] } + }, + "if": { "properties": { "vartype": { "const": "VT_UNKNOWN" } } }, + "then": { "properties": { "interfaceIid": { "$ref": "#/$defs/guid" } } }, + "else": { "properties": { "interfaceIid": { "type": "null" } } } + }, + "safeArrayPointee": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": ["kind"], + "properties": { "kind": { "const": "required" } } + }, + { + "type": "object", + "additionalProperties": false, + "required": ["kind", "reason", "evidence"], + "properties": { + "kind": { "const": "nullable-on-success" }, + "reason": { "type": "string", "minLength": 1 }, + "evidence": { + "type": "array", + "minItems": 1, + "items": { "$ref": "#/$defs/evidence" } + } + } + } + ] + }, + "nullInput": { + "type": "object", + "additionalProperties": false, + "required": ["parameterIndex", "value"], + "properties": { + "parameterIndex": { "type": "integer", "minimum": 0 }, + "value": { "const": "native-null" } + } + }, + "parameterDirection": { + "type": "object", + "additionalProperties": false, + "required": ["parameterIndex", "direction"], + "properties": { + "parameterIndex": { "type": "integer", "minimum": 0 }, + "direction": { "const": "out" } + } + }, + "borrowedHandle": { + "type": "object", + "additionalProperties": false, + "required": ["parameterIndex", "handle", "ownership", "cleanup", "receivingCell"], + "properties": { + "parameterIndex": { "type": "integer", "minimum": 0 }, + "handle": { "const": "Windows.Win32.Foundation.HWND" }, + "ownership": { "const": "borrowed" }, + "cleanup": { "const": "none" }, + "receivingCell": { "const": "required" } + } + }, + "enumerator": { + "type": "object", + "additionalProperties": false, + "required": [ + "capacityParameterIndex", "valuesParameterIndex", "fetchedParameterIndex", + "element", "fetchedOptionalForSingle", "hresult", "evidenceSource" + ], + "properties": { + "capacityParameterIndex": { "const": 0 }, + "valuesParameterIndex": { "const": 1 }, + "fetchedParameterIndex": { "const": 2 }, + "element": { "$ref": "#/$defs/enumeratorElement" }, + "fetchedOptionalForSingle": { "type": "boolean" }, + "hresult": { "const": "s-ok-s-false" }, + "evidenceSource": { "enum": ["com-standard", "exact-registry"] } } }, + "enumeratorElement": { + "type": "object", + "additionalProperties": false, + "required": ["namespace", "name", "kind", "iid"], + "properties": { + "namespace": { "type": "string", "minLength": 1 }, + "name": { "type": "string", "minLength": 1 }, + "kind": { "enum": ["interface", "struct", "unknown"] }, + "iid": { "oneOf": [{ "$ref": "#/$defs/guid" }, { "type": "null" }] } + }, + "if": { "properties": { "kind": { "const": "interface" } } }, + "then": { "properties": { "iid": { "$ref": "#/$defs/guid" } } }, + "else": { "properties": { "iid": { "type": "null" } } } + }, "outputMode": { "type": "object", "additionalProperties": false, diff --git a/tools/dynwinrt-codegen/src/codegen/com/capability.rs b/tools/dynwinrt-codegen/src/codegen/com/capability.rs index 04375dbb..9ee86bfb 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/capability.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/capability.rs @@ -640,7 +640,7 @@ fn build_report( metadata_matched_entry_ids.extend(raw_dependencies.exact_entry_ids); registered_entry_records.extend(crate::com_metadata::collect_exact_registry_entries( interface, - )); + )?); let safe_result = super::generate_complete_com_interface_files(interface, winmd); let safe_complete = safe_result.is_ok(); let safe_error = safe_result @@ -1246,6 +1246,7 @@ pub fn classify_interface_methods( interface.interface.namespace, method.metadata_name, method.vtable_index )); } + crate::com_metadata::validate_migrated_source_shape(method)?; let canonical = canonical_method(method); Ok(MethodCapability { name: method.metadata_name.clone(), diff --git a/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs b/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs index f09e3aa6..f47343b7 100644 --- a/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs +++ b/tools/dynwinrt-codegen/src/codegen/com/model/metadata.rs @@ -10,6 +10,7 @@ use crate::com_metadata::{ RawNativeLayoutSet, RawNativeType, RawPacking, RawParamDirection, RawSafeArrayOwnership, RawSafeArrayVartype, RawStringEncoding, }; +use crate::contract_registry::adapters; use super::ComModel; use super::abi::{ @@ -181,6 +182,11 @@ pub(super) fn map_interface(meta: &ComInterfaceMeta) -> Result 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::BorrowedHwndOutput - } - - pub(crate) fn entries() -> &'static [BorrowedHwndOutputEvidence] { - BORROWED_HWND_OUTPUTS - } - - pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { - crate::contract_registry::ContractKind::BorrowedHandle - } -} - -const BORROWED_HWND_OUTPUTS: &[BorrowedHwndOutputEvidence] = &[ - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Devices.ImageAcquisition", - declaring_interface: "IWiaAppErrorHandler", - declaring_iid: "6c16186c-d0a6-400c-80f4-d26986a0e734", - method_name: "GetWindow", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as the existing WIA error-handler dialog HWND, which may be NULL and must remain valid for the transfer; the caller does not acquire window ownership", - citation: "https://learn.microsoft.com/previous-versions/windows/desktop/wia/-wia-iwiaapperrorhandler-getwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.PictureAcquisition", - declaring_interface: "IPhotoProgressDialog", - declaring_iid: "00f246f9-0750-4f08-9381-2cd8e906a4ae", - method_name: "GetWindow", - vtable_index: 4, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwndProgressDialog", - optional: false, - reason: "Microsoft documents this getter as retrieving the progress dialog box handle; it does not create or transfer ownership of the dialog", - citation: "https://learn.microsoft.com/windows/win32/api/photoacquire/nf-photoacquire-iphotoprogressdialog-getwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow", - declaring_interface: "IOverlay", - declaring_iid: "56a868a1-0ad4-11ce-b03a-0020af0ba770", - method_name: "GetWindowHandle", - vtable_index: 8, - parameter_count: 1, - parameter_index: 0, - parameter_name: "pHwnd", - optional: false, - reason: "Microsoft documents this as retrieving the clipping window handle already associated with the overlay; it does not create or transfer ownership of the window", - citation: "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ioverlay-getwindowhandle", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IMSVidCtl", - declaring_iid: "b0edf162-910a-11d2-b632-00c04f79498e", - method_name: "get_Window", - vtable_index: 15, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this property as retrieving the existing video control window handle; the caller does not acquire ownership of that window", - citation: "https://learn.microsoft.com/windows/win32/api/msvidctl/nf-msvidctl-imsvidctl-get_window", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IMSVidRect", - declaring_iid: "7f5000a6-a440-47ca-8acc-c0e75531a2c2", - method_name: "get_HWnd", - vtable_index: 15, - parameter_count: 1, - parameter_index: 0, - parameter_name: "HWndVal", - optional: false, - reason: "Microsoft documents this property as retrieving the window handle represented by the existing video rectangle; it does not create or transfer the window", - citation: "https://learn.microsoft.com/windows/win32/api/segment/nf-segment-imsvidrect-get_hwnd", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.MediaFoundation", - declaring_interface: "IMFPMediaPlayer", - declaring_iid: "a714590a-58af-430a-85bf-44f5ec838d85", - method_name: "GetVideoWindow", - vtable_index: 31, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwndVideo", - optional: false, - reason: "Microsoft documents this as retrieving the media player's current video window; it is an existing caller-configured window and ownership is not transferred", - citation: "https://learn.microsoft.com/windows/win32/api/mfplay/nf-mfplay-imfpmediaplayer-getvideowindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.Media.MediaFoundation", - declaring_interface: "IMFVideoDisplayControl", - declaring_iid: "a490b1e4-ab84-4d31-a1b2-181e03b1077a", - method_name: "GetVideoWindow", - vtable_index: 10, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwndVideo", - optional: false, - reason: "Microsoft documents this as retrieving the video window already set on the display control; it does not create or transfer ownership of the window", - citation: "https://learn.microsoft.com/windows/win32/api/evr/nf-evr-imfvideodisplaycontrol-getvideowindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.Mmc", - declaring_interface: "IConsole", - declaring_iid: "43136eb1-d36c-11cf-adbc-00aa00a80033", - method_name: "GetMainWindow", - vtable_index: 12, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as retrieving MMC's existing main frame window handle, not creating a caller-owned window", - citation: "https://learn.microsoft.com/windows/win32/api/mmc/nf-mmc-iconsole-getmainwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.Ole", - declaring_interface: "IOleWindow", - declaring_iid: "00000114-0000-0000-c000-000000000046", - method_name: "GetWindow", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as retrieving an existing frame, document, parent, or in-place activation window; ownership remains with the participant that created that window", - citation: "https://learn.microsoft.com/windows/win32/api/oleidl/nf-oleidl-iolewindow-getwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.WinRT", - declaring_interface: "ICoreWindowInterop", - declaring_iid: "45d64a29-a63e-4cb6-b498-5781d298cb4f", - method_name: "get_WindowHandle", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "hwnd", - optional: false, - reason: "Microsoft documents this read-only property as obtaining the HWND of the existing CoreWindow; it does not transfer window lifetime", - citation: "https://learn.microsoft.com/windows/win32/api/corewindow/nf-corewindow-icorewindowinterop-get_windowhandle", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.WinRT", - declaring_interface: "IShareWindowCommandEventArgsInterop", - declaring_iid: "6571a721-643d-43d4-aca4-6b6f5f30f1ad", - method_name: "GetWindow", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "value", - optional: false, - reason: "Microsoft documents this as receiving the window identifier carried by the event arguments, with no creation or ownership transfer", - citation: "https://learn.microsoft.com/windows/win32/api/sharewindowcommandsourceinterop/nf-sharewindowcommandsourceinterop-isharewindowcommandeventargsinterop-getwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.WinRT.Xaml", - declaring_interface: "IDesktopWindowXamlSourceNative", - declaring_iid: "3cbcf1bf-2f76-4e9c-96ab-e84b37972554", - method_name: "get_WindowHandle", - vtable_index: 4, - parameter_count: 1, - parameter_index: 0, - parameter_name: "hWnd", - optional: false, - reason: "Microsoft documents this as the parent UI element HWND associated with the current XAML source instance; the associated UI element retains ownership", - citation: "https://learn.microsoft.com/windows/win32/api/windows.ui.xaml.hosting.desktopwindowxamlsource/nf-windows-ui-xaml-hosting-desktopwindowxamlsource-idesktopwindowxamlsourcenative-get_windowhandle", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.System.UpdateAgent", - declaring_interface: "IUpdateInstaller", - declaring_iid: "7b929c68-ccdc-4226-96b1-8724600b54c2", - method_name: "get_ParentHwnd", - vtable_index: 11, - parameter_count: 1, - parameter_index: 0, - parameter_name: "retval", - optional: false, - reason: "Microsoft documents this property as retrieving the existing parent window configured for the update installer; no window ownership is transferred", - citation: "https://learn.microsoft.com/windows/win32/api/wuapi/nf-wuapi-iupdateinstaller-get_parenthwnd", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationElement", - declaring_iid: "d22108aa-8ac5-49a5-837b-37bbb3d7591e", - method_name: "get_CachedNativeWindowHandle", - vtable_index: 68, - parameter_count: 1, - parameter_index: 0, - parameter_name: "retVal", - optional: false, - reason: "Microsoft documents this property as retrieving the cached native window handle of the existing UI Automation element; the element's window remains externally owned", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachednativewindowhandle", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationElement", - declaring_iid: "d22108aa-8ac5-49a5-837b-37bbb3d7591e", - method_name: "get_CurrentNativeWindowHandle", - vtable_index: 36, - parameter_count: 1, - parameter_index: 0, - parameter_name: "retVal", - optional: false, - reason: "Microsoft documents this property as retrieving the current native window handle of the existing UI Automation element; the element's window remains externally owned", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_currentnativewindowhandle", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Shell", - declaring_interface: "ICredentialProviderCredentialEvents", - declaring_iid: "fa6fa76b-66b7-4b11-95f1-86171118e816", - method_name: "OnCreatingWindow", - vtable_index: 12, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwndOwner", - optional: false, - reason: "Microsoft documents this as the Credential UI or Logon UI parent HWND that providers must borrow when parenting dialogs", - citation: "https://learn.microsoft.com/windows/win32/api/credentialprovider/nf-credentialprovider-icredentialprovidercredentialevents-oncreatingwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Shell", - declaring_interface: "ILaunchSourceViewSizePreference", - declaring_iid: "e5aa01f7-1fb8-4830-8720-4e6734cbd5f3", - method_name: "GetSourceViewToPosition", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "hwnd", - optional: false, - reason: "Microsoft documents this as retrieving the existing source application window used for positioning, without creating or transferring it", - citation: "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ilaunchsourceviewsizepreference-getsourceviewtoposition", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Shell", - declaring_interface: "IFileIsInUse", - declaring_iid: "64a1cbf0-3a1a-4461-9158-376969693950", - method_name: "GetSwitchToHWND", - vtable_index: 6, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as retrieving the existing application window to switch to; the caller observes the handle without acquiring the window", - citation: "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifileisinuse-getswitchtohwnd", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.Shell", - declaring_interface: "IPreviewHandler", - declaring_iid: "8895b1c6-b41f-4c1c-a562-0d564250836f", - method_name: "QueryFocus", - vtable_index: 8, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as the HWND returned by GetFocus on the preview handler's foreground thread, which is an observed borrowed window identity", - citation: "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ipreviewhandler-queryfocus", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.TabletPC", - declaring_interface: "ITextInputPanel", - declaring_iid: "6b6a65a5-6af3-46c2-b6ea-56cd1f80df71", - method_name: "get_AttachedEditWindow", - vtable_index: 3, - parameter_count: 1, - parameter_index: 0, - parameter_name: "AttachedEditWindow", - optional: false, - reason: "Microsoft documents this property as retrieving the edit window already attached to the text input panel; attachment does not transfer window ownership", - citation: "https://learn.microsoft.com/windows/win32/api/peninputpanel/nf-peninputpanel-itextinputpanel-get_attachededitwindow", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.TextServices", - declaring_interface: "ITfContextOwner", - declaring_iid: "aa80e80c-2021-11d2-93e0-0060b067b86e", - method_name: "GetWnd", - vtable_index: 7, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as retrieving the existing owner window associated with the text context; ownership remains with the context owner", - citation: "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-itfcontextowner-getwnd", - }, - BorrowedHwndOutputEvidence { - declaring_namespace: "Windows.Win32.UI.TextServices", - declaring_interface: "ITfContextView", - declaring_iid: "2433bf8e-0f9b-435c-ba2c-180611978c30", - method_name: "GetWnd", - vtable_index: 6, - parameter_count: 1, - parameter_index: 0, - parameter_name: "phwnd", - optional: false, - reason: "Microsoft documents this as retrieving the existing window represented by the text context view; the view retains window ownership", - citation: "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-itfcontextview-getwnd", - }, -]; - -pub(crate) fn registered_borrowed_hwnd_output( - namespace: &str, - interface: &str, - iid: &str, - method: &str, - slot: usize, - parameter_index: usize, -) -> Option<&'static BorrowedHwndOutputEvidence> { - BORROWED_HWND_OUTPUTS.iter().find(|evidence| { - evidence.declaring_namespace == namespace - && evidence.declaring_interface == interface - && evidence.declaring_iid.eq_ignore_ascii_case(iid) - && evidence.method_name == method - && evidence.vtable_index == slot - && evidence.parameter_index == parameter_index - }) -} - -pub(crate) fn borrowed_hwnd_evidence_for_declaration( - namespace: &str, - interface: &str, - method: &str, - slot: usize, -) -> Option<&'static BorrowedHwndOutputEvidence> { - BORROWED_HWND_OUTPUTS.iter().find(|evidence| { - evidence.declaring_namespace == namespace - && evidence.declaring_interface == interface - && (evidence.method_name == method || evidence.vtable_index == slot) - }) -} - -#[cfg(test)] -mod tests { - use std::collections::BTreeSet; - - use super::*; - - #[test] - fn registry_entries_have_unique_exact_identity_and_microsoft_citations() { - let mut identities = BTreeSet::new(); - assert_eq!(BORROWED_HWND_OUTPUTS.len(), 22); - for evidence in BORROWED_HWND_OUTPUTS { - assert!(identities.insert(( - evidence.declaring_namespace, - evidence.declaring_interface, - evidence.declaring_iid.to_ascii_lowercase(), - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - ))); - assert_eq!(evidence.declaring_iid.len(), 36); - assert!(evidence.parameter_index < evidence.parameter_count); - assert!(!evidence.optional); - assert!( - evidence - .citation - .starts_with("https://learn.microsoft.com/") - ); - assert!(!evidence.reason.is_empty()); - } - } - - #[test] - fn exact_lookup_rejects_identity_drift() { - let evidence = BORROWED_HWND_OUTPUTS - .iter() - .find(|evidence| evidence.declaring_interface == "IOleWindow") - .unwrap(); - assert!( - registered_borrowed_hwnd_output( - evidence.declaring_namespace, - evidence.declaring_interface, - evidence.declaring_iid, - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - ) - .is_some() - ); - assert!( - registered_borrowed_hwnd_output( - evidence.declaring_namespace, - evidence.declaring_interface, - "00000000-0000-0000-c000-000000000046", - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - ) - .is_none() - ); - assert!( - borrowed_hwnd_evidence_for_declaration( - evidence.declaring_namespace, - evidence.declaring_interface, - evidence.method_name, - evidence.vtable_index + 1, - ) - .is_some() - ); - } -} diff --git a/tools/dynwinrt-codegen/src/com_contract_registry_tests.rs b/tools/dynwinrt-codegen/src/com_contract_registry_tests.rs new file mode 100644 index 00000000..0db118e2 --- /dev/null +++ b/tools/dynwinrt-codegen/src/com_contract_registry_tests.rs @@ -0,0 +1,370 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use super::*; +use crate::contract_registry::{self, ContractSelector, adapters}; + +fn configured_index() -> Option { + let Ok(winmd) = std::env::var("DYNWINRT_WIN32_WINMD") else { + eprintln!("Skipping migrated registry metadata tests: DYNWINRT_WIN32_WINMD is not set"); + return None; + }; + assert_eq!( + format!("{:X}", Sha256::digest(std::fs::read(&winmd).unwrap())), + crate::codegen::com::capability::OFFICIAL_METADATA_SHA256, + "migrated evidence regression requires the pinned metadata" + ); + Some(crate::meta::load_index(&winmd).unwrap()) +} + +fn declared_method(index: &reader::Index, selector: &ContractSelector) -> RawComMethod { + parse_com_interface_from_index( + index, + &selector.interface.namespace, + &selector.interface.name, + ) + .unwrap() + .raw_methods + .unwrap() + .into_iter() + .find(|raw| { + raw.declaring_iid == selector.declaring_iid && raw.vtable_index == selector.absolute_slot + }) + .unwrap() +} + +fn source_fingerprint(raw: &RawComMethod, selector: &ContractSelector) -> String { + if selector.source_shape.is_some() { + format!("{:X}", Sha256::digest(raw_method_shape(raw).as_bytes())) + } else { + raw_method_fingerprint(raw) + } +} + +fn assert_selector(raw: &RawComMethod, selector: &ContractSelector) { + assert_eq!(raw.declaring_namespace, selector.interface.namespace); + assert_eq!(raw.declaring_interface, selector.interface.name); + assert_eq!(raw.declaring_iid, selector.interface.iid); + assert_eq!(raw.declaring_iid, selector.declaring_iid); + assert_eq!(raw.metadata_name, selector.method); + assert_eq!(raw.vtable_index, selector.absolute_slot); + assert!(raw_parameters_match_selector(raw, selector), "{selector:?}"); + if let Some(shape) = &selector.source_shape { + assert_eq!(shape.value, raw_method_shape(raw), "{selector:?}"); + } + assert_eq!( + source_fingerprint(raw, selector), + selector.source_fingerprint, + "{selector:?}" + ); +} + +#[test] +fn all_migrated_records_match_pinned_metadata_and_keep_exact_provenance() { + let Some(index) = configured_index() else { + return; + }; + let mut matched = 0; + for entry in contract_registry::safe_array_contracts().unwrap() { + let raw = declared_method(&index, &entry.selector); + assert_selector(&raw, &entry.selector); + validate_attached_safe_array_evidence(&raw).unwrap(); + assert_eq!( + raw.params[entry.contract.parameter_index] + .safe_array_evidence + .as_ref() + .unwrap() + .entry_id(), + entry.entry_id + ); + matched += 1; + } + for entry in contract_registry::borrowed_handle_contracts().unwrap() { + let raw = declared_method(&index, &entry.selector); + assert_selector(&raw, &entry.selector); + validate_borrowed_hwnd_output_evidence(&raw).unwrap(); + validate_migrated_source_shape(&raw).unwrap(); + assert!(is_registered_borrowed_hwnd_output( + &raw, + entry.contract.parameter_index + )); + matched += 1; + } + for entry in contract_registry::null_input_contracts().unwrap() { + let raw = declared_method(&index, &entry.selector); + assert_selector(&raw, &entry.selector); + assert!(raw.exact_null_input_contracts.iter().any(|contract| { + matches!(&contract.evidence, RawEvidence::ExactRegistry { entry_id, .. } if entry_id == &entry.entry_id) + })); + matched += 1; + } + for entry in contract_registry::parameter_direction_contracts().unwrap() { + let mut raw = declared_method(&index, &entry.selector); + assert_eq!( + raw.params[entry.contract.parameter_index].direction, + RawParamDirection::Out + ); + assert!(raw.exact_parameter_direction_contracts.iter().any(|contract| { + matches!(&contract.evidence, RawEvidence::ExactRegistry { entry_id, .. } if entry_id == &entry.entry_id) + })); + raw.params[entry.contract.parameter_index].direction = RawParamDirection::InOut; + raw.exact_parameter_direction_contracts.clear(); + assert_selector(&raw, &entry.selector); + matched += 1; + } + for entry in contract_registry::enumerator_contracts().unwrap() { + let raw = declared_method(&index, &entry.selector); + assert_selector(&raw, &entry.selector); + validate_attached_enumerator_evidence(&raw).unwrap(); + validate_migrated_source_shape(&raw).unwrap(); + let evidence = &raw.enumerator_next.as_ref().unwrap().evidence; + match entry.contract.evidence_source { + contract_registry::EnumeratorEvidenceSource::ComStandard => assert_eq!( + evidence, + &RawEvidence::ComStandard( + contract_registry::ComStandardRule::GenericEnumeratorNext + ), + ), + contract_registry::EnumeratorEvidenceSource::ExactRegistry => assert!( + matches!(evidence, RawEvidence::ExactRegistry { entry_id, .. } if entry_id == &entry.entry_id), + ), + } + matched += 1; + } + assert_eq!(matched, 333); +} + +#[test] +fn migrated_selectors_enforce_every_parameter_field_and_fingerprint() { + let Some(index) = configured_index() else { + return; + }; + let samples = [ + ( + &contract_registry::safe_array_contracts().unwrap()[0].selector, + None, + ), + ( + &contract_registry::borrowed_handle_contracts().unwrap()[0].selector, + None, + ), + ( + &contract_registry::null_input_contracts().unwrap()[0].selector, + None, + ), + ( + &contract_registry::parameter_direction_contracts().unwrap()[0].selector, + Some(3), + ), + ( + &contract_registry::enumerator_contracts().unwrap()[0].selector, + None, + ), + ]; + for (selector, out_override) in samples { + let mut raw = declared_method(&index, selector); + if let Some(index) = out_override { + raw.params[index].direction = RawParamDirection::InOut; + raw.exact_parameter_direction_contracts.clear(); + } + assert_selector(&raw, selector); + for index in 0..raw.params.len() { + for field in 0..7 { + let mut drifted = raw.clone(); + let parameter = &mut drifted.params[index]; + match field { + 0 => parameter.name.push_str("Drift"), + 1 => parameter.typ.pointer_depth += 1, + 2 => { + parameter.direction = if parameter.direction == RawParamDirection::In { + RawParamDirection::Out + } else { + RawParamDirection::In + } + } + 3 => parameter.optional = !parameter.optional, + 4 => parameter.const_attribute = !parameter.const_attribute, + 5 => { + parameter.typ.constness = if parameter.typ.constness == RawConstness::Const + { + RawConstness::Mutable + } else { + RawConstness::Const + } + } + 6 => { + parameter.typ.native_type = + if parameter.typ.native_type == RawNativeType::Void { + RawNativeType::U32 + } else { + RawNativeType::Void + } + } + _ => unreachable!(), + } + assert!( + !raw_parameters_match_selector(&drifted, selector), + "{selector:?} parameter {index}, field {field}" + ); + assert_ne!( + source_fingerprint(&drifted, selector), + selector.source_fingerprint + ); + } + } + let mut drifted = raw.clone(); + drifted.return_type.pointer_depth += 1; + assert_ne!( + source_fingerprint(&drifted, selector), + selector.source_fingerprint + ); + let mut drifted = selector.clone(); + drifted.parameters.pop(); + assert!(!raw_parameters_match_selector(&raw, &drifted)); + } +} + +#[test] +fn migrated_null_and_direction_overrides_fail_closed_on_source_drift() { + let Some(index) = configured_index() else { + return; + }; + for entry in contract_registry::null_input_contracts().unwrap() { + let source = declared_method(&index, &entry.selector); + for parameter_index in 0..source.params.len() { + let mut drifted = source.clone(); + drifted.exact_null_input_contracts.clear(); + drifted.params[parameter_index].name.push_str("Drift"); + assert!(!apply_exact_null_input_contracts(&mut drifted)); + assert!(drifted.exact_null_input_contracts.is_empty()); + } + } + for entry in contract_registry::parameter_direction_contracts().unwrap() { + let interface = parse_com_interface_from_index( + &index, + &entry.selector.interface.namespace, + &entry.selector.interface.name, + ) + .unwrap(); + let compatibility = interface + .interface + .methods + .iter() + .find(|method| method.name == entry.selector.method) + .unwrap(); + let mut source = declared_method(&index, &entry.selector); + source.params[entry.contract.parameter_index].direction = RawParamDirection::InOut; + source.exact_parameter_direction_contracts.clear(); + for parameter_index in 0..source.params.len() { + let mut drifted = source.clone(); + drifted.params[parameter_index].name.push_str("Drift"); + assert!(!apply_exact_out_parameter_contracts( + &mut compatibility.clone(), + &mut drifted + )); + assert_eq!( + drifted.params[entry.contract.parameter_index].direction, + RawParamDirection::InOut + ); + assert!(drifted.exact_parameter_direction_contracts.is_empty()); + } + } +} + +#[test] +fn newly_pinned_borrowed_and_enumerator_shapes_reject_additional_drift() { + let Some(index) = configured_index() else { + return; + }; + for selector in [ + &contract_registry::borrowed_handle_contracts().unwrap()[0].selector, + &contract_registry::enumerator_contracts().unwrap()[0].selector, + ] { + let mut raw = declared_method(&index, selector); + validate_migrated_source_shape(&raw).unwrap(); + raw.return_type.constness = RawConstness::Const; + assert!(validate_migrated_source_shape(&raw).is_err()); + } +} + +#[test] +fn pinned_source_drift_cannot_escape_through_safe_unsafe_or_census_paths() { + let Some(index) = configured_index() else { + return; + }; + let winmd = std::env::var("DYNWINRT_WIN32_WINMD").unwrap(); + let metadata = + crate::codegen::com::capability::metadata_set_identity_for_paths(&winmd).unwrap(); + for (namespace, name, slot) in [ + ("Windows.Win32.System.Ole", "IOleWindow", 3), + ("Windows.Win32.System.Com", "IEnumUnknown", 3), + ("Windows.Win32.System.Search", "IEnumSubscription", 3), + ] { + let mut interface = parse_com_interface_from_index(&index, namespace, name).unwrap(); + crate::codegen::com::generate_com_interface_files(&interface, &winmd).unwrap(); + crate::codegen::com::generate_unsafe_interface_files_with_metadata(&interface, &metadata) + .unwrap(); + interface + .raw_methods + .as_mut() + .unwrap() + .iter_mut() + .find(|method| method.vtable_index == slot) + .unwrap() + .return_type + .constness = RawConstness::Const; + let safe = + crate::codegen::com::generate_com_interface_files(&interface, &winmd).unwrap_err(); + assert!(safe.contains("source shape"), "{safe}"); + let unsafe_error = crate::codegen::com::generate_unsafe_interface_files_with_metadata( + &interface, &metadata, + ) + .unwrap_err(); + assert!(unsafe_error.contains("source shape"), "{unsafe_error}"); + let census = collect_exact_registry_entries(&interface).unwrap_err(); + assert!(census.contains("source shape"), "{census}"); + } +} + +#[test] +fn nullable_safearray_pointees_preserve_required_cells_and_declaring_evidence() { + let Some(index) = configured_index() else { + return; + }; + let nullable = contract_registry::safe_array_contracts() + .unwrap() + .iter() + .filter(|entry| entry.contract.nullability.allows_null_output()) + .collect::>(); + assert_eq!(nullable.len(), 4); + for entry in nullable { + let mut raw = declared_method(&index, &entry.selector); + let parameter = &raw.params[entry.contract.parameter_index]; + assert!(!parameter.optional); + assert_eq!(parameter.typ.pointer_depth, 2); + assert_eq!(parameter.direction, RawParamDirection::Out); + assert!(adapters::safearray::safe_array_output_allows_null( + parameter.safe_array_evidence.as_ref().unwrap() + )); + raw.params[entry.contract.parameter_index].optional = true; + assert!(validate_attached_safe_array_evidence(&raw).is_err()); + } + let inherited = + parse_com_interface_from_index(&index, "Windows.Win32.UI.Accessibility", "ITextProvider2") + .unwrap(); + let selection = inherited + .raw_methods + .as_ref() + .unwrap() + .iter() + .find(|raw| raw.metadata_name == "GetSelection") + .unwrap(); + assert_eq!(selection.declaring_interface, "ITextProvider"); + let evidence = selection.params[0].safe_array_evidence.as_ref().unwrap(); + assert!(adapters::safearray::safe_array_output_allows_null(evidence)); + assert!( + collect_evidence_dependencies(&inherited) + .exact_entry_ids + .contains(&evidence.entry_id()) + ); +} diff --git a/tools/dynwinrt-codegen/src/com_enumerator_registry.rs b/tools/dynwinrt-codegen/src/com_enumerator_registry.rs deleted file mode 100644 index 35fea0f8..00000000 --- a/tools/dynwinrt-codegen/src/com_enumerator_registry.rs +++ /dev/null @@ -1,1409 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub(crate) enum EnumeratorElementKind { - Interface, - Struct, - Unknown, -} - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub(crate) enum EnumeratorDirection { - Out, - InOut, -} - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub(crate) struct EnumeratorContract { - pub interface_namespace: &'static str, - pub interface_name: &'static str, - pub interface_iid: &'static str, - pub next_vtable_index: usize, - pub element_namespace: &'static str, - pub element_name: &'static str, - pub element_kind: EnumeratorElementKind, - pub element_iid: Option<&'static str>, - pub citation: &'static str, -} - -impl EnumeratorContract { - pub(crate) fn entry_id(&self) -> String { - crate::contract_registry::exact_method_entry_id( - self.family_id(), - self.interface_namespace, - self.interface_name, - self.interface_iid, - "Next", - self.next_vtable_index, - ) - } - - pub(crate) const fn family_id(&self) -> crate::contract_registry::ExactFamilyId { - crate::contract_registry::ExactFamilyId::EnumeratorException - } - - pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { - crate::contract_registry::ContractKind::EnumeratorNext - } - - pub(crate) fn uses_generic_standard(&self) -> bool { - self.citation == STANDARD_NEXT - } -} - -use EnumeratorElementKind::{Interface, Struct, Unknown}; - -const STANDARD_NEXT: &str = - "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next"; - -const fn entry( - interface_namespace: &'static str, - interface_name: &'static str, - interface_iid: &'static str, - next_vtable_index: usize, - element_namespace: &'static str, - element_name: &'static str, - element_kind: EnumeratorElementKind, - element_iid: Option<&'static str>, - citation: &'static str, -) -> EnumeratorContract { - EnumeratorContract { - interface_namespace, - interface_name, - interface_iid, - next_vtable_index, - element_namespace, - element_name, - element_kind, - element_iid, - citation, - } -} - -// DocumentationAttribute URLs are preserved where Windows.Win32 metadata -// supplies them. Entries using STANDARD_NEXT have no attached URL in -// Microsoft.Windows.SDK.Win32Metadata 71.0.14-preview; the citation supplies -// the standard Microsoft Next contract while every identity and element fact -// remains an exact Windows.Win32.winmd registry key. -const ENUMERATOR_CONTRACTS: &[EnumeratorContract] = &[ - entry( - "Windows.Win32.System.Com", - "IEnumGUID", - "0002e000-0000-0000-c000-000000000046", - 3, - "System", - "Guid", - Unknown, - None, - "https://learn.microsoft.com/windows/win32/api/objidl/nn-objidl-ienumguid", - ), - entry( - "Windows.Win32.System.Com", - "IEnumConnectionPoints", - "b196b285-bab4-101a-b69c-00aa00341d07", - 3, - "Windows.Win32.System.Com", - "IConnectionPoint", - Interface, - Some("b196b286-bab4-101a-b69c-00aa00341d07"), - "https://learn.microsoft.com/windows/win32/api/ocidl/nn-ocidl-ienumconnectionpoints", - ), - entry( - "Windows.Win32.System.Ole", - "IEnumVARIANT", - "00020404-0000-0000-c000-000000000046", - 3, - "Windows.Win32.System.Variant", - "VARIANT", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/oaidl/nn-oaidl-ienumvariant", - ), - entry( - "Windows.Win32.System.Com", - "IEnumString", - "00000101-0000-0000-c000-000000000046", - 3, - "Windows.Win32.Foundation", - "PWSTR", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/objidl/nn-objidl-ienumstring", - ), - entry( - "Windows.Win32.System.Com", - "IEnumUnknown", - "00000100-0000-0000-c000-000000000046", - 3, - "Windows.Win32.System.Com", - "IUnknown", - Interface, - Some("00000000-0000-0000-c000-000000000046"), - "https://learn.microsoft.com/windows/win32/api/unknwn/nn-unknwn-iunknown", - ), - entry( - "Windows.Win32.Storage.VirtualDiskService", - "IEnumVdsObject", - "118610b7-8d94-4030-b5b8-500889788e4e", - 3, - "Windows.Win32.System.Com", - "IUnknown", - Interface, - Some("00000000-0000-0000-c000-000000000046"), - "https://learn.microsoft.com/windows/win32/api/vds/nn-vds-ienumvdsobject", - ), - entry( - "Windows.Win32.System.Com.Events", - "IEnumEventObject", - "f4a07d63-2e25-11d1-9964-00c04fbbb345", - 4, - "Windows.Win32.System.Com", - "IUnknown", - Interface, - Some("00000000-0000-0000-c000-000000000046"), - "https://learn.microsoft.com/windows/win32/api/eventsys/nn-eventsys-ienumeventobject", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumITfCompositionView", - "5efd22ba-7838-46cb-88e2-cadb14124f8f", - 4, - "Windows.Win32.UI.TextServices", - "ITfCompositionView", - Interface, - Some("d7540241-f9a1-4364-befc-dbcd2c4395b7"), - "https://learn.microsoft.com/windows/win32/api/msctf/nn-msctf-ienumitfcompositionview", - ), - entry( - "Windows.Win32.System.Search", - "IEnumSearchRoots", - "ab310581-ac80-11d1-8df3-00c04fb6ef52", - 3, - "Windows.Win32.System.Search", - "ISearchRoot", - Interface, - Some("04c18ccf-1f57-4cbd-88cc-3900f5195ce3"), - "https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-ienumsearchroots-next", - ), - entry( - "Windows.Win32.System.Search", - "IEnumSearchScopeRules", - "ab310581-ac80-11d1-8df3-00c04fb6ef54", - 3, - "Windows.Win32.System.Search", - "ISearchScopeRule", - Interface, - Some("ab310581-ac80-11d1-8df3-00c04fb6ef53"), - "https://learn.microsoft.com/windows/win32/api/searchapi/nf-searchapi-ienumsearchscoperules-next", - ), - entry( - "Windows.Win32.System.Search", - "IEnumSubscription", - "f72c8d97-6dbd-11d1-a1e8-00c04fc2fbe1", - 3, - "System", - "Guid", - Unknown, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Storage.FileSystem", - "IEnumDiskQuotaUsers", - "7988b577-ec89-11cf-9c00-00aa00a14f56", - 3, - "Windows.Win32.Storage.FileSystem", - "IDiskQuotaUser", - Interface, - Some("7988b574-ec89-11cf-9c00-00aa00a14f56"), - "https://learn.microsoft.com/windows/win32/api/dskquota/nf-dskquota-ienumdiskquotausers-next", - ), - entry( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmString", - "0adda826-2c26-11d2-ad65-00a0c9af11a6", - 3, - "Windows.Win32.Foundation", - "BSTR", - Struct, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmError", - "0adda829-2c26-11d2-ad65-00a0c9af11a6", - 3, - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IMsmError", - Interface, - Some("0adda828-2c26-11d2-ad65-00a0c9af11a6"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmDependency", - "0adda82c-2c26-11d2-ad65-00a0c9af11a6", - 3, - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IMsmDependency", - Interface, - Some("0adda82b-2c26-11d2-ad65-00a0c9af11a6"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Storage.Imapi", - "IEnumDiscMasterFormats", - "ddf445e1-54ba-11d3-9144-00104ba11c5e", - 3, - "System", - "Guid", - Unknown, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Storage.Imapi", - "IEnumDiscRecorders", - "9b1921e1-54ac-11d3-9144-00104ba11c5e", - 3, - "Windows.Win32.Storage.Imapi", - "IDiscRecorder", - Interface, - Some("85ac9776-ca88-4cf2-894e-09598c078a41"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Storage.Imapi", - "IEnumProgressItems", - "2c941fd6-975b-59be-a960-9a2a262853a5", - 3, - "Windows.Win32.Storage.Imapi", - "IProgressItem", - Interface, - Some("2c941fd5-975b-59be-a960-9a2a262853a5"), - "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ienumprogressitems-next", - ), - entry( - "Windows.Win32.Storage.Imapi", - "IEnumFsiItems", - "2c941fda-975b-59be-a960-9a2a262853a5", - 3, - "Windows.Win32.Storage.Imapi", - "IFsiItem", - Interface, - Some("2c941fd9-975b-59be-a960-9a2a262853a5"), - "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ienumfsiitems-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyJobs", - "1af4f612-3b71-466f-8f58-7b6f73ac57ad", - 3, - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IBackgroundCopyJob", - Interface, - Some("37668d37-507e-4160-9316-26306d150b12"), - "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ienumbackgroundcopyjobs-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyGroups", - "d993e603-4aa4-47c5-8665-c20d39c2ba4f", - 3, - "System", - "Guid", - Unknown, - None, - "https://learn.microsoft.com/windows/win32/api/qmgr/nf-qmgr-ienumbackgroundcopygroups-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBitsPeers", - "659cdea5-489e-11d9-a9cd-000d56965251", - 3, - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IBitsPeer", - Interface, - Some("659cdea2-489e-11d9-a9cd-000d56965251"), - "https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ienumbitspeers-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyFiles", - "ca51e165-c365-424c-8d41-24aaa4ff3c40", - 3, - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IBackgroundCopyFile", - Interface, - Some("01b7bd23-fb88-4a77-8490-5891d3e4653a"), - "https://learn.microsoft.com/windows/win32/api/bits/nf-bits-ienumbackgroundcopyfiles-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBitsPeerCacheRecords", - "659cdea4-489e-11d9-a9cd-000d56965251", - 3, - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IBitsPeerCacheRecord", - Interface, - Some("659cdeaf-489e-11d9-a9cd-000d56965251"), - "https://learn.microsoft.com/windows/win32/api/bits3_0/nf-bits3_0-ienumbitspeercacherecords-next", - ), - entry( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyJobs1", - "8baeba9d-8f1c-42c4-b82c-09ae79980d25", - 3, - "System", - "Guid", - Unknown, - None, - "https://learn.microsoft.com/windows/win32/api/qmgr/nf-qmgr-ienumbackgroundcopyjobs1-next", - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumGuideDataProperties", - "ae44423b-4571-475c-ad2c-f40a771d80ef", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "IGuideDataProperty", - Interface, - Some("88ec5e58-bb73-41d6-99ce-66c524b8b591"), - "https://learn.microsoft.com/windows/win32/api/bdatif/nf-bdatif-ienumguidedataproperties-next", - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumComponents", - "2a6e2939-2595-11d3-b64c-00c04f79498e", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "IComponent", - Interface, - Some("1a5576fc-0e19-11d3-9d8e-00c04f72d980"), - "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumcomponents-next", - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumMSVidGraphSegment", - "3dd2903e-e0aa-11d2-b63a-00c04f79498e", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "IMSVidGraphSegment", - Interface, - Some("238dec54-adeb-4005-a349-f772b9afebc4"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumTuneRequests", - "1993299c-ced6-4788-87a3-420067dce0c7", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "ITuneRequest", - Interface, - Some("07ddc146-fc3d-11d2-9d8c-00c04f72d980"), - "https://learn.microsoft.com/windows/win32/api/bdatif/nf-bdatif-ienumtunerequests-next", - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumTuningSpaces", - "8b8eb248-fc2b-11d2-9d8c-00c04f72d980", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "ITuningSpace", - Interface, - Some("061c6e30-e622-11d2-9493-00c04f72d980"), - "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumtuningspaces-next", - ), - entry( - "Windows.Win32.Media.DirectShow.Tv", - "IEnumComponentTypes", - "8a674b4a-1f63-11d3-b64c-00c04f79498e", - 3, - "Windows.Win32.Media.DirectShow.Tv", - "IComponentType", - Interface, - Some("6a340dc0-0311-11d3-9d8e-00c04f72d980"), - "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ienumcomponenttypes-next", - ), - entry( - "Windows.Win32.Globalization", - "IEnumCodePage", - "275c23e3-3747-11d0-9fea-00aa003f8646", - 4, - "Windows.Win32.Globalization", - "MIMECPINFO", - Struct, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Globalization", - "IEnumScript", - "ae5f1430-388b-11d2-8380-00c04f8f5da1", - 4, - "Windows.Win32.Globalization", - "SCRIPTINFO", - Struct, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Globalization", - "IEnumRfc1766", - "3dc39d1d-c030-11d0-b81b-00c04fc9b31f", - 4, - "Windows.Win32.Globalization", - "RFC1766INFO", - Struct, - None, - STANDARD_NEXT, - ), - entry( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgBindingInterface", - "c0e8ae90-306e-11d1-aacf-00805fc1270e", - 3, - "Windows.Win32.NetworkManagement.NetManagement", - "INetCfgBindingInterface", - Interface, - Some("c0e8ae94-306e-11d1-aacf-00805fc1270e"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgBindingPath", - "c0e8ae91-306e-11d1-aacf-00805fc1270e", - 3, - "Windows.Win32.NetworkManagement.NetManagement", - "INetCfgBindingPath", - Interface, - Some("c0e8ae96-306e-11d1-aacf-00805fc1270e"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgComponent", - "c0e8ae92-306e-11d1-aacf-00805fc1270e", - 3, - "Windows.Win32.NetworkManagement.NetManagement", - "INetCfgComponent", - Interface, - Some("c0e8ae99-306e-11d1-aacf-00805fc1270e"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWIA_FORMAT_INFO", - "81befc5b-656d-44f1-b24c-d41d51b4dc81", - 3, - "Windows.Win32.Devices.ImageAcquisition", - "WIA_FORMAT_INFO", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_format_info-next", - ), - entry( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWiaItem2", - "59970af4-cd0d-44d9-ab24-52295630e582", - 3, - "Windows.Win32.Devices.ImageAcquisition", - "IWiaItem2", - Interface, - Some("6cba0075-1287-407d-9b77-cf0e030435cc"), - "https://learn.microsoft.com/windows/win32/wia/-wia-ienumwiaitem2-next", - ), - entry( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWIA_DEV_INFO", - "5e38b83c-8cf1-11d1-bf92-0060081ed811", - 3, - "Windows.Win32.Devices.ImageAcquisition", - "IWiaPropertyStorage", - Interface, - Some("98b5e8a0-29cc-491a-aac0-e6db4fdcceb6"), - "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwia_dev_info-next", - ), - entry( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWiaItem", - "5e8383fc-3391-11d2-9a33-00c04fa36145", - 3, - "Windows.Win32.Devices.ImageAcquisition", - "IWiaItem", - Interface, - Some("4db1ad10-3391-11d2-9a33-00c04fa36145"), - "https://learn.microsoft.com/windows/win32/api/wia_xp/nf-wia_xp-ienumwiaitem-next", - ), - entry( - "Windows.Win32.NetworkManagement.WiFi", - "IEnumDot11AdHocNetworks", - "8f10cc28-cf0d-42a0-acbe-e2de7007384d", - 3, - "Windows.Win32.NetworkManagement.WiFi", - "IDot11AdHocNetwork", - Interface, - Some("8f10cc29-cf0d-42a0-acbe-e2de7007384d"), - "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocnetworks-next", - ), - entry( - "Windows.Win32.NetworkManagement.WiFi", - "IEnumDot11AdHocInterfaces", - "8f10cc2c-cf0d-42a0-acbe-e2de7007384d", - 3, - "Windows.Win32.NetworkManagement.WiFi", - "IDot11AdHocInterface", - Interface, - Some("8f10cc2b-cf0d-42a0-acbe-e2de7007384d"), - "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocinterfaces-next", - ), - entry( - "Windows.Win32.NetworkManagement.WiFi", - "IEnumDot11AdHocSecuritySettings", - "8f10cc2d-cf0d-42a0-acbe-e2de7007384d", - 3, - "Windows.Win32.NetworkManagement.WiFi", - "IDot11AdHocSecuritySettings", - Interface, - Some("8f10cc2e-cf0d-42a0-acbe-e2de7007384d"), - "https://learn.microsoft.com/windows/win32/api/adhoc/nf-adhoc-ienumdot11adhocsecuritysettings-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfRanges", - "f99d3f40-8e32-11d2-bf46-00105a2799b5", - 4, - "Windows.Win32.UI.TextServices", - "ITfRange", - Interface, - Some("aa80e7ff-2021-11d2-93e0-0060b067b86e"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfranges-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfDisplayAttributeInfo", - "7cef04d7-cb75-4e80-a7ab-5f5bc7d332de", - 4, - "Windows.Win32.UI.TextServices", - "ITfDisplayAttributeInfo", - Interface, - Some("70528852-2f26-4aea-8c96-215150578932"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfdisplayattributeinfo-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfContextViews", - "f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78", - 4, - "Windows.Win32.UI.TextServices", - "ITfContextView", - Interface, - Some("2433bf8e-0f9b-435c-ba2c-180611978c30"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfUIElements", - "887aa91e-acba-4931-84da-3c5208cf543f", - 4, - "Windows.Win32.UI.TextServices", - "ITfUIElement", - Interface, - Some("ea1ea137-19df-11d7-a6d2-00065b84435c"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfuielements-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfCandidates", - "defb1926-6c80-4ce8-87d4-d6b72b812bde", - 4, - "Windows.Win32.UI.TextServices", - "ITfCandidateString", - Interface, - Some("581f317e-fd9d-443f-b972-ed00467c5d40"), - "https://learn.microsoft.com/windows/win32/api/ctffunc/nf-ctffunc-ienumtfcandidates-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfLangBarItems", - "583f34d0-de25-11d2-afdd-00105a2799b5", - 4, - "Windows.Win32.UI.TextServices", - "ITfLangBarItem", - Interface, - Some("73540d69-edeb-4ee9-96c9-23aa30b25916"), - "https://learn.microsoft.com/windows/win32/api/ctfutb/nf-ctfutb-ienumtflangbaritems-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfFunctionProviders", - "e4b24db0-0990-11d3-8df0-00105a2799b5", - 4, - "Windows.Win32.UI.TextServices", - "ITfFunctionProvider", - Interface, - Some("101d6610-0990-11d3-8df0-00105a2799b5"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtffunctionproviders-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfProperties", - "19188cb0-aca9-11d2-afc5-00105a2799b5", - 4, - "Windows.Win32.UI.TextServices", - "ITfProperty", - Interface, - Some("e2449660-9542-11d2-bf46-00105a2799b5"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfproperties-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfDocumentMgrs", - "aa80e808-2021-11d2-93e0-0060b067b86e", - 4, - "Windows.Win32.UI.TextServices", - "ITfDocumentMgr", - Interface, - Some("aa80e7f4-2021-11d2-93e0-0060b067b86e"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfdocumentmgrs-next", - ), - entry( - "Windows.Win32.UI.TextServices", - "IEnumTfContexts", - "8f1a7ea6-1654-4502-a86e-b2902344d507", - 4, - "Windows.Win32.UI.TextServices", - "ITfContext", - Interface, - Some("aa80e7fd-2021-11d2-93e0-0060b067b86e"), - "https://learn.microsoft.com/windows/win32/api/msctf/nf-msctf-ienumtfcontexts-next", - ), - entry( - "Windows.Win32.System.Com", - "IEnumMoniker", - "00000102-0000-0000-c000-000000000046", - 3, - "Windows.Win32.System.Com", - "IMoniker", - Interface, - Some("0000000f-0000-0000-c000-000000000046"), - "https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ienummoniker-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumSyncProviderConfigUIInfos", - "f6be2602-17c6-4658-a2d7-68ed3330f641", - 3, - "Windows.Win32.System.WindowsSync", - "ISyncProviderConfigUIInfo", - Interface, - Some("214141ae-33d7-4d8d-8e37-f227e880ce50"), - "https://learn.microsoft.com/windows/win32/api/syncregistration/nf-syncregistration-ienumsyncproviderconfiguiinfos-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumSingleItemExceptions", - "e563381c-1b4d-4c66-9796-c86faccdcd40", - 3, - "Windows.Win32.System.WindowsSync", - "ISingleItemException", - Interface, - Some("892fb9b0-7c55-4a18-9316-fdf449569b64"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsingleitemexceptions-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumSyncChangeUnits", - "346b35f1-8703-4c6d-ab1a-4dbca2cff97f", - 3, - "Windows.Win32.System.WindowsSync", - "ISyncChangeUnit", - Interface, - Some("60edd8ca-7341-4bb7-95ce-fab6394b51cb"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsyncchangeunits-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumSyncProviderInfos", - "a04ba850-5eb1-460d-a973-393fcb608a11", - 3, - "Windows.Win32.System.WindowsSync", - "ISyncProviderInfo", - Interface, - Some("1ee135de-88a4-4504-b0d0-f7920d7e5ba6"), - "https://learn.microsoft.com/windows/win32/api/syncregistration/nf-syncregistration-ienumsyncproviderinfos-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumClockVector", - "525844db-2837-4799-9e80-81a66e02220c", - 3, - "Windows.Win32.System.WindowsSync", - "IClockVectorElement", - Interface, - Some("e71c4250-adf8-4a07-8fae-5669596909c1"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumclockvector-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumChangeUnitExceptions", - "3074e802-9319-4420-be21-1022e2e21da8", - 3, - "Windows.Win32.System.WindowsSync", - "IChangeUnitException", - Interface, - Some("0cd7ee7c-fec0-4021-99ee-f0e5348f2a5f"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumchangeunitexceptions-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumSyncChanges", - "5f86be4a-5e78-4e32-ac1c-c24fd223ef85", - 3, - "Windows.Win32.System.WindowsSync", - "ISyncChange", - Interface, - Some("a1952beb-0f6b-4711-b136-01da85b968a6"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumsyncchanges-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumRangeExceptions", - "0944439f-ddb1-4176-b703-046ff22a2386", - 3, - "Windows.Win32.System.WindowsSync", - "IRangeException", - Interface, - Some("75ae8777-6848-49f7-956c-a3a92f5096e8"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumrangeexceptions-next", - ), - entry( - "Windows.Win32.System.WindowsSync", - "IEnumFeedClockVector", - "550f763d-146a-48f6-abeb-6c88c7f70514", - 3, - "Windows.Win32.System.WindowsSync", - "IFeedClockVectorElement", - Interface, - Some("a40b46d2-e97b-4156-b6da-991f501b0f05"), - "https://learn.microsoft.com/windows/win32/api/winsync/nf-winsync-ienumfeedclockvector-next", - ), - entry( - "Windows.Win32.Media.Speech", - "IEnumSpObjectTokens", - "06b64f9e-7fda-11d2-b4f2-00c04f797396", - 3, - "Windows.Win32.Media.Speech", - "ISpObjectToken", - Interface, - Some("14056589-e16c-11d2-bb90-00c04f8ee6c0"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Web.InternetExplorer", - "IEnumOpenServiceActivityCategory", - "33627a56-8c9a-4430-8fd1-b5f5c771afb6", - 3, - "Windows.Win32.Web.InternetExplorer", - "IOpenServiceActivityCategory", - Interface, - Some("850af9d6-7309-40b5-bdb8-786c106b2153"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Web.InternetExplorer", - "IEnumOpenServiceActivity", - "a436d7d2-17c3-4ef4-a1e8-5c86faff26c0", - 3, - "Windows.Win32.Web.InternetExplorer", - "IOpenServiceActivity", - Interface, - Some("13645c88-221a-4905-8ed1-4f5112cfc108"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Media.DirectShow", - "IEnumPins", - "56a86892-0ad4-11ce-b03a-0020af0ba770", - 3, - "Windows.Win32.Media.DirectShow", - "IPin", - Interface, - Some("56a86891-0ad4-11ce-b03a-0020af0ba770"), - "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ienumpins-next", - ), - entry( - "Windows.Win32.Media.DirectShow", - "IEnumFilters", - "56a86893-0ad4-11ce-b03a-0020af0ba770", - 3, - "Windows.Win32.Media.DirectShow", - "IBaseFilter", - Interface, - Some("56a86895-0ad4-11ce-b03a-0020af0ba770"), - "https://learn.microsoft.com/windows/win32/api/strmif/nf-strmif-ienumfilters-next", - ), - entry( - "Windows.Win32.Devices.Tapi", - "IEnumQueue", - "5afc3158-4bcc-11d1-bf80-00805fc147d3", - 3, - "Windows.Win32.Devices.Tapi", - "ITQueue", - Interface, - Some("5afc3149-4bcc-11d1-bf80-00805fc147d3"), - "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumqueue-next", - ), - entry( - "Windows.Win32.Devices.Tapi", - "IEnumAgentSession", - "5afc314e-4bcc-11d1-bf80-00805fc147d3", - 3, - "Windows.Win32.Devices.Tapi", - "ITAgentSession", - Interface, - Some("5afc3147-4bcc-11d1-bf80-00805fc147d3"), - "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagentsession-next", - ), - entry( - "Windows.Win32.Devices.Tapi", - "IEnumACDGroup", - "5afc3157-4bcc-11d1-bf80-00805fc147d3", - 3, - "Windows.Win32.Devices.Tapi", - "ITACDGroup", - Interface, - Some("5afc3148-4bcc-11d1-bf80-00805fc147d3"), - "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumacdgroup-next", - ), - entry( - "Windows.Win32.Devices.Tapi", - "IEnumAgent", - "5afc314d-4bcc-11d1-bf80-00805fc147d3", - 3, - "Windows.Win32.Devices.Tapi", - "ITAgent", - Interface, - Some("5770ece5-4b27-11d1-bf80-00805fc147d3"), - "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagent-next", - ), - entry( - "Windows.Win32.Devices.Tapi", - "IEnumAgentHandler", - "587e8c28-9802-11d1-a0a4-00805fc147d3", - 3, - "Windows.Win32.Devices.Tapi", - "ITAgentHandler", - Interface, - Some("587e8c22-9802-11d1-a0a4-00805fc147d3"), - "https://learn.microsoft.com/windows/win32/api/tapi3cc/nf-tapi3cc-ienumagenthandler-next", - ), - entry( - "Windows.Win32.System.Ole", - "IEnumOleUndoUnits", - "b3e7c340-ef97-11ce-9bc9-00aa00608e01", - 3, - "Windows.Win32.System.Ole", - "IOleUndoUnit", - Interface, - Some("894ad3b0-ef97-11ce-9bc9-00aa00608e01"), - "https://learn.microsoft.com/windows/win32/api/ocidl/nf-ocidl-ienumoleundounits-next", - ), - entry( - "Windows.Win32.System.Ole", - "IEnumOleDocumentViews", - "b722bcc8-4e68-101b-a2bc-00aa00404770", - 3, - "Windows.Win32.System.Ole", - "IOleDocumentView", - Interface, - Some("b722bcc6-4e68-101b-a2bc-00aa00404770"), - "https://learn.microsoft.com/windows/win32/api/docobj/nf-docobj-ienumoledocumentviews-next", - ), - entry( - "Windows.Win32.NetworkManagement.WindowsFirewall", - "IEnumNetSharingPrivateConnection", - "c08956b5-1cd3-11d1-b1c5-00805fc1270e", - 3, - "Windows.Win32.System.Variant", - "VARIANT", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingprivateconnection-next", - ), - entry( - "Windows.Win32.NetworkManagement.WindowsFirewall", - "IEnumNetSharingPublicConnection", - "c08956b4-1cd3-11d1-b1c5-00805fc1270e", - 3, - "Windows.Win32.System.Variant", - "VARIANT", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingpublicconnection-next", - ), - entry( - "Windows.Win32.NetworkManagement.WindowsFirewall", - "IEnumNetConnection", - "c08956a0-1cd3-11d1-b1c5-00805fc1270e", - 3, - "Windows.Win32.NetworkManagement.WindowsFirewall", - "INetConnection", - Interface, - Some("c08956a1-1cd3-11d1-b1c5-00805fc1270e"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.NetworkManagement.WindowsFirewall", - "IEnumNetSharingEveryConnection", - "c08956b8-1cd3-11d1-b1c5-00805fc1270e", - 3, - "Windows.Win32.System.Variant", - "VARIANT", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingeveryconnection-next", - ), - entry( - "Windows.Win32.NetworkManagement.WindowsFirewall", - "IEnumNetSharingPortMapping", - "c08956b0-1cd3-11d1-b1c5-00805fc1270e", - 3, - "Windows.Win32.System.Variant", - "VARIANT", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/netcon/nf-netcon-ienumnetsharingportmapping-next", - ), - entry( - "Windows.Win32.Devices.PortableDevices", - "IEnumPortableDeviceConnectors", - "bfdef549-9247-454f-bd82-06fe80853faa", - 3, - "Windows.Win32.Devices.PortableDevices", - "IPortableDeviceConnector", - Interface, - Some("625e2df8-6392-4cf0-9ad1-3cfa5f17775c"), - "https://learn.microsoft.com/windows/win32/wpd_sdk/ienumportabledeviceconnectors-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumShellItems", - "70629033-e363-4a28-a567-0db78006e6d7", - 3, - "Windows.Win32.UI.Shell", - "IShellItem", - Interface, - Some("43826d1e-e718-42ee-bc55-a1e261c37bfe"), - "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumshellitems-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumSyncMgrEvents", - "c81a1d4e-8cf7-4683-80e0-bcae88d677b6", - 3, - "Windows.Win32.UI.Shell", - "ISyncMgrEvent", - Interface, - Some("fee0ef8b-46bd-4db4-b7e6-ff2c687313bc"), - "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrevents-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumTravelLogEntry", - "7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8", - 3, - "Windows.Win32.UI.Shell", - "ITravelLogEntry", - Interface, - Some("7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumSyncMgrConflict", - "82705914-dda3-4893-ba99-49de6c8c8036", - 3, - "Windows.Win32.UI.Shell", - "ISyncMgrConflict", - Interface, - Some("9c204249-c443-4ba4-85ed-c972681db137"), - "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrconflict-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumSyncMgrSyncItems", - "54b3abf3-f085-4181-b546-e29c403c726b", - 3, - "Windows.Win32.UI.Shell", - "ISyncMgrSyncItem", - Interface, - Some("b20b24ce-2593-4f04-bd8b-7ad6c45051cd"), - "https://learn.microsoft.com/windows/win32/api/syncmgr/nf-syncmgr-ienumsyncmgrsyncitems-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumAssocHandlers", - "973810ae-9599-4b88-9e4d-6ee98c9552da", - 3, - "Windows.Win32.UI.Shell", - "IAssocHandler", - Interface, - Some("f04061ac-1659-4a3f-a954-775aa57fc083"), - "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumassochandlers-next", - ), - entry( - "Windows.Win32.UI.Shell", - "IEnumExplorerCommand", - "a88826f8-186f-4987-aade-ea0cef8fbfe8", - 3, - "Windows.Win32.UI.Shell", - "IExplorerCommand", - Interface, - Some("a08ce4d0-fa25-44ab-b57c-c7b1c323e0b9"), - "https://learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ienumexplorercommand-next", - ), - entry( - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IEnumRemoteDebugApplications", - "51973c3b-cb0c-11d0-b5c9-00a0244a0e7a", - 3, - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IRemoteDebugApplication", - Interface, - Some("51973c30-cb0c-11d0-b5c9-00a0244a0e7a"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IEnumDebugExpressionContexts", - "51973c40-cb0c-11d0-b5c9-00a0244a0e7a", - 3, - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IDebugExpressionContext", - Interface, - Some("51973c15-cb0c-11d0-b5c9-00a0244a0e7a"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IEnumRemoteDebugApplicationThreads", - "51973c3c-cb0c-11d0-b5c9-00a0244a0e7a", - 3, - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IRemoteDebugApplicationThread", - Interface, - Some("51973c37-cb0c-11d0-b5c9-00a0244a0e7a"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IEnumDebugApplicationNodes", - "51973c3a-cb0c-11d0-b5c9-00a0244a0e7a", - 3, - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IDebugApplicationNode", - Interface, - Some("51973c34-cb0c-11d0-b5c9-00a0244a0e7a"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IEnumDebugCodeContexts", - "51973c1d-cb0c-11d0-b5c9-00a0244a0e7a", - 3, - "Windows.Win32.System.Diagnostics.Debug.ActiveScript", - "IDebugCodeContext", - Interface, - Some("51973c13-cb0c-11d0-b5c9-00a0244a0e7a"), - STANDARD_NEXT, - ), - entry( - "Windows.Win32.Storage.OfflineFiles", - "IEnumOfflineFilesSettings", - "729680c4-1a38-47bc-9e5c-02c51562ac30", - 3, - "Windows.Win32.Storage.OfflineFiles", - "IOfflineFilesSetting", - Interface, - Some("d871d3f7-f613-48a1-827e-7a34e560fff6"), - "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-ienumofflinefilessettings-next", - ), - entry( - "Windows.Win32.Storage.OfflineFiles", - "IEnumOfflineFilesItems", - "da70e815-c361-4407-bc0b-0d7046e5f2cd", - 3, - "Windows.Win32.Storage.OfflineFiles", - "IOfflineFilesItem", - Interface, - Some("4a753da6-e044-4f12-a718-5d14d079a906"), - "https://learn.microsoft.com/windows/win32/api/cscobj/nf-cscobj-ienumofflinefilesitems-next", - ), - entry( - "Windows.Win32.System.ComponentServices", - "IEnumNames", - "51372af2-cae7-11cf-be81-00aa00a2fa25", - 3, - "Windows.Win32.Foundation", - "BSTR", - Struct, - None, - "https://learn.microsoft.com/windows/win32/api/comsvcs/nf-comsvcs-ienumnames-next", - ), -]; - -const INOUT_FETCHED_DECLARATIONS: &[(&str, &str)] = &[ - ("Windows.Win32.System.Search", "IEnumSearchRoots"), - ("Windows.Win32.System.Search", "IEnumSearchScopeRules"), - ("Windows.Win32.Storage.FileSystem", "IEnumDiskQuotaUsers"), - ( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmString", - ), - ( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmError", - ), - ( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmDependency", - ), - ( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyJobs", - ), - ( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBitsPeers", - ), - ( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBackgroundCopyFiles", - ), - ( - "Windows.Win32.Networking.BackgroundIntelligentTransferService", - "IEnumBitsPeerCacheRecords", - ), - ( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWIA_FORMAT_INFO", - ), - ("Windows.Win32.Devices.ImageAcquisition", "IEnumWiaItem2"), - ( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWIA_DEV_INFO", - ), - ("Windows.Win32.Devices.ImageAcquisition", "IEnumWiaItem"), - ("Windows.Win32.UI.TextServices", "IEnumTfLangBarItems"), - ( - "Windows.Win32.System.WindowsSync", - "IEnumSingleItemExceptions", - ), - ("Windows.Win32.System.WindowsSync", "IEnumSyncChangeUnits"), - ("Windows.Win32.System.WindowsSync", "IEnumClockVector"), - ( - "Windows.Win32.System.WindowsSync", - "IEnumChangeUnitExceptions", - ), - ("Windows.Win32.System.WindowsSync", "IEnumSyncChanges"), - ("Windows.Win32.System.WindowsSync", "IEnumRangeExceptions"), - ("Windows.Win32.System.WindowsSync", "IEnumFeedClockVector"), - ( - "Windows.Win32.Devices.PortableDevices", - "IEnumPortableDeviceConnectors", - ), - ("Windows.Win32.System.ComponentServices", "IEnumNames"), -]; - -const OPTIONAL_FETCHED_DECLARATIONS: &[(&str, &str)] = &[ - ("Windows.Win32.System.Com", "IEnumGUID"), - ("Windows.Win32.System.Com", "IEnumString"), - ("Windows.Win32.System.Com", "IEnumUnknown"), - ("Windows.Win32.Globalization", "IEnumCodePage"), - ("Windows.Win32.Globalization", "IEnumScript"), - ("Windows.Win32.Globalization", "IEnumRfc1766"), - ( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgBindingInterface", - ), - ( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgBindingPath", - ), - ( - "Windows.Win32.NetworkManagement.NetManagement", - "IEnumNetCfgComponent", - ), - ("Windows.Win32.System.Com", "IEnumMoniker"), - ("Windows.Win32.Media.Speech", "IEnumSpObjectTokens"), - ("Windows.Win32.Media.DirectShow", "IEnumPins"), - ("Windows.Win32.Media.DirectShow", "IEnumFilters"), - ("Windows.Win32.UI.Shell", "IEnumShellItems"), - ("Windows.Win32.UI.Shell", "IEnumAssocHandlers"), - ("Windows.Win32.UI.Shell", "IEnumExplorerCommand"), -]; - -fn declaration_is_in( - declarations: &[(&str, &str)], - interface_namespace: &str, - interface_name: &str, -) -> bool { - declarations - .iter() - .any(|(namespace, name)| *namespace == interface_namespace && *name == interface_name) -} - -pub(crate) fn fetched_shape( - interface_namespace: &str, - interface_name: &str, -) -> (EnumeratorDirection, bool) { - let direction = if declaration_is_in( - INOUT_FETCHED_DECLARATIONS, - interface_namespace, - interface_name, - ) { - EnumeratorDirection::InOut - } else { - EnumeratorDirection::Out - }; - let optional = declaration_is_in( - OPTIONAL_FETCHED_DECLARATIONS, - interface_namespace, - interface_name, - ); - (direction, optional) -} - -pub(crate) fn values_direction( - interface_namespace: &str, - interface_name: &str, -) -> EnumeratorDirection { - if matches!( - (interface_namespace, interface_name), - ( - "Windows.Win32.System.ApplicationInstallationAndServicing", - "IEnumMsmString" - ) | ( - "Windows.Win32.Devices.ImageAcquisition", - "IEnumWIA_FORMAT_INFO" - ) | ("Windows.Win32.System.ComponentServices", "IEnumNames") - ) { - EnumeratorDirection::InOut - } else { - EnumeratorDirection::Out - } -} - -pub(crate) fn contract_for_declaration( - interface_namespace: &str, - interface_name: &str, -) -> Option<&'static EnumeratorContract> { - ENUMERATOR_CONTRACTS.iter().find(|contract| { - contract.interface_namespace == interface_namespace - && contract.interface_name == interface_name - }) -} - -pub(crate) fn exact_contract( - interface_namespace: &str, - interface_name: &str, - interface_iid: &str, - next_vtable_index: usize, -) -> Option<&'static EnumeratorContract> { - contract_for_declaration(interface_namespace, interface_name).filter(|contract| { - contract.interface_iid.eq_ignore_ascii_case(interface_iid) - && contract.next_vtable_index == next_vtable_index - }) -} - -pub(crate) fn contracts() -> &'static [EnumeratorContract] { - ENUMERATOR_CONTRACTS -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn exact_lookup_rejects_identity_and_slot_drift() { - assert!( - exact_contract( - "Windows.Win32.System.Com", - "IEnumUnknown", - "00000100-0000-0000-c000-000000000046", - 3 - ) - .is_some() - ); - assert!( - exact_contract( - "Contoso", - "IEnumUnknown", - "00000100-0000-0000-c000-000000000046", - 3 - ) - .is_none() - ); - assert!( - exact_contract( - "Windows.Win32.System.Com", - "IEnumUnknown", - "ffffffff-ffff-ffff-ffff-ffffffffffff", - 3 - ) - .is_none() - ); - assert!( - exact_contract( - "Windows.Win32.System.Com", - "IEnumUnknown", - "00000100-0000-0000-c000-000000000046", - 4 - ) - .is_none() - ); - } - - #[test] - fn declarations_are_unique() { - for (index, contract) in ENUMERATOR_CONTRACTS.iter().enumerate() { - assert!( - !ENUMERATOR_CONTRACTS[..index].iter().any(|previous| { - previous.interface_namespace == contract.interface_namespace - && previous.interface_name == contract.interface_name - }), - "{}.{}", - contract.interface_namespace, - contract.interface_name - ); - assert_eq!( - contract.element_iid.is_some(), - contract.element_kind == EnumeratorElementKind::Interface, - "{}.{} element IID", - contract.interface_namespace, - contract.interface_name - ); - } - } - - #[test] - fn generic_standard_next_entries_are_not_exact_exceptions() { - assert_eq!( - ENUMERATOR_CONTRACTS - .iter() - .filter(|contract| contract.uses_generic_standard()) - .count(), - 24 - ); - assert!( - ENUMERATOR_CONTRACTS - .iter() - .filter(|contract| !contract.uses_generic_standard()) - .all(|contract| contract.citation != STANDARD_NEXT) - ); - } -} diff --git a/tools/dynwinrt-codegen/src/com_metadata.rs b/tools/dynwinrt-codegen/src/com_metadata.rs index 5cfe34d7..ba3cd4f0 100644 --- a/tools/dynwinrt-codegen/src/com_metadata.rs +++ b/tools/dynwinrt-codegen/src/com_metadata.rs @@ -9,12 +9,16 @@ use windows_metadata::{HasAttributes, reader}; pub use crate::contract_registry::ComStandardRule as RawComStandardRule; pub use crate::contract_registry::ContractKind as RawContractKind; pub use crate::contract_registry::ExactFamilyId as RawExactFamilyId; +use crate::contract_registry::adapters; use crate::types::TypeMeta; #[path = "com_borrowed_metadata.rs"] pub mod borrowed; #[path = "com_completion_metadata.rs"] pub mod completion; +#[cfg(test)] +#[path = "com_contract_registry_tests.rs"] +mod contract_registry_tests; #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum RawConstness { @@ -1231,14 +1235,12 @@ pub(crate) fn collect_evidence_dependencies( 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, - &method.declaring_interface, - &method.metadata_name, - method.vtable_index, - ) - { + if let Some(borrowed) = adapters::borrowed_handle::borrowed_hwnd_evidence_for_declaration( + &method.declaring_namespace, + &method.declaring_interface, + &method.metadata_name, + method.vtable_index, + ) { dependencies.add_exact( borrowed.entry_id(), borrowed.family_id(), @@ -1299,11 +1301,12 @@ pub(crate) fn collect_evidence_dependencies( pub(crate) fn collect_exact_registry_entries( interface: &ComInterfaceMeta, -) -> Vec { +) -> Result, String> { use crate::contract_registry::{ExactEntrySelector, ExactRegistryEntry}; let mut entries = borrowed::catalog_entries(interface); for method in interface.raw_methods.as_deref().unwrap_or_default() { + validate_migrated_source_shape(method)?; let method_fingerprint = method .exact_interface_output_call .as_ref() @@ -1466,14 +1469,12 @@ pub(crate) fn collect_exact_registry_entries( citation: citation.clone(), }); } - if let Some(borrowed) = - crate::com_borrowed_handle_registry::borrowed_hwnd_evidence_for_declaration( - &method.declaring_namespace, - &method.declaring_interface, - &method.metadata_name, - method.vtable_index, - ) - { + if let Some(borrowed) = adapters::borrowed_handle::borrowed_hwnd_evidence_for_declaration( + &method.declaring_namespace, + &method.declaring_interface, + &method.metadata_name, + method.vtable_index, + ) { entries.push(ExactRegistryEntry { entry_id: borrowed.entry_id(), family_id: borrowed.family_id(), @@ -1527,7 +1528,7 @@ pub(crate) fn collect_exact_registry_entries( } } } - entries + Ok(entries) } fn apply_exact_parameter_direction_overrides( @@ -1717,7 +1718,7 @@ fn apply_exact_out_parameter_contracts( ) -> bool { let source_fingerprint = raw_method_fingerprint(raw); let mut attached = false; - for entry in crate::com_parameter_direction_registry::entries() { + for entry in adapters::parameter_direction::entries() { if raw.declaring_namespace != entry.declaring_namespace || raw.declaring_interface != entry.declaring_interface || !raw.declaring_iid.eq_ignore_ascii_case(entry.declaring_iid) @@ -1726,6 +1727,7 @@ fn apply_exact_out_parameter_contracts( || raw.params.len() != entry.parameter_count || compatibility.params.len() != entry.parameter_count || source_fingerprint != entry.source_fingerprint + || !raw_parameters_match_selector(raw, entry.selector) { continue; } @@ -1760,7 +1762,7 @@ fn apply_exact_out_parameter_contracts( 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() { + for entry in adapters::null_input::entries() { if raw.declaring_namespace != entry.declaring_namespace || raw.declaring_interface != entry.declaring_interface || !raw.declaring_iid.eq_ignore_ascii_case(entry.declaring_iid) @@ -1768,6 +1770,7 @@ fn apply_exact_null_input_contracts(raw: &mut RawComMethod) -> bool { || raw.vtable_index != entry.vtable_index || raw.params.len() != entry.parameter_count || source_fingerprint != entry.source_fingerprint + || !raw_parameters_match_selector(raw, entry.selector) { continue; } @@ -1807,6 +1810,26 @@ fn raw_type_registry_name(typ: &RawComType) -> String { } } +fn raw_parameters_match_selector( + raw: &RawComMethod, + selector: &crate::contract_registry::ContractSelector, +) -> bool { + raw.params.len() == selector.parameter_count + && selector.parameters.len() == raw.params.len() + && selector.parameters.iter().zip(&raw.params).enumerate().all( + |(index, (expected, actual))| { + expected.index == index + && 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 + }, + ) +} + const fn raw_direction_key(direction: RawParamDirection) -> &'static str { match direction { RawParamDirection::In => "in", @@ -1826,13 +1849,12 @@ const fn raw_constness_key(constness: RawConstness) -> &'static str { fn apply_safe_array_evidence(raw: &mut RawComMethod) { for parameter_index in 0..raw.params.len() { - let declaration_evidence = - crate::com_safe_array_registry::safe_array_evidence_for_declaration( - &raw.declaring_namespace, - &raw.declaring_interface, - &raw.metadata_name, - parameter_index, - ); + let declaration_evidence = adapters::safearray::safe_array_evidence_for_declaration( + &raw.declaring_namespace, + &raw.declaring_interface, + &raw.metadata_name, + parameter_index, + ); let is_safe_array = matches!( &raw.params[parameter_index].typ.native_type, RawNativeType::Named { @@ -1850,7 +1872,7 @@ fn apply_safe_array_evidence(raw: &mut RawComMethod) { } continue; } - let Some(evidence) = crate::com_safe_array_registry::registered_safe_array_evidence( + let Some(evidence) = adapters::safearray::registered_safe_array_evidence( &raw.declaring_namespace, &raw.declaring_interface, &raw.declaring_iid, @@ -1919,6 +1941,8 @@ fn validate_safe_array_evidence( || evidence.element_iid.is_some() != (evidence.element_vartype == RawSafeArrayVartype::Unknown) || raw_method_shape(raw) != evidence.raw_method_shape + || adapters::safearray::contract_for_evidence(evidence) + .is_none_or(|entry| !raw_parameters_match_selector(raw, &entry.selector)) { return Err(format!( "{}.{} SAFEARRAY signature no longer matches exact documented evidence", @@ -1937,7 +1961,7 @@ pub(crate) fn validate_attached_safe_array_evidence(raw: &RawComMethod) -> Resul .iter() .filter_map(|parameter| parameter.safe_array_evidence.as_ref()) { - let registered = crate::com_safe_array_registry::registered_safe_array_evidence( + let registered = adapters::safearray::registered_safe_array_evidence( &raw.declaring_namespace, &raw.declaring_interface, &raw.declaring_iid, @@ -1963,17 +1987,15 @@ pub(crate) fn validate_attached_safe_array_evidence(raw: &RawComMethod) -> Resul } pub(crate) fn validate_borrowed_hwnd_output_evidence(raw: &RawComMethod) -> Result<(), String> { - let Some(evidence) = - crate::com_borrowed_handle_registry::borrowed_hwnd_evidence_for_declaration( - &raw.declaring_namespace, - &raw.declaring_interface, - &raw.metadata_name, - raw.vtable_index, - ) - else { + let Some(evidence) = adapters::borrowed_handle::borrowed_hwnd_evidence_for_declaration( + &raw.declaring_namespace, + &raw.declaring_interface, + &raw.metadata_name, + raw.vtable_index, + ) else { return Ok(()); }; - let registered = crate::com_borrowed_handle_registry::registered_borrowed_hwnd_output( + let registered = adapters::borrowed_handle::registered_borrowed_hwnd_output( &raw.declaring_namespace, &raw.declaring_interface, &raw.declaring_iid, @@ -2033,7 +2055,7 @@ pub(crate) fn is_registered_borrowed_hwnd_output( raw: &RawComMethod, parameter_index: usize, ) -> bool { - crate::com_borrowed_handle_registry::registered_borrowed_hwnd_output( + adapters::borrowed_handle::registered_borrowed_hwnd_output( &raw.declaring_namespace, &raw.declaring_interface, &raw.declaring_iid, @@ -3188,7 +3210,7 @@ fn known_array_contract_override( if metadata.is_none() && method_name == "Next" && param_index == 1 - && let Some(contract) = crate::com_enumerator_registry::exact_contract( + && let Some(contract) = adapters::enumerator::exact_contract( interface_namespace, interface_name, interface_iid, @@ -3351,24 +3373,21 @@ fn known_enumerator_next_override( params: &[RawComParam], return_type: &RawComType, ) -> Option { - let expected = crate::com_enumerator_registry::exact_contract( + let expected = adapters::enumerator::exact_contract( interface_namespace, interface_name, interface_iid, vtable_index, )?; - let (expected_fetched_direction, expected_fetched_optional) = - crate::com_enumerator_registry::fetched_shape(interface_namespace, interface_name); - let expected_fetched_direction = match expected_fetched_direction { - crate::com_enumerator_registry::EnumeratorDirection::Out => RawParamDirection::Out, - crate::com_enumerator_registry::EnumeratorDirection::InOut => RawParamDirection::InOut, + let expected_fetched_optional = expected.fetched_optional; + let expected_fetched_direction = match expected.fetched_direction { + adapters::enumerator::EnumeratorDirection::Out => RawParamDirection::Out, + adapters::enumerator::EnumeratorDirection::InOut => RawParamDirection::InOut, + }; + let expected_values_direction = match expected.values_direction { + adapters::enumerator::EnumeratorDirection::Out => RawParamDirection::Out, + adapters::enumerator::EnumeratorDirection::InOut => RawParamDirection::InOut, }; - let expected_values_direction = - match crate::com_enumerator_registry::values_direction(interface_namespace, interface_name) - { - crate::com_enumerator_registry::EnumeratorDirection::Out => RawParamDirection::Out, - crate::com_enumerator_registry::EnumeratorDirection::InOut => RawParamDirection::InOut, - }; let exact_hresult = return_type.pointer_depth == 0 && matches!( &return_type.native_type, @@ -3407,13 +3426,13 @@ fn known_enumerator_next_override( && matches!( (expected.element_kind, kind), ( - crate::com_enumerator_registry::EnumeratorElementKind::Interface, + adapters::enumerator::EnumeratorElementKind::Interface, RawNamedKind::Interface ) | ( - crate::com_enumerator_registry::EnumeratorElementKind::Struct, + adapters::enumerator::EnumeratorElementKind::Struct, RawNamedKind::Struct ) | ( - crate::com_enumerator_registry::EnumeratorElementKind::Unknown, + adapters::enumerator::EnumeratorElementKind::Unknown, RawNamedKind::Unknown ) ) @@ -3490,15 +3509,12 @@ fn known_enumerator_next_override( values_param_index: 1, fetched_param_index: 2, fetched_optional_for_single: expected_fetched_optional, - evidence: enumerator_contract_evidence( - expected, - "the standard IEnum* contract defines pceltFetched as the initialized element count and permits omission only where this exact interface metadata marks it optional", - ), + evidence: enumerator_contract_evidence(expected, expected.reason), }) } fn enumerator_contract_evidence( - contract: &crate::com_enumerator_registry::EnumeratorContract, + contract: &adapters::enumerator::EnumeratorContract, reason: &str, ) -> RawEvidence { if contract.uses_generic_standard() { @@ -3515,8 +3531,7 @@ fn enumerator_contract_evidence( } fn is_registered_enumerator_interface(interface_namespace: &str, interface_name: &str) -> bool { - crate::com_enumerator_registry::contract_for_declaration(interface_namespace, interface_name) - .is_some() + adapters::enumerator::contract_for_declaration(interface_namespace, interface_name).is_some() } pub(crate) fn validate_attached_enumerator_evidence(raw: &RawComMethod) -> Result<(), String> { @@ -3572,6 +3587,47 @@ pub(crate) fn validate_attached_enumerator_evidence(raw: &RawComMethod) -> Resul Ok(()) } +pub(crate) fn validate_migrated_source_shape(raw: &RawComMethod) -> Result<(), String> { + let enumerator = adapters::enumerator::contract_for_declaration( + &raw.declaring_namespace, + &raw.declaring_interface, + ) + .filter(|entry| raw.metadata_name == "Next" || raw.vtable_index == entry.next_vtable_index); + let selector = if let Some(entry) = enumerator { + validate_attached_enumerator_evidence(raw)?; + entry.selector + } else if let Some(evidence) = adapters::borrowed_handle::borrowed_hwnd_evidence_for_declaration( + &raw.declaring_namespace, + &raw.declaring_interface, + &raw.metadata_name, + raw.vtable_index, + ) { + validate_borrowed_hwnd_output_evidence(raw)?; + evidence.selector + } else { + return Ok(()); + }; + 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_parameters_match_selector(raw, selector) + || raw_method_shape(raw) != selector.raw_method_shape() + { + return Err(format!( + "{}.{} signature no longer matches exact contract evidence (registry source shape)", + raw.declaring_interface, raw.metadata_name + )); + } + Ok(()) +} + fn known_free_with_override( interface_namespace: &str, interface_name: &str, @@ -4734,7 +4790,7 @@ mod tests { #[test] fn external_evidence_families_have_stable_typed_provenance() { - let borrowed = crate::com_borrowed_handle_registry::borrowed_hwnd_evidence_for_declaration( + let borrowed = adapters::borrowed_handle::borrowed_hwnd_evidence_for_declaration( "Windows.Win32.System.Ole", "IOleWindow", "GetWindow", @@ -4755,7 +4811,7 @@ mod tests { crate::contract_registry::ContractKind::BorrowedHandle ); - let enumerator = crate::com_enumerator_registry::contract_for_declaration( + let enumerator = adapters::enumerator::contract_for_declaration( "Windows.Win32.System.Com", "IEnumString", ) @@ -4774,7 +4830,7 @@ mod tests { crate::contract_registry::ContractKind::EnumeratorNext ); - let safe_array = &crate::com_safe_array_registry::all_safe_array_evidence()[0]; + let safe_array = &adapters::safearray::all_safe_array_evidence()[0]; assert!( safe_array .entry_id() @@ -5065,7 +5121,7 @@ mod tests { return; }; let index = crate::meta::load_index(&winmd).expect("configured Win32 metadata must load"); - let evidence = crate::com_safe_array_registry::all_safe_array_evidence(); + let evidence = adapters::safearray::all_safe_array_evidence(); let mut interfaces = std::collections::BTreeMap::new(); for entry in evidence { interfaces @@ -5841,7 +5897,7 @@ mod tests { }; let index = crate::meta::load_index(&winmd).unwrap(); let mut failures = Vec::new(); - for contract in crate::com_enumerator_registry::contracts() { + for contract in adapters::enumerator::contracts() { let Some(interface) = parse_com_interface_from_index( &index, contract.interface_namespace, diff --git a/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs b/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs deleted file mode 100644 index 5d4168fb..00000000 --- a/tools/dynwinrt-codegen/src/com_parameter_direction_registry.rs +++ /dev/null @@ -1,115 +0,0 @@ -// 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/com_safe_array_registry.rs b/tools/dynwinrt-codegen/src/com_safe_array_registry.rs deleted file mode 100644 index a18c7d68..00000000 --- a/tools/dynwinrt-codegen/src/com_safe_array_registry.rs +++ /dev/null @@ -1,3348 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -use crate::com_metadata::{RawSafeArrayEvidence, RawSafeArrayOwnership, RawSafeArrayVartype}; - -const SAFE_ARRAY_EVIDENCE: &[RawSafeArrayEvidence] = &[ - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow", - declaring_interface: "IESEvent", - declaring_iid: "1f0e5357-af43-44e6-8547-654c645145d2", - method_name: "GetData", - vtable_index: 6, - parameter_index: 0, - parameter_name: "pbData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetData@6(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IESEvent::GetData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesevent-getdata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IESIsdbCasResponseEvent", - declaring_iid: "2017cb03-dc0f-4c24-83ca-36307b2cd19f", - method_name: "GetResponseData", - vtable_index: 11, - parameter_index: 0, - parameter_name: "pbData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetResponseData@11(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IESIsdbCasResponseEvent::GetResponseData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesisdbcasresponseevent-getresponsedata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IESLicenseRenewalResultEvent", - declaring_iid: "d5a48ef5-a81b-4df0-acaa-5e35e7ea45d4", - method_name: "GetEntitlementToken", - vtable_index: 17, - parameter_index: 0, - parameter_name: "pbData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEntitlementToken@17(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IESLicenseRenewalResultEvent::GetEntitlementToken parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-ieslicenserenewalresultevent-getentitlementtoken", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IESOpenMmiEvent", - declaring_iid: "ba4b6526-1a35-4635-8b56-3ec612746a8c", - method_name: "GetDialogData", - vtable_index: 10, - parameter_index: 0, - parameter_name: "pbData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetDialogData@10(pbData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IESOpenMmiEvent::GetDialogData parameter pbData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesopenmmievent-getdialogdata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Media.DirectShow.Tv", - declaring_interface: "IESValueUpdatedEvent", - declaring_iid: "8a24c46e-bb63-4664-8602-5d9c718c146d", - method_name: "GetValueNames", - vtable_index: 8, - parameter_index: 0, - parameter_name: "pbstrNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetValueNames@8(pbstrNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IESValueUpdatedEvent::GetValueNames parameter pbstrNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/tuner/nf-tuner-iesvalueupdatedevent-getvaluenames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnConnectionManager", - declaring_iid: "dcbbbab6-201d-4bbb-aaee-338e368af6fa", - method_name: "GetConnections", - vtable_index: 4, - parameter_index: 0, - parameter_name: "mbnConnections", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("dcbbbab6-200d-4bbb-aaee-338e368af6fa"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetConnections@4(mbnConnections:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnConnectionManager::GetConnections parameter mbnConnections as SAFEARRAY(IMbnConnection*), requiring VT_UNKNOWN with IID dcbbbab6-200d-4bbb-aaee-338e368af6fa", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectionmanager-getconnections", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnConnectionProfileManager", - declaring_iid: "dcbbbab6-200f-4bbb-aaee-338e368af6fa", - method_name: "GetConnectionProfiles", - vtable_index: 3, - parameter_index: 1, - parameter_name: "connectionProfiles", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("dcbbbab6-2010-4bbb-aaee-338e368af6fa"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetConnectionProfiles@3(mbnInterface:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnInterface[Interface]{dcbbbab6-2001-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,connectionProfiles:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnConnectionProfileManager::GetConnectionProfiles parameter connectionProfiles as SAFEARRAY(IMbnConnectionProfile*), requiring VT_UNKNOWN with IID dcbbbab6-2010-4bbb-aaee-338e368af6fa", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectionprofilemanager-getconnectionprofiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceService", - declaring_iid: "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", - method_name: "SetCommand", - vtable_index: 6, - parameter_index: 1, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SetCommand@6(commandID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceService::SetCommand parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-setcommand", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceService", - declaring_iid: "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", - method_name: "QueryCommand", - vtable_index: 7, - parameter_index: 1, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "QueryCommand@7(commandID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceService::QueryCommand parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-querycommand", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceService", - declaring_iid: "b3bb9a71-dc70-4be9-a4da-7886ae8b191b", - method_name: "WriteData", - vtable_index: 10, - parameter_index: 0, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "WriteData@10(deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceService::WriteData parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservice-writedata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceServicesEvents", - declaring_iid: "0a900c19-6824-4e97-b76e-cf239d0ca642", - method_name: "OnQuerySupportedCommandsComplete", - vtable_index: 3, - parameter_index: 1, - parameter_name: "commandIDList", - element_vartype: RawSafeArrayVartype::Ui4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnQuerySupportedCommandsComplete@3(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,commandIDList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnQuerySupportedCommandsComplete parameter commandIDList as SAFEARRAY(ULONG), requiring VT_UI4", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onquerysupportedcommandscomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceServicesEvents", - declaring_iid: "0a900c19-6824-4e97-b76e-cf239d0ca642", - method_name: "OnSetCommandComplete", - vtable_index: 6, - parameter_index: 2, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnSetCommandComplete@6(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,responseID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnSetCommandComplete parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onsetcommandcomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceServicesEvents", - declaring_iid: "0a900c19-6824-4e97-b76e-cf239d0ca642", - method_name: "OnQueryCommandComplete", - vtable_index: 7, - parameter_index: 2, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnQueryCommandComplete@7(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,responseID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnQueryCommandComplete parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onquerycommandcomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceServicesEvents", - declaring_iid: "0a900c19-6824-4e97-b76e-cf239d0ca642", - method_name: "OnEventNotification", - vtable_index: 8, - parameter_index: 2, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnEventNotification@8(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,eventID:in:required:noconstattr:u32/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnEventNotification parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-oneventnotification", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnDeviceServicesEvents", - declaring_iid: "0a900c19-6824-4e97-b76e-cf239d0ca642", - method_name: "OnReadData", - vtable_index: 12, - parameter_index: 1, - parameter_name: "deviceServiceData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnReadData@12(deviceService:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnDeviceService[Interface]{b3bb9a71-dc70-4be9-a4da-7886ae8b191b}/ptr0/Unspecified,deviceServiceData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnDeviceServicesEvents::OnReadData parameter deviceServiceData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbndeviceservicesevents-onreaddata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnInterfaceManager", - declaring_iid: "dcbbbab6-201b-4bbb-aaee-338e368af6fa", - method_name: "GetInterfaces", - vtable_index: 4, - parameter_index: 0, - parameter_name: "mbnInterfaces", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("dcbbbab6-2001-4bbb-aaee-338e368af6fa"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetInterfaces@4(mbnInterfaces:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnInterfaceManager::GetInterfaces parameter mbnInterfaces as SAFEARRAY(IMbnInterface*), requiring VT_UNKNOWN with IID dcbbbab6-2001-4bbb-aaee-338e368af6fa", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbninterfacemanager-getinterfaces", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnMultiCarrier", - declaring_iid: "dcbbbab6-2020-4bbb-aaee-338e368af6fa", - method_name: "GetSupportedCellularClasses", - vtable_index: 6, - parameter_index: 0, - parameter_name: "cellularClasses", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSupportedCellularClasses@6(cellularClasses:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnMultiCarrier::GetSupportedCellularClasses parameter cellularClasses as SAFEARRAY(MBN_CELLULAR_CLASS), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnmulticarrier-getsupportedcellularclasses", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnPinManager", - declaring_iid: "dcbbbab6-2005-4bbb-aaee-338e368af6fa", - method_name: "GetPinList", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pinList", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("dcbbbab6-2007-4bbb-aaee-338e368af6fa"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetPinList@3(pinList:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnPinManager::GetPinList parameter pinList as SAFEARRAY(IMbnPin*), requiring VT_UNKNOWN with IID dcbbbab6-2007-4bbb-aaee-338e368af6fa", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinmanager-getpinlist", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnServiceActivation", - declaring_iid: "dcbbbab6-2017-4bbb-aaee-338e368af6fa", - method_name: "Activate", - vtable_index: 3, - parameter_index: 0, - parameter_name: "vendorSpecificData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "Activate@3(vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnServiceActivation::Activate parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivation-activate", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnServiceActivationEvents", - declaring_iid: "dcbbbab6-2018-4bbb-aaee-338e368af6fa", - method_name: "OnActivationComplete", - vtable_index: 3, - parameter_index: 1, - parameter_name: "vendorSpecificData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnActivationComplete@3(serviceActivation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnServiceActivation[Interface]{dcbbbab6-2017-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:in:required:noconstattr:u32/ptr0/Unspecified,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,networkError:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnServiceActivationEvents::OnActivationComplete parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivationevents-onactivationcomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSms", - declaring_iid: "dcbbbab6-2015-4bbb-aaee-338e368af6fa", - method_name: "SmsSendCdma", - vtable_index: 6, - parameter_index: 4, - parameter_name: "message", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SmsSendCdma@6(address:in:required:constattr:Windows.Win32.Foundation.PWSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,encoding:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_ENCODING[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,language:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_CDMA_LANG[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,sizeInCharacters:in:required:noconstattr:u32/ptr0/Unspecified,message:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSms::SmsSendCdma parameter message as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsms-smssendcdma", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSms", - declaring_iid: "dcbbbab6-2015-4bbb-aaee-338e368af6fa", - method_name: "SmsSendCdmaPdu", - vtable_index: 7, - parameter_index: 0, - parameter_name: "message", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SmsSendCdmaPdu@7(message:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSms::SmsSendCdmaPdu parameter message as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsms-smssendcdmapdu", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSmsEvents", - declaring_iid: "dcbbbab6-2016-4bbb-aaee-338e368af6fa", - method_name: "OnSmsReadComplete", - vtable_index: 6, - parameter_index: 2, - parameter_name: "readMsgs", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("00000000-0000-0000-c000-000000000046"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnSmsReadComplete@6(sms:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms[Interface]{dcbbbab6-2015-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,smsFormat:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,readMsgs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,moreMsgs:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,requestID:in:required:noconstattr:u32/ptr0/Unspecified,status:in:required:noconstattr:Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSmsEvents::OnSmsReadComplete parameter readMsgs as SAFEARRAY(IUnknown*), requiring VT_UNKNOWN with IID 00000000-0000-0000-c000-000000000046", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsreadcomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSmsEvents", - declaring_iid: "dcbbbab6-2016-4bbb-aaee-338e368af6fa", - method_name: "OnSmsNewClass0Message", - vtable_index: 7, - parameter_index: 2, - parameter_name: "readMsgs", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("00000000-0000-0000-c000-000000000046"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnSmsNewClass0Message@7(sms:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnSms[Interface]{dcbbbab6-2015-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,smsFormat:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.MBN_SMS_FORMAT[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,readMsgs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSmsEvents::OnSmsNewClass0Message parameter readMsgs as SAFEARRAY(IUnknown*), requiring VT_UNKNOWN with IID 00000000-0000-0000-c000-000000000046", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsnewclass0message", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSmsReadMsgPdu", - declaring_iid: "dcbbbab6-2013-4bbb-aaee-338e368af6fa", - method_name: "get_Message", - vtable_index: 6, - parameter_index: 0, - parameter_name: "Message", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Message@6(Message:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSmsReadMsgPdu::get_Message parameter Message as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsreadmsgpdu-get_message", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSmsReadMsgTextCdma", - declaring_iid: "dcbbbab6-2014-4bbb-aaee-338e368af6fa", - method_name: "get_Message", - vtable_index: 10, - parameter_index: 0, - parameter_name: "Message", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Message@10(Message:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSmsReadMsgTextCdma::get_Message parameter Message as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsreadmsgtextcdma-get_message", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnSubscriberInformation", - declaring_iid: "459ecc43-bcf5-11dc-a8a8-001321f1405f", - method_name: "get_TelephoneNumbers", - vtable_index: 5, - parameter_index: 0, - parameter_name: "TelephoneNumbers", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_TelephoneNumbers@5(TelephoneNumbers:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnSubscriberInformation::get_TelephoneNumbers parameter TelephoneNumbers as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsubscriberinformation-get_telephonenumbers", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnVendorSpecificEvents", - declaring_iid: "dcbbbab6-201a-4bbb-aaee-338e368af6fa", - method_name: "OnEventNotification", - vtable_index: 3, - parameter_index: 1, - parameter_name: "vendorSpecificData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnEventNotification@3(vendorOperation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation[Interface]{dcbbbab6-2019-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnVendorSpecificEvents::OnEventNotification parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificevents-oneventnotification", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnVendorSpecificEvents", - declaring_iid: "dcbbbab6-201a-4bbb-aaee-338e368af6fa", - method_name: "OnSetVendorSpecificComplete", - vtable_index: 4, - parameter_index: 1, - parameter_name: "vendorSpecificData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnSetVendorSpecificComplete@4(vendorOperation:in:required:noconstattr:Windows.Win32.NetworkManagement.MobileBroadband.IMbnVendorSpecificOperation[Interface]{dcbbbab6-2019-4bbb-aaee-338e368af6fa}/ptr0/Unspecified,vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:in:required:noconstattr:u32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnVendorSpecificEvents::OnSetVendorSpecificComplete parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificevents-onsetvendorspecificcomplete", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.NetworkManagement.MobileBroadband", - declaring_interface: "IMbnVendorSpecificOperation", - declaring_iid: "dcbbbab6-2019-4bbb-aaee-338e368af6fa", - method_name: "SetVendorSpecific", - vtable_index: 3, - parameter_index: 0, - parameter_name: "vendorSpecificData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SetVendorSpecific@3(vendorSpecificData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,requestID:out:required:noconstattr:u32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMbnVendorSpecificOperation::SetVendorSpecific parameter vendorSpecificData as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnvendorspecificoperation-setvendorspecific", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmActionReport", - declaring_iid: "2dbe63c4-b340-48a0-a5b0-158e07fc567e", - method_name: "get_ReportTypes", - vtable_index: 12, - parameter_index: 0, - parameter_name: "reportTypes", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ReportTypes@12(reportTypes:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmActionReport::get_ReportTypes parameter reportTypes as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmactionreport-get_reporttypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmActionReport", - declaring_iid: "2dbe63c4-b340-48a0-a5b0-158e07fc567e", - method_name: "put_ReportTypes", - vtable_index: 13, - parameter_index: 0, - parameter_name: "reportTypes", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ReportTypes@13(reportTypes:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmActionReport::put_ReportTypes parameter reportTypes as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmactionreport-put_reporttypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmAutoApplyQuota", - declaring_iid: "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", - method_name: "get_ExcludeFolders", - vtable_index: 28, - parameter_index: 0, - parameter_name: "folders", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ExcludeFolders@28(folders:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmAutoApplyQuota::get_ExcludeFolders parameter folders as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmautoapplyquota-get_excludefolders", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmAutoApplyQuota", - declaring_iid: "f82e5729-6aba-4740-bfc7-c7f58f75fb7b", - method_name: "put_ExcludeFolders", - vtable_index: 29, - parameter_index: 0, - parameter_name: "folders", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ExcludeFolders@29(folders:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmAutoApplyQuota::put_ExcludeFolders parameter folders as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmautoapplyquota-put_excludefolders", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassificationManager", - declaring_iid: "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", - method_name: "get_ClassificationReportFormats", - vtable_index: 7, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ClassificationReportFormats@7(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassificationManager::get_ClassificationReportFormats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager-get_classificationreportformats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassificationManager", - declaring_iid: "d2dc89da-ee91-48a0-85d8-cc72a56f7d04", - method_name: "put_ClassificationReportFormats", - vtable_index: 8, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ClassificationReportFormats@8(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassificationManager::put_ClassificationReportFormats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager-put_classificationreportformats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassificationManager2", - declaring_iid: "0004c1c9-127e-4765-ba07-6a3147bca112", - method_name: "ClassifyFiles", - vtable_index: 34, - parameter_index: 0, - parameter_name: "filePaths", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter filePaths as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassificationManager2", - declaring_iid: "0004c1c9-127e-4765-ba07-6a3147bca112", - method_name: "ClassifyFiles", - vtable_index: 34, - parameter_index: 1, - parameter_name: "propertyNames", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter propertyNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassificationManager2", - declaring_iid: "0004c1c9-127e-4765-ba07-6a3147bca112", - method_name: "ClassifyFiles", - vtable_index: 34, - parameter_index: 2, - parameter_name: "propertyValues", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "ClassifyFiles@34(filePaths:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,propertyValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,options:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.FsrmGetFilePropertyOptions[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassificationManager2::ClassifyFiles parameter propertyValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassificationmanager2-classifyfiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassifierModuleDefinition", - declaring_iid: "bb36ea26-6318-4b8c-8592-f72dd602e7a5", - method_name: "get_PropertiesAffected", - vtable_index: 31, - parameter_index: 0, - parameter_name: "propertiesAffected", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_PropertiesAffected@31(propertiesAffected:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::get_PropertiesAffected parameter propertiesAffected as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-get_propertiesaffected", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassifierModuleDefinition", - declaring_iid: "bb36ea26-6318-4b8c-8592-f72dd602e7a5", - method_name: "put_PropertiesAffected", - vtable_index: 32, - parameter_index: 0, - parameter_name: "propertiesAffected", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_PropertiesAffected@32(propertiesAffected:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::put_PropertiesAffected parameter propertiesAffected as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-put_propertiesaffected", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassifierModuleDefinition", - declaring_iid: "bb36ea26-6318-4b8c-8592-f72dd602e7a5", - method_name: "get_PropertiesUsed", - vtable_index: 33, - parameter_index: 0, - parameter_name: "propertiesUsed", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_PropertiesUsed@33(propertiesUsed:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::get_PropertiesUsed parameter propertiesUsed as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-get_propertiesused", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassifierModuleDefinition", - declaring_iid: "bb36ea26-6318-4b8c-8592-f72dd602e7a5", - method_name: "put_PropertiesUsed", - vtable_index: 34, - parameter_index: 0, - parameter_name: "propertiesUsed", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_PropertiesUsed@34(propertiesUsed:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleDefinition::put_PropertiesUsed parameter propertiesUsed as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduledefinition-put_propertiesused", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmClassifierModuleImplementation", - declaring_iid: "4c968fc6-6edb-4051-9c18-73b7291ae106", - method_name: "OnBeginFile", - vtable_index: 11, - parameter_index: 1, - parameter_name: "arrayRuleIds", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnBeginFile@11(propertyBag:in:required:noconstattr:Windows.Win32.Storage.FileServerResourceManager.IFsrmPropertyBag[Interface]{774589d1-d300-4f7a-9a24-f7b766800250}/ptr0/Unspecified,arrayRuleIds:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmClassifierModuleImplementation::OnBeginFile parameter arrayRuleIds as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmclassifiermoduleimplementation-onbeginfile", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "get_NamespaceRoots", - vtable_index: 14, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_NamespaceRoots@14(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "put_NamespaceRoots", - vtable_index: 15, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_NamespaceRoots@15(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "get_Notifications", - vtable_index: 23, - parameter_index: 0, - parameter_name: "notifications", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Notifications@23(notifications:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Notifications parameter notifications as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_notifications", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "get_Formats", - vtable_index: 28, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Formats@28(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_formats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "put_Formats", - vtable_index: 29, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Formats@29(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_formats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "get_Parameters", - vtable_index: 43, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Parameters@43(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-get_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJob", - declaring_iid: "0770687e-9f36-4d6f-8778-599d188461c9", - method_name: "put_Parameters", - vtable_index: 44, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Parameters@44(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJob::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjob-put_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJobManager", - declaring_iid: "ee321ecb-d95e-48e9-907c-c7685a013235", - method_name: "get_ActionVariables", - vtable_index: 7, - parameter_index: 0, - parameter_name: "variables", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJobManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjobmanager-get_actionvariables", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileManagementJobManager", - declaring_iid: "ee321ecb-d95e-48e9-907c-c7685a013235", - method_name: "get_ActionVariableDescriptions", - vtable_index: 8, - parameter_index: 0, - parameter_name: "descriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileManagementJobManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmfilemanagementjobmanager-get_actionvariabledescriptions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileScreenManager", - declaring_iid: "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", - method_name: "get_ActionVariables", - vtable_index: 7, - parameter_index: 0, - parameter_name: "variables", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileScreenManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmscreen/nf-fsrmscreen-ifsrmfilescreenmanager-get_actionvariables", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmFileScreenManager", - declaring_iid: "ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba", - method_name: "get_ActionVariableDescriptions", - vtable_index: 8, - parameter_index: 0, - parameter_name: "descriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmFileScreenManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmscreen/nf-fsrmscreen-ifsrmfilescreenmanager-get_actionvariabledescriptions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPathMapper", - declaring_iid: "6f4dbfff-6920-4821-a6c3-b7e94c1fd60c", - method_name: "GetSharePathsForLocalPath", - vtable_index: 7, - parameter_index: 1, - parameter_name: "sharePaths", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSharePathsForLocalPath@7(localPath:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,sharePaths:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPathMapper::GetSharePathsForLocalPath parameter sharePaths as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrm/nf-fsrm-ifsrmpathmapper-getsharepathsforlocalpath", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPipelineModuleDefinition", - declaring_iid: "515c1277-2c81-440e-8fcf-367921ed4f59", - method_name: "get_SupportedExtensions", - vtable_index: 27, - parameter_index: 0, - parameter_name: "supportedExtensions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedExtensions@27(supportedExtensions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::get_SupportedExtensions parameter supportedExtensions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-get_supportedextensions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPipelineModuleDefinition", - declaring_iid: "515c1277-2c81-440e-8fcf-367921ed4f59", - method_name: "put_SupportedExtensions", - vtable_index: 28, - parameter_index: 0, - parameter_name: "supportedExtensions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_SupportedExtensions@28(supportedExtensions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::put_SupportedExtensions parameter supportedExtensions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-put_supportedextensions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPipelineModuleDefinition", - declaring_iid: "515c1277-2c81-440e-8fcf-367921ed4f59", - method_name: "get_Parameters", - vtable_index: 29, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Parameters@29(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-get_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPipelineModuleDefinition", - declaring_iid: "515c1277-2c81-440e-8fcf-367921ed4f59", - method_name: "put_Parameters", - vtable_index: 30, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Parameters@30(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPipelineModuleDefinition::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpipelinemoduledefinition-put_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmProperty", - declaring_iid: "4a73fee4-4102-4fcc-9ffb-38614f9ee768", - method_name: "get_Sources", - vtable_index: 9, - parameter_index: 0, - parameter_name: "sources", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Sources@9(sources:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmProperty::get_Sources parameter sources as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmproperty-get_sources", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyBag", - declaring_iid: "774589d1-d300-4f7a-9a24-f7b766800250", - method_name: "get_FilePropertyNames", - vtable_index: 21, - parameter_index: 0, - parameter_name: "filePropertyNames", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_FilePropertyNames@21(filePropertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyBag::get_FilePropertyNames parameter filePropertyNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertybag-get_filepropertynames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyBag", - declaring_iid: "774589d1-d300-4f7a-9a24-f7b766800250", - method_name: "get_Messages", - vtable_index: 22, - parameter_index: 0, - parameter_name: "messages", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Messages@22(messages:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyBag::get_Messages parameter messages as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertybag-get_messages", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "get_PossibleValues", - vtable_index: 16, - parameter_index: 0, - parameter_name: "possibleValues", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_PossibleValues@16(possibleValues:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_PossibleValues parameter possibleValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_possiblevalues", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "put_PossibleValues", - vtable_index: 17, - parameter_index: 0, - parameter_name: "possibleValues", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_PossibleValues@17(possibleValues:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_PossibleValues parameter possibleValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_possiblevalues", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "get_ValueDescriptions", - vtable_index: 18, - parameter_index: 0, - parameter_name: "valueDescriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ValueDescriptions@18(valueDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_ValueDescriptions parameter valueDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_valuedescriptions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "put_ValueDescriptions", - vtable_index: 19, - parameter_index: 0, - parameter_name: "valueDescriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ValueDescriptions@19(valueDescriptions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_ValueDescriptions parameter valueDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_valuedescriptions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "get_Parameters", - vtable_index: 20, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Parameters@20(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-get_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmPropertyDefinition", - declaring_iid: "ede0150f-e9a3-419c-877c-01fe5d24c5d3", - method_name: "put_Parameters", - vtable_index: 21, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Parameters@21(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmPropertyDefinition::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmpropertydefinition-put_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmQuotaBase", - declaring_iid: "1568a795-3924-4118-b74b-68d8f0fa5daf", - method_name: "get_Thresholds", - vtable_index: 16, - parameter_index: 0, - parameter_name: "thresholds", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Thresholds@16(thresholds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmQuotaBase::get_Thresholds parameter thresholds as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotabase-get_thresholds", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmQuotaManager", - declaring_iid: "8bb68c7d-19d8-4ffb-809e-be4fc1734014", - method_name: "get_ActionVariables", - vtable_index: 7, - parameter_index: 0, - parameter_name: "variables", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariables@7(variables:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmQuotaManager::get_ActionVariables parameter variables as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotamanager-get_actionvariables", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmQuotaManager", - declaring_iid: "8bb68c7d-19d8-4ffb-809e-be4fc1734014", - method_name: "get_ActionVariableDescriptions", - vtable_index: 8, - parameter_index: 0, - parameter_name: "descriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ActionVariableDescriptions@8(descriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmQuotaManager::get_ActionVariableDescriptions parameter descriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmquota/nf-fsrmquota-ifsrmquotamanager-get_actionvariabledescriptions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmReportJob", - declaring_iid: "38e87280-715c-4c7d-a280-ea1651a19fef", - method_name: "get_NamespaceRoots", - vtable_index: 14, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_NamespaceRoots@14(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmReportJob::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-get_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmReportJob", - declaring_iid: "38e87280-715c-4c7d-a280-ea1651a19fef", - method_name: "put_NamespaceRoots", - vtable_index: 15, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_NamespaceRoots@15(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmReportJob::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-put_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmReportJob", - declaring_iid: "38e87280-715c-4c7d-a280-ea1651a19fef", - method_name: "get_Formats", - vtable_index: 16, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Formats@16(formats:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmReportJob::get_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-get_formats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmReportJob", - declaring_iid: "38e87280-715c-4c7d-a280-ea1651a19fef", - method_name: "put_Formats", - vtable_index: 17, - parameter_index: 0, - parameter_name: "formats", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Formats@17(formats:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmReportJob::put_Formats parameter formats as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmreports/nf-fsrmreports-ifsrmreportjob-put_formats", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmRule", - declaring_iid: "cb0df960-16f5-4495-9079-3f9360d831df", - method_name: "get_NamespaceRoots", - vtable_index: 17, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_NamespaceRoots@17(namespaceRoots:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmRule::get_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-get_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmRule", - declaring_iid: "cb0df960-16f5-4495-9079-3f9360d831df", - method_name: "put_NamespaceRoots", - vtable_index: 18, - parameter_index: 0, - parameter_name: "namespaceRoots", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_NamespaceRoots@18(namespaceRoots:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmRule::put_NamespaceRoots parameter namespaceRoots as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-put_namespaceroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmRule", - declaring_iid: "cb0df960-16f5-4495-9079-3f9360d831df", - method_name: "get_Parameters", - vtable_index: 21, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Parameters@21(parameters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmRule::get_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-get_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.FileServerResourceManager", - declaring_interface: "IFsrmRule", - declaring_iid: "cb0df960-16f5-4495-9079-3f9360d831df", - method_name: "put_Parameters", - vtable_index: 22, - parameter_index: 0, - parameter_name: "parameters", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Parameters@22(parameters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFsrmRule::put_Parameters parameter parameters as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/fsrmpipeline/nf-fsrmpipeline-ifsrmrule-put_parameters", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IBlockRangeList", - declaring_iid: "b507ca26-2204-11dd-966a-001aa01bbc58", - method_name: "get_BlockRanges", - vtable_index: 7, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_BlockRanges@7(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IBlockRangeList::get_BlockRanges parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-iblockrangelist-get_blockranges", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2", - declaring_iid: "27354152-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedMediaTypes", - vtable_index: 11, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedMediaTypes@11(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2::get_SupportedMediaTypes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2-get_supportedmediatypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2Data", - declaring_iid: "27354153-9f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeeds", - vtable_index: 36, - parameter_index: 0, - parameter_name: "supportedSpeeds", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeeds@36(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_supportedwritespeeds", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2Data", - declaring_iid: "27354153-9f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeedDescriptors", - vtable_index: 37, - parameter_index: 0, - parameter_name: "supportedSpeedDescriptors", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeedDescriptors@37(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_supportedwritespeeddescriptors", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2Data", - declaring_iid: "27354153-9f64-5b0f-8f00-5d77afbe261e", - method_name: "get_MultisessionInterfaces", - vtable_index: 40, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_MultisessionInterfaces@40(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2Data::get_MultisessionInterfaces parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2data-get_multisessioninterfaces", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2RawCD", - declaring_iid: "27354155-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedSectorTypes", - vtable_index: 25, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedSectorTypes@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedSectorTypes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedsectortypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2RawCD", - declaring_iid: "27354155-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeeds", - vtable_index: 34, - parameter_index: 0, - parameter_name: "supportedSpeeds", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeeds@34(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedwritespeeds", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2RawCD", - declaring_iid: "27354155-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeedDescriptors", - vtable_index: 35, - parameter_index: 0, - parameter_name: "supportedSpeedDescriptors", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeedDescriptors@35(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2RawCD::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2rawcd-get_supportedwritespeeddescriptors", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2TrackAtOnce", - declaring_iid: "27354154-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_ExpectedTableOfContents", - vtable_index: 27, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ExpectedTableOfContents@27(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_ExpectedTableOfContents parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_expectedtableofcontents", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2TrackAtOnce", - declaring_iid: "27354154-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeeds", - vtable_index: 35, - parameter_index: 0, - parameter_name: "supportedSpeeds", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeeds@35(supportedSpeeds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_SupportedWriteSpeeds parameter supportedSpeeds as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_supportedwritespeeds", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscFormat2TrackAtOnce", - declaring_iid: "27354154-8f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedWriteSpeedDescriptors", - vtable_index: 36, - parameter_index: 0, - parameter_name: "supportedSpeedDescriptors", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedWriteSpeedDescriptors@36(supportedSpeedDescriptors:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscFormat2TrackAtOnce::get_SupportedWriteSpeedDescriptors parameter supportedSpeedDescriptors as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscformat2trackatonce-get_supportedwritespeeddescriptors", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_VolumePathNames", - vtable_index: 19, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_VolumePathNames@19(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_VolumePathNames parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_volumepathnames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedFeaturePages", - vtable_index: 22, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedFeaturePages@22(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedFeaturePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedfeaturepages", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_CurrentFeaturePages", - vtable_index: 23, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CurrentFeaturePages@23(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_CurrentFeaturePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_currentfeaturepages", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedProfiles", - vtable_index: 24, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedProfiles@24(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedProfiles parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedprofiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_CurrentProfiles", - vtable_index: 25, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CurrentProfiles@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_CurrentProfiles parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_currentprofiles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IDiscRecorder2", - declaring_iid: "27354133-7f64-5b0f-8f00-5d77afbe261e", - method_name: "get_SupportedModePages", - vtable_index: 26, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_SupportedModePages@26(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDiscRecorder2::get_SupportedModePages parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-idiscrecorder2-get_supportedmodepages", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage", - declaring_iid: "2c941fe1-975b-59be-a960-9a2a262853a5", - method_name: "get_UDFRevisionsSupported", - vtable_index: 33, - parameter_index: 0, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_UDFRevisionsSupported@33(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage::get_UDFRevisionsSupported parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_udfrevisionssupported", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage", - declaring_iid: "2c941fe1-975b-59be-a960-9a2a262853a5", - method_name: "get_ISO9660InterchangeLevelsSupported", - vtable_index: 38, - parameter_index: 0, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ISO9660InterchangeLevelsSupported@38(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage::get_ISO9660InterchangeLevelsSupported parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_iso9660interchangelevelssupported", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage", - declaring_iid: "2c941fe1-975b-59be-a960-9a2a262853a5", - method_name: "get_MultisessionInterfaces", - vtable_index: 55, - parameter_index: 0, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_MultisessionInterfaces@55(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage::get_MultisessionInterfaces parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-get_multisessioninterfaces", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage", - declaring_iid: "2c941fe1-975b-59be-a960-9a2a262853a5", - method_name: "put_MultisessionInterfaces", - vtable_index: 56, - parameter_index: 0, - parameter_name: "newVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_MultisessionInterfaces@56(newVal:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage::put_MultisessionInterfaces parameter newVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage-put_multisessioninterfaces", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage2", - declaring_iid: "d7644b2c-1537-4767-b62f-f1387b02ddfd", - method_name: "get_BootImageOptionsArray", - vtable_index: 57, - parameter_index: 0, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_BootImageOptionsArray@57(pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage2::get_BootImageOptionsArray parameter pVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage2-get_bootimageoptionsarray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IFileSystemImage2", - declaring_iid: "d7644b2c-1537-4767-b62f-f1387b02ddfd", - method_name: "put_BootImageOptionsArray", - vtable_index: 58, - parameter_index: 0, - parameter_name: "newVal", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_BootImageOptionsArray@58(newVal:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IFileSystemImage2::put_BootImageOptionsArray parameter newVal as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2fs/nf-imapi2fs-ifilesystemimage2-put_bootimageoptionsarray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IRawCDImageCreator", - declaring_iid: "25983550-9d65-49ce-b335-40630d901227", - method_name: "get_ExpectedTableOfContents", - vtable_index: 25, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ExpectedTableOfContents@25(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawCDImageCreator::get_ExpectedTableOfContents parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-irawcdimagecreator-get_expectedtableofcontents", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.Storage.Imapi", - declaring_interface: "IRawCDImageTrackInfo", - declaring_iid: "25983551-9d65-49ce-b335-40630d901227", - method_name: "get_TrackIndexes", - vtable_index: 17, - parameter_index: 0, - parameter_name: "value", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_TrackIndexes@17(value:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawCDImageTrackInfo::get_TrackIndexes parameter value as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/imapi2/nf-imapi2-irawcdimagetrackinfo-get_trackindexes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetMultipleComponentsInfo", - vtable_index: 23, - parameter_index: 2, - parameter_name: "ppsaVarCLSIDs", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarCLSIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetMultipleComponentsInfo", - vtable_index: 23, - parameter_index: 3, - parameter_name: "ppsaVarClassNames", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarClassNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetMultipleComponentsInfo", - vtable_index: 23, - parameter_index: 4, - parameter_name: "ppsaVarFileFlags", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarFileFlags as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetMultipleComponentsInfo", - vtable_index: 23, - parameter_index: 5, - parameter_name: "ppsaVarComponentFlags", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetMultipleComponentsInfo@23(bstrApplIdOrName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarFileNames:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarClassNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarFileFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarComponentFlags:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetMultipleComponentsInfo parameter ppsaVarComponentFlags as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-getmultiplecomponentsinfo", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "QueryApplicationFile", - vtable_index: 27, - parameter_index: 5, - parameter_name: "ppsaVarFileNames", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "QueryApplicationFile@27(bstrApplicationFile:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,pbstrApplicationName:out:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:free=SysFreeString,pbstrApplicationDescription:out:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr1/Mutable/underlying=char16/ptr1/Mutable:free=SysFreeString,pbHasUsers:out:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr1/Mutable/underlying=i16/ptr0/Unspecified,pbIsProxy:out:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr1/Mutable/underlying=i16/ptr0/Unspecified,ppsaVarFileNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::QueryApplicationFile parameter ppsaVarFileNames as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-queryapplicationfile", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetEventClassesForIID", - vtable_index: 32, - parameter_index: 1, - parameter_name: "ppsaVarCLSIDs", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarCLSIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetEventClassesForIID", - vtable_index: 32, - parameter_index: 2, - parameter_name: "ppsaVarProgIDs", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarProgIDs as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICOMAdminCatalog", - declaring_iid: "dd662187-dfc2-11d1-a2cf-00805fc79235", - method_name: "GetEventClassesForIID", - vtable_index: 32, - parameter_index: 3, - parameter_name: "ppsaVarDescriptions", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEventClassesForIID@32(bstrIID:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,ppsaVarCLSIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarProgIDs:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,ppsaVarDescriptions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICOMAdminCatalog::GetEventClassesForIID parameter ppsaVarDescriptions as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icomadmincatalog-geteventclassesforiid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.ComponentServices", - declaring_interface: "ICatalogCollection", - declaring_iid: "6eb22872-8a19-11d0-81b6-00a0c9231c29", - method_name: "PopulateByKey", - vtable_index: 21, - parameter_index: 0, - parameter_name: "psaKeys", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "PopulateByKey@21(psaKeys:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ICatalogCollection::PopulateByKey parameter psaKeys as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/comadmin/nf-comadmin-icatalogcollection-populatebykey", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.DesktopSharing", - declaring_interface: "IRDPSRAPIFrameBuffer", - declaring_iid: "3d67e7d2-b27b-448e-81b3-c6110ed8b4be", - method_name: "GetFrameBufferBits", - vtable_index: 10, - parameter_index: 4, - parameter_name: "ppBits", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetFrameBufferBits@10(x:in:required:noconstattr:i32/ptr0/Unspecified,y:in:required:noconstattr:i32/ptr0/Unspecified,Width:in:required:noconstattr:i32/ptr0/Unspecified,Heigth:in:required:noconstattr:i32/ptr0/Unspecified,ppBits:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRDPSRAPIFrameBuffer::GetFrameBufferBits parameter ppBits as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/rdpencomapi/nf-rdpencomapi-irdpsrapiframebuffer-getframebufferbits", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IAlertDataCollector", - declaring_iid: "03837516-098b-11d8-9414-505054503030", - method_name: "get_AlertThresholds", - vtable_index: 32, - parameter_index: 0, - parameter_name: "alerts", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_AlertThresholds@32(alerts:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IAlertDataCollector::get_AlertThresholds parameter alerts as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4eec695c-3db7-48b2-acc9-4614050eb73e", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IAlertDataCollector", - declaring_iid: "03837516-098b-11d8-9414-505054503030", - method_name: "put_AlertThresholds", - vtable_index: 33, - parameter_index: 0, - parameter_name: "alerts", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_AlertThresholds@33(alerts:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IAlertDataCollector::put_AlertThresholds parameter alerts as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/5a4acb29-3360-4f6b-9b4f-445d6149d0c8", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "get_IncludeModules", - vtable_index: 40, - parameter_index: 0, - parameter_name: "includemodules", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_IncludeModules@40(includemodules:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::get_IncludeModules parameter includemodules as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/8c6ec48b-3a2b-4f7f-a77b-93f311175d72", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "put_IncludeModules", - vtable_index: 41, - parameter_index: 0, - parameter_name: "includemodules", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_IncludeModules@41(includemodules:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::put_IncludeModules parameter includemodules as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4a15bef7-2231-4626-883a-76c608fe144e", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "get_IncludeApis", - vtable_index: 42, - parameter_index: 0, - parameter_name: "includeapis", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_IncludeApis@42(includeapis:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::get_IncludeApis parameter includeapis as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4a23e92d-3a98-4c9b-bffa-730eb94d300e", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "put_IncludeApis", - vtable_index: 43, - parameter_index: 0, - parameter_name: "includeapis", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_IncludeApis@43(includeapis:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::put_IncludeApis parameter includeapis as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/7d22d37a-c3e7-43c7-9d37-99eef3f2a76e", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "get_ExcludeApis", - vtable_index: 44, - parameter_index: 0, - parameter_name: "excludeapis", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ExcludeApis@44(excludeapis:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::get_ExcludeApis parameter excludeapis as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/522d5831-3675-4e8a-a464-804f8aae23d1", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IApiTracingDataCollector", - declaring_iid: "0383751a-098b-11d8-9414-505054503030", - method_name: "put_ExcludeApis", - vtable_index: 45, - parameter_index: 0, - parameter_name: "excludeapis", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ExcludeApis@45(excludeapis:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IApiTracingDataCollector::put_ExcludeApis parameter excludeapis as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/d4e1cca9-b5ff-43a2-9460-09cc28fdfbb3", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "get_Files", - vtable_index: 38, - parameter_index: 0, - parameter_name: "Files", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Files@38(Files:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::get_Files parameter Files as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/2e5e0b1f-58b9-4c3e-b871-b2926181618b", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "put_Files", - vtable_index: 39, - parameter_index: 0, - parameter_name: "Files", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Files@39(Files:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::put_Files parameter Files as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/b818eebc-4ac6-4e4d-8b37-9bf16bd73dbe", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "get_ManagementQueries", - vtable_index: 40, - parameter_index: 0, - parameter_name: "Queries", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_ManagementQueries@40(Queries:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::get_ManagementQueries parameter Queries as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/075523bd-fe49-4418-a35c-1a6304a2d96f", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "put_ManagementQueries", - vtable_index: 41, - parameter_index: 0, - parameter_name: "Queries", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_ManagementQueries@41(Queries:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::put_ManagementQueries parameter Queries as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/4014616b-e79c-4c31-a341-4b93682f4b86", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "get_RegistryKeys", - vtable_index: 44, - parameter_index: 0, - parameter_name: "query", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_RegistryKeys@44(query:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::get_RegistryKeys parameter query as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/8cd3e9f0-7fc4-4145-97e2-1e11068d51cf", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IConfigurationDataCollector", - declaring_iid: "03837514-098b-11d8-9414-505054503030", - method_name: "put_RegistryKeys", - vtable_index: 45, - parameter_index: 0, - parameter_name: "query", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_RegistryKeys@45(query:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IConfigurationDataCollector::put_RegistryKeys parameter query as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/af80e2b4-f631-4d9f-851e-00af476b596b", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IDataCollectorSet", - declaring_iid: "03837520-098b-11d8-9414-505054503030", - method_name: "get_Keywords", - vtable_index: 16, - parameter_index: 0, - parameter_name: "keywords", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Keywords@16(keywords:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IDataCollectorSet::get_Keywords parameter keywords as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/e0d56db0-adbe-4596-bd30-6fa7ed22afdd", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IDataCollectorSet", - declaring_iid: "03837520-098b-11d8-9414-505054503030", - method_name: "put_Keywords", - vtable_index: 17, - parameter_index: 0, - parameter_name: "keywords", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_Keywords@17(keywords:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IDataCollectorSet::put_Keywords parameter keywords as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/48c9bab4-ba47-4486-8b01-fb9e8294870b", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IPerformanceCounterDataCollector", - declaring_iid: "03837506-098b-11d8-9414-505054503030", - method_name: "get_PerformanceCounters", - vtable_index: 34, - parameter_index: 0, - parameter_name: "counters", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_PerformanceCounters@34(counters:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IPerformanceCounterDataCollector::get_PerformanceCounters parameter counters as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/f78f5a32-4fbb-4991-9618-432968c4b0c4", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "IPerformanceCounterDataCollector", - declaring_iid: "03837506-098b-11d8-9414-505054503030", - method_name: "put_PerformanceCounters", - vtable_index: 35, - parameter_index: 0, - parameter_name: "counters", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_PerformanceCounters@35(counters:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft Open Specifications define IPerformanceCounterDataCollector::put_PerformanceCounters parameter counters as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/9cce1255-a3a3-420d-bd3f-42996d685ac8", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "ITraceDataProvider", - declaring_iid: "03837512-098b-11d8-9414-505054503030", - method_name: "get_FilterData", - vtable_index: 19, - parameter_index: 0, - parameter_name: "ppData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_FilterData@19(ppData:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft API documentation defines ITraceDataProvider::get_FilterData parameter ppData as a SAFEARRAY of bytes, requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/pla/nf-pla-itracedataprovider-get_filterdata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Performance", - declaring_interface: "ITraceDataProvider", - declaring_iid: "03837512-098b-11d8-9414-505054503030", - method_name: "put_FilterData", - vtable_index: 20, - parameter_index: 0, - parameter_name: "pData", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "put_FilterData@20(pData:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft API documentation defines ITraceDataProvider::put_FilterData parameter pData as a SAFEARRAY of bytes, requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/pla/nf-pla-itracedataprovider-put_filterdata", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "ITsSbGlobalStore", - declaring_iid: "9ab60f7b-bd72-4d9f-8a3a-a0ea5574e635", - method_name: "EnumerateFarms", - vtable_index: 5, - parameter_index: 2, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "EnumerateFarms@5(ProviderName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,pdwCount:out:required:noconstattr:u32/ptr1/Mutable,pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITsSbGlobalStore::EnumerateFarms parameter pVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbglobalstore-enumeratefarms", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "ITsSbResourcePluginStore", - declaring_iid: "5c38f65f-bcf1-4036-a6bf-9e3cccae0b63", - method_name: "EnumerateFarms", - vtable_index: 9, - parameter_index: 1, - parameter_name: "pVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "EnumerateFarms@9(pdwCount:out:required:noconstattr:u32/ptr1/Mutable,pVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITsSbResourcePluginStore::EnumerateFarms parameter pVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbresourcepluginstore-enumeratefarms", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "ITsSbTaskInfo", - declaring_iid: "523d1083-89be-48dd-99ea-04e82ffa7265", - method_name: "get_Context", - vtable_index: 9, - parameter_index: 0, - parameter_name: "pContext", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_Context@9(pContext:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITsSbTaskInfo::get_Context parameter pContext as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbtaskinfo-get_context", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "ITsSbTaskPluginNotifySink", - declaring_iid: "6aaf899e-c2ec-45ee-aa37-45e60895261a", - method_name: "OnSetTaskTime", - vtable_index: 5, - parameter_index: 8, - parameter_name: "saContext", - element_vartype: RawSafeArrayVartype::Ui1, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "OnSetTaskTime@5(szTargetName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,TaskStartTime:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,TaskEndTime:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,TaskDeadline:in:required:noconstattr:Windows.Win32.Foundation.FILETIME[Struct]/ptr0/Unspecified,szTaskLabel:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,szTaskIdentifier:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,szTaskPlugin:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,dwTaskStatus:in:required:noconstattr:u32/ptr0/Unspecified,saContext:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITsSbTaskPluginNotifySink::OnSetTaskTime parameter saContext as SAFEARRAY(BYTE), requiring VT_UI1", - citation: "https://learn.microsoft.com/windows/win32/api/sbtsv/nf-sbtsv-itssbtaskpluginnotifysink-onsettasktime", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "IWorkspace", - declaring_iid: "b922bbb8-4c55-4fea-8496-beb0b44285e5", - method_name: "GetWorkspaceNames", - vtable_index: 3, - parameter_index: 0, - parameter_name: "psaWkspNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetWorkspaceNames@3(psaWkspNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWorkspace::GetWorkspaceNames parameter psaWkspNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace-getworkspacenames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "IWorkspace", - declaring_iid: "b922bbb8-4c55-4fea-8496-beb0b44285e5", - method_name: "StartRemoteApplication", - vtable_index: 4, - parameter_index: 1, - parameter_name: "psaParams", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "StartRemoteApplication@4(bstrWorkspaceId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,psaParams:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWorkspace::StartRemoteApplication parameter psaParams as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace-startremoteapplication", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "IWorkspace2", - declaring_iid: "96d8d7cf-783e-4286-834c-ebc0e95f783c", - method_name: "StartRemoteApplicationEx", - vtable_index: 6, - parameter_index: 5, - parameter_name: "psaParams", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "StartRemoteApplicationEx@6(bstrWorkspaceId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bstrRequestingAppId:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bstrRequestingAppFamilyName:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,bLaunchIntoImmersiveClient:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,bstrImmersiveClientActivationContext:in:required:noconstattr:Windows.Win32.Foundation.BSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,psaParams:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWorkspace2::StartRemoteApplicationEx parameter psaParams as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/workspaceruntime/nf-workspaceruntime-iworkspace2-startremoteapplicationex", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.RemoteDesktop", - declaring_interface: "IWorkspaceResTypeRegistry", - declaring_iid: "1d428c79-6e2e-4351-a361-c0401a03a0ba", - method_name: "GetRegisteredFileExtensions", - vtable_index: 9, - parameter_index: 1, - parameter_name: "psaFileExtensions", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRegisteredFileExtensions@9(fMachineWide:in:required:noconstattr:Windows.Win32.Foundation.VARIANT_BOOL[Struct]/ptr0/Unspecified/underlying=i16/ptr0/Unspecified,psaFileExtensions:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft API documentation defines IWorkspaceResTypeRegistry::GetRegisteredFileExtensions parameter psaFileExtensions as a SAFEARRAY of BSTR file extensions, requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/workspaceax/nf-workspaceax-iworkspacerestyperegistry-getregisteredfileextensions", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Wmi", - declaring_interface: "IWbemClassObject", - declaring_iid: "dc12a681-737f-11cf-884d-00aa004b2e24", - method_name: "GetNames", - vtable_index: 7, - parameter_index: 3, - parameter_name: "pNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetNames@7(wszQualifierName:in:required:constattr:Windows.Win32.Foundation.PWSTR[Struct]/ptr0/Unspecified/underlying=char16/ptr1/Mutable,lFlags:in:required:noconstattr:Windows.Win32.System.Wmi.WBEM_CONDITION_FLAG_TYPE[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,pQualifierVal:in:required:noconstattr:Windows.Win32.System.Variant.VARIANT[Struct]/ptr1/Mutable,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWbemClassObject::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemclassobject-getnames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Wmi", - declaring_interface: "IWbemContext", - declaring_iid: "44aca674-e8fc-11d0-a07c-00c04fb68820", - method_name: "GetNames", - vtable_index: 4, - parameter_index: 1, - parameter_name: "pNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetNames@4(lFlags:in:required:noconstattr:i32/ptr0/Unspecified,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWbemContext::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemcontext-getnames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.Wmi", - declaring_interface: "IWbemQualifierSet", - declaring_iid: "dc12a680-737f-11cf-884d-00aa004b2e24", - method_name: "GetNames", - vtable_index: 6, - parameter_index: 1, - parameter_name: "pNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetNames@6(lFlags:in:required:noconstattr:i32/ptr0/Unspecified,pNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IWbemQualifierSet::GetNames parameter pNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemqualifierset-getnames", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.System.WindowsProgramming", - declaring_interface: "ICameraUIControl", - declaring_iid: "b8733adf-3d68-4b8f-bb08-e28a0bed0376", - method_name: "GetSelectedItems", - vtable_index: 9, - parameter_index: 0, - parameter_name: "ppSelectedItemPaths", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSelectedItems@9(ppSelectedItemPaths:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft API documentation defines ICameraUIControl::GetSelectedItems parameter ppSelectedItemPaths as a SAFEARRAY of BSTR captured-item paths, requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/camerauicontrol/nf-camerauicontrol-icamerauicontrol-getselecteditems", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationClientInfoSource", - declaring_iid: "f4b8a2e1-9c3d-4a7e-8f6b-2d5e4c1a9b8f", - method_name: "GetConnectedClients", - vtable_index: 5, - parameter_index: 0, - parameter_name: "clients", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("b2e8a3f1-4c5d-4e7a-8f6b-3d2e1c9a0b8f"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetConnectedClients@5(clients:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft API documentation defines IUIAutomationClientInfoSource::GetConnectedClients parameter clients as a SAFEARRAY of IUIAutomationClientInfo interface pointers, requiring VT_UNKNOWN with IID b2e8a3f1-4c5d-4e7a-8f6b-3d2e1c9a0b8f", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iuiautomationclientinfosource-getconnectedclients", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IAccessibleEx", - declaring_iid: "f8b80ada-2c44-48d0-89be-5ff23c9cd875", - method_name: "GetRuntimeId", - vtable_index: 5, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRuntimeId@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IAccessibleEx::GetRuntimeId parameter pRetVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iaccessibleex-getruntimeid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IAccessibleHostingElementProviders", - declaring_iid: "33ac331b-943e-4020-b295-db37784974a3", - method_name: "GetEmbeddedFragmentRoots", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("620ce2a5-ab8f-40a9-86cb-de3c75599b58"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEmbeddedFragmentRoots@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IAccessibleHostingElementProviders::GetEmbeddedFragmentRoots parameter pRetVal as SAFEARRAY(IRawElementProviderFragmentRoot*), requiring VT_UNKNOWN with IID 620ce2a5-ab8f-40a9-86cb-de3c75599b58", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iaccessiblehostingelementproviders-getembeddedfragmentroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IAccessibleWindowlessSite", - declaring_iid: "bf3abd9c-76da-4389-9eb6-1427d25abab7", - method_name: "QueryObjectIdRanges", - vtable_index: 5, - parameter_index: 1, - parameter_name: "psaRanges", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "QueryObjectIdRanges@5(pRangesOwner:in:required:noconstattr:Windows.Win32.UI.Accessibility.IAccessibleHandler[Interface]{03022430-abc4-11d0-bde2-00aa001a1953}/ptr0/Unspecified,psaRanges:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IAccessibleWindowlessSite::QueryObjectIdRanges parameter psaRanges as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/oleacc/nf-oleacc-iaccessiblewindowlesssite-queryobjectidranges", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IDragProvider", - declaring_iid: "6aa7bbbb-7ff9-497d-904f-d20b897929d8", - method_name: "get_DropEffects", - vtable_index: 5, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_DropEffects@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDragProvider::get_DropEffects parameter pRetVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-get_dropeffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IDragProvider", - declaring_iid: "6aa7bbbb-7ff9-497d-904f-d20b897929d8", - method_name: "GetGrabbedItems", - vtable_index: 6, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetGrabbedItems@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDragProvider::GetGrabbedItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-getgrabbeditems", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IDropTargetProvider", - declaring_iid: "bae82bfd-358a-481c-85a0-d8b4d90a5d61", - method_name: "get_DropTargetEffects", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_DropTargetEffects@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IDropTargetProvider::get_DropTargetEffects parameter pRetVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idroptargetprovider-get_droptargeteffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ILegacyIAccessibleProvider", - declaring_iid: "e44c3566-915d-4070-99c6-047bff5a08f5", - method_name: "GetSelection", - vtable_index: 15, - parameter_index: 0, - parameter_name: "pvarSelectedChildren", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSelection@15(pvarSelectedChildren:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ILegacyIAccessibleProvider::GetSelection parameter pvarSelectedChildren as SAFEARRAY(IRawElementProviderSimple *), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ilegacyiaccessibleprovider-getselection", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IMultipleViewProvider", - declaring_iid: "6278cab1-b556-4a1a-b4e0-418acc523201", - method_name: "GetSupportedViews", - vtable_index: 6, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSupportedViews@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IMultipleViewProvider::GetSupportedViews parameter pRetVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-imultipleviewprovider-getsupportedviews", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IProxyProviderWinEventSink", - declaring_iid: "4fd82b78-a43e-46ac-9803-0a6969c7c183", - method_name: "AddStructureChangedEvent", - vtable_index: 5, - parameter_index: 2, - parameter_name: "runtimeId", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "AddStructureChangedEvent@5(pProvider:in:required:noconstattr:Windows.Win32.UI.Accessibility.IRawElementProviderSimple[Interface]{d6dd68d1-86fd-4332-8666-9abedea2d24c}/ptr0/Unspecified,structureChangeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.StructureChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,runtimeId:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IProxyProviderWinEventSink::AddStructureChangedEvent parameter runtimeId as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iproxyproviderwineventsink-addstructurechangedevent", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderAdviseEvents", - declaring_iid: "a407b27b-0f6d-4427-9292-473c7bf93258", - method_name: "AdviseEventAdded", - vtable_index: 3, - parameter_index: 1, - parameter_name: "propertyIDs", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "AdviseEventAdded@3(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyIDs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderAdviseEvents::AdviseEventAdded parameter propertyIDs as SAFEARRAY(PROPERTYID), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementprovideradviseevents-adviseeventadded", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderAdviseEvents", - declaring_iid: "a407b27b-0f6d-4427-9292-473c7bf93258", - method_name: "AdviseEventRemoved", - vtable_index: 4, - parameter_index: 1, - parameter_name: "propertyIDs", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "AdviseEventRemoved@4(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyIDs:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderAdviseEvents::AdviseEventRemoved parameter propertyIDs as SAFEARRAY(PROPERTYID), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementprovideradviseevents-adviseeventremoved", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderFragment", - declaring_iid: "f7063da8-8359-439c-9297-bbc5299a7d87", - method_name: "GetRuntimeId", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRuntimeId@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderFragment::GetRuntimeId parameter pRetVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderFragment", - declaring_iid: "f7063da8-8359-439c-9297-bbc5299a7d87", - method_name: "GetEmbeddedFragmentRoots", - vtable_index: 6, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("620ce2a5-ab8f-40a9-86cb-de3c75599b58"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEmbeddedFragmentRoots@6(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderFragment::GetEmbeddedFragmentRoots parameter pRetVal as SAFEARRAY(IRawElementProviderFragmentRoot*), requiring VT_UNKNOWN with IID 620ce2a5-ab8f-40a9-86cb-de3c75599b58, and explicitly allow successful NULL output", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getembeddedfragmentroots", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderHostingAccessibles", - declaring_iid: "24be0b07-d37d-487a-98cf-a13ed465e9b3", - method_name: "GetEmbeddedAccessibles", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("618736e0-3c3d-11cf-810c-00aa00389b71"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetEmbeddedAccessibles@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderHostingAccessibles::GetEmbeddedAccessibles parameter pRetVal as SAFEARRAY(IAccessible*), requiring VT_UNKNOWN with IID 618736e0-3c3d-11cf-810c-00aa00389b71", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderhostingaccessibles-getembeddedaccessibles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IRawElementProviderWindowlessSite", - declaring_iid: "0a2a93cc-bfad-42ac-9b2e-0991fb0d3ea0", - method_name: "GetRuntimeIdPrefix", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRuntimeIdPrefix@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IRawElementProviderWindowlessSite::GetRuntimeIdPrefix parameter pRetVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderwindowlesssite-getruntimeidprefix", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ISelectionProvider", - declaring_iid: "fb8b03af-3bdf-48d4-bd36-1a65793be168", - method_name: "GetSelection", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSelection@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ISelectionProvider::GetSelection parameter pRetVal as SAFEARRAY(IRawElementProviderSimple *), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-iselectionprovider-getselection", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ISpreadsheetItemProvider", - declaring_iid: "eaed4660-7b3d-4879-a2e6-365ce603f3d0", - method_name: "GetAnnotationObjects", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetAnnotationObjects@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ISpreadsheetItemProvider::GetAnnotationObjects parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ispreadsheetitemprovider-getannotationobjects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ISpreadsheetItemProvider", - declaring_iid: "eaed4660-7b3d-4879-a2e6-365ce603f3d0", - method_name: "GetAnnotationTypes", - vtable_index: 5, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetAnnotationTypes@5(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ISpreadsheetItemProvider::GetAnnotationTypes parameter pRetVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-ispreadsheetitemprovider-getannotationtypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITableItemProvider", - declaring_iid: "b9734fa6-771f-4d78-9c90-2517999349cd", - method_name: "GetRowHeaderItems", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRowHeaderItems@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITableItemProvider::GetRowHeaderItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableitemprovider-getrowheaderitems", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITableItemProvider", - declaring_iid: "b9734fa6-771f-4d78-9c90-2517999349cd", - method_name: "GetColumnHeaderItems", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetColumnHeaderItems@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITableItemProvider::GetColumnHeaderItems parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableitemprovider-getcolumnheaderitems", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITableProvider", - declaring_iid: "9c860395-97b3-490a-b52a-858cc22af166", - method_name: "GetRowHeaders", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRowHeaders@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITableProvider::GetRowHeaders parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableprovider-getrowheaders", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITableProvider", - declaring_iid: "9c860395-97b3-490a-b52a-858cc22af166", - method_name: "GetColumnHeaders", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetColumnHeaders@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITableProvider::GetColumnHeaders parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itableprovider-getcolumnheaders", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITextProvider", - declaring_iid: "3589c92c-63f3-4367-99bb-ada653b77cf2", - method_name: "GetSelection", - vtable_index: 3, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("5347ad7b-c355-46f8-aff5-909033582f63"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetSelection@3(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITextProvider::GetSelection parameter pRetVal as SAFEARRAY(ITextRangeProvider *), requiring VT_UNKNOWN with IID 5347ad7b-c355-46f8-aff5-909033582f63", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getselection", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITextProvider", - declaring_iid: "3589c92c-63f3-4367-99bb-ada653b77cf2", - method_name: "GetVisibleRanges", - vtable_index: 4, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("5347ad7b-c355-46f8-aff5-909033582f63"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetVisibleRanges@4(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITextProvider::GetVisibleRanges parameter pRetVal as SAFEARRAY(ITextRangeProvider *), requiring VT_UNKNOWN with IID 5347ad7b-c355-46f8-aff5-909033582f63", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getvisibleranges", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITextRangeProvider", - declaring_iid: "5347ad7b-c355-46f8-aff5-909033582f63", - method_name: "GetBoundingRectangles", - vtable_index: 10, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::R8, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetBoundingRectangles@10(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITextRangeProvider::GetBoundingRectangles parameter pRetVal as SAFEARRAY(double), requiring VT_R8", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextrangeprovider-getboundingrectangles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "ITextRangeProvider", - declaring_iid: "5347ad7b-c355-46f8-aff5-909033582f63", - method_name: "GetChildren", - vtable_index: 20, - parameter_index: 0, - parameter_name: "pRetVal", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d6dd68d1-86fd-4332-8666-9abedea2d24c"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetChildren@20(pRetVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define ITextRangeProvider::GetChildren parameter pRetVal as SAFEARRAY(IRawElementProviderSimple*), requiring VT_UNKNOWN with IID d6dd68d1-86fd-4332-8666-9abedea2d24c", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextrangeprovider-getchildren", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "CompareRuntimeIds", - vtable_index: 4, - parameter_index: 0, - parameter_name: "runtimeId1", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "CompareRuntimeIds@4(runtimeId1:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,runtimeId2:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,areSame:out:required:noconstattr:Windows.Win32.Foundation.BOOL[Struct]/ptr1/Mutable/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::CompareRuntimeIds parameter runtimeId1 as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-compareruntimeids", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "CompareRuntimeIds", - vtable_index: 4, - parameter_index: 1, - parameter_name: "runtimeId2", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "CompareRuntimeIds@4(runtimeId1:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,runtimeId2:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,areSame:out:required:noconstattr:Windows.Win32.Foundation.BOOL[Struct]/ptr1/Mutable/underlying=i32/ptr0/Unspecified)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::CompareRuntimeIds parameter runtimeId2 as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-compareruntimeids", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "CreateAndConditionFromArray", - vtable_index: 26, - parameter_index: 0, - parameter_name: "conditions", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("352ffba8-0973-437c-a61f-f64cafd81df9"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "CreateAndConditionFromArray@26(conditions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,newCondition:out:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCondition[Interface]{352ffba8-0973-437c-a61f-f64cafd81df9}/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::CreateAndConditionFromArray parameter conditions as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-createandconditionfromarray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "CreateOrConditionFromArray", - vtable_index: 29, - parameter_index: 0, - parameter_name: "conditions", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("352ffba8-0973-437c-a61f-f64cafd81df9"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "CreateOrConditionFromArray@29(conditions:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,newCondition:out:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCondition[Interface]{352ffba8-0973-437c-a61f-f64cafd81df9}/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::CreateOrConditionFromArray parameter conditions as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-createorconditionfromarray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "AddPropertyChangedEventHandler", - vtable_index: 35, - parameter_index: 4, - parameter_name: "propertyArray", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "AddPropertyChangedEventHandler@35(element:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,scope:in:required:noconstattr:Windows.Win32.UI.Accessibility.TreeScope[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,cacheRequest:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationCacheRequest[Interface]{b32a92b5-bc25-4078-9c08-d7ee95c48e03}/ptr0/Unspecified,handler:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationPropertyChangedEventHandler[Interface]{40cd37d4-c756-4b0c-8c6f-bddfeeb13b50}/ptr0/Unspecified,propertyArray:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::AddPropertyChangedEventHandler parameter propertyArray as SAFEARRAY(PROPERTYID), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-addpropertychangedeventhandler", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "IntNativeArrayToSafeArray", - vtable_index: 42, - parameter_index: 2, - parameter_name: "safeArray", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "IntNativeArrayToSafeArray@42(array:in:required:noconstattr:i32/ptr1/Mutable:array=Some(1)/None/Elements/false/false/None,arrayCount:in:required:noconstattr:i32/ptr0/Unspecified,safeArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::IntNativeArrayToSafeArray parameter safeArray as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-intnativearraytosafearray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "IntSafeArrayToNativeArray", - vtable_index: 43, - parameter_index: 0, - parameter_name: "intArray", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "IntSafeArrayToNativeArray@43(intArray:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,array:out:required:noconstattr:i32/ptr2/Mutable:array=Some(2)/None/Elements/false/false/None,arrayCount:out:required:noconstattr:i32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::IntSafeArrayToNativeArray parameter intArray as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-intsafearraytonativearray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "SafeArrayToRectNativeArray", - vtable_index: 46, - parameter_index: 0, - parameter_name: "rects", - element_vartype: RawSafeArrayVartype::R8, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SafeArrayToRectNativeArray@46(rects:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable,rectArray:out:required:noconstattr:Windows.Win32.Foundation.RECT[Struct]/ptr2/Mutable:array=Some(2)/None/Elements/false/false/None,rectArrayCount:out:required:noconstattr:i32/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::SafeArrayToRectNativeArray parameter rects as SAFEARRAY(double), requiring VT_R8", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-safearraytorectnativearray", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "PollForPotentialSupportedPatterns", - vtable_index: 51, - parameter_index: 1, - parameter_name: "patternIds", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "PollForPotentialSupportedPatterns@51(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,patternIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,patternNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedPatterns parameter patternIds as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedpatterns", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "PollForPotentialSupportedPatterns", - vtable_index: 51, - parameter_index: 2, - parameter_name: "patternNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "PollForPotentialSupportedPatterns@51(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,patternIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,patternNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedPatterns parameter patternNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedpatterns", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "PollForPotentialSupportedProperties", - vtable_index: 52, - parameter_index: 1, - parameter_name: "propertyIds", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "PollForPotentialSupportedProperties@52(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,propertyIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,propertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedProperties parameter propertyIds as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedproperties", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomation", - declaring_iid: "30cbe57d-d9d0-452a-ab13-7ac5ac4825ee", - method_name: "PollForPotentialSupportedProperties", - vtable_index: 52, - parameter_index: 2, - parameter_name: "propertyNames", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "PollForPotentialSupportedProperties@52(pElement:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,propertyIds:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,propertyNames:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomation::PollForPotentialSupportedProperties parameter propertyNames as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-pollforpotentialsupportedproperties", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationAndCondition", - declaring_iid: "a7d0af36-b912-45fe-9855-091ddc174aec", - method_name: "GetChildren", - vtable_index: 5, - parameter_index: 0, - parameter_name: "childArray", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("352ffba8-0973-437c-a61f-f64cafd81df9"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetChildren@5(childArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationAndCondition::GetChildren parameter childArray as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationandcondition-getchildren", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationDragPattern", - declaring_iid: "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", - method_name: "get_CurrentDropEffects", - vtable_index: 7, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CurrentDropEffects@7(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationDragPattern::get_CurrentDropEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdragpattern-get_currentdropeffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationDragPattern", - declaring_iid: "1dc7b570-1f54-4bad-bcda-d36a722fb7bd", - method_name: "get_CachedDropEffects", - vtable_index: 8, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CachedDropEffects@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationDragPattern::get_CachedDropEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdragpattern-get_cacheddropeffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationDropTargetPattern", - declaring_iid: "69a095f7-eee4-430e-a46b-fb73b1ae39a5", - method_name: "get_CurrentDropTargetEffects", - vtable_index: 5, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CurrentDropTargetEffects@5(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationDropTargetPattern::get_CurrentDropTargetEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdroptargetpattern-get_currentdroptargeteffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationDropTargetPattern", - declaring_iid: "69a095f7-eee4-430e-a46b-fb73b1ae39a5", - method_name: "get_CachedDropTargetEffects", - vtable_index: 6, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CachedDropTargetEffects@6(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationDropTargetPattern::get_CachedDropTargetEffects parameter retVal as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdroptargetpattern-get_cacheddroptargeteffects", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationElement", - declaring_iid: "d22108aa-8ac5-49a5-837b-37bbb3d7591e", - method_name: "GetRuntimeId", - vtable_index: 4, - parameter_index: 0, - parameter_name: "runtimeId", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetRuntimeId@4(runtimeId:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationElement::GetRuntimeId parameter runtimeId as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-getruntimeid", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationElement4", - declaring_iid: "3b6e233c-52fb-4063-a4c9-77c075c2a06b", - method_name: "get_CurrentAnnotationTypes", - vtable_index: 97, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CurrentAnnotationTypes@97(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationElement4::get_CurrentAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement4-get_currentannotationtypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationElement4", - declaring_iid: "3b6e233c-52fb-4063-a4c9-77c075c2a06b", - method_name: "get_CachedAnnotationTypes", - vtable_index: 102, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "get_CachedAnnotationTypes@102(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationElement4::get_CachedAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement4-get_cachedannotationtypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationMultipleViewPattern", - declaring_iid: "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", - method_name: "GetCurrentSupportedViews", - vtable_index: 6, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetCurrentSupportedViews@6(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationMultipleViewPattern::GetCurrentSupportedViews parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationmultipleviewpattern-getcurrentsupportedviews", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationMultipleViewPattern", - declaring_iid: "8d253c91-1dc5-4bb5-b18f-ade16fa495e8", - method_name: "GetCachedSupportedViews", - vtable_index: 8, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetCachedSupportedViews@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationMultipleViewPattern::GetCachedSupportedViews parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationmultipleviewpattern-getcachedsupportedviews", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationOrCondition", - declaring_iid: "8753f032-3db1-47b5-a1fc-6e34a266c712", - method_name: "GetChildren", - vtable_index: 5, - parameter_index: 0, - parameter_name: "childArray", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("352ffba8-0973-437c-a61f-f64cafd81df9"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetChildren@5(childArray:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationOrCondition::GetChildren parameter childArray as SAFEARRAY(IUIAutomationCondition), requiring VT_UNKNOWN with IID 352ffba8-0973-437c-a61f-f64cafd81df9", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationorcondition-getchildren", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationProxyFactoryEntry", - declaring_iid: "d50e472e-b64b-490c-bca1-d30696f9f289", - method_name: "SetWinEventsForAutomationEvent", - vtable_index: 14, - parameter_index: 2, - parameter_name: "winEvents", - element_vartype: RawSafeArrayVartype::Ui4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SetWinEventsForAutomationEvent@14(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,winEvents:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryEntry::SetWinEventsForAutomationEvent parameter winEvents as SAFEARRAY(UINT), requiring VT_UI4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactoryentry-setwineventsforautomationevent", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationProxyFactoryEntry", - declaring_iid: "d50e472e-b64b-490c-bca1-d30696f9f289", - method_name: "GetWinEventsForAutomationEvent", - vtable_index: 15, - parameter_index: 2, - parameter_name: "winEvents", - element_vartype: RawSafeArrayVartype::Ui4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetWinEventsForAutomationEvent@15(eventId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_EVENT_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,propertyId:in:required:noconstattr:Windows.Win32.UI.Accessibility.UIA_PROPERTY_ID[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,winEvents:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryEntry::GetWinEventsForAutomationEvent parameter winEvents as SAFEARRAY(UINT), requiring VT_UI4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactoryentry-getwineventsforautomationevent", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationProxyFactoryMapping", - declaring_iid: "09e31e18-872d-4873-93d1-1e541ec133fd", - method_name: "GetTable", - vtable_index: 4, - parameter_index: 0, - parameter_name: "table", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d50e472e-b64b-490c-bca1-d30696f9f289"), - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetTable@4(table:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::GetTable parameter table as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-gettable", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationProxyFactoryMapping", - declaring_iid: "09e31e18-872d-4873-93d1-1e541ec133fd", - method_name: "SetTable", - vtable_index: 6, - parameter_index: 0, - parameter_name: "factoryList", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d50e472e-b64b-490c-bca1-d30696f9f289"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "SetTable@6(factoryList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::SetTable parameter factoryList as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-settable", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationProxyFactoryMapping", - declaring_iid: "09e31e18-872d-4873-93d1-1e541ec133fd", - method_name: "InsertEntries", - vtable_index: 7, - parameter_index: 1, - parameter_name: "factoryList", - element_vartype: RawSafeArrayVartype::Unknown, - element_iid: Some("d50e472e-b64b-490c-bca1-d30696f9f289"), - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "InsertEntries@7(before:in:required:noconstattr:u32/ptr0/Unspecified,factoryList:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationProxyFactoryMapping::InsertEntries parameter factoryList as SAFEARRAY(IUIAutomationProxyFactoryEntry), requiring VT_UNKNOWN with IID d50e472e-b64b-490c-bca1-d30696f9f289", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationproxyfactorymapping-insertentries", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationSpreadsheetItemPattern", - declaring_iid: "7d4fb86c-8d34-40e1-8e83-62c15204e335", - method_name: "GetCurrentAnnotationTypes", - vtable_index: 5, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetCurrentAnnotationTypes@5(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationSpreadsheetItemPattern::GetCurrentAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationspreadsheetitempattern-getcurrentannotationtypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationSpreadsheetItemPattern", - declaring_iid: "7d4fb86c-8d34-40e1-8e83-62c15204e335", - method_name: "GetCachedAnnotationTypes", - vtable_index: 8, - parameter_index: 0, - parameter_name: "retVal", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetCachedAnnotationTypes@8(retVal:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationSpreadsheetItemPattern::GetCachedAnnotationTypes parameter retVal as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationspreadsheetitempattern-getcachedannotationtypes", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationStructureChangedEventHandler", - declaring_iid: "e81d1b4e-11c5-42f8-9754-e7036c79f054", - method_name: "HandleStructureChangedEvent", - vtable_index: 3, - parameter_index: 2, - parameter_name: "runtimeId", - element_vartype: RawSafeArrayVartype::I4, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "HandleStructureChangedEvent@3(sender:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,changeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.StructureChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,runtimeId:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationStructureChangedEventHandler::HandleStructureChangedEvent parameter runtimeId as SAFEARRAY(int), requiring VT_I4", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationstructurechangedeventhandler-handlestructurechangedevent", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationTextEditTextChangedEventHandler", - declaring_iid: "92faa680-e704-4156-931a-e32d5bb38f3f", - method_name: "HandleTextEditTextChangedEvent", - vtable_index: 3, - parameter_index: 2, - parameter_name: "eventStrings", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::BorrowedInput, - raw_method_shape: "HandleTextEditTextChangedEvent@3(sender:in:required:noconstattr:Windows.Win32.UI.Accessibility.IUIAutomationElement[Interface]{d22108aa-8ac5-49a5-837b-37bbb3d7591e}/ptr0/Unspecified,textEditChangeType:in:required:noconstattr:Windows.Win32.UI.Accessibility.TextEditChangeType[Enum]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified,eventStrings:in:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr1/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationTextEditTextChangedEventHandler::HandleTextEditTextChangedEvent parameter eventStrings as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextedittextchangedeventhandler-handletextedittextchangedevent", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationTextRange", - declaring_iid: "a543cc6a-f4ae-494b-8239-c814481187a8", - method_name: "GetBoundingRectangles", - vtable_index: 10, - parameter_index: 0, - parameter_name: "boundingRects", - element_vartype: RawSafeArrayVartype::R8, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetBoundingRectangles@10(boundingRects:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationTextRange::GetBoundingRectangles parameter boundingRects as SAFEARRAY(double), requiring VT_R8", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextrange-getboundingrectangles", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Accessibility", - declaring_interface: "IUIAutomationTextRange3", - declaring_iid: "6a315d69-5512-4c2e-85f0-53fce6dd4bc2", - method_name: "GetAttributeValues", - vtable_index: 24, - parameter_index: 2, - parameter_name: "attributeValues", - element_vartype: RawSafeArrayVartype::Variant, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetAttributeValues@24(attributeIds:in:required:constattr:Windows.Win32.UI.Accessibility.UIA_TEXTATTRIBUTE_ID[Enum]/ptr1/Mutable/underlying=i32/ptr0/Unspecified:array=Some(1)/None/Elements/false/false/None,attributeIdCount:in:required:noconstattr:i32/ptr0/Unspecified,attributeValues:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IUIAutomationTextRange3::GetAttributeValues parameter attributeValues as SAFEARRAY(VARIANT), requiring VT_VARIANT", - citation: "https://learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtextrange3-getattributevalues", - }, - RawSafeArrayEvidence { - declaring_namespace: "Windows.Win32.UI.Input.Ime", - declaring_interface: "IImePlugInDictDictionaryList", - declaring_iid: "98752974-b0a6-489b-8f6f-bff3769c8eeb", - method_name: "GetDictionariesInUse", - vtable_index: 3, - parameter_index: 0, - parameter_name: "prgDictionaryGUID", - element_vartype: RawSafeArrayVartype::Bstr, - element_iid: None, - ownership: RawSafeArrayOwnership::OwnedOutput, - raw_method_shape: "GetDictionariesInUse@3(prgDictionaryGUID:out:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,prgDateCreated:inout:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable,prgfEncrypted:inout:required:noconstattr:Windows.Win32.System.Com.SAFEARRAY[Struct]/ptr2/Mutable)->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", - reason: "Microsoft SDK IDL and API documentation define IImePlugInDictDictionaryList::GetDictionariesInUse parameter prgDictionaryGUID as SAFEARRAY(BSTR), requiring VT_BSTR", - citation: "https://learn.microsoft.com/windows/win32/api/msimeapi/nf-msimeapi-iimeplugindictdictionarylist-getdictionariesinuse", - }, -]; - -pub(crate) fn registered_safe_array_evidence( - namespace: &str, - interface: &str, - interface_iid: &str, - method: &str, - vtable_index: usize, - parameter_index: usize, -) -> Option { - SAFE_ARRAY_EVIDENCE - .iter() - .find(|evidence| { - evidence.declaring_namespace == namespace - && evidence.declaring_interface == interface - && evidence.declaring_iid.eq_ignore_ascii_case(interface_iid) - && evidence.method_name == method - && evidence.vtable_index == vtable_index - && evidence.parameter_index == parameter_index - }) - .cloned() -} - -pub(crate) fn safe_array_evidence_for_declaration( - namespace: &str, - interface: &str, - method: &str, - parameter_index: usize, -) -> Option { - SAFE_ARRAY_EVIDENCE - .iter() - .find(|evidence| { - evidence.declaring_namespace == namespace - && evidence.declaring_interface == interface - && evidence.method_name == method - && evidence.parameter_index == parameter_index - }) - .cloned() -} - -pub(crate) fn safe_array_output_allows_null(evidence: &RawSafeArrayEvidence) -> bool { - if evidence.declaring_namespace != "Windows.Win32.UI.Accessibility" { - return false; - } - if evidence.declaring_interface == "IRawElementProviderFragment" - && evidence - .declaring_iid - .eq_ignore_ascii_case("f7063da8-8359-439c-9297-bbc5299a7d87") - && evidence.method_name == "GetRuntimeId" - && evidence.vtable_index == 4 - && evidence.parameter_index == 0 - && evidence.parameter_name == "pRetVal" - && evidence.ownership == RawSafeArrayOwnership::OwnedOutput - && evidence.element_vartype == RawSafeArrayVartype::I4 - && evidence.element_iid.is_none() - && evidence.citation - == "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getruntimeid" - { - return true; - } - if evidence.parameter_index != 0 - || evidence.parameter_name != "pRetVal" - || evidence.ownership != RawSafeArrayOwnership::OwnedOutput - || evidence.element_vartype != RawSafeArrayVartype::Unknown - { - return false; - } - (evidence.declaring_interface == "ITextProvider" - && evidence - .declaring_iid - .eq_ignore_ascii_case("3589c92c-63f3-4367-99bb-ada653b77cf2") - && evidence.method_name == "GetSelection" - && evidence.vtable_index == 3 - && evidence.element_iid == Some("5347ad7b-c355-46f8-aff5-909033582f63") - && evidence.citation - == "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextprovider-getselection") - || (evidence.declaring_interface == "IRawElementProviderFragment" - && evidence - .declaring_iid - .eq_ignore_ascii_case("f7063da8-8359-439c-9297-bbc5299a7d87") - && evidence.method_name == "GetEmbeddedFragmentRoots" - && evidence.vtable_index == 6 - && evidence.element_iid == Some("620ce2a5-ab8f-40a9-86cb-de3c75599b58") - && evidence.citation - == "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-irawelementproviderfragment-getembeddedfragmentroots") - || (evidence.declaring_interface == "IDragProvider" - && evidence - .declaring_iid - .eq_ignore_ascii_case("6aa7bbbb-7ff9-497d-904f-d20b897929d8") - && evidence.method_name == "GetGrabbedItems" - && evidence.vtable_index == 6 - && evidence.element_iid == Some("d6dd68d1-86fd-4332-8666-9abedea2d24c") - && evidence.citation - == "https://learn.microsoft.com/windows/win32/api/uiautomationcore/nf-uiautomationcore-idragprovider-getgrabbeditems") -} - -pub(crate) fn all_safe_array_evidence() -> &'static [RawSafeArrayEvidence] { - SAFE_ARRAY_EVIDENCE -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn registry_keys_and_evidence_are_exact() { - let mut keys = std::collections::BTreeSet::new(); - assert_eq!(SAFE_ARRAY_EVIDENCE.len(), 209); - for evidence in SAFE_ARRAY_EVIDENCE { - assert!(keys.insert(( - evidence.declaring_namespace, - evidence.declaring_interface, - evidence.declaring_iid, - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - ))); - assert!( - evidence - .citation - .starts_with("https://learn.microsoft.com/") - ); - assert!(!evidence.reason.is_empty()); - assert!(!evidence.raw_method_shape.is_empty()); - assert_eq!( - evidence.element_iid.is_some(), - evidence.element_vartype == RawSafeArrayVartype::Unknown - ); - assert_eq!( - registered_safe_array_evidence( - evidence.declaring_namespace, - evidence.declaring_interface, - evidence.declaring_iid, - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - ) - .as_ref(), - Some(evidence) - ); - } - assert_eq!( - SAFE_ARRAY_EVIDENCE - .iter() - .filter(|evidence| safe_array_output_allows_null(evidence)) - .map(|evidence| ( - evidence.declaring_interface, - evidence.method_name, - evidence.vtable_index, - evidence.parameter_index, - )) - .collect::>(), - std::collections::BTreeSet::from([ - ( - "IRawElementProviderFragment", - "GetEmbeddedFragmentRoots", - 6, - 0 - ), - ("IRawElementProviderFragment", "GetRuntimeId", 4, 0), - ("IDragProvider", "GetGrabbedItems", 6, 0), - ("ITextProvider", "GetSelection", 3, 0), - ]) - ); - } - - #[test] - fn documented_vartype_values_match_automation_constants() { - use windows::Win32::System::Variant::{ - VT_BSTR, VT_I4, VT_R8, VT_UI1, VT_UI4, VT_UNKNOWN, VT_VARIANT, - }; - - assert_eq!(RawSafeArrayVartype::I4.value(), VT_I4.0); - assert_eq!(RawSafeArrayVartype::R8.value(), VT_R8.0); - assert_eq!(RawSafeArrayVartype::Bstr.value(), VT_BSTR.0); - assert_eq!(RawSafeArrayVartype::Variant.value(), VT_VARIANT.0); - assert_eq!(RawSafeArrayVartype::Unknown.value(), VT_UNKNOWN.0); - assert_eq!(RawSafeArrayVartype::Ui1.value(), VT_UI1.0); - assert_eq!(RawSafeArrayVartype::Ui4.value(), VT_UI4.0); - } - - #[test] - fn documented_interface_iids_match_windows_rs() { - use windows::Win32::UI::Accessibility::{ - IRawElementProviderFragmentRoot, IRawElementProviderSimple, ITextRangeProvider, - IUIAutomationCondition, - }; - use windows::core::Interface; - - assert_eq!( - ITextRangeProvider::IID, - windows::core::GUID::from_u128(0x5347ad7b_c355_46f8_aff5_909033582f63) - ); - assert_eq!( - IRawElementProviderSimple::IID, - windows::core::GUID::from_u128(0xd6dd68d1_86fd_4332_8666_9abedea2d24c) - ); - assert_eq!( - IRawElementProviderFragmentRoot::IID, - windows::core::GUID::from_u128(0x620ce2a5_ab8f_40a9_86cb_de3c75599b58) - ); - assert_eq!( - IUIAutomationCondition::IID, - windows::core::GUID::from_u128(0x352ffba8_0973_437c_a61f_f64cafd81df9) - ); - } -} diff --git a/tools/dynwinrt-codegen/src/contract_registry.rs b/tools/dynwinrt-codegen/src/contract_registry.rs index 801823cc..e21af21d 100644 --- a/tools/dynwinrt-codegen/src/contract_registry.rs +++ b/tools/dynwinrt-codegen/src/contract_registry.rs @@ -9,12 +9,24 @@ use std::{ use serde::{Deserialize, Serialize}; use sha2::{Digest, Sha256}; +pub(crate) mod adapters; +mod families; +pub(crate) use families::*; +#[cfg(test)] +mod migration_tests; + 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 SAFEARRAYS_JSON: &str = include_str!("../contracts/classic-com/safearrays.json"); +const NULL_INPUTS_JSON: &str = include_str!("../contracts/classic-com/null-inputs.json"); +const PARAMETER_DIRECTIONS_JSON: &str = + include_str!("../contracts/classic-com/parameter-directions.json"); +const BORROWED_HANDLES_JSON: &str = include_str!("../contracts/classic-com/borrowed-handles.json"); +const ENUMERATORS_JSON: &str = include_str!("../contracts/classic-com/enumerators.json"); const PINNED_METADATA_PACKAGE: &str = "Microsoft.Windows.SDK.Win32Metadata"; const PINNED_METADATA_VERSION: &str = "71.0.14-preview"; const PINNED_METADATA_SHA256: &str = @@ -439,54 +451,12 @@ pub(crate) fn validate_exact_entry_catalog( } pub(crate) fn statically_declared_exact_entry_ids() -> Result, String> { - let mut ids = BTreeSet::new(); + let mut ids = registry()?.exact_entry_ids(); ids.extend( crate::com_metadata::borrowed::all_evidence() .iter() .map(|entry| crate::com_metadata::borrowed::catalog_entry(entry).entry_id), ); - ids.extend( - crate::com_safe_array_registry::all_safe_array_evidence() - .iter() - .map(crate::com_metadata::RawSafeArrayEvidence::entry_id), - ); - ids.extend( - crate::com_borrowed_handle_registry::BorrowedHwndOutputEvidence::entries() - .iter() - .map(crate::com_borrowed_handle_registry::BorrowedHwndOutputEvidence::entry_id), - ); - ids.extend( - crate::com_enumerator_registry::contracts() - .iter() - .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() - .map_err(Clone::clone)?; - ids.extend( - registry - .conditional_outputs - .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() @@ -566,45 +536,40 @@ struct RegistryManifestFile { #[derive(Debug, Deserialize)] #[serde(deny_unknown_fields, rename_all = "camelCase")] -struct ConditionalOutputFile { +struct ContractFile { schema_version: u32, - contracts: Vec, + contracts: Vec, } -#[derive(Debug, Deserialize)] -#[serde(deny_unknown_fields, rename_all = "camelCase")] -struct OwnershipOutputFile { - schema_version: u32, - contracts: Vec, -} +type ConditionalOutputFile = ContractFile; +type OwnershipOutputFile = ContractFile; #[derive(Debug, Clone, Deserialize)] #[serde(deny_unknown_fields, rename_all = "camelCase")] -pub(crate) struct ConditionalOutputContract { +pub(crate) struct EvidenceContract { pub entry_id: String, pub family_id: ExactFamilyId, pub kind: ContractKind, pub reason: String, pub selector: ContractSelector, - pub contract: ConditionalOutputSemantics, + pub contract: T, pub evidence: Vec, 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, +pub(crate) type ConditionalOutputContract = EvidenceContract; +pub(crate) type OwnershipOutputContract = EvidenceContract; + +impl EvidenceContract { + pub(crate) fn microsoft_citation(&self) -> &str { + self.evidence[0] + .url + .as_deref() + .expect("validated migrated evidence must retain its Microsoft citation") + } } -#[derive(Debug, Clone, Deserialize)] +#[derive(Debug, Clone, Deserialize, Eq, PartialEq)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct ContractSelector { pub interface: InterfaceSelector, @@ -614,9 +579,46 @@ pub(crate) struct ContractSelector { pub parameter_count: usize, pub parameters: Vec, pub source_fingerprint: String, + #[serde(default, deserialize_with = "present_source_shape")] + pub source_shape: Option, } -#[derive(Debug, Clone, Deserialize)] +fn present_source_shape<'de, D: serde::Deserializer<'de>>( + deserializer: D, +) -> Result, D::Error> { + SourceShape::deserialize(deserializer).map(Some) +} + +fn required_nullable<'de, D: serde::Deserializer<'de>, T: Deserialize<'de>>( + deserializer: D, +) -> Result, D::Error> { + Option::::deserialize(deserializer) +} + +#[derive(Debug, Clone, Deserialize, Eq, PartialEq)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct SourceShape { + pub format: SourceShapeFormat, + pub value: String, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum SourceShapeFormat { + #[serde(rename = "raw-method-shape-v1")] + RawMethodShapeV1, +} + +impl ContractSelector { + pub(crate) fn raw_method_shape(&self) -> &str { + &self + .source_shape + .as_ref() + .expect("validated shape-based contract must have a source shape") + .value + } +} + +#[derive(Debug, Clone, Deserialize, Eq, PartialEq)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct InterfaceSelector { pub namespace: String, @@ -624,7 +626,7 @@ pub(crate) struct InterfaceSelector { pub iid: String, } -#[derive(Debug, Clone, Deserialize)] +#[derive(Debug, Clone, Deserialize, Eq, PartialEq)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct ParameterSelector { pub index: usize, @@ -654,7 +656,9 @@ pub(crate) struct ConditionalOutputSemantics { #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct OutputMode { pub flags: i32, + #[serde(deserialize_with = "required_nullable")] pub output_parameter_index: Option, + #[serde(deserialize_with = "required_nullable")] pub option_name: Option, } @@ -696,11 +700,13 @@ pub(crate) enum OutputOwnership { OwnedComPlusOne, } -#[derive(Debug, Clone, Deserialize)] +#[derive(Debug, Clone, Deserialize, Eq, PartialEq)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub(crate) struct EvidenceCitation { pub kind: EvidenceSourceKind, + #[serde(deserialize_with = "required_nullable")] pub url: Option, + #[serde(deserialize_with = "required_nullable")] pub file: Option, } @@ -716,10 +722,45 @@ pub(crate) struct ValidatedMetadata { struct Registry { conditional_outputs: Vec, ownership_outputs: Vec, + safe_arrays: Vec, + null_inputs: Vec, + parameter_directions: Vec, + borrowed_handles: Vec, + enumerators: Vec, } static REGISTRY: OnceLock> = OnceLock::new(); +fn registry() -> Result<&'static Registry, String> { + REGISTRY + .get_or_init(load_registry) + .as_ref() + .map_err(Clone::clone) +} + +impl Registry { + fn exact_entry_ids(&self) -> BTreeSet { + fn ids(entries: &[EvidenceContract]) -> impl Iterator + '_ { + entries.iter().map(|entry| entry.entry_id.clone()) + } + ids(&self.conditional_outputs) + .chain(ids(&self.ownership_outputs)) + .chain(ids(&self.safe_arrays)) + .chain(ids(&self.null_inputs)) + .chain(ids(&self.parameter_directions)) + .chain(ids(&self.borrowed_handles)) + .chain( + self.enumerators + .iter() + .filter(|entry| { + entry.contract.evidence_source == EnumeratorEvidenceSource::ExactRegistry + }) + .map(|entry| entry.entry_id.clone()), + ) + .collect() + } +} + #[cfg(test)] pub(crate) fn conditional_output_contract( id: &str, @@ -752,24 +793,32 @@ pub(crate) fn ownership_output_contracts() -> Result<&'static [OwnershipOutputCo Ok(®istry.ownership_outputs) } +pub(crate) fn safe_array_contracts() -> Result<&'static [SafeArrayContract], String> { + Ok(®istry()?.safe_arrays) +} + +pub(crate) fn null_input_contracts() -> Result<&'static [NullInputContract], String> { + Ok(®istry()?.null_inputs) +} + +pub(crate) fn parameter_direction_contracts() +-> Result<&'static [ParameterDirectionContract], String> { + Ok(®istry()?.parameter_directions) +} + +pub(crate) fn borrowed_handle_contracts() -> Result<&'static [BorrowedHandleContract], String> { + Ok(®istry()?.borrowed_handles) +} + +pub(crate) fn enumerator_contracts() -> Result<&'static [EnumeratorContract], String> { + Ok(®istry()?.enumerators) +} + pub(crate) fn validate_registry_usage(consumed_ids: &BTreeSet) -> Result<(), String> { - let registry = REGISTRY - .get_or_init(load_registry) - .as_ref() - .map_err(Clone::clone)?; - for entry in ®istry.conditional_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 - )); - } - } - for entry in ®istry.ownership_outputs { - if !consumed_ids.contains(&entry.entry_id) { + for entry_id in registry()?.exact_entry_ids() { + if !consumed_ids.contains(&entry_id) { return Err(format!( - "Classic COM contract registry entry '{}' is unused by the loaded metadata", - entry.entry_id + "Classic COM contract registry entry '{entry_id}' is unused by the loaded metadata" )); } } @@ -779,7 +828,77 @@ pub(crate) fn validate_registry_usage(consumed_ids: &BTreeSet) -> Result fn load_registry() -> Result { serde_json::from_str::(SCHEMA_JSON) .map_err(|error| format!("Invalid Classic COM contract JSON schema: {error}"))?; - let manifest: RegistryManifest = serde_json::from_str(MANIFEST_JSON) + validate_manifest(MANIFEST_JSON, &COMPILED_FILES)?; + let file: ConditionalOutputFile = + parse_contract_file(CONDITIONAL_OUTPUTS_JSON, "conditional-output")?; + validate_conditional_outputs(&file.contracts)?; + let ownership_file: OwnershipOutputFile = + parse_contract_file(OWNERSHIP_OUTPUTS_JSON, "ownership-output")?; + validate_ownership_outputs(&ownership_file.contracts)?; + Ok(Registry { + conditional_outputs: file.contracts, + ownership_outputs: ownership_file.contracts, + safe_arrays: families::load_family(SAFEARRAYS_JSON, "safearrays.json")?, + null_inputs: families::load_family(NULL_INPUTS_JSON, "null-inputs.json")?, + parameter_directions: families::load_family( + PARAMETER_DIRECTIONS_JSON, + "parameter-directions.json", + )?, + borrowed_handles: families::load_family(BORROWED_HANDLES_JSON, "borrowed-handles.json")?, + enumerators: families::load_family(ENUMERATORS_JSON, "enumerators.json")?, + }) +} + +const COMPILED_FILES: [&str; 7] = [ + CONDITIONAL_OUTPUTS_JSON, + OWNERSHIP_OUTPUTS_JSON, + SAFEARRAYS_JSON, + NULL_INPUTS_JSON, + PARAMETER_DIRECTIONS_JSON, + BORROWED_HANDLES_JSON, + ENUMERATORS_JSON, +]; + +const COMPILED_FILE_IDENTITIES: [(&str, ContractKind, ExactFamilyId); 7] = [ + ( + "conditional-outputs.json", + ContractKind::ConditionalOutput, + ExactFamilyId::ConditionalOutput, + ), + ( + "ownership-outputs.json", + ContractKind::Ownership, + ExactFamilyId::Ownership, + ), + ( + "safearrays.json", + ContractKind::Safearray, + ExactFamilyId::SafeArray, + ), + ( + "null-inputs.json", + ContractKind::NullInput, + ExactFamilyId::ReservedNullInput, + ), + ( + "parameter-directions.json", + ContractKind::ParameterDirection, + ExactFamilyId::ParameterDirection, + ), + ( + "borrowed-handles.json", + ContractKind::BorrowedHandle, + ExactFamilyId::BorrowedHwndOutput, + ), + ( + "enumerators.json", + ContractKind::EnumeratorNext, + ExactFamilyId::EnumeratorException, + ), +]; + +fn validate_manifest(manifest_json: &str, sources: &[&str; 7]) -> Result<(), String> { + let manifest: RegistryManifest = serde_json::from_str(manifest_json) .map_err(|error| format!("Invalid Classic COM contract manifest: {error}"))?; if manifest.schema_version != 2 { return Err(format!( @@ -787,60 +906,41 @@ fn load_registry() -> Result { manifest.schema_version )); } - 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] + if manifest.files.len() != COMPILED_FILE_IDENTITIES.len() + || manifest.files.iter().zip(COMPILED_FILE_IDENTITIES).any( + |(file, (path, kind, family))| { + file.path != path || file.kind != kind || file.family_ids != [family] + }, + ) { return Err("Classic COM contract manifest does not list the compiled data files".into()); } - 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 {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 - )); + for (file, source) in manifest.files.iter().zip(sources) { + validate_sha256(&file.sha256, &format!("{} manifest file hash", file.path))?; + let hash = format!("{:X}", Sha256::digest(source.as_bytes())); + if hash != file.sha256 { + return Err(format!( + "Classic COM contract file hash mismatch for {}: expected {}, found {hash}", + file.path, file.sha256 + )); + } } - let file: ConditionalOutputFile = serde_json::from_str(CONDITIONAL_OUTPUTS_JSON) - .map_err(|error| format!("Invalid conditional-output contracts: {error}"))?; + Ok(()) +} + +fn parse_contract_file( + json: &str, + name: &str, +) -> Result, String> { + let file: ContractFile = + serde_json::from_str(json).map_err(|error| format!("Invalid {name} contracts: {error}"))?; if file.schema_version != 2 { return Err(format!( - "Unsupported conditional-output contract schema {}", + "Unsupported {name} contract schema {}", file.schema_version )); } - 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, - }) + Ok(file) } fn validate_ownership_outputs(entries: &[OwnershipOutputContract]) -> Result<(), String> { @@ -894,6 +994,12 @@ fn validate_ownership_outputs(entries: &[OwnershipOutputContract]) -> Result<(), &entry.evidence, &entry.validated_metadata, )?; + if entry.selector.source_shape.is_some() { + return Err(format!( + "Contract '{}' uses an unsupported source fingerprint format", + entry.entry_id + )); + } let valid_ownership = matches!( (entry.contract.ownership, entry.contract.cleanup), ( @@ -945,30 +1051,50 @@ fn validate_contract_selector( &selector.source_fingerprint, &format!("source fingerprint for '{entry_id}'"), )?; - if selector.interface.iid != selector.declaring_iid + validate_guid(&selector.interface.iid, entry_id)?; + validate_guid(&selector.declaring_iid, entry_id)?; + if selector.interface.namespace.is_empty() + || selector.interface.name.is_empty() + || selector.method.is_empty() + || selector.absolute_slot < 3 + || selector.interface.iid != selector.declaring_iid || selector.parameters.len() != selector.parameter_count || selector .parameters .iter() .enumerate() - .any(|(index, parameter)| parameter.index != index) + .any(|(index, parameter)| { + parameter.index != index + || parameter.name.is_empty() + || parameter.native_type.is_empty() + || !matches!(parameter.direction.as_str(), "in" | "out" | "inout") + || !matches!( + parameter.constness.as_str(), + "const" | "mutable" | "mixed" | "unspecified" + ) + }) { 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() + if let Some(shape) = &selector.source_shape { + let hash = match shape.format { + SourceShapeFormat::RawMethodShapeV1 => { + format!("{:X}", Sha256::digest(shape.value.as_bytes())) } - }) - { - return Err(format!("Contract '{entry_id}' has no usable citation")); + }; + if hash != selector.source_fingerprint + || !shape + .value + .starts_with(&format!("{}@{}(", selector.method, selector.absolute_slot)) + { + return Err(format!( + "Contract '{entry_id}' source shape does not match its selector/fingerprint" + )); + } } + validate_citations(entry_id, evidence)?; if validated_metadata.is_empty() { return Err(format!( "Contract '{entry_id}' has no validated metadata identity" @@ -997,11 +1123,53 @@ fn validate_contract_selector( Ok(()) } +fn validate_guid(value: &str, entry_id: &str) -> Result<(), String> { + if value.len() != 36 + || value.bytes().enumerate().any(|(index, byte)| { + if matches!(index, 8 | 13 | 18 | 23) { + byte != b'-' + } else { + !byte.is_ascii_hexdigit() + } + }) + { + return Err(format!( + "Contract '{entry_id}' has an invalid GUID '{value}'" + )); + } + Ok(()) +} + +fn validate_citations(entry_id: &str, evidence: &[EvidenceCitation]) -> Result<(), String> { + if evidence.is_empty() + || evidence.iter().any(|citation| match citation.kind { + EvidenceSourceKind::MicrosoftLearn => { + !citation + .url + .as_deref() + .is_some_and(|url| url.starts_with("https://learn.microsoft.com/")) + || 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 authoritative citation" + )); + } + Ok(()) +} + fn validate_conditional_outputs(entries: &[ConditionalOutputContract]) -> Result<(), String> { let mut ids = BTreeSet::new(); let mut selectors = BTreeMap::new(); for entry in entries { - if entry.kind != ContractKind::ConditionalOutput { + if entry.kind != ContractKind::ConditionalOutput + || entry.family_id != ExactFamilyId::ConditionalOutput + || entry.reason.is_empty() + { return Err(format!( "Contract '{}' has kind '{}', expected conditional-output", entry.entry_id, @@ -1034,20 +1202,15 @@ fn validate_conditional_outputs(entries: &[ConditionalOutputContract]) -> Result entry.entry_id )); } - validate_sha256( - &entry.selector.source_fingerprint, - &format!("source fingerprint for '{}'", entry.entry_id), + validate_contract_selector( + &entry.entry_id, + &entry.selector, + &entry.evidence, + &entry.validated_metadata, )?; - if entry.selector.parameters.len() != entry.selector.parameter_count - || entry - .selector - .parameters - .iter() - .enumerate() - .any(|(index, parameter)| parameter.index != index) - { + if entry.selector.source_shape.is_some() { return Err(format!( - "Contract '{}' parameter selector is incomplete or unordered", + "Contract '{}' uses an unsupported source fingerprint format", entry.entry_id )); } @@ -1065,49 +1228,6 @@ fn validate_conditional_outputs(entries: &[ConditionalOutputContract]) -> Result entry.entry_id )); } - if entry.evidence.is_empty() - || entry.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 '{}' has no usable citation", - entry.entry_id - )); - } - if entry.validated_metadata.is_empty() { - return Err(format!( - "Contract '{}' has no validated metadata identity", - entry.entry_id - )); - } - for metadata in &entry.validated_metadata { - if metadata.package.is_empty() || metadata.version.is_empty() { - return Err(format!( - "Contract '{}' has an incomplete metadata identity", - entry.entry_id - )); - } - validate_sha256( - &metadata.sha256, - &format!("validated metadata hash for '{}'", entry.entry_id), - )?; - } - if !entry.validated_metadata.iter().any(|metadata| { - metadata.package == PINNED_METADATA_PACKAGE - && metadata.version == PINNED_METADATA_VERSION - && metadata.sha256 == PINNED_METADATA_SHA256 - }) { - return Err(format!( - "Contract '{}' is not validated against the pinned metadata package/version/hash", - entry.entry_id - )); - } let semantics = &entry.contract; let output_indices = semantics .outputs @@ -1345,17 +1465,7 @@ mod tests { .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::>(); + let mut used = registry.exact_entry_ids(); assert!(validate_registry_usage(&used).is_ok()); used.remove(®istry.ownership_outputs[0].entry_id); assert!( diff --git a/tools/dynwinrt-codegen/src/contract_registry/adapters/borrowed_handle.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/borrowed_handle.rs new file mode 100644 index 00000000..0348532c --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/borrowed_handle.rs @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use std::sync::OnceLock; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct BorrowedHwndOutputEvidence { + pub selector: &'static crate::contract_registry::ContractSelector, + 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 optional: bool, + pub reason: &'static str, + pub citation: &'static str, +} + +impl BorrowedHwndOutputEvidence { + 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::BorrowedHwndOutput + } + + pub(crate) fn entries() -> &'static [BorrowedHwndOutputEvidence] { + static EVIDENCE: OnceLock> = OnceLock::new(); + EVIDENCE.get_or_init(|| { + crate::contract_registry::borrowed_handle_contracts() + .expect("embedded borrowed-handle contract registry must validate") + .iter() + .map(|entry| { + let selector = &entry.selector; + BorrowedHwndOutputEvidence { + selector, + declaring_namespace: &selector.interface.namespace, + declaring_interface: &selector.interface.name, + declaring_iid: &selector.declaring_iid, + method_name: &selector.method, + vtable_index: selector.absolute_slot, + parameter_count: selector.parameter_count, + parameter_index: entry.contract.parameter_index, + parameter_name: &selector.parameters[entry.contract.parameter_index].name, + optional: selector.parameters[entry.contract.parameter_index].optional, + reason: &entry.reason, + citation: entry.microsoft_citation(), + } + }) + .collect() + }) + } + + pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { + crate::contract_registry::ContractKind::BorrowedHandle + } +} + +pub(crate) fn registered_borrowed_hwnd_output( + namespace: &str, + interface: &str, + iid: &str, + method: &str, + slot: usize, + parameter_index: usize, +) -> Option<&'static BorrowedHwndOutputEvidence> { + BorrowedHwndOutputEvidence::entries() + .iter() + .find(|evidence| { + evidence.declaring_namespace == namespace + && evidence.declaring_interface == interface + && evidence.declaring_iid.eq_ignore_ascii_case(iid) + && evidence.method_name == method + && evidence.vtable_index == slot + && evidence.parameter_index == parameter_index + }) +} + +pub(crate) fn borrowed_hwnd_evidence_for_declaration( + namespace: &str, + interface: &str, + method: &str, + slot: usize, +) -> Option<&'static BorrowedHwndOutputEvidence> { + BorrowedHwndOutputEvidence::entries() + .iter() + .find(|evidence| { + evidence.declaring_namespace == namespace + && evidence.declaring_interface == interface + && (evidence.method_name == method || evidence.vtable_index == slot) + }) +} + +#[cfg(test)] +mod tests { + use std::collections::BTreeSet; + + use super::*; + + #[test] + fn registry_entries_have_unique_exact_identity_and_microsoft_citations() { + let mut identities = BTreeSet::new(); + assert_eq!(BorrowedHwndOutputEvidence::entries().len(), 22); + for evidence in BorrowedHwndOutputEvidence::entries() { + assert!(identities.insert(( + evidence.declaring_namespace, + evidence.declaring_interface, + evidence.declaring_iid.to_ascii_lowercase(), + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + ))); + assert_eq!(evidence.declaring_iid.len(), 36); + assert!(evidence.parameter_index < evidence.parameter_count); + assert!(!evidence.optional); + assert!( + evidence + .citation + .starts_with("https://learn.microsoft.com/") + ); + assert!(!evidence.reason.is_empty()); + } + } + + #[test] + fn exact_lookup_rejects_identity_drift() { + let evidence = BorrowedHwndOutputEvidence::entries() + .iter() + .find(|evidence| evidence.declaring_interface == "IOleWindow") + .unwrap(); + assert!( + registered_borrowed_hwnd_output( + evidence.declaring_namespace, + evidence.declaring_interface, + evidence.declaring_iid, + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + ) + .is_some() + ); + assert!( + registered_borrowed_hwnd_output( + evidence.declaring_namespace, + evidence.declaring_interface, + "00000000-0000-0000-c000-000000000046", + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + ) + .is_none() + ); + assert!( + borrowed_hwnd_evidence_for_declaration( + evidence.declaring_namespace, + evidence.declaring_interface, + evidence.method_name, + evidence.vtable_index + 1, + ) + .is_some() + ); + } +} diff --git a/tools/dynwinrt-codegen/src/contract_registry/adapters/enumerator.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/enumerator.rs new file mode 100644 index 00000000..8c61dc0d --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/enumerator.rs @@ -0,0 +1,222 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use std::sync::OnceLock; + +use crate::contract_registry::{self, EnumeratorEvidenceSource}; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) enum EnumeratorElementKind { + Interface, + Struct, + Unknown, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) enum EnumeratorDirection { + Out, + InOut, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct EnumeratorContract { + pub selector: &'static contract_registry::ContractSelector, + pub interface_namespace: &'static str, + pub interface_name: &'static str, + pub interface_iid: &'static str, + pub next_vtable_index: usize, + pub element_namespace: &'static str, + pub element_name: &'static str, + pub element_kind: EnumeratorElementKind, + pub element_iid: Option<&'static str>, + pub values_direction: EnumeratorDirection, + pub fetched_direction: EnumeratorDirection, + pub fetched_optional: bool, + pub evidence_source: EnumeratorEvidenceSource, + pub reason: &'static str, + pub citation: &'static str, +} + +impl EnumeratorContract { + pub(crate) fn entry_id(&self) -> String { + crate::contract_registry::exact_method_entry_id( + self.family_id(), + self.interface_namespace, + self.interface_name, + self.interface_iid, + "Next", + self.next_vtable_index, + ) + } + + pub(crate) const fn family_id(&self) -> crate::contract_registry::ExactFamilyId { + crate::contract_registry::ExactFamilyId::EnumeratorException + } + + pub(crate) const fn contract_kind(&self) -> crate::contract_registry::ContractKind { + crate::contract_registry::ContractKind::EnumeratorNext + } + + pub(crate) fn uses_generic_standard(&self) -> bool { + self.evidence_source == EnumeratorEvidenceSource::ComStandard + } +} + +fn output_direction(parameter: &contract_registry::ParameterSelector) -> EnumeratorDirection { + match parameter.direction.as_str() { + "out" => EnumeratorDirection::Out, + "inout" => EnumeratorDirection::InOut, + _ => unreachable!("validated enumerator output direction"), + } +} + +pub(crate) fn contract_for_declaration( + interface_namespace: &str, + interface_name: &str, +) -> Option<&'static EnumeratorContract> { + contracts().iter().find(|contract| { + contract.interface_namespace == interface_namespace + && contract.interface_name == interface_name + }) +} + +pub(crate) fn exact_contract( + interface_namespace: &str, + interface_name: &str, + interface_iid: &str, + next_vtable_index: usize, +) -> Option<&'static EnumeratorContract> { + contract_for_declaration(interface_namespace, interface_name).filter(|contract| { + contract.interface_iid.eq_ignore_ascii_case(interface_iid) + && contract.next_vtable_index == next_vtable_index + }) +} + +pub(crate) fn contracts() -> &'static [EnumeratorContract] { + static CONTRACTS: OnceLock> = OnceLock::new(); + CONTRACTS.get_or_init(|| { + contract_registry::enumerator_contracts() + .expect("embedded enumerator contract registry must validate") + .iter() + .map(|entry| { + let selector = &entry.selector; + let semantics = &entry.contract; + EnumeratorContract { + selector, + interface_namespace: &selector.interface.namespace, + interface_name: &selector.interface.name, + interface_iid: &selector.declaring_iid, + next_vtable_index: selector.absolute_slot, + element_namespace: &semantics.element.namespace, + element_name: &semantics.element.name, + element_kind: match semantics.element.kind { + contract_registry::EnumeratorElementKind::Interface => { + EnumeratorElementKind::Interface + } + contract_registry::EnumeratorElementKind::Struct => { + EnumeratorElementKind::Struct + } + contract_registry::EnumeratorElementKind::Unknown => { + EnumeratorElementKind::Unknown + } + }, + element_iid: semantics.element.iid.as_deref(), + values_direction: output_direction( + &selector.parameters[semantics.values_parameter_index], + ), + fetched_direction: output_direction( + &selector.parameters[semantics.fetched_parameter_index], + ), + fetched_optional: semantics.fetched_optional_for_single, + evidence_source: semantics.evidence_source, + reason: &entry.reason, + citation: entry.microsoft_citation(), + } + }) + .collect() + }) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn exact_lookup_rejects_identity_and_slot_drift() { + assert!( + exact_contract( + "Windows.Win32.System.Com", + "IEnumUnknown", + "00000100-0000-0000-c000-000000000046", + 3 + ) + .is_some() + ); + assert!( + exact_contract( + "Contoso", + "IEnumUnknown", + "00000100-0000-0000-c000-000000000046", + 3 + ) + .is_none() + ); + assert!( + exact_contract( + "Windows.Win32.System.Com", + "IEnumUnknown", + "ffffffff-ffff-ffff-ffff-ffffffffffff", + 3 + ) + .is_none() + ); + assert!( + exact_contract( + "Windows.Win32.System.Com", + "IEnumUnknown", + "00000100-0000-0000-c000-000000000046", + 4 + ) + .is_none() + ); + } + + #[test] + fn declarations_are_unique() { + for (index, contract) in contracts().iter().enumerate() { + assert!( + !contracts()[..index].iter().any(|previous| { + previous.interface_namespace == contract.interface_namespace + && previous.interface_name == contract.interface_name + }), + "{}.{}", + contract.interface_namespace, + contract.interface_name + ); + assert_eq!( + contract.element_iid.is_some(), + contract.element_kind == EnumeratorElementKind::Interface, + "{}.{} element IID", + contract.interface_namespace, + contract.interface_name + ); + } + } + + #[test] + fn generic_standard_next_entries_are_not_exact_exceptions() { + assert_eq!( + contracts() + .iter() + .filter(|contract| contract.uses_generic_standard()) + .count(), + 24 + ); + assert!( + contracts() + .iter() + .filter(|contract| !contract.uses_generic_standard()) + .all(|contract| contract.citation != "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next") + ); + } +} diff --git a/tools/dynwinrt-codegen/src/contract_registry/adapters/mod.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/mod.rs new file mode 100644 index 00000000..8cd1c263 --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/mod.rs @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +//! Raw-metadata compatibility views of the validated, compiled contract registry. + +pub(crate) mod borrowed_handle; +pub(crate) mod enumerator; +pub(crate) mod null_input; +pub(crate) mod parameter_direction; +pub(crate) mod safearray; diff --git a/tools/dynwinrt-codegen/src/com_null_input_registry.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/null_input.rs similarity index 60% rename from tools/dynwinrt-codegen/src/com_null_input_registry.rs rename to tools/dynwinrt-codegen/src/contract_registry/adapters/null_input.rs index 159e83f5..4ab4b542 100644 --- a/tools/dynwinrt-codegen/src/com_null_input_registry.rs +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/null_input.rs @@ -1,8 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +use std::sync::OnceLock; + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub(crate) struct ExactNullInputEvidence { + pub selector: &'static crate::contract_registry::ContractSelector, pub declaring_namespace: &'static str, pub declaring_interface: &'static str, pub declaring_iid: &'static str, @@ -39,37 +42,31 @@ impl ExactNullInputEvidence { } } -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 +pub(crate) fn entries() -> &'static [ExactNullInputEvidence] { + static EVIDENCE: OnceLock> = OnceLock::new(); + EVIDENCE.get_or_init(|| { + crate::contract_registry::null_input_contracts() + .expect("embedded null-input contract registry must validate") + .iter() + .map(|entry| { + let selector = &entry.selector; + ExactNullInputEvidence { + selector, + declaring_namespace: &selector.interface.namespace, + declaring_interface: &selector.interface.name, + declaring_iid: &selector.declaring_iid, + method_name: &selector.method, + vtable_index: selector.absolute_slot, + parameter_count: selector.parameter_count, + parameter_index: entry.contract.parameter_index, + parameter_name: &selector.parameters[entry.contract.parameter_index].name, + source_fingerprint: &selector.source_fingerprint, + reason: &entry.reason, + citation: entry.microsoft_citation(), + } + }) + .collect() + }) } #[cfg(test)] diff --git a/tools/dynwinrt-codegen/src/contract_registry/adapters/parameter_direction.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/parameter_direction.rs new file mode 100644 index 00000000..9dd4f905 --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/parameter_direction.rs @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use std::sync::OnceLock; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct ExactOutParameterEvidence { + pub selector: &'static crate::contract_registry::ContractSelector, + 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 + } +} + +pub(crate) fn entries() -> &'static [ExactOutParameterEvidence] { + static EVIDENCE: OnceLock> = OnceLock::new(); + EVIDENCE.get_or_init(|| { + crate::contract_registry::parameter_direction_contracts() + .expect("embedded parameter-direction contract registry must validate") + .iter() + .map(|entry| { + let selector = &entry.selector; + ExactOutParameterEvidence { + selector, + declaring_namespace: &selector.interface.namespace, + declaring_interface: &selector.interface.name, + declaring_iid: &selector.declaring_iid, + method_name: &selector.method, + vtable_index: selector.absolute_slot, + parameter_count: selector.parameter_count, + parameter_index: entry.contract.parameter_index, + parameter_name: &selector.parameters[entry.contract.parameter_index].name, + source_fingerprint: &selector.source_fingerprint, + reason: &entry.reason, + citation: entry.microsoft_citation(), + } + }) + .collect() + }) +} + +#[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/adapters/safearray.rs b/tools/dynwinrt-codegen/src/contract_registry/adapters/safearray.rs new file mode 100644 index 00000000..97c96cb0 --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/adapters/safearray.rs @@ -0,0 +1,206 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use crate::com_metadata::{RawSafeArrayEvidence, RawSafeArrayOwnership, RawSafeArrayVartype}; +use crate::contract_registry::{self, SafeArrayContract, SafeArrayOwnership, SafeArrayVartype}; +use std::sync::OnceLock; + +pub(crate) fn registered_safe_array_evidence( + namespace: &str, + interface: &str, + interface_iid: &str, + method: &str, + vtable_index: usize, + parameter_index: usize, +) -> Option { + all_safe_array_evidence() + .iter() + .find(|evidence| { + evidence.declaring_namespace == namespace + && evidence.declaring_interface == interface + && evidence.declaring_iid.eq_ignore_ascii_case(interface_iid) + && evidence.method_name == method + && evidence.vtable_index == vtable_index + && evidence.parameter_index == parameter_index + }) + .cloned() +} + +pub(crate) fn safe_array_evidence_for_declaration( + namespace: &str, + interface: &str, + method: &str, + parameter_index: usize, +) -> Option { + all_safe_array_evidence() + .iter() + .find(|evidence| { + evidence.declaring_namespace == namespace + && evidence.declaring_interface == interface + && evidence.method_name == method + && evidence.parameter_index == parameter_index + }) + .cloned() +} + +pub(crate) fn safe_array_output_allows_null(evidence: &RawSafeArrayEvidence) -> bool { + contract_for_evidence(evidence) + .is_some_and(|entry| entry.contract.nullability.allows_null_output()) +} + +pub(crate) fn contract_for_evidence( + evidence: &RawSafeArrayEvidence, +) -> Option<&'static SafeArrayContract> { + contract_registry::safe_array_contracts() + .expect("embedded SAFEARRAY contract registry must validate") + .iter() + .zip(all_safe_array_evidence()) + .find_map(|(entry, registered)| (registered == evidence).then_some(entry)) +} + +pub(crate) fn all_safe_array_evidence() -> &'static [RawSafeArrayEvidence] { + static EVIDENCE: OnceLock> = OnceLock::new(); + EVIDENCE.get_or_init(|| { + contract_registry::safe_array_contracts() + .expect("embedded SAFEARRAY contract registry must validate") + .iter() + .map(|entry| { + let selector = &entry.selector; + RawSafeArrayEvidence { + declaring_namespace: &selector.interface.namespace, + declaring_interface: &selector.interface.name, + declaring_iid: &selector.declaring_iid, + method_name: &selector.method, + vtable_index: selector.absolute_slot, + parameter_index: entry.contract.parameter_index, + parameter_name: &selector.parameters[entry.contract.parameter_index].name, + element_vartype: match entry.contract.element.vartype { + SafeArrayVartype::I4 => RawSafeArrayVartype::I4, + SafeArrayVartype::Ui1 => RawSafeArrayVartype::Ui1, + SafeArrayVartype::Ui4 => RawSafeArrayVartype::Ui4, + SafeArrayVartype::R8 => RawSafeArrayVartype::R8, + SafeArrayVartype::Bstr => RawSafeArrayVartype::Bstr, + SafeArrayVartype::Unknown => RawSafeArrayVartype::Unknown, + SafeArrayVartype::Variant => RawSafeArrayVartype::Variant, + }, + element_iid: entry.contract.element.interface_iid.as_deref(), + ownership: match entry.contract.ownership { + SafeArrayOwnership::BorrowedInput => RawSafeArrayOwnership::BorrowedInput, + SafeArrayOwnership::OwnedOutput => RawSafeArrayOwnership::OwnedOutput, + }, + raw_method_shape: selector.raw_method_shape(), + reason: &entry.reason, + citation: entry.microsoft_citation(), + } + }) + .collect() + }) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn registry_keys_and_evidence_are_exact() { + let mut keys = std::collections::BTreeSet::new(); + assert_eq!(all_safe_array_evidence().len(), 209); + for evidence in all_safe_array_evidence() { + assert!(keys.insert(( + evidence.declaring_namespace, + evidence.declaring_interface, + evidence.declaring_iid, + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + ))); + assert!( + evidence + .citation + .starts_with("https://learn.microsoft.com/") + ); + assert!(!evidence.reason.is_empty()); + assert!(!evidence.raw_method_shape.is_empty()); + assert_eq!( + evidence.element_iid.is_some(), + evidence.element_vartype == RawSafeArrayVartype::Unknown + ); + assert_eq!( + registered_safe_array_evidence( + evidence.declaring_namespace, + evidence.declaring_interface, + evidence.declaring_iid, + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + ) + .as_ref(), + Some(evidence) + ); + } + assert_eq!( + all_safe_array_evidence() + .iter() + .filter(|evidence| safe_array_output_allows_null(evidence)) + .map(|evidence| ( + evidence.declaring_interface, + evidence.method_name, + evidence.vtable_index, + evidence.parameter_index, + )) + .collect::>(), + std::collections::BTreeSet::from([ + ( + "IRawElementProviderFragment", + "GetEmbeddedFragmentRoots", + 6, + 0 + ), + ("IRawElementProviderFragment", "GetRuntimeId", 4, 0), + ("IDragProvider", "GetGrabbedItems", 6, 0), + ("ITextProvider", "GetSelection", 3, 0), + ]) + ); + } + + #[test] + fn documented_vartype_values_match_automation_constants() { + use windows::Win32::System::Variant::{ + VT_BSTR, VT_I4, VT_R8, VT_UI1, VT_UI4, VT_UNKNOWN, VT_VARIANT, + }; + + assert_eq!(RawSafeArrayVartype::I4.value(), VT_I4.0); + assert_eq!(RawSafeArrayVartype::R8.value(), VT_R8.0); + assert_eq!(RawSafeArrayVartype::Bstr.value(), VT_BSTR.0); + assert_eq!(RawSafeArrayVartype::Variant.value(), VT_VARIANT.0); + assert_eq!(RawSafeArrayVartype::Unknown.value(), VT_UNKNOWN.0); + assert_eq!(RawSafeArrayVartype::Ui1.value(), VT_UI1.0); + assert_eq!(RawSafeArrayVartype::Ui4.value(), VT_UI4.0); + } + + #[test] + fn documented_interface_iids_match_windows_rs() { + use windows::Win32::UI::Accessibility::{ + IRawElementProviderFragmentRoot, IRawElementProviderSimple, ITextRangeProvider, + IUIAutomationCondition, + }; + use windows::core::Interface; + + assert_eq!( + ITextRangeProvider::IID, + windows::core::GUID::from_u128(0x5347ad7b_c355_46f8_aff5_909033582f63) + ); + assert_eq!( + IRawElementProviderSimple::IID, + windows::core::GUID::from_u128(0xd6dd68d1_86fd_4332_8666_9abedea2d24c) + ); + assert_eq!( + IRawElementProviderFragmentRoot::IID, + windows::core::GUID::from_u128(0x620ce2a5_ab8f_40a9_86cb_de3c75599b58) + ); + assert_eq!( + IUIAutomationCondition::IID, + windows::core::GUID::from_u128(0x352ffba8_0973_437c_a61f_f64cafd81df9) + ); + } +} diff --git a/tools/dynwinrt-codegen/src/contract_registry/families.rs b/tools/dynwinrt-codegen/src/contract_registry/families.rs new file mode 100644 index 00000000..dba2d319 --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/families.rs @@ -0,0 +1,498 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use serde::Deserialize; + +use super::{ + BTreeSet, ContractKind, ContractSelector, EvidenceCitation, EvidenceContract, + EvidenceSourceKind, ExactFamilyId, exact_method_entry_id, exact_parameter_entry_id, + parse_contract_file, required_nullable, validate_citations, validate_contract_selector, + validate_guid, +}; + +pub(crate) type SafeArrayContract = EvidenceContract; +pub(crate) type NullInputContract = EvidenceContract; +pub(crate) type ParameterDirectionContract = EvidenceContract; +pub(crate) type BorrowedHandleContract = EvidenceContract; +pub(crate) type EnumeratorContract = EvidenceContract; + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct SafeArraySemantics { + pub parameter_index: usize, + pub element: SafeArrayElement, + pub ownership: SafeArrayOwnership, + pub cleanup: SafeArrayCleanup, + pub nullability: SafeArrayNullability, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct SafeArrayElement { + pub vartype: SafeArrayVartype, + #[serde(deserialize_with = "required_nullable")] + pub interface_iid: Option, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum SafeArrayVartype { + #[serde(rename = "VT_I4")] + I4, + #[serde(rename = "VT_UI1")] + Ui1, + #[serde(rename = "VT_UI4")] + Ui4, + #[serde(rename = "VT_R8")] + R8, + #[serde(rename = "VT_BSTR")] + Bstr, + #[serde(rename = "VT_UNKNOWN")] + Unknown, + #[serde(rename = "VT_VARIANT")] + Variant, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "kebab-case")] +pub(crate) enum SafeArrayOwnership { + BorrowedInput, + OwnedOutput, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum SafeArrayCleanup { + #[serde(rename = "none")] + None, + SafeArrayDestroy, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(tag = "kind", deny_unknown_fields, rename_all = "kebab-case")] +pub(crate) enum SafeArrayNullability { + RequiredInput {}, + RequiredOutputCell { pointee: SafeArrayPointee }, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(tag = "kind", deny_unknown_fields, rename_all = "kebab-case")] +pub(crate) enum SafeArrayPointee { + Required {}, + NullableOnSuccess { + reason: String, + evidence: Vec, + }, +} + +impl SafeArrayNullability { + pub(crate) fn allows_null_output(&self) -> bool { + matches!( + self, + Self::RequiredOutputCell { + pointee: SafeArrayPointee::NullableOnSuccess { .. } + } + ) + } +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct NullInputSemantics { + pub parameter_index: usize, + pub value: NativeNull, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "kebab-case")] +pub(crate) enum NativeNull { + NativeNull, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct ParameterDirectionSemantics { + pub parameter_index: usize, + pub direction: OutputDirection, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "lowercase")] +pub(crate) enum OutputDirection { + Out, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct BorrowedHandleSemantics { + pub parameter_index: usize, + pub handle: BorrowedHandle, + pub ownership: BorrowedOwnership, + pub cleanup: NoCleanup, + pub receiving_cell: RequiredCell, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum BorrowedHandle { + #[serde(rename = "Windows.Win32.Foundation.HWND")] + Hwnd, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "lowercase")] +pub(crate) enum BorrowedOwnership { + Borrowed, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "lowercase")] +pub(crate) enum NoCleanup { + None, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "lowercase")] +pub(crate) enum RequiredCell { + Required, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct EnumeratorSemantics { + pub capacity_parameter_index: usize, + pub values_parameter_index: usize, + pub fetched_parameter_index: usize, + pub element: EnumeratorElement, + pub fetched_optional_for_single: bool, + pub hresult: EnumeratorHresult, + pub evidence_source: EnumeratorEvidenceSource, +} + +#[derive(Debug, Clone, Deserialize)] +#[serde(deny_unknown_fields, rename_all = "camelCase")] +pub(crate) struct EnumeratorElement { + pub namespace: String, + pub name: String, + pub kind: EnumeratorElementKind, + #[serde(deserialize_with = "required_nullable")] + pub iid: Option, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "lowercase")] +pub(crate) enum EnumeratorElementKind { + Interface, + Struct, + Unknown, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +pub(crate) enum EnumeratorHresult { + #[serde(rename = "s-ok-s-false")] + SOkSFalse, +} + +#[derive(Debug, Clone, Copy, Deserialize, Eq, PartialEq)] +#[serde(rename_all = "kebab-case")] +pub(crate) enum EnumeratorEvidenceSource { + ComStandard, + ExactRegistry, +} + +pub(super) trait FamilySemantics: Sized { + const KIND: ContractKind; + const FAMILY: ExactFamilyId; + const SHAPE_BASED: bool; + + fn parameter_index(&self) -> Option; + fn validate(&self, entry: &EvidenceContract) -> Result<(), String>; +} + +pub(super) fn load_family( + json: &str, + name: &str, +) -> Result>, String> { + let file = parse_contract_file(json, name)?; + validate_family(&file.contracts)?; + Ok(file.contracts) +} + +pub(super) fn validate_family( + entries: &[EvidenceContract], +) -> Result<(), String> { + let mut ids = BTreeSet::new(); + let mut selectors = BTreeSet::new(); + for entry in entries { + if entry.kind != T::KIND || entry.family_id != T::FAMILY { + return Err(format!( + "Contract '{}' must use the exact {} family and kind", + entry.entry_id, + T::KIND.key() + )); + } + validate_contract_selector( + &entry.entry_id, + &entry.selector, + &entry.evidence, + &entry.validated_metadata, + )?; + let selector = &entry.selector; + if selector.source_shape.is_some() != T::SHAPE_BASED { + return Err(format!( + "Contract '{}' uses an unsupported source fingerprint format", + entry.entry_id + )); + } + if entry.reason.is_empty() + || entry.evidence.len() != 1 + || entry.evidence[0].kind != EvidenceSourceKind::MicrosoftLearn + { + return Err(format!( + "Contract '{}' must retain its reason and single Microsoft citation", + entry.entry_id + )); + } + let expected_id = if let Some(index) = entry.contract.parameter_index() { + let parameter = selector.parameters.get(index).ok_or_else(|| { + format!( + "Contract '{}' parameter index is outside its selector", + entry.entry_id + ) + })?; + exact_parameter_entry_id( + entry.family_id, + &selector.interface.namespace, + &selector.interface.name, + &selector.interface.iid, + &selector.method, + selector.absolute_slot, + index, + ¶meter.name, + ) + } else { + exact_method_entry_id( + entry.family_id, + &selector.interface.namespace, + &selector.interface.name, + &selector.interface.iid, + &selector.method, + selector.absolute_slot, + ) + }; + if entry.entry_id != expected_id { + return Err(format!( + "Contract registry entry ID '{}' does not match its exact selector; expected '{expected_id}'", + entry.entry_id + )); + } + if !ids.insert(&entry.entry_id) { + return Err(format!( + "Duplicate Classic COM contract registry ID '{}'", + entry.entry_id + )); + } + if !selectors.insert(( + &selector.interface.namespace, + &selector.interface.name, + selector.interface.iid.to_ascii_lowercase(), + &selector.method, + selector.absolute_slot, + entry.contract.parameter_index(), + )) { + return Err(format!( + "Conflicting contract selectors for '{}'", + entry.entry_id + )); + } + entry.contract.validate(entry)?; + } + Ok(()) +} + +fn unsupported(entry: &EvidenceContract) -> String { + format!( + "Contract '{}' uses unsupported {} semantics", + entry.entry_id, + entry.kind.key() + ) +} + +fn ordinary_hresult(selector: &ContractSelector) -> bool { + selector.raw_method_shape().ends_with( + ")->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:plain_hresult:not_enumerator_next", + ) +} + +impl FamilySemantics for SafeArraySemantics { + const KIND: ContractKind = ContractKind::Safearray; + const FAMILY: ExactFamilyId = ExactFamilyId::SafeArray; + const SHAPE_BASED: bool = true; + + fn parameter_index(&self) -> Option { + Some(self.parameter_index) + } + + fn validate(&self, entry: &SafeArrayContract) -> Result<(), String> { + let parameter = &entry.selector.parameters[self.parameter_index]; + if parameter.native_type != "Windows.Win32.System.Com.SAFEARRAY" + || parameter.optional + || parameter.constness != "mutable" + || !ordinary_hresult(&entry.selector) + || self.element.interface_iid.is_some() + != (self.element.vartype == SafeArrayVartype::Unknown) + { + return Err(unsupported(entry)); + } + if let Some(iid) = &self.element.interface_iid { + validate_guid(iid, &entry.entry_id)?; + } + match (&self.ownership, &self.cleanup, &self.nullability) { + ( + SafeArrayOwnership::BorrowedInput, + SafeArrayCleanup::None, + SafeArrayNullability::RequiredInput {}, + ) if parameter.direction == "in" && parameter.pointer_depth == 1 => {} + ( + SafeArrayOwnership::OwnedOutput, + SafeArrayCleanup::SafeArrayDestroy, + SafeArrayNullability::RequiredOutputCell { pointee }, + ) if parameter.direction == "out" && parameter.pointer_depth == 2 => { + if let SafeArrayPointee::NullableOnSuccess { reason, evidence } = pointee { + if reason.is_empty() { + return Err(format!( + "Contract '{}' has no nullable-pointee reason", + entry.entry_id + )); + } + validate_citations(&entry.entry_id, evidence)?; + } + } + _ => return Err(unsupported(entry)), + } + Ok(()) + } +} + +impl FamilySemantics for NullInputSemantics { + const KIND: ContractKind = ContractKind::NullInput; + const FAMILY: ExactFamilyId = ExactFamilyId::ReservedNullInput; + const SHAPE_BASED: bool = false; + + fn parameter_index(&self) -> Option { + Some(self.parameter_index) + } + + fn validate(&self, entry: &NullInputContract) -> Result<(), String> { + let parameter = &entry.selector.parameters[self.parameter_index]; + if self.value != NativeNull::NativeNull + || parameter.direction != "in" + || parameter.pointer_depth == 0 + || parameter.native_type != "void" + { + return Err(unsupported(entry)); + } + Ok(()) + } +} + +impl FamilySemantics for ParameterDirectionSemantics { + const KIND: ContractKind = ContractKind::ParameterDirection; + const FAMILY: ExactFamilyId = ExactFamilyId::ParameterDirection; + const SHAPE_BASED: bool = false; + + fn parameter_index(&self) -> Option { + Some(self.parameter_index) + } + + fn validate(&self, entry: &ParameterDirectionContract) -> Result<(), String> { + let parameter = &entry.selector.parameters[self.parameter_index]; + if self.direction != OutputDirection::Out + || parameter.direction != "inout" + || parameter.pointer_depth == 0 + { + return Err(unsupported(entry)); + } + Ok(()) + } +} + +impl FamilySemantics for BorrowedHandleSemantics { + const KIND: ContractKind = ContractKind::BorrowedHandle; + const FAMILY: ExactFamilyId = ExactFamilyId::BorrowedHwndOutput; + const SHAPE_BASED: bool = true; + + fn parameter_index(&self) -> Option { + Some(self.parameter_index) + } + + fn validate(&self, entry: &BorrowedHandleContract) -> Result<(), String> { + let parameter = &entry.selector.parameters[self.parameter_index]; + if self.handle != BorrowedHandle::Hwnd + || self.ownership != BorrowedOwnership::Borrowed + || self.cleanup != NoCleanup::None + || self.receiving_cell != RequiredCell::Required + || parameter.native_type != "Windows.Win32.Foundation.HWND" + || parameter.direction != "out" + || parameter.pointer_depth != 1 + || parameter.optional + || parameter.const_attribute + || parameter.constness != "mutable" + || !ordinary_hresult(&entry.selector) + { + return Err(unsupported(entry)); + } + Ok(()) + } +} + +impl FamilySemantics for EnumeratorSemantics { + const KIND: ContractKind = ContractKind::EnumeratorNext; + const FAMILY: ExactFamilyId = ExactFamilyId::EnumeratorException; + const SHAPE_BASED: bool = true; + + fn parameter_index(&self) -> Option { + None + } + + fn validate(&self, entry: &EnumeratorContract) -> Result<(), String> { + let selector = &entry.selector; + if selector.method != "Next" + || selector.parameter_count != 3 + || (self.capacity_parameter_index, self.values_parameter_index, self.fetched_parameter_index) != (0, 1, 2) + || self.hresult != EnumeratorHresult::SOkSFalse + || !selector.raw_method_shape().ends_with( + ")->Windows.Win32.Foundation.HRESULT[Struct]/ptr0/Unspecified/underlying=i32/ptr0/Unspecified:semantic_hresult:enumerator_next", + ) + || self.element.namespace.is_empty() + || self.element.name.is_empty() + || self.element.iid.is_some() != (self.element.kind == EnumeratorElementKind::Interface) + { + return Err(unsupported(entry)); + } + if let Some(iid) = &self.element.iid { + validate_guid(iid, &entry.entry_id)?; + } + let [capacity, values, fetched] = selector.parameters.as_slice() else { + return Err(unsupported(entry)); + }; + if capacity.native_type != "u32" + || capacity.pointer_depth != 0 + || capacity.direction != "in" + || capacity.optional + || capacity.const_attribute + || values.native_type != format!("{}.{}", self.element.namespace, self.element.name) + || values.pointer_depth != 1 + || !matches!(values.direction.as_str(), "out" | "inout") + || values.optional + || values.const_attribute + || values.constness != "mutable" + || fetched.native_type != "u32" + || fetched.pointer_depth != 1 + || !matches!(fetched.direction.as_str(), "out" | "inout") + || fetched.optional != self.fetched_optional_for_single + || fetched.const_attribute + || fetched.constness != "mutable" + { + return Err(unsupported(entry)); + } + Ok(()) + } +} diff --git a/tools/dynwinrt-codegen/src/contract_registry/migration_tests.rs b/tools/dynwinrt-codegen/src/contract_registry/migration_tests.rs new file mode 100644 index 00000000..40701f5a --- /dev/null +++ b/tools/dynwinrt-codegen/src/contract_registry/migration_tests.rs @@ -0,0 +1,588 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +use serde_json::{Value, json}; + +use super::*; + +const MIGRATED_FILES: [(ContractKind, &str); 5] = [ + (ContractKind::Safearray, SAFEARRAYS_JSON), + (ContractKind::NullInput, NULL_INPUTS_JSON), + (ContractKind::ParameterDirection, PARAMETER_DIRECTIONS_JSON), + (ContractKind::BorrowedHandle, BORROWED_HANDLES_JSON), + (ContractKind::EnumeratorNext, ENUMERATORS_JSON), +]; + +fn validate(kind: ContractKind, document: Value) -> Result<(), String> { + let json = serde_json::to_string(&document).unwrap(); + match kind { + ContractKind::Safearray => { + families::load_family::(&json, "test").map(|_| ()) + } + ContractKind::NullInput => { + families::load_family::(&json, "test").map(|_| ()) + } + ContractKind::ParameterDirection => { + families::load_family::(&json, "test").map(|_| ()) + } + ContractKind::BorrowedHandle => { + families::load_family::(&json, "test").map(|_| ()) + } + ContractKind::EnumeratorNext => { + families::load_family::(&json, "test").map(|_| ()) + } + _ => panic!("test only covers the five migrated families"), + } +} + +fn fixture(kind: ContractKind, matches: impl Fn(&Value) -> bool) -> Value { + let source = MIGRATED_FILES + .iter() + .find(|(candidate, _)| *candidate == kind) + .unwrap() + .1; + let document: Value = serde_json::from_str(source).unwrap(); + let entry = document["contracts"] + .as_array() + .unwrap() + .iter() + .find(|entry| matches(entry)) + .unwrap(); + json!({"schemaVersion":2, "contracts":[entry]}) +} + +fn rejects(kind: ContractKind, original: &Value, path: &str, replacement: Value) { + let mut changed = original.clone(); + *changed + .pointer_mut(path) + .unwrap_or_else(|| panic!("missing test pointer {path}")) = replacement; + assert!( + validate(kind, changed).is_err(), + "{} accepted drift at {path}", + kind.key() + ); +} + +#[test] +fn five_families_preserve_record_counts_and_evidence_tiers() { + let registry = load_registry().unwrap(); + assert_eq!(registry.safe_arrays.len(), 209); + assert_eq!(registry.null_inputs.len(), 2); + assert_eq!(registry.parameter_directions.len(), 3); + assert_eq!(registry.borrowed_handles.len(), 22); + assert_eq!(registry.enumerators.len(), 97); + assert_eq!(registry.exact_entry_ids().len(), 465); + assert_eq!(statically_declared_exact_entry_ids().unwrap().len(), 532); + let generic = registry + .enumerators + .iter() + .filter(|entry| entry.contract.evidence_source == EnumeratorEvidenceSource::ComStandard) + .collect::>(); + assert_eq!(generic.len(), 24); + assert!( + generic + .iter() + .all(|entry| !registry.exact_entry_ids().contains(&entry.entry_id)) + ); + assert!(generic.iter().all(|entry| entry.microsoft_citation() + == "https://learn.microsoft.com/windows/win32/api/unknwn/nf-unknwn-ienumunknown-next")); + assert_eq!( + registry + .safe_arrays + .iter() + .filter(|entry| entry.contract.ownership == SafeArrayOwnership::BorrowedInput) + .count(), + 69 + ); + assert_eq!( + registry + .safe_arrays + .iter() + .filter(|entry| entry.contract.ownership == SafeArrayOwnership::OwnedOutput) + .count(), + 140 + ); + for (vartype, count) in [ + (SafeArrayVartype::I4, 25), + (SafeArrayVartype::Ui1, 25), + (SafeArrayVartype::Ui4, 3), + (SafeArrayVartype::R8, 3), + (SafeArrayVartype::Bstr, 40), + (SafeArrayVartype::Unknown, 28), + (SafeArrayVartype::Variant, 85), + ] { + assert_eq!( + registry + .safe_arrays + .iter() + .filter(|entry| entry.contract.element.vartype == vartype) + .count(), + count + ); + } +} + +#[test] +fn schema_discriminates_the_compiled_kinds_families_and_payloads() { + let schema: Value = serde_json::from_str(SCHEMA_JSON).unwrap(); + let contract = &schema["$defs"]["contract"]; + let variants = contract["oneOf"].as_array().unwrap(); + assert_eq!(variants.len(), COMPILED_FILE_IDENTITIES.len()); + assert_eq!(contract["additionalProperties"], false); + for (_, kind, family) in COMPILED_FILE_IDENTITIES { + let variant = variants + .iter() + .find(|variant| variant["properties"]["kind"]["const"] == kind.key()) + .unwrap(); + assert_eq!(variant["properties"]["familyId"]["const"], family.id()); + let definition = variant["properties"]["contract"]["$ref"] + .as_str() + .unwrap() + .strip_prefix("#/") + .unwrap(); + let definition = schema.pointer(&format!("/{definition}")).unwrap(); + assert_eq!(definition["additionalProperties"], false); + } +} + +#[test] +fn every_family_rejects_unknown_missing_and_misclassified_fields() { + for (kind, _) in MIGRATED_FILES { + let original = fixture(kind, |_| true); + validate(kind, original.clone()).unwrap(); + for path in [ + "", + "/contracts/0", + "/contracts/0/selector", + "/contracts/0/selector/interface", + "/contracts/0/selector/parameters/0", + "/contracts/0/contract", + "/contracts/0/evidence/0", + "/contracts/0/validatedMetadata/0", + ] { + let mut changed = original.clone(); + changed + .pointer_mut(path) + .unwrap() + .as_object_mut() + .unwrap() + .insert("rendererCode".into(), "arbitrary".into()); + assert!( + validate(kind, changed) + .unwrap_err() + .contains("unknown field"), + "{} {path}", + kind.key() + ); + } + for required in [ + "entryId", + "familyId", + "kind", + "reason", + "selector", + "contract", + "evidence", + "validatedMetadata", + ] { + let mut changed = original.clone(); + changed["contracts"][0] + .as_object_mut() + .unwrap() + .remove(required); + assert!( + validate(kind, changed).is_err(), + "{} missing {required}", + kind.key() + ); + } + rejects(kind, &original, "/schemaVersion", json!(3)); + rejects(kind, &original, "/contracts/0/kind", json!("renderer-code")); + rejects(kind, &original, "/contracts/0/kind", json!("ownership")); + rejects( + kind, + &original, + "/contracts/0/familyId", + json!("com.ownership.v1"), + ); + rejects( + kind, + &original, + "/contracts/0/selector/parameters/0/direction", + json!("inferred"), + ); + rejects( + kind, + &original, + "/contracts/0/selector/parameters/0/constness", + json!("guessed"), + ); + rejects( + kind, + &original, + "/contracts/0/selector/parameters/0/index", + json!(99), + ); + rejects( + kind, + &original, + "/contracts/0/selector/declaringIid", + json!("not-a-guid"), + ); + rejects( + kind, + &original, + "/contracts/0/selector/parameterCount", + json!(999), + ); + rejects(kind, &original, "/contracts/0/evidence", json!([])); + rejects( + kind, + &original, + "/contracts/0/evidence/0/url", + json!("https://example.com/not-authoritative"), + ); + rejects(kind, &original, "/contracts/0/validatedMetadata", json!([])); + } +} + +#[test] +fn every_family_rejects_duplicate_ids_and_parameter_selectors() { + for (kind, _) in MIGRATED_FILES { + let mut document = fixture(kind, |_| true); + let second = document["contracts"][0].clone(); + document["contracts"].as_array_mut().unwrap().push(second); + assert!( + validate(kind, document.clone()) + .unwrap_err() + .contains("Duplicate") + ); + if kind == ContractKind::EnumeratorNext { + continue; + } + let entry = &mut document["contracts"][1]; + let index = entry["contract"]["parameterIndex"].as_u64().unwrap() as usize; + entry["selector"]["parameters"][index]["name"] = json!("differentName"); + let selector: ContractSelector = serde_json::from_value(entry["selector"].clone()).unwrap(); + let family: ExactFamilyId = serde_json::from_value(entry["familyId"].clone()).unwrap(); + entry["entryId"] = json!(exact_parameter_entry_id( + family, + &selector.interface.namespace, + &selector.interface.name, + &selector.interface.iid, + &selector.method, + selector.absolute_slot, + index, + "differentName", + )); + assert!( + validate(kind, document) + .unwrap_err() + .contains("Conflicting contract selectors") + ); + } +} + +#[test] +fn file_hashes_and_compiled_manifest_allowlist_are_mandatory() { + for index in 0..COMPILED_FILES.len() { + let mut sources = COMPILED_FILES; + let changed = format!("{} ", sources[index]); + sources[index] = &changed; + assert!( + validate_manifest(MANIFEST_JSON, &sources) + .unwrap_err() + .contains("hash mismatch") + ); + let mut manifest: Value = serde_json::from_str(MANIFEST_JSON).unwrap(); + manifest["files"][index]["path"] = json!("runtime-override.json"); + assert!( + validate_manifest(&manifest.to_string(), &COMPILED_FILES) + .unwrap_err() + .contains("compiled data files") + ); + let mut manifest: Value = serde_json::from_str(MANIFEST_JSON).unwrap(); + manifest["files"][index]["sha256"] = json!("bad"); + assert!( + validate_manifest(&manifest.to_string(), &COMPILED_FILES) + .unwrap_err() + .contains("SHA-256") + ); + } + let mut manifest: Value = serde_json::from_str(MANIFEST_JSON).unwrap(); + manifest["files"].as_array_mut().unwrap().pop(); + assert!(validate_manifest(&manifest.to_string(), &COMPILED_FILES).is_err()); + let mut manifest: Value = serde_json::from_str(MANIFEST_JSON).unwrap(); + manifest["runtimeOverrides"] = json!(true); + assert!( + validate_manifest(&manifest.to_string(), &COMPILED_FILES) + .unwrap_err() + .contains("unknown field") + ); +} + +#[test] +fn source_fingerprints_and_metadata_provenance_cannot_be_inferred() { + for (kind, _) in MIGRATED_FILES { + let original = fixture(kind, |_| true); + rejects( + kind, + &original, + "/contracts/0/selector/sourceFingerprint", + json!("bad"), + ); + rejects( + kind, + &original, + "/contracts/0/validatedMetadata/0/sha256", + json!("bad"), + ); + rejects( + kind, + &original, + "/contracts/0/validatedMetadata/0/sha256", + json!("0".repeat(64)), + ); + rejects( + kind, + &original, + "/contracts/0/validatedMetadata/0/version", + json!("unreviewed"), + ); + let mut changed = original.clone(); + changed["contracts"][0]["selector"]["sourceShape"] = Value::Null; + assert!(validate(kind, changed).is_err()); + if original["contracts"][0]["selector"] + .get("sourceShape") + .is_some() + { + rejects( + kind, + &original, + "/contracts/0/selector/sourceFingerprint", + json!("0".repeat(64)), + ); + rejects( + kind, + &original, + "/contracts/0/selector/sourceShape/format", + json!("current-input"), + ); + rejects( + kind, + &original, + "/contracts/0/selector/sourceShape/value", + json!("drift"), + ); + let mut changed = original; + changed["contracts"][0]["selector"] + .as_object_mut() + .unwrap() + .remove("sourceShape"); + assert!(validate(kind, changed).is_err()); + } + } +} + +#[test] +fn safearray_nullability_never_weakens_the_receiving_cell() { + let nullable = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["nullability"]["pointee"]["kind"] == "nullable-on-success" + }); + let index = nullable["contracts"][0]["contract"]["parameterIndex"] + .as_u64() + .unwrap(); + for (path, value) in [ + ( + format!("/contracts/0/selector/parameters/{index}/optional"), + json!(true), + ), + ( + format!("/contracts/0/selector/parameters/{index}/pointerDepth"), + json!(1), + ), + ( + "/contracts/0/contract/nullability/kind".into(), + json!("optional-output-cell"), + ), + ( + "/contracts/0/contract/nullability/pointee/evidence".into(), + json!([]), + ), + ( + "/contracts/0/contract/nullability/pointee/reason".into(), + json!(""), + ), + ("/contracts/0/contract/cleanup".into(), json!("none")), + ( + "/contracts/0/contract/cleanup".into(), + json!("ArbitraryFree"), + ), + ] { + rejects(ContractKind::Safearray, &nullable, &path, value); + } + let input = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["ownership"] == "borrowed-input" + }); + rejects( + ContractKind::Safearray, + &input, + "/contracts/0/contract/nullability", + nullable["contracts"][0]["contract"]["nullability"].clone(), + ); + let scalar = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["element"]["vartype"] != "VT_UNKNOWN" + }); + rejects( + ContractKind::Safearray, + &scalar, + "/contracts/0/contract/element/interfaceIid", + json!("00000000-0000-0000-c000-000000000046"), + ); + rejects( + ContractKind::Safearray, + &scalar, + "/contracts/0/contract/element/vartype", + json!("VT_DISPATCH"), + ); + let interface = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["element"]["vartype"] == "VT_UNKNOWN" + }); + rejects( + ContractKind::Safearray, + &interface, + "/contracts/0/contract/element/interfaceIid", + Value::Null, + ); + let mut missing_iid = scalar; + missing_iid["contracts"][0]["contract"]["element"] + .as_object_mut() + .unwrap() + .remove("interfaceIid"); + assert!(validate(ContractKind::Safearray, missing_iid).is_err()); + + let entries = adapters::safearray::all_safe_array_evidence(); + let nullable = entries + .iter() + .filter(|evidence| adapters::safearray::safe_array_output_allows_null(evidence)) + .collect::>(); + assert_eq!(nullable.len(), 4); + for evidence in nullable { + let mut changed = evidence.clone(); + changed.citation = "https://learn.microsoft.com/drift"; + assert!(!adapters::safearray::safe_array_output_allows_null( + &changed + )); + let mut changed = evidence.clone(); + changed.raw_method_shape = "drift"; + assert!(!adapters::safearray::safe_array_output_allows_null( + &changed + )); + } +} + +#[test] +fn safearray_unit_nullability_variants_reject_unknown_fields() { + let mut input = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["ownership"] == "borrowed-input" + }); + input["contracts"][0]["contract"]["nullability"]["pointee"] = + json!({"kind":"nullable-on-success"}); + assert!( + validate(ContractKind::Safearray, input) + .unwrap_err() + .contains("unknown field") + ); + let mut output = fixture(ContractKind::Safearray, |entry| { + entry["contract"]["nullability"]["pointee"]["kind"] == "required" + }); + output["contracts"][0]["contract"]["nullability"]["pointee"]["nullable"] = json!(true); + assert!( + validate(ContractKind::Safearray, output) + .unwrap_err() + .contains("unknown field") + ); +} + +#[test] +fn null_direction_handle_and_enumerator_contracts_remain_closed() { + for (kind, path, value) in [ + ( + ContractKind::NullInput, + "/contracts/0/contract/value", + json!("zeroed-buffer"), + ), + ( + ContractKind::NullInput, + "/contracts/0/selector/parameters/1/nativeType", + json!("u8"), + ), + ( + ContractKind::NullInput, + "/contracts/0/selector/parameters/1/direction", + json!("out"), + ), + ( + ContractKind::ParameterDirection, + "/contracts/0/contract/direction", + json!("inout"), + ), + ( + ContractKind::ParameterDirection, + "/contracts/0/selector/parameters/3/direction", + json!("out"), + ), + ( + ContractKind::BorrowedHandle, + "/contracts/0/contract/handle", + json!("Windows.Win32.Foundation.HBITMAP"), + ), + ( + ContractKind::BorrowedHandle, + "/contracts/0/contract/cleanup", + json!("DestroyWindow"), + ), + ( + ContractKind::BorrowedHandle, + "/contracts/0/contract/receivingCell", + json!("optional"), + ), + ( + ContractKind::BorrowedHandle, + "/contracts/0/selector/parameters/0/optional", + json!(true), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/contract/capacityParameterIndex", + json!(1), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/contract/fetchedOptionalForSingle", + json!(false), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/contract/hresult", + json!("discard-s-false"), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/contract/evidenceSource", + json!("metadata"), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/selector/parameters/2/direction", + json!("in"), + ), + ( + ContractKind::EnumeratorNext, + "/contracts/0/selector/parameters/1/pointerDepth", + json!(2), + ), + ] { + rejects(kind, &fixture(kind, |_| true), path, value); + } +} diff --git a/tools/dynwinrt-codegen/src/lib.rs b/tools/dynwinrt-codegen/src/lib.rs index 175603ba..0c59386c 100644 --- a/tools/dynwinrt-codegen/src/lib.rs +++ b/tools/dynwinrt-codegen/src/lib.rs @@ -3,12 +3,7 @@ pub mod codegen; mod com_activation_registry; -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; pub mod types;