From f7bf24757220bb9f1720f0f63525883b93cefb84 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 12 May 2022 15:04:46 -0700 Subject: [PATCH 01/12] Update ci.yml to support workflow_dispatch --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c02b27f235..57c2d5d2f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: [ main, v* ] pull_request: branches: [ main, v* ] + workflow_dispatch: jobs: windows-x64: From a4001b0bc5f494b7d4112f980275cee8d32c5cac Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 12 May 2022 15:10:54 -0700 Subject: [PATCH 02/12] Disable AD0001 --- Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 3cc82e430f..3fe7a9e462 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -12,7 +12,7 @@ - $(NoWarn);NU5105 + $(NoWarn);AD0001;NU5105 From f117b9f94150cbae0760a1a55334f80ff58d7aa6 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 07:41:34 -0700 Subject: [PATCH 03/12] Updating version to 10.0.20348.2 --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 0c65c7bbb8..851f9781cf 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -43,7 +43,7 @@ $(BaseArtifactsPath)pkg/$(Configuration)/ TerraFX.Interop.Windows TerraFX.Interop - 10.0.20348.1 + 10.0.20348.2 rc3 pr From f6f2cf92a80b31cb89ea60f03b4d885037c94271 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 08:06:29 -0700 Subject: [PATCH 04/12] Backporting various infrastructure fixes/changes --- .github/workflows/ci.yml | 44 +--- Directory.Build.props | 4 +- Directory.Build.targets | 11 +- Directory.Packages.props | 21 ++ TerraFX.Interop.Windows.NonDesktop.slnf | 10 - TerraFX.Interop.Windows.sln | 17 +- build.sh | 11 - pack.sh | 11 - restore.sh | 11 - .../DirectX/TerraFX.Samples.DirectX.csproj | 2 +- scripts/build.ps1 | 10 +- scripts/build.sh | 243 ------------------ scripts/cibuild.sh | 11 - sources/Directory.Build.props | 2 +- test.sh | 11 - tests/Directory.Build.props | 6 +- tests/Directory.Build.targets | 5 + 17 files changed, 56 insertions(+), 374 deletions(-) create mode 100644 Directory.Packages.props delete mode 100644 TerraFX.Interop.Windows.NonDesktop.slnf delete mode 100755 build.sh delete mode 100755 pack.sh delete mode 100755 restore.sh delete mode 100755 scripts/build.sh delete mode 100755 scripts/cibuild.sh delete mode 100755 test.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57c2d5d2f5..7aa77a4ccb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,46 +28,6 @@ jobs: ./artifacts/pkg/**/* ./artifacts/tst/**/* if-no-files-found: error - linux-x64: - runs-on: ${{ matrix.os }}-latest - strategy: - matrix: - architecture: [ x64 ] - configuration: [ debug, release ] - os: [ ubuntu ] - steps: - - uses: actions/checkout@v2 - - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} - shell: bash - - uses: actions/upload-artifact@v2 - with: - name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} - path: | - ./artifacts/bin/**/* - ./artifacts/log/**/* - ./artifacts/pkg/**/* - ./artifacts/tst/**/* - if-no-files-found: error - macos-x64: - runs-on: ${{ matrix.os }}-latest - strategy: - matrix: - architecture: [ x64 ] - configuration: [ debug, release ] - os: [ macos ] - steps: - - uses: actions/checkout@v2 - - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} - shell: bash - - uses: actions/upload-artifact@v2 - with: - name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} - path: | - ./artifacts/bin/**/* - ./artifacts/log/**/* - ./artifacts/pkg/**/* - ./artifacts/tst/**/* - if-no-files-found: error build-nuget-preview: runs-on: windows-2022 steps: @@ -107,7 +67,7 @@ jobs: publish-nightlies-azure: runs-on: ubuntu-latest if: ${{ github.event_name == 'push' }} - needs: [ windows-x64, linux-x64, macos-x64, build-nuget-preview, build-nuget-release ] + needs: [ windows-x64, build-nuget-preview, build-nuget-release ] steps: - uses: actions/download-artifact@v2 with: @@ -123,7 +83,7 @@ jobs: publish-nightlies-github: runs-on: ubuntu-latest if: ${{ github.event_name == 'push' }} - needs: [ windows-x64, linux-x64, macos-x64, build-nuget-preview, build-nuget-release ] + needs: [ windows-x64, build-nuget-preview, build-nuget-release ] steps: - uses: actions/download-artifact@v2 with: diff --git a/Directory.Build.props b/Directory.Build.props index 851f9781cf..3959f5d1f0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,9 +20,11 @@ true + preview $(BaseArtifactsPath)obj/$(BaseArtifactsPathSuffix)/ embedded false + true enable true true @@ -44,7 +46,7 @@ TerraFX.Interop.Windows TerraFX.Interop 10.0.20348.2 - rc3 + rc1 pr diff --git a/Directory.Build.targets b/Directory.Build.targets index 3fe7a9e462..dd8877debd 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -12,7 +12,7 @@ - $(NoWarn);AD0001;NU5105 + $(NoWarn);AD0001;NU1507;NU5105 @@ -31,12 +31,11 @@ true - + - - - - + + <_Parameter1>windows7.0 + diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000000..4d465d21cf --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + diff --git a/TerraFX.Interop.Windows.NonDesktop.slnf b/TerraFX.Interop.Windows.NonDesktop.slnf deleted file mode 100644 index 4a10745d52..0000000000 --- a/TerraFX.Interop.Windows.NonDesktop.slnf +++ /dev/null @@ -1,10 +0,0 @@ -{ - "solution": { - "path": "TerraFX.Interop.Windows.sln", - "projects": [ - "samples\\DirectX\\TerraFX.Samples.DirectX.csproj", - "sources\\Interop\\Windows\\TerraFX.Interop.Windows.csproj", - "tests\\Interop\\Windows\\TerraFX.Interop.Windows.UnitTests.csproj" - ] - } -} \ No newline at end of file diff --git a/TerraFX.Interop.Windows.sln b/TerraFX.Interop.Windows.sln index a68c09feed..47bd43ef36 100644 --- a/TerraFX.Interop.Windows.sln +++ b/TerraFX.Interop.Windows.sln @@ -8,24 +8,21 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".root", ".root", "{2F337CB6 .gitattributes = .gitattributes .gitignore = .gitignore build.cmd = build.cmd - build.sh = build.sh Directory.Build.props = Directory.Build.props Directory.Build.targets = Directory.Build.targets + Directory.Packages.props = Directory.Packages.props LICENSE.md = LICENSE.md pack.cmd = pack.cmd - pack.sh = pack.sh restore.cmd = restore.cmd - restore.sh = restore.sh TerraFX.snk = TerraFX.snk test.cmd = test.cmd - test.sh = test.sh THIRD-PARTY-NOTICES.md = THIRD-PARTY-NOTICES.md EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{8793898A-6542-4606-AA82-AB14151D2D20}" ProjectSection(SolutionItems) = preProject - docs\CODE_OF_CONDUCT.md = docs\CODE_OF_CONDUCT.md docs\CODEOWNERS = docs\CODEOWNERS + docs\CODE_OF_CONDUCT.md = docs\CODE_OF_CONDUCT.md docs\CONTRIBUTING.md = docs\CONTRIBUTING.md docs\ISSUE_TEMPLATE.md = docs\ISSUE_TEMPLATE.md docs\PULL_REQUEST_TEMPLATE.md = docs\PULL_REQUEST_TEMPLATE.md @@ -453,9 +450,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{48E1F49D-7103-4DE6-9F69-915183B85095}" ProjectSection(SolutionItems) = preProject scripts\build.ps1 = scripts\build.ps1 - scripts\build.sh = scripts\build.sh scripts\cibuild.cmd = scripts\cibuild.cmd - scripts\cibuild.sh = scripts\cibuild.sh EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Xinput", "Xinput", "{F54C5855-9C8D-4EDF-BFC8-41F2E46DBE3C}" @@ -2998,6 +2993,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gdiplustypes", "gdiplustype generation\Gdiplus\um\gdiplustypes\um-gdiplustypes.h = generation\Gdiplus\um\gdiplustypes\um-gdiplustypes.h EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{8891C297-49D7-495C-B66E-2A77C3D5F50D}" + ProjectSection(SolutionItems) = preProject + .github\ISSUE_TEMPLATE\bug.md = .github\ISSUE_TEMPLATE\bug.md + .github\ISSUE_TEMPLATE\proposal.md = .github\ISSUE_TEMPLATE\proposal.md + .github\ISSUE_TEMPLATE\regression.md = .github\ISSUE_TEMPLATE\regression.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -3459,6 +3461,7 @@ Global {55FB5A64-9A0B-4294-87F0-D8F81BE30692} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} {B281558F-E194-4AC3-BE1B-C7C2A748947E} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} {9C6E88A3-997E-4F11-AF25-18A54B110404} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} + {8891C297-49D7-495C-B66E-2A77C3D5F50D} = {3BDDFFAD-B31F-4930-B557-E8486D23C67A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461} diff --git a/build.sh b/build.sh deleted file mode 100755 index 1beb45f436..0000000000 --- a/build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -. "$ScriptRoot/scripts/build.sh" --build "$@" diff --git a/pack.sh b/pack.sh deleted file mode 100755 index 0a2f1b2e35..0000000000 --- a/pack.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -. "$ScriptRoot/scripts/build.sh" --pack "$@" diff --git a/restore.sh b/restore.sh deleted file mode 100755 index 6e95bb42f3..0000000000 --- a/restore.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -. "$ScriptRoot/scripts/build.sh" --restore "$@" diff --git a/samples/DirectX/TerraFX.Samples.DirectX.csproj b/samples/DirectX/TerraFX.Samples.DirectX.csproj index ff4c7291c1..a935649084 100644 --- a/samples/DirectX/TerraFX.Samples.DirectX.csproj +++ b/samples/DirectX/TerraFX.Samples.DirectX.csproj @@ -3,7 +3,7 @@ - net6.0-windows + net6.0 diff --git a/scripts/build.ps1 b/scripts/build.ps1 index eff3c5ca44..b995678be0 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -20,7 +20,7 @@ $ErrorActionPreference = "Stop" function Build() { $logFile = Join-Path -Path $LogDir -ChildPath "$configuration\build.binlog" - & dotnet build -c "$configuration" --no-restore -v "$verbosity" /bl:"$logFile" /err "$properties" "$solution" + & dotnet build -c "$configuration" --no-restore -v "$verbosity" /p:Platform="Any CPU" /bl:"$logFile" /err "$properties" "$solution" if ($LastExitCode -ne 0) { throw "'Build' failed for '$solution'" @@ -68,7 +68,7 @@ function Help() { function Pack() { $logFile = Join-Path -Path $LogDir -ChildPath "$configuration\pack.binlog" - & dotnet pack -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "$properties" "$solution" + & dotnet pack -c "$configuration" --no-build --no-restore -v "$verbosity" /p:Platform="Any CPU" /bl:"$logFile" /err "$properties" "$solution" if ($LastExitCode -ne 0) { throw "'Pack' failed for '$solution'" @@ -77,7 +77,7 @@ function Pack() { function Restore() { $logFile = Join-Path -Path $LogDir -ChildPath "$configuration\restore.binlog" - & dotnet restore -v "$verbosity" /bl:"$logFile" /err "$properties" "$solution" + & dotnet restore -v "$verbosity" /p:Platform="Any CPU" /bl:"$logFile" /err "$properties" "$solution" if ($LastExitCode -ne 0) { throw "'Restore' failed for '$solution'" @@ -86,7 +86,7 @@ function Restore() { function Test() { $logFile = Join-Path -Path $LogDir -ChildPath "$configuration\test.binlog" - & dotnet test -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "$properties" "$solution" + & dotnet test -c "$configuration" --no-build --no-restore -v "$verbosity" /p:Platform="Any CPU" /bl:"$logFile" /err "$properties" "$solution" if ($LastExitCode -ne 0) { throw "'Test' failed for '$solution'" @@ -133,8 +133,8 @@ try { $DotNetInstallDirectory = Join-Path -Path $ArtifactsDir -ChildPath "dotnet" Create-Directory -Path $DotNetInstallDirectory - & $DotNetInstallScript -Channel 5.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture & $DotNetInstallScript -Channel 6.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture + & $DotNetInstallScript -Channel 7.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture -Quality preview $env:PATH="$DotNetInstallDirectory;$env:PATH" } diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index 06ed8ab2db..0000000000 --- a/scripts/build.sh +++ /dev/null @@ -1,243 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -architecture='' -build=false -ci=false -configuration='Debug' -help=false -pack=false -restore=false -solution='' -test=false -verbosity='minimal' -properties='' - -while [[ $# -gt 0 ]]; do - lower="$(echo "$1" | awk '{print tolower($0)}')" - case $lower in - --architecture) - architecture=$2 - shift 2 - ;; - --build) - build=true - shift 1 - ;; - --ci) - ci=true - shift 1 - ;; - --configuration) - configuration=$2 - shift 2 - ;; - --help) - help=true - shift 1 - ;; - --pack) - pack=true - shift 1 - ;; - --restore) - restore=true - shift 1 - ;; - --solution) - solution=$2 - shift 2 - ;; - --test) - test=true - shift 1 - ;; - --verbosity) - verbosity=$2 - shift 2 - ;; - *) - properties="$properties $1" - shift 1 - ;; - esac -done - -function Build { - logFile="$LogDir/$configuration/build.binlog" - - if [[ -z "$properties" ]]; then - dotnet build -c "$configuration" --no-restore -v "$verbosity" /bl:"$logFile" /err "$solution" - else - dotnet build -c "$configuration" --no-restore -v "$verbosity" /bl:"$logFile" /err "${properties[@]}" "$solution" - fi - - LASTEXITCODE=$? - - if [ "$LASTEXITCODE" != 0 ]; then - echo "'Build' failed for '$solution'" - return "$LASTEXITCODE" - fi -} - -function CreateDirectory { - if [ ! -d "$1" ] - then - mkdir -p "$1" - fi -} - -function Help { - echo "Common settings:" - echo " --configuration Build configuration (Debug, Release)" - echo " --verbosity Msbuild verbosity (q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic])" - echo " --help Print help and exit" - echo "" - echo "Actions:" - echo " --restore Restore dependencies" - echo " --build Build solution" - echo " --test Run all tests in the solution" - echo " --pack Package build artifacts" - echo "" - echo "Advanced settings:" - echo " --solution Path to solution to build" - echo " --ci Set when running on CI server" - echo " --architecture Test Architecture (, amd64, x64, x86, arm64, arm)" - echo "" - echo "Command line arguments not listed above are passed through to MSBuild." -} - -function Pack { - logFile="$LogDir/$configuration/pack.binlog" - - if [[ -z "$properties" ]]; then - dotnet pack -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "$solution" - else - dotnet pack -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "${properties[@]}" "$solution" - fi - - LASTEXITCODE=$? - - if [ "$LASTEXITCODE" != 0 ]; then - echo "'Build' failed for '$solution'" - return "$LASTEXITCODE" - fi -} - -function Restore { - logFile="$LogDir/$configuration/restore.binlog" - - if [[ -z "$properties" ]]; then - dotnet restore -v "$verbosity" /bl:"$logFile" /err "$solution" - else - dotnet restore -v "$verbosity" /bl:"$logFile" /err "${properties[@]}" "$solution" - fi - - LASTEXITCODE=$? - - if [ "$LASTEXITCODE" != 0 ]; then - echo "'Restore' failed for '$solution'" - return "$LASTEXITCODE" - fi -} - -function Test { - logFile="$LogDir/$configuration/test.binlog" - - if [[ -z "$properties" ]]; then - dotnet test -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "$solution" - else - dotnet test -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "${properties[@]}" "$solution" - fi - - LASTEXITCODE=$? - - if [ "$LASTEXITCODE" != 0 ]; then - echo "'Test' failed for '$solution'" - return "$LASTEXITCODE" - fi -} - -if $help; then - Help - exit 0 -fi - -if $ci; then - build=true - pack=true - restore=true - test=true - - if [[ -z "$architecture" ]]; then - architecture="" - fi -fi - -RepoRoot="$ScriptRoot/.." - -if [[ -z "$solution" ]]; then - solution="$RepoRoot/TerraFX.Interop.Windows.NonDesktop.slnf" -fi - -ArtifactsDir="$RepoRoot/artifacts" -CreateDirectory "$ArtifactsDir" - -LogDir="$ArtifactsDir/log" -CreateDirectory "$LogDir" - -if [[ ! -z "$architecture" ]]; then - export DOTNET_CLI_TELEMETRY_OPTOUT=1 - export DOTNET_MULTILEVEL_LOOKUP=0 - export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 - - DotNetInstallScript="$ArtifactsDir/dotnet-install.sh" - wget -O "$DotNetInstallScript" "https://dot.net/v1/dotnet-install.sh" - - DotNetInstallDirectory="$ArtifactsDir/dotnet" - CreateDirectory "$DotNetInstallDirectory" - - . "$DotNetInstallScript" --channel 5.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" - . "$DotNetInstallScript" --channel 6.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" - - PATH="$DotNetInstallDirectory:$PATH:" -fi - -if $restore; then - Restore - - if [ "$LASTEXITCODE" != 0 ]; then - return "$LASTEXITCODE" - fi -fi - -if $build; then - Build - - if [ "$LASTEXITCODE" != 0 ]; then - return "$LASTEXITCODE" - fi -fi - -if $test; then - Test - - if [ "$LASTEXITCODE" != 0 ]; then - return "$LASTEXITCODE" - fi -fi - -if $pack; then - Pack - - if [ "$LASTEXITCODE" != 0 ]; then - return "$LASTEXITCODE" - fi -fi diff --git a/scripts/cibuild.sh b/scripts/cibuild.sh deleted file mode 100755 index a266573072..0000000000 --- a/scripts/cibuild.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -. "$ScriptRoot/build.sh" --ci "$@" diff --git a/sources/Directory.Build.props b/sources/Directory.Build.props index de51bb1ab1..9ff0fdc233 100644 --- a/sources/Directory.Build.props +++ b/sources/Directory.Build.props @@ -22,7 +22,7 @@ - + diff --git a/test.sh b/test.sh deleted file mode 100755 index 267708290d..0000000000 --- a/test.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -SOURCE="${BASH_SOURCE[0]}" -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - SOURCE="$(readlink "$SOURCE")" - [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" - -. "$ScriptRoot/scripts/build.sh" --test "$@" diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 015e663fe1..0252c4a0e4 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -22,9 +22,9 @@ - - - + + + diff --git a/tests/Directory.Build.targets b/tests/Directory.Build.targets index 1269bf1f37..02898a1212 100644 --- a/tests/Directory.Build.targets +++ b/tests/Directory.Build.targets @@ -12,4 +12,9 @@ + + + $(NoWarn);CS0618 + + From 273426390016b300f0f22732618cb0e3063f2374 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 08:18:14 -0700 Subject: [PATCH 05/12] Backporting various generation fixups --- TerraFX.Interop.Windows.sln | 8 +++ .../DirectX/other/D3D11On12On7/generate.rsp | 3 ++ .../DirectX/um/d3d10_1shader/generate.rsp | 2 + .../DirectX/um/d3d10effect/generate.rsp | 4 ++ generation/DirectX/um/ddraw/generate.rsp | 14 ++++++ generation/DirectX/um/dxdiag/generate.rsp | 3 ++ generation/Windows/other/cvconst/generate.rsp | 4 +- generation/Windows/other/dia2/generate.rsp | 4 +- .../Windows/other/diacreate/generate.rsp | 4 +- .../Windows/shared/evntprov/generate.rsp | 25 ++++++++++ generation/Windows/shared/evntprov/header.txt | 4 ++ .../Windows/shared/evntprov/shared-evntprov.h | 2 + generation/Windows/um/Shlwapi/generate.rsp | 2 + generation/Windows/um/amvideo/generate.rsp | 11 +++++ generation/Windows/um/mfapi/generate.rsp | 2 + .../Windows/um/shdeprecated/generate.rsp | 2 + generation/Windows/um/shellapi/generate.rsp | 1 + generation/Windows/um/strmif/generate.rsp | 2 + generation/Windows/um/sysinfoapi/generate.rsp | 1 + generation/remap-transparent.rsp | 1 + generation/remap-types.rsp | 49 ++++++++++++++++++- 21 files changed, 141 insertions(+), 7 deletions(-) create mode 100644 generation/Windows/shared/evntprov/generate.rsp create mode 100644 generation/Windows/shared/evntprov/header.txt create mode 100644 generation/Windows/shared/evntprov/shared-evntprov.h diff --git a/TerraFX.Interop.Windows.sln b/TerraFX.Interop.Windows.sln index 47bd43ef36..25e0b06cf4 100644 --- a/TerraFX.Interop.Windows.sln +++ b/TerraFX.Interop.Windows.sln @@ -3000,6 +3000,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEM .github\ISSUE_TEMPLATE\regression.md = .github\ISSUE_TEMPLATE\regression.md EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "evntprov", "evntprov", "{7ADEB031-2298-4F79-8103-79CFF01CA00C}" + ProjectSection(SolutionItems) = preProject + generation\Windows\shared\evntprov\generate.rsp = generation\Windows\shared\evntprov\generate.rsp + generation\Windows\shared\evntprov\header.txt = generation\Windows\shared\evntprov\header.txt + generation\Windows\shared\evntprov\shared-evntprov.h = generation\Windows\shared\evntprov\shared-evntprov.h + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -3462,6 +3469,7 @@ Global {B281558F-E194-4AC3-BE1B-C7C2A748947E} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} {9C6E88A3-997E-4F11-AF25-18A54B110404} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} {8891C297-49D7-495C-B66E-2A77C3D5F50D} = {3BDDFFAD-B31F-4930-B557-E8486D23C67A} + {7ADEB031-2298-4F79-8103-79CFF01CA00C} = {F9716DD9-2967-4295-AC71-F1FD5A9EEFEF} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461} diff --git a/generation/DirectX/other/D3D11On12On7/generate.rsp b/generation/DirectX/other/D3D11On12On7/generate.rsp index dd312ec50b..3183521527 100644 --- a/generation/DirectX/other/D3D11On12On7/generate.rsp +++ b/generation/DirectX/other/D3D11On12On7/generate.rsp @@ -2,6 +2,7 @@ @../../../remap.rsp --exclude GetD3D11On12On7Interface +IID_ID3D11On12On7 --file other-d3d11on12on7.h --methodClassName @@ -14,5 +15,7 @@ TerraFX.Interop.DirectX ../../../../tests/Interop/Windows/DirectX/other/D3D11On12On7 --traverse ./D3D11On12On7.h +--with-guid +ID3D11On12On7=00000000-0000-0000-0000-000000000000 --with-librarypath *=d3d11on12 diff --git a/generation/DirectX/um/d3d10_1shader/generate.rsp b/generation/DirectX/um/d3d10_1shader/generate.rsp index 2749f14c7f..57bb70171a 100644 --- a/generation/DirectX/um/d3d10_1shader/generate.rsp +++ b/generation/DirectX/um/d3d10_1shader/generate.rsp @@ -12,3 +12,5 @@ TerraFX.Interop.DirectX ../../../../tests/Interop/Windows/DirectX/um/d3d10_1shader --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/d3d10_1shader.h +--with-guid +ID3D10ShaderReflection1=C3457783-A846-47CE-9520-CEA6F66E7447 diff --git a/generation/DirectX/um/d3d10effect/generate.rsp b/generation/DirectX/um/d3d10effect/generate.rsp index 652ca4f55f..ad5f9dd1c0 100644 --- a/generation/DirectX/um/d3d10effect/generate.rsp +++ b/generation/DirectX/um/d3d10effect/generate.rsp @@ -14,6 +14,10 @@ TerraFX.Interop.DirectX ../../../../tests/Interop/Windows/DirectX/um/d3d10effect --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/d3d10effect.h +--with-guid +ID3D10Effect=51B0CA8B-EC0B-4519-870D-8EE1CB5017C7 +ID3D10EffectPool=9537AB04-3250-412E-8213-FCD2F8677933 +ID3D10StateBlock=0803425A-57F5-4dd6-9465-A87570834A08 --with-librarypath D3D10CompileEffectFromMemory=d3d10 D3D10CreateEffectFromMemory=d3d10 diff --git a/generation/DirectX/um/ddraw/generate.rsp b/generation/DirectX/um/ddraw/generate.rsp index 66b14cf776..1abaddf0ed 100644 --- a/generation/DirectX/um/ddraw/generate.rsp +++ b/generation/DirectX/um/ddraw/generate.rsp @@ -358,6 +358,20 @@ TerraFX.Interop.DirectX ../../../../tests/Interop/Windows/DirectX/um/ddraw --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/ddraw.h +--with-guid +IDirectDraw=6C14DB80-A733-11CE-A521-0020AF0BE560 +IDirectDraw2=B3A6F3E0-2B43-11CF-A2DE-00AA00B93356 +IDirectDraw4=9C59509A-39BD-11D1-8C4A-00C04FD930C5 +IDirectDraw7=15E65EC0-3B9C-11D2-B92F-00609797EA5B +IDirectDrawClipper=6C14DB85-A733-11CE-A521-0020AF0BE560 +IDirectDrawColorControl=4B9F0EE0-0D7E-11D0-9B06-00A0C903A3B8 +IDirectDrawGammaControl=69C11C3E-B46B-11D1-AD7A-00C04FC29B4E +IDirectDrawPalette=6C14DB84-A733-11CE-A521-0020AF0BE560 +IDirectDrawSurface=6C14DB81-A733-11CE-A521-0020AF0BE560 +IDirectDrawSurface2=57805885-6EEC-11CF-9441-A82303C10E27 +IDirectDrawSurface3=DA044E00-69B2-11D0-A1D5-00AA00B8DFBB +IDirectDrawSurface4=0B2B8630-AD35-11D0-8EA6-00609797EA5B +IDirectDrawSurface7=06675A80-3B9B-11D2-B92F-00609797EA5B --with-librarypath DirectDrawCreate=ddraw DirectDrawCreateClipper=ddraw diff --git a/generation/DirectX/um/dxdiag/generate.rsp b/generation/DirectX/um/dxdiag/generate.rsp index b4acdf8690..7d7e1f0a8c 100644 --- a/generation/DirectX/um/dxdiag/generate.rsp +++ b/generation/DirectX/um/dxdiag/generate.rsp @@ -27,5 +27,8 @@ TerraFX.Interop.DirectX ../../../../tests/Interop/Windows/DirectX/um/dxdiag --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/dxdiag.h +--with-guid +IDxDiagContainer=7D0F462F-4064-4862-BC7F-933E5058C10F +IDxDiagProvider=9C6B4CB0-23F8-49CC-A3ED-45A55000A6D2 --with-librarypath *=dxdiag diff --git a/generation/Windows/other/cvconst/generate.rsp b/generation/Windows/other/cvconst/generate.rsp index 1b217c50b1..93eb2bd9fd 100644 --- a/generation/Windows/other/cvconst/generate.rsp +++ b/generation/Windows/other/cvconst/generate.rsp @@ -1,7 +1,7 @@ @../../../settings.rsp @../../../remap.rsp --include-directory -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include --file other-cvconst.h --methodClassName @@ -13,4 +13,4 @@ TerraFX.Interop.Windows --test-output ../../../../tests/Interop/Windows/Windows/other/cvconst --traverse -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include/cvconst.h +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include/cvconst.h diff --git a/generation/Windows/other/dia2/generate.rsp b/generation/Windows/other/dia2/generate.rsp index 6fdef8d5df..f555b9ee03 100644 --- a/generation/Windows/other/dia2/generate.rsp +++ b/generation/Windows/other/dia2/generate.rsp @@ -4,7 +4,7 @@ __MIDL___MIDL_itf_dia2_0000_0000_0001 __MIDL___MIDL_itf_dia2_0000_0035_0001 --include-directory -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include --file other-dia2.h --methodClassName @@ -16,4 +16,4 @@ TerraFX.Interop.Windows --test-output ../../../../tests/Interop/Windows/Windows/other/dia2 --traverse -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include/dia2.h +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include/dia2.h diff --git a/generation/Windows/other/diacreate/generate.rsp b/generation/Windows/other/diacreate/generate.rsp index 2e39db46d5..4201075e3d 100644 --- a/generation/Windows/other/diacreate/generate.rsp +++ b/generation/Windows/other/diacreate/generate.rsp @@ -4,7 +4,7 @@ NoRegCoCreate NoOleCoCreate --include-directory -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include --file other-diacreate.h --methodClassName @@ -16,4 +16,4 @@ TerraFX.Interop.Windows --test-output ../../../../tests/Interop/Windows/Windows/other/diacreate --traverse -C:/Program Files/Microsoft Visual Studio/2022/Preview/DIA SDK/include/diacreate.h +C:/Program Files/Microsoft Visual Studio/2022/Community/DIA SDK/include/diacreate.h diff --git a/generation/Windows/shared/evntprov/generate.rsp b/generation/Windows/shared/evntprov/generate.rsp new file mode 100644 index 0000000000..522e737077 --- /dev/null +++ b/generation/Windows/shared/evntprov/generate.rsp @@ -0,0 +1,25 @@ +@../../../settings.rsp +@../../../remap.rsp +--file +shared-evntprov.h +--methodClassName +Windows +--namespace +TerraFX.Interop.Windows +--output +../../../../sources/Interop/Windows/Windows/shared/evntprov +--test-output +../../../../tests/Interop/Windows/Windows/shared/evntprov +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/shared/evntprov.h +--with-librarypath +EventRegister=Advapi32 +EventUnregister=Advapi32 +EventEnabled=Advapi32 +EventProviderEnabled=Advapi32 +EventWrite=Advapi32 +EventWriteTransfer=Advapi32 +EventWriteEx=Advapi32 +EventWriteString=Advapi32 +EventActivityIdControl=Advapi32 +EventSetInformation=Advapi32 diff --git a/generation/Windows/shared/evntprov/header.txt b/generation/Windows/shared/evntprov/header.txt new file mode 100644 index 0000000000..546dc79061 --- /dev/null +++ b/generation/Windows/shared/evntprov/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/Windows/shared/evntprov/shared-evntprov.h b/generation/Windows/shared/evntprov/shared-evntprov.h new file mode 100644 index 0000000000..0334786d9b --- /dev/null +++ b/generation/Windows/shared/evntprov/shared-evntprov.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/Windows/um/Shlwapi/generate.rsp b/generation/Windows/um/Shlwapi/generate.rsp index a9ccb1212f..4ef47b795e 100644 --- a/generation/Windows/um/Shlwapi/generate.rsp +++ b/generation/Windows/um/Shlwapi/generate.rsp @@ -34,6 +34,8 @@ UrlEscapeSpaces UrlIsFileUrlA UrlIsFileUrlW UrlUnescapeInPlace +wnsprintf +wsprintf --file um-Shlwapi.h --methodClassName diff --git a/generation/Windows/um/amvideo/generate.rsp b/generation/Windows/um/amvideo/generate.rsp index a664d20d0a..9a4a4f880a 100644 --- a/generation/Windows/um/amvideo/generate.rsp +++ b/generation/Windows/um/amvideo/generate.rsp @@ -7,6 +7,11 @@ COLORS DIBSIZE DIBWIDTHBYTES HEADER +IID_IBaseVideoMixer +IID_IDirectDrawVideo +IID_IFullScreenVideo +IID_IFullScreenVideoEx +IID_IQualProp MPEG1_SEQUENCE_INFO PALETTE_ENTRIES PALETTISED @@ -35,6 +40,12 @@ TerraFX.Interop.Windows ../../../../tests/Interop/Windows/Windows/um/amvideo --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/amvideo.h +--with-guid +IBaseVideoMixer=61DED640-E912-11CE-A099-00AA00479A58 +IDirectDrawVideo=36D39EB0-DD75-11CE-BF0E-00AA0055595A +IFullScreenVideo=DD1D7110-7836-11CF-BF47-00AA0055595A +IFullScreenVideoEx=53479470-F1DD-11CF-BC42-00AA00AC74F6 +IQualProp=1BD0ECB0-F8E2-11CE-AAC6-0020AF0B99A3 --with-type SIZE_EGA_PALETTE=uint SIZE_MASKS=uint diff --git a/generation/Windows/um/mfapi/generate.rsp b/generation/Windows/um/mfapi/generate.rsp index faa15b9b2c..924453fbfb 100644 --- a/generation/Windows/um/mfapi/generate.rsp +++ b/generation/Windows/um/mfapi/generate.rsp @@ -67,6 +67,8 @@ PackSize=SupportedOSPlatform("windows8.0") ROI_AREA=SupportedOSPlatform("windows8.1") unpackratio=SupportedOSPlatform("windows8.0") UnpackSize=SupportedOSPlatform("windows8.0") +--with-guid +MFASYNCRESULT=00000000-0000-0000-0000-000000000000 --with-librarypath MFAddPeriodicCallback=mfplat MFAllocateSerialWorkQueue=mfplat diff --git a/generation/Windows/um/shdeprecated/generate.rsp b/generation/Windows/um/shdeprecated/generate.rsp index 41d96a67d6..9169f85a0e 100644 --- a/generation/Windows/um/shdeprecated/generate.rsp +++ b/generation/Windows/um/shdeprecated/generate.rsp @@ -29,5 +29,7 @@ TerraFX.Interop.Windows ../../../../tests/Interop/Windows/Windows/um/shdeprecated --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/shdeprecated.h +--with-guid +CIE4ConnectionPoint=00000000-0000-0000-0000-000000000000 --with-type INTERNET_MAX_URL_LENGTH=uint diff --git a/generation/Windows/um/shellapi/generate.rsp b/generation/Windows/um/shellapi/generate.rsp index d79ff78552..43db5e4631 100644 --- a/generation/Windows/um/shellapi/generate.rsp +++ b/generation/Windows/um/shellapi/generate.rsp @@ -18,6 +18,7 @@ NOTIFYICONDATA_V1_SIZE NOTIFYICONDATA_V2_SIZE NOTIFYICONDATA_V3_SIZE SHDOCAPI_ +ShellMessageBox SHEnumerateUnreadMailAccountsA SHGetUnreadMailCountA SHSetUnreadMailCountA diff --git a/generation/Windows/um/strmif/generate.rsp b/generation/Windows/um/strmif/generate.rsp index 75039dbe2c..ccdbdf8902 100644 --- a/generation/Windows/um/strmif/generate.rsp +++ b/generation/Windows/um/strmif/generate.rsp @@ -18,3 +18,5 @@ TerraFX.Interop.Windows ../../../../tests/Interop/Windows/Windows/um/strmif --traverse C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/strmif.h +--with-guid +IAMFilterGraphCallback=56A868FD-0AD4-11CE-B0A3-0020AF0BA770 diff --git a/generation/Windows/um/sysinfoapi/generate.rsp b/generation/Windows/um/sysinfoapi/generate.rsp index 2f366ff37f..51d9d55ca4 100644 --- a/generation/Windows/um/sysinfoapi/generate.rsp +++ b/generation/Windows/um/sysinfoapi/generate.rsp @@ -16,6 +16,7 @@ C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/sysinfoapi.h GetIntegratedDisplaySize=SupportedOSPlatform("windows10.0") GetSystemTimeAdjustmentPrecise=SupportedOSPlatform("windows10.0") GetSystemTimePreciseAsFileTime=SupportedOSPlatform("windows8.0") +GetVersionEx=Obsolete InstallELAMCertificateInfo=SupportedOSPlatform("windows8.1") SetSystemTimeAdjustmentPrecise=SupportedOSPlatform("windows10.0") --with-librarypath diff --git a/generation/remap-transparent.rsp b/generation/remap-transparent.rsp index 4e833764d5..d08fa1cbcc 100644 --- a/generation/remap-transparent.rsp +++ b/generation/remap-transparent.rsp @@ -110,6 +110,7 @@ LRESULT=nint;Typedef MachineGlobalObjectTableRegistrationToken=void*;Handle MSIHANDLE=uint;TypedefHex OAHWND=void*;Handle +PACKAGEDEPENDENCY_CONTEXT=void*;Handle PACKAGE_INFO_REFERENCE=void*;Handle PAPPCONSTRAIN_REGISTRATION=void*;Handle PAPPSTATE_REGISTRATION=void*;Handle diff --git a/generation/remap-types.rsp b/generation/remap-types.rsp index 873cbad976..c789656cf4 100644 --- a/generation/remap-types.rsp +++ b/generation/remap-types.rsp @@ -5,9 +5,11 @@ addrinfoex2W=ADDRINFOEX2W addrinfoex3=ADDRINFOEX3 addrinfoex4=ADDRINFOEX4 addrinfoex5=ADDRINFOEX5 +addrinfoex6=ADDRINFOEX6 addrinfoexA=ADDRINFOEXA addrinfoexW=ADDRINFOEXW addrinfoW=ADDRINFOW +addrinfo_dns_server=ADDRINFO_DNS_SERVER adpcmcoef_tag=ADPCMCOEFSET adpcmewaveformat_tag=ADPCMEWAVEFORMAT adpcmwaveformat_tag=ADPCMWAVEFORMAT @@ -368,6 +370,10 @@ tagCOMBOBOXINFO=COMBOBOXINFO tagCOMPAREITEMSTRUCT=COMPAREITEMSTRUCT tagCOMPOSITIONFORM=COMPOSITIONFORM tagCOMPOSITIONSTRING=COMPOSITIONSTRING +tagCOMPOSITION_FRAME_STATS=COMPOSITION_FRAME_STATS +tagCOMPOSITION_STATS=COMPOSITION_STATS +tagCOMPOSITION_TARGET_ID=COMPOSITION_TARGET_ID +tagCOMPOSITION_TARGET_STATS=COMPOSITION_TARGET_STATS tagCOMSD=COMSD tagCONDITION_OPERATION=CONDITION_OPERATION tagCONDITION_TYPE=CONDITION_TYPE @@ -633,6 +639,7 @@ tagKBDLLHOOKSTRUCT=KBDLLHOOKSTRUCT tagKERNINGPAIR=KERNINGPAIR tagKEYBDINPUT=KEYBDINPUT tagKSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE=KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE +tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS=KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS tagKSCAMERA_EXTENDEDPROP_CAMERAOFFSET=KSCAMERA_EXTENDEDPROP_CAMERAOFFSET tagKSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS=KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS tagKSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPSHEADER=KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPSHEADER @@ -653,6 +660,7 @@ tagKSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE=KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE tagKSCAMERA_EXTENDEDPROP_VALUE=KSCAMERA_EXTENDEDPROP_VALUE tagKSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING=KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING tagKSCAMERA_MAXVIDEOFPS_FORPHOTORES=KSCAMERA_MAXVIDEOFPS_FORPHOTORES +tagKSCAMERA_METADATA_BACKGROUNDSEGMENTATIONMASK=KSCAMERA_METADATA_BACKGROUNDSEGMENTATIONMASK tagKSCAMERA_METADATA_CAPTURESTATS=KSCAMERA_METADATA_CAPTURESTATS tagKSCAMERA_METADATA_DIGITALWINDOW=KSCAMERA_METADATA_DIGITALWINDOW tagKSCAMERA_METADATA_FRAMEILLUMINATION=KSCAMERA_METADATA_FRAMEILLUMINATION @@ -1811,7 +1819,9 @@ _CSV_QUERY_MDS_PATH=CSV_QUERY_MDS_PATH _CSV_QUERY_MDS_PATH_V2=CSV_QUERY_MDS_PATH_V2 _CSV_QUERY_REDIRECT_STATE=CSV_QUERY_REDIRECT_STATE _CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT=CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT +_CSV_QUERY_VOLUME_ID=CSV_QUERY_VOLUME_ID _CSV_QUERY_VOLUME_REDIRECT_STATE=CSV_QUERY_VOLUME_REDIRECT_STATE +_CSV_SET_VOLUME_ID=CSV_SET_VOLUME_ID _CTL_ANY_SUBJECT_INFO=CTL_ANY_SUBJECT_INFO _CTL_CONTEXT=CTL_CONTEXT _CTL_ENTRY=CTL_ENTRY @@ -2122,8 +2132,10 @@ _DISPATCHER_CONTEXT_ARM64=DISPATCHER_CONTEXT_ARM64 _DISPATCHER_CONTEXT_NONVOLREG_ARM64=DISPATCHER_CONTEXT_NONVOLREG_ARM64 _DISPLAYCONFIG_COLOR_ENCODING=DISPLAYCONFIG_COLOR_ENCODING _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO=DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO +_DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION=DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION _DISPLAYCONFIG_SDR_WHITE_LEVEL=DISPLAYCONFIG_SDR_WHITE_LEVEL _DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE=DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE +_DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION=DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION _DISPLAY_BREAK=DISPLAY_BREAK _DISPLAY_DEVICEA=DISPLAY_DEVICEA _DISPLAY_DEVICEW=DISPLAY_DEVICEW @@ -2143,6 +2155,7 @@ _DnsRecordOptW=DNS_RECORD_OPTW _DnsRecordW=DNS_RECORDW _DnsRRSet=DNS_RRSET _DnsSection=DNS_SECTION +_DNS_APPLICATION_SETTINGS=DNS_APPLICATION_SETTINGS _DNS_CHARSET=DNS_CHARSET _DNS_CONNECTION_IFINDEX_ENTRY=DNS_CONNECTION_IFINDEX_ENTRY _DNS_CONNECTION_IFINDEX_LIST=DNS_CONNECTION_IFINDEX_LIST @@ -2156,6 +2169,7 @@ _DNS_CONNECTION_PROXY_INFO_EX=DNS_CONNECTION_PROXY_INFO_EX _DNS_CONNECTION_PROXY_INFO_SWITCH=DNS_CONNECTION_PROXY_INFO_SWITCH _DNS_CONNECTION_PROXY_LIST=DNS_CONNECTION_PROXY_LIST _DNS_CONNECTION_PROXY_TYPE=DNS_CONNECTION_PROXY_TYPE +_DNS_CUSTOM_SERVER=DNS_CUSTOM_SERVER _DNS_DOH_SERVER_SETTINGS=DNS_DOH_SERVER_SETTINGS _DNS_HEADER=DNS_HEADER _DNS_HEADER_EXT=DNS_HEADER_EXT @@ -2165,6 +2179,7 @@ _DNS_INTERFACE_SETTINGS_EX=DNS_INTERFACE_SETTINGS_EX _DNS_MESSAGE_BUFFER=DNS_MESSAGE_BUFFER _DNS_NAME_FORMAT=DNS_NAME_FORMAT _DNS_QUERY_CANCEL=DNS_QUERY_CANCEL +_DNS_QUERY_REQUEST3=DNS_QUERY_REQUEST3 _DNS_QUERY_REQUEST=DNS_QUERY_REQUEST _DNS_QUERY_RESULT=DNS_QUERY_RESULT _DNS_SERVER_PROPERTY=DNS_SERVER_PROPERTY @@ -2454,6 +2469,14 @@ _eTlsSignatureAlgorithm=eTlsSignatureAlgorithm _EVENTLOGRECORD=EVENTLOGRECORD _EVENTLOG_FULL_INFORMATION=EVENTLOG_FULL_INFORMATION _EVENTSFORLOGFILE=EVENTSFORLOGFILE +_EVENT_DATA_DESCRIPTOR=EVENT_DATA_DESCRIPTOR +_EVENT_DESCRIPTOR=EVENT_DESCRIPTOR +_EVENT_FILTER_DESCRIPTOR=EVENT_FILTER_DESCRIPTOR +_EVENT_FILTER_HEADER=EVENT_FILTER_HEADER +_EVENT_FILTER_EVENT_ID=EVENT_FILTER_EVENT_ID +_EVENT_FILTER_EVENT_NAME=EVENT_FILTER_EVENT_NAME +_EVENT_FILTER_LEVEL_KW=EVENT_FILTER_LEVEL_KW +_EVENT_INFO_CLASS=EVENT_INFO_CLASS _EVRFilterConfig_Prefs=EVRFilterConfigPrefs _EV_EXTRA_CERT_CHAIN_POLICY_PARA=EV_EXTRA_CERT_CHAIN_POLICY_PARA _EV_EXTRA_CERT_CHAIN_POLICY_STATUS=EV_EXTRA_CERT_CHAIN_POLICY_STATUS @@ -2585,6 +2608,13 @@ _FSCTL_QUERY_REGION_INFO_OUTPUT=FSCTL_QUERY_REGION_INFO_OUTPUT _FSCTL_QUERY_STORAGE_CLASSES_OUTPUT=FSCTL_QUERY_STORAGE_CLASSES_OUTPUT _FSCTL_SET_INTEGRITY_INFORMATION_BUFFER=FSCTL_SET_INTEGRITY_INFORMATION_BUFFER _FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX=FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX +_FS_BPIO_INFLAGS=FS_BPIO_INFLAGS +_FS_BPIO_INFO=FS_BPIO_INFO +_FS_BPIO_INPUT=FS_BPIO_INPUT +_FS_BPIO_OPERATIONS=FS_BPIO_OPERATIONS +_FS_BPIO_OUTFLAGS=FS_BPIO_OUTFLAGS +_FS_BPIO_OUTPUT=FS_BPIO_OUTPUT +_FS_BPIO_RESULTS=FS_BPIO_RESULTS _FULL_PTR_XLAT_TABLES=FULL_PTR_XLAT_TABLES _GDI_NONREMOTE=GDI_NONREMOTE _GDI_OBJECT=GDI_OBJECT @@ -2628,6 +2658,7 @@ _HIBERFILE_BUCKET=HIBERFILE_BUCKET _HIBERFILE_BUCKET_SIZE=HIBERFILE_BUCKET_SIZE _HIDD_ATTRIBUTES=HIDD_ATTRIBUTES _HIDD_CONFIGURATION=HIDD_CONFIGURATION +_HIDP_BUTTON_ARRAY_DATA=HIDP_BUTTON_ARRAY_DATA _HIDP_BUTTON_CAPS=HIDP_BUTTON_CAPS _HIDP_CAPS=HIDP_CAPS _HIDP_DATA=HIDP_DATA @@ -2741,8 +2772,10 @@ _IMAGEHLP_LINE=IMAGEHLP_LINE _IMAGEHLP_LINEW64=IMAGEHLP_LINEW64 _IMAGEHLP_LINEW=IMAGEHLP_LINEW _IMAGEHLP_MODULE64=IMAGEHLP_MODULE64 +_IMAGEHLP_MODULE64_EX=IMAGEHLP_MODULE64_EX _IMAGEHLP_MODULE=IMAGEHLP_MODULE _IMAGEHLP_MODULEW64=IMAGEHLP_MODULEW64 +_IMAGEHLP_MODULEW64_EX=IMAGEHLP_MODULEW64_EX _IMAGEHLP_MODULEW=IMAGEHLP_MODULEW _IMAGEHLP_STACK_FRAME=IMAGEHLP_STACK_FRAME _IMAGEHLP_SYMBOL64=IMAGEHLP_SYMBOL64 @@ -2934,6 +2967,9 @@ _KERB_CERTIFICATE_S4U_LOGON=KERB_CERTIFICATE_S4U_LOGON _KERB_CERTIFICATE_UNLOCK_LOGON=KERB_CERTIFICATE_UNLOCK_LOGON _KERB_CHANGEPASSWORD_REQUEST=KERB_CHANGEPASSWORD_REQUEST _KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST=KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST +_KERB_CLOUD_KERBEROS_DEBUG_DATA_V0=KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 +_KERB_CLOUD_KERBEROS_DEBUG_REQUEST=KERB_CLOUD_KERBEROS_DEBUG_REQUEST +_KERB_CLOUD_KERBEROS_DEBUG_RESPONSE=KERB_CLOUD_KERBEROS_DEBUG_RESPONSE _KERB_CRYPTO_KEY=KERB_CRYPTO_KEY _KERB_DECRYPT_REQUEST=KERB_DECRYPT_REQUEST _KERB_DECRYPT_RESPONSE=KERB_DECRYPT_RESPONSE @@ -3070,6 +3106,7 @@ _LSA_UNICODE_STRING=LSA_UNICODE_STRING _LUID=LUID _LUID_AND_ATTRIBUTES=LUID_AND_ATTRIBUTES _M128A=M128A +_MACHINE_ATTRIBUTES=MACHINE_ATTRIBUTES _MACROBLOCK_DATA=MACROBLOCK_DATA _MALLOC_FREE_STRUCT=MALLOC_FREE_STRUCT _MANAGEDAPPLICATION=MANAGEDAPPLICATION @@ -3833,6 +3870,7 @@ _PROCESS_HEAP_ENTRY=PROCESS_HEAP_ENTRY _PROCESS_INFORMATION=PROCESS_INFORMATION _PROCESS_INFORMATION_CLASS=PROCESS_INFORMATION_CLASS _PROCESS_LEAP_SECOND_INFO=PROCESS_LEAP_SECOND_INFO +_PROCESS_MACHINE_INFORMATION=PROCESS_MACHINE_INFORMATION _PROCESS_MEMORY_COUNTERS=PROCESS_MEMORY_COUNTERS _PROCESS_MEMORY_COUNTERS_EX=PROCESS_MEMORY_COUNTERS_EX _PROCESS_MEMORY_EXHAUSTION_INFO=PROCESS_MEMORY_EXHAUSTION_INFO @@ -4148,6 +4186,8 @@ _SecPkgContext_TokenBinding=SecPkgContext_TokenBinding _SecPkgContext_UiInfo=SecPkgContext_UiInfo _SecPkgCred_CipherStrengths=SecPkgCred_CipherStrengths _SecPkgCred_ClientCertPolicy=SecPkgCred_ClientCertPolicy +_SecPkgCred_SessionTicketKey=SecPkgCred_SessionTicketKey +_SecPkgCred_SessionTicketKeys=SecPkgCred_SessionTicketKeys _SecPkgCred_SupportedAlgs=SecPkgCred_SupportedAlgs _SecPkgCred_SupportedProtocols=SecPkgCred_SupportedProtocols _SECUREURLHOSTVALIDATE_FLAGS=SECUREURLHOSTVALIDATE_FLAGS @@ -4707,6 +4747,7 @@ _SYSTEM_PROCESS_TRUST_LABEL_ACE=SYSTEM_PROCESS_TRUST_LABEL_ACE _SYSTEM_REGISTRY_QUOTA_INFORMATION=SYSTEM_REGISTRY_QUOTA_INFORMATION _SYSTEM_RESOURCE_ATTRIBUTE_ACE=SYSTEM_RESOURCE_ATTRIBUTE_ACE _SYSTEM_SCOPED_POLICY_ID_ACE=SYSTEM_SCOPED_POLICY_ID_ACE +_SYSTEM_SUPPORTED_PROCESSOR_ARCHITECTURES_INFORMATION=SYSTEM_SUPPORTED_PROCESSOR_ARCHITECTURES_INFORMATION _SYSTEM_THREAD_INFORMATION=SYSTEM_THREAD_INFORMATION _SYSTEM_TIMEOFDAY_INFORMATION=SYSTEM_TIMEOFDAY_INFORMATION _tagACENUMOPTION=ACENUMOPTION @@ -5022,16 +5063,21 @@ _WinHttpProxyNetworkKey=WINHTTP_PROXY_NETWORKING_KEY _WINHTTP_ASYNC_RESULT=WINHTTP_ASYNC_RESULT _WINHTTP_AUTOPROXY_OPTIONS=WINHTTP_AUTOPROXY_OPTIONS _WINHTTP_CERTIFICATE_INFO=WINHTTP_CERTIFICATE_INFO +_WINHTTP_CONNECTION_GROUP=WINHTTP_CONNECTION_GROUP _WINHTTP_CONNECTION_INFO=WINHTTP_CONNECTION_INFO _WINHTTP_CURRENT_USER_IE_PROXY_CONFIG=WINHTTP_CURRENT_USER_IE_PROXY_CONFIG _WINHTTP_EXTENDED_HEADER=WINHTTP_EXTENDED_HEADER _WINHTTP_FAILED_CONNECTION_RETRIES=WINHTTP_FAILED_CONNECTION_RETRIES _WINHTTP_HEADER_NAME=WINHTTP_HEADER_NAME +_WINHTTP_HOST_CONNECTION_GROUP=WINHTTP_HOST_CONNECTION_GROUP +_WINHTTP_HTTP2_RECEIVE_WINDOW=WINHTTP_HTTP2_RECEIVE_WINDOW +_WINHTTP_MATCH_CONNECTION_GUID=WINHTTP_MATCH_CONNECTION_GUID _WINHTTP_PROXY_INFO=WINHTTP_PROXY_INFO _WINHTTP_PROXY_RESULT=WINHTTP_PROXY_RESULT _WINHTTP_PROXY_RESULT_ENTRY=WINHTTP_PROXY_RESULT_ENTRY _WINHTTP_PROXY_RESULT_EX=WINHTTP_PROXY_RESULT_EX _WINHTTP_PROXY_SETTINGS=WINHTTP_PROXY_SETTINGS +_WINHTTP_QUERY_CONNECTION_GROUP_RESULT=WINHTTP_QUERY_CONNECTION_GROUP_RESULT _WINHTTP_REQUEST_STATS=WINHTTP_REQUEST_STATS _WINHTTP_REQUEST_STAT_ENTRY=WINHTTP_REQUEST_STAT_ENTRY _WINHTTP_REQUEST_TIMES=WINHTTP_REQUEST_TIMES @@ -5474,6 +5520,7 @@ __MIDL___MIDL_itf_mmdeviceapi_0000_0000_0001=EDataFlow __MIDL___MIDL_itf_mmdeviceapi_0000_0000_0002=ERole __MIDL___MIDL_itf_mmdeviceapi_0000_0000_0003=EndpointFormFactor __MIDL___MIDL_itf_mmdeviceapi_0000_0008_0001=AudioExtensionParams +__MIDL___MIDL_itf_mmdeviceapi_0000_0008_0002=AUDIO_SYSTEMEFFECTS_PROPERTYSTORE_TYPE __MIDL___MIDL_itf_msctf_0000_0000_0001=TfAnchor __MIDL___MIDL_itf_msctf_0000_0070_0001=TF_DA_LINESTYLE __MIDL___MIDL_itf_msctf_0000_0070_0002=TF_DA_COLORTYPE @@ -5511,4 +5558,4 @@ __NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT=NCRYPT_PCP_TPM_WEB_AUTHN_ATTEST __NCRYPT_SUPPORTED_LENGTHS=NCRYPT_SUPPORTED_LENGTHS __NCRYPT_UI_POLICY=NCRYPT_UI_POLICY __NSConstantString_tag=__NSConstantString -__PUBLIC_OBJECT_TYPE_INFORMATION=PUBLIC_OBJECT_TYPE_INFORMATION +__PUBLIC_OBJECT_TYPE_INFORMATION=PUBLIC_OBJECT_TYPE_INFORMATIO From 0ac2fa5754c760d14bca5b7168c95e247df96051 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 10:27:12 -0700 Subject: [PATCH 06/12] Regenerating bindings using the latest ClangSharp --- .../other/D3D11On12On7/ID3D11On12On7.cs | 2 + .../Windows/DirectX/other/D3D11On12On7/IID.cs | 37 ++++ .../D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs | 2 +- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs | 2 +- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs | 2 +- .../shared/dxgi/DXGI_DISPLAY_COLOR_SPACE.cs | 4 +- .../DirectX/shared/dxgi/DXGI_OUTPUT_DESC.cs | 2 +- .../shared/dxgi1_2/DXGI_ADAPTER_DESC2.cs | 2 +- .../shared/dxgi1_5/DXGI_HDR_METADATA_HDR10.cs | 8 +- .../dxgi1_5/DXGI_HDR_METADATA_HDR10PLUS.cs | 2 +- .../shared/dxgi1_6/DXGI_ADAPTER_DESC3.cs | 2 +- .../shared/dxgi1_6/DXGI_OUTPUT_DESC1.cs | 10 +- .../shared/dxgitype/DXGI_GAMMA_CONTROL.cs | 2 +- .../DXGI_GAMMA_CONTROL_CAPABILITIES.cs | 2 +- .../dxgitype/DXGI_JPEG_AC_HUFFMAN_TABLE.cs | 4 +- .../dxgitype/DXGI_JPEG_DC_HUFFMAN_TABLE.cs | 4 +- .../dxgitype/DXGI_JPEG_QUANTIZATION_TABLE.cs | 2 +- .../DirectX/um/DirectML/DML_SCALAR_UNION.cs | 2 +- .../Windows/DirectX/um/d2d1/ID2D1Factory.cs | 3 + .../DirectX/um/d2d1_1/ID2D1Factory1.cs | 2 + .../DirectX/um/d2d1_2/ID2D1Factory2.cs | 2 + .../DirectX/um/d2d1_3/ID2D1Factory3.cs | 2 + .../DirectX/um/d2d1_3/ID2D1Factory4.cs | 2 + .../DirectX/um/d2d1_3/ID2D1Factory5.cs | 2 + .../DirectX/um/d2d1_3/ID2D1Factory6.cs | 2 + .../DirectX/um/d2d1_3/ID2D1Factory7.cs | 2 + .../D2D1_BLEND_DESCRIPTION.cs | 2 +- .../DirectX/um/d3d10/D3D10_BLEND_DESC.cs | 4 +- .../DirectX/um/d3d10/D3D10_SAMPLER_DESC.cs | 2 +- .../Windows/DirectX/um/d3d10/ID3D10Device.cs | 12 +- .../DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs | 2 +- .../DirectX/um/d3d10_1/ID3D10Device1.cs | 6 +- .../D3D10_SHADER_DEBUG_INST_INFO.cs | 2 +- .../D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs | 4 +- .../d3d10_1shader/ID3D10ShaderReflection1.cs | 2 + .../DirectX/um/d3d10effect/D3D10_PASS_DESC.cs | 2 +- .../um/d3d10effect/D3D10_STATE_BLOCK_MASK.cs | 20 +- .../DirectX/um/d3d10effect/ID3D10Effect.cs | 2 + .../um/d3d10effect/ID3D10EffectPool.cs | 2 + .../um/d3d10effect/ID3D10StateBlock.cs | 2 + .../DirectX/um/d3d11/D3D11_BLEND_DESC.cs | 2 +- .../Windows/DirectX/um/d3d11/D3D11_OMAC.cs | 2 +- .../DirectX/um/d3d11/D3D11_SAMPLER_DESC.cs | 2 +- .../DirectX/um/d3d11/ID3D11DeviceContext.cs | 20 +- .../DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs | 2 +- ...1_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA.cs | 2 +- ..._KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA.cs | 2 +- .../um/d3d11_1/ID3D11DeviceContext1.cs | 14 +- .../um/d3d11_2/ID3D11DeviceContext2.cs | 12 +- .../um/d3d11_3/ID3D11DeviceContext3.cs | 12 +- .../um/d3d11_3/ID3D11DeviceContext4.cs | 12 +- .../D3D11_COMPUTE_SHADER_TRACE_DESC.cs | 4 +- .../D3D11_TRACE_REGISTER.cs | 2 +- .../d3d11shadertracing/D3D11_TRACE_STATS.cs | 24 +-- .../d3d11shadertracing/D3D11_TRACE_VALUE.cs | 2 +- .../DirectX/um/d3d12/D3D12_BLEND_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs | 2 +- .../D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs | 2 +- .../d3d12/D3D12_RAYTRACING_INSTANCE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs | 2 +- .../DirectX/um/d3d12/D3D12_SAMPLER_DESC.cs | 2 +- ...IALIZED_DATA_DRIVER_MATCHING_IDENTIFIER.cs | 2 +- .../um/d3d12/ID3D12GraphicsCommandList.cs | 16 +- .../um/d3d12/ID3D12GraphicsCommandList1.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList2.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList3.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList4.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList5.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList6.cs | 8 +- ...3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs | 2 +- ...D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs | 2 +- ...2_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs | 2 +- ...12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs | 4 +- ...2_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs | 4 +- ...2_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs | 2 +- .../D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC.cs | 2 +- .../DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs | 2 +- .../DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs | 2 +- .../DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs | 2 +- .../DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs | 2 +- .../Windows/DirectX/um/ddraw/DDCAPS_DX1.cs | 2 +- .../Windows/DirectX/um/ddraw/DDCAPS_DX3.cs | 8 +- .../Windows/DirectX/um/ddraw/DDCAPS_DX5.cs | 10 +- .../Windows/DirectX/um/ddraw/DDCAPS_DX6.cs | 10 +- .../Windows/DirectX/um/ddraw/DDCAPS_DX7.cs | 10 +- .../DirectX/um/ddraw/DDDEVICEIDENTIFIER.cs | 4 +- .../DirectX/um/ddraw/DDDEVICEIDENTIFIER2.cs | 4 +- .../Windows/DirectX/um/ddraw/DDGAMMARAMP.cs | 6 +- .../Windows/DirectX/um/ddraw/IDirectDraw.cs | 2 + .../Windows/DirectX/um/ddraw/IDirectDraw2.cs | 2 + .../Windows/DirectX/um/ddraw/IDirectDraw4.cs | 2 + .../Windows/DirectX/um/ddraw/IDirectDraw7.cs | 2 + .../DirectX/um/ddraw/IDirectDrawClipper.cs | 2 + .../um/ddraw/IDirectDrawColorControl.cs | 2 + .../um/ddraw/IDirectDrawGammaControl.cs | 2 + .../DirectX/um/ddraw/IDirectDrawPalette.cs | 2 + .../DirectX/um/ddraw/IDirectDrawSurface.cs | 2 + .../DirectX/um/ddraw/IDirectDrawSurface2.cs | 2 + .../DirectX/um/ddraw/IDirectDrawSurface3.cs | 2 + .../DirectX/um/ddraw/IDirectDrawSurface4.cs | 2 + .../DirectX/um/ddraw/IDirectDrawSurface7.cs | 2 + .../DirectX/um/dwrite_1/DWRITE_PANOSE.cs | 2 +- .../DirectX/um/dxcapi/DxcShaderHash.cs | 2 +- .../DirectX/um/dxdiag/IDxDiagContainer.cs | 2 + .../DirectX/um/dxdiag/IDxDiagProvider.cs | 2 + .../Windows/DirectX/um/x3daudio/DirectX.cs | 2 +- .../um/xapo/XAPO_REGISTRATION_PROPERTIES.cs | 4 +- .../um/gdipluscolormatrix/ColorMatrix.cs | 2 +- .../um/gdiplusimaging/EncoderParameters.cs | 2 +- .../um/gdipluspixelformats/ColorPalette.cs | 2 +- .../Windows/WinRT/um/CastingInterop/WinRT.cs | 6 +- .../MLOperatorAuthor/MLOperatorAttribute.cs | 3 +- .../ILanguageExceptionStackBackTrace.cs | 4 +- .../winrt/ivectorchangedeventargs/WinRT.cs | 2 +- .../Windows/other/cvconst/CV_CFL_LANG.cs | 3 + .../Windows/other/cvconst/THUNK_ORDINAL.cs | 3 + .../Windows/Windows/other/cvconst/Windows.cs | 17 ++ .../APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.cs | 5 +- .../helper-types/ASYNCCOMPLETIONHANDLE.cs | 5 +- .../Windows/other/helper-types/BOOL.cs | 5 +- .../Windows/other/helper-types/COLORREF.cs | 5 +- .../other/helper-types/COMPRESSOR_HANDLE.cs | 5 +- .../helper-types/CO_DEVICE_CATALOG_COOKIE.cs | 5 +- .../other/helper-types/CO_MTA_USAGE_COOKIE.cs | 5 +- .../helper-types/DPI_AWARENESS_CONTEXT.cs | 5 +- .../Windows/other/helper-types/EC_HANDLE.cs | 5 +- .../EC_OBJECT_ARRAY_PROPERTY_HANDLE.cs | 5 +- .../Windows/other/helper-types/HACCEL.cs | 5 +- .../Windows/other/helper-types/HANDLE.cs | 5 +- .../Windows/other/helper-types/HANDLE_PTR.cs | 5 +- .../other/helper-types/HANIMATIONBUFFER.cs | 5 +- .../Windows/other/helper-types/HBITMAP.cs | 5 +- .../Windows/other/helper-types/HBRUSH.cs | 5 +- .../Windows/other/helper-types/HCATADMIN.cs | 5 +- .../other/helper-types/HCERTCHAINENGINE.cs | 5 +- .../Windows/other/helper-types/HCERTSTORE.cs | 5 +- .../other/helper-types/HCERTSTOREPROV.cs | 5 +- .../HCERT_SERVER_OCSP_RESPONSE.cs | 5 +- .../Windows/other/helper-types/HCOLORSPACE.cs | 5 +- .../Windows/other/helper-types/HCOMDB.cs | 5 +- .../Windows/other/helper-types/HCRYPTASYNC.cs | 5 +- .../helper-types/HCRYPTDEFAULTCONTEXT.cs | 5 +- .../Windows/other/helper-types/HCRYPTHASH.cs | 5 +- .../Windows/other/helper-types/HCRYPTKEY.cs | 5 +- .../Windows/other/helper-types/HCRYPTMSG.cs | 5 +- .../other/helper-types/HCRYPTOIDFUNCADDR.cs | 5 +- .../other/helper-types/HCRYPTOIDFUNCSET.cs | 5 +- .../Windows/other/helper-types/HCRYPTPROV.cs | 5 +- .../other/helper-types/HCRYPTPROV_LEGACY.cs | 5 +- .../HCRYPTPROV_OR_NCRYPT_KEY_HANDLE.cs | 5 +- .../Windows/other/helper-types/HCURSOR.cs | 5 +- .../Windows/Windows/other/helper-types/HDC.cs | 5 +- .../Windows/other/helper-types/HDESK.cs | 5 +- .../Windows/other/helper-types/HDEVINFO.cs | 5 +- .../Windows/other/helper-types/HDEVNOTIFY.cs | 5 +- .../Windows/other/helper-types/HDROP.cs | 5 +- .../Windows/other/helper-types/HDSKSPC.cs | 5 +- .../Windows/other/helper-types/HDWP.cs | 5 +- .../other/helper-types/HENHMETAFILE.cs | 5 +- .../Windows/other/helper-types/HEVENT.cs | 5 +- .../Windows/other/helper-types/HFONT.cs | 5 +- .../Windows/other/helper-types/HGDIOBJ.cs | 5 +- .../other/helper-types/HGESTUREINFO.cs | 5 +- .../Windows/other/helper-types/HGLOBAL.cs | 5 +- .../Windows/other/helper-types/HGLRC.cs | 5 +- .../Windows/other/helper-types/HHANDLE.cs | 5 +- .../Windows/other/helper-types/HHOOK.cs | 5 +- .../Windows/other/helper-types/HICON.cs | 5 +- .../other/helper-types/HIFTIMESTAMPCHANGE.cs | 5 +- .../Windows/other/helper-types/HIMAGELIST.cs | 5 +- .../Windows/other/helper-types/HIMC.cs | 5 +- .../Windows/other/helper-types/HIMCC.cs | 5 +- .../Windows/other/helper-types/HINF.cs | 5 +- .../Windows/other/helper-types/HINSTANCE.cs | 5 +- .../other/helper-types/HINTERACTIONCONTEXT.cs | 5 +- .../Windows/other/helper-types/HINTERNET.cs | 5 +- .../Windows/other/helper-types/HKEY.cs | 5 +- .../Windows/Windows/other/helper-types/HKL.cs | 5 +- .../Windows/other/helper-types/HLOCAL.cs | 5 +- .../Windows/other/helper-types/HMENU.cs | 5 +- .../Windows/other/helper-types/HMETAFILE.cs | 5 +- .../other/helper-types/HMETAFILEPICT.cs | 5 +- .../Windows/other/helper-types/HMIDI.cs | 5 +- .../Windows/other/helper-types/HMIDIIN.cs | 5 +- .../Windows/other/helper-types/HMIDIOUT.cs | 5 +- .../Windows/other/helper-types/HMIDISTRM.cs | 5 +- .../Windows/other/helper-types/HMIXER.cs | 5 +- .../Windows/other/helper-types/HMIXEROBJ.cs | 5 +- .../Windows/other/helper-types/HMODULE.cs | 5 +- .../Windows/other/helper-types/HMONITOR.cs | 5 +- .../other/helper-types/HPAINTBUFFER.cs | 5 +- .../Windows/other/helper-types/HPALETTE.cs | 5 +- .../Windows/other/helper-types/HPCON.cs | 5 +- .../Windows/other/helper-types/HPEN.cs | 5 +- .../other/helper-types/HPOWERNOTIFY.cs | 5 +- .../other/helper-types/HPROPSHEETPAGE.cs | 5 +- .../Windows/other/helper-types/HPSS.cs | 5 +- .../Windows/other/helper-types/HPSSWALK.cs | 5 +- .../Windows/other/helper-types/HPSXA.cs | 5 +- .../Windows/other/helper-types/HRAWINPUT.cs | 5 +- .../Windows/other/helper-types/HRESULT.cs | 5 +- .../Windows/other/helper-types/HRGN.cs | 5 +- .../Windows/other/helper-types/HRSRC.cs | 5 +- .../Windows/other/helper-types/HSEMAPHORE.cs | 5 +- .../Windows/other/helper-types/HSPFILELOG.cs | 5 +- .../Windows/other/helper-types/HSPFILEQ.cs | 5 +- .../Windows/other/helper-types/HSTRING.cs | 5 +- .../other/helper-types/HSTRING_BUFFER.cs | 5 +- .../Windows/other/helper-types/HSWDEVICE.cs | 5 +- .../helper-types/HSYNTHETICPOINTERDEVICE.cs | 5 +- .../Windows/other/helper-types/HTASK.cs | 5 +- .../Windows/other/helper-types/HTHEME.cs | 5 +- .../Windows/other/helper-types/HTHUMBNAIL.cs | 5 +- .../Windows/other/helper-types/HTOUCHINPUT.cs | 5 +- .../Windows/other/helper-types/HTREEITEM.cs | 5 +- .../Windows/other/helper-types/HUSKEY.cs | 5 +- .../Windows/other/helper-types/HWAVEIN.cs | 5 +- .../Windows/other/helper-types/HWAVEOUT.cs | 5 +- .../other/helper-types/HWINEVENTHOOK.cs | 5 +- .../Windows/other/helper-types/HWINSTA.cs | 5 +- .../Windows/other/helper-types/HWND.cs | 5 +- .../other/helper-types/InstanceHandle.cs | 5 +- .../Windows/other/helper-types/LPARAM.cs | 5 +- .../LPPROC_THREAD_ATTRIBUTE_LIST.cs | 5 +- .../Windows/other/helper-types/LRESULT.cs | 5 +- .../Windows/other/helper-types/MSIHANDLE.cs | 5 +- ...chineGlobalObjectTableRegistrationToken.cs | 5 +- .../Windows/other/helper-types/OAHWND.cs | 5 +- .../helper-types/PACKAGEDEPENDENCY_CONTEXT.cs | 95 ++++++++ .../helper-types/PACKAGE_INFO_REFERENCE.cs | 5 +- .../PAPPCONSTRAIN_REGISTRATION.cs | 5 +- .../helper-types/PAPPSTATE_REGISTRATION.cs | 5 +- .../helper-types/PCUSERIALIZEDPROPSTORAGE.cs | 5 +- .../helper-types/PHIDP_PREPARSED_DATA.cs | 5 +- .../PRJ_DIR_ENTRY_BUFFER_HANDLE.cs | 5 +- .../PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.cs | 5 +- .../helper-types/PTP_CALLBACK_INSTANCE.cs | 5 +- .../other/helper-types/PTP_CLEANUP_GROUP.cs | 5 +- .../Windows/other/helper-types/PTP_POOL.cs | 5 +- .../other/helper-types/ROPARAMIIDHANDLE.cs | 5 +- .../helper-types/RO_REGISTRATION_COOKIE.cs | 5 +- .../other/helper-types/SPSTATEHANDLE.cs | 5 +- .../helper-types/UI_ANIMATION_KEYFRAME.cs | 5 +- .../Windows/other/helper-types/WPARAM.cs | 5 +- .../shared/Iprtrmib/MIB_IPDESTTABLE.cs | 2 +- .../Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs | 2 +- .../shared/Iprtrmib/MIB_OPAQUE_INFO.cs | 2 +- .../shared/Iprtrmib/MIB_OPAQUE_QUERY.cs | 2 +- .../Windows/Windows/shared/evntprov/EVENT.cs | 93 ++++++++ .../shared/evntprov/EVENT_DATA_DESCRIPTOR.cs | 95 ++++++++ .../shared/evntprov/EVENT_DESCRIPTOR.cs | 36 ++++ .../evntprov/EVENT_FILTER_DESCRIPTOR.cs | 22 ++ .../shared/evntprov/EVENT_FILTER_EVENT_ID.cs | 25 +++ .../evntprov/EVENT_FILTER_EVENT_NAME.cs | 33 +++ .../shared/evntprov/EVENT_FILTER_HEADER.cs | 33 +++ .../shared/evntprov/EVENT_FILTER_LEVEL_KW.cs | 26 +++ .../shared/evntprov/EVENT_INFO_CLASS.cs | 25 +++ .../Windows/Windows/shared/evntprov/MAX.cs | 30 +++ .../Windows/shared/evntprov/Windows.cs | 203 ++++++++++++++++++ .../hidclass/HID_COLLECTION_INFORMATION.cs | 2 +- .../Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs | 2 +- .../Windows/Windows/shared/hidpi/HIDP_CAPS.cs | 2 +- .../shared/hidpi/HIDP_UNKNOWN_TOKEN.cs | 2 +- .../Windows/shared/hidpi/HIDP_VALUE_CAPS.cs | 2 +- .../shared/ifdef/IF_COUNTED_STRING_LH.cs | 2 +- .../shared/ifdef/IF_PHYSICAL_ADDRESS_LH.cs | 2 +- .../Windows/Windows/shared/ifmib/MIB_IFROW.cs | 6 +- .../Windows/shared/ifmib/MIB_IFTABLE.cs | 2 +- .../Windows/shared/in6addr/IN6_ADDR.cs | 4 +- .../shared/ipmib/MIBICMPSTATS_EX_XPSP1.cs | 2 +- .../Windows/shared/ipmib/MIB_IPADDRTABLE.cs | 2 +- .../shared/ipmib/MIB_IPFORWARDTABLE.cs | 2 +- .../shared/ipmib/MIB_IPMCAST_IF_TABLE.cs | 2 +- .../Windows/shared/ipmib/MIB_IPMCAST_MFE.cs | 2 +- .../shared/ipmib/MIB_IPMCAST_MFE_STATS.cs | 2 +- .../ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs | 2 +- .../Windows/shared/ipmib/MIB_IPNETROW_LH.cs | 2 +- .../Windows/shared/ipmib/MIB_IPNETROW_W2K.cs | 2 +- .../Windows/shared/ipmib/MIB_IPNETTABLE.cs | 2 +- .../shared/ipmib/MIB_MFE_STATS_TABLE.cs | 2 +- .../shared/ipmib/MIB_MFE_STATS_TABLE_EX_XP.cs | 2 +- .../Windows/shared/ipmib/MIB_MFE_TABLE.cs | 2 +- .../shared/ktmtypes/KCRM_TRANSACTION_BLOB.cs | 2 +- .../Windows/shared/mmreg/ADPCMWAVEFORMAT.cs | 2 +- .../Windows/shared/mmreg/HEAACWAVEFORMAT.cs | 2 +- .../shared/mmreg/TRUESPEECHWAVEFORMAT.cs | 2 +- .../Windows/shared/mmreg/WAVEFILTER.cs | 2 +- .../shared/tbs/TPM_WNF_PROVISIONING.cs | 2 +- .../shared/tcpmib/MIB_TCP6ROW_OWNER_MODULE.cs | 6 +- .../shared/tcpmib/MIB_TCP6ROW_OWNER_PID.cs | 4 +- .../Windows/shared/tcpmib/MIB_TCP6TABLE.cs | 2 +- .../Windows/shared/tcpmib/MIB_TCP6TABLE2.cs | 2 +- .../tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs | 2 +- .../shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs | 2 +- .../shared/tcpmib/MIB_TCPROW_OWNER_MODULE.cs | 2 +- .../Windows/shared/tcpmib/MIB_TCPTABLE.cs | 2 +- .../Windows/shared/tcpmib/MIB_TCPTABLE2.cs | 2 +- .../tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs | 2 +- .../shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs | 2 +- .../Windows/shared/tvout/VIDEOPARAMETERS.cs | 2 +- .../Windows/shared/udpmib/MIB_UDP6ROW2.cs | 6 +- .../shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs | 4 +- .../shared/udpmib/MIB_UDP6ROW_OWNER_PID.cs | 2 +- .../Windows/shared/udpmib/MIB_UDP6TABLE.cs | 2 +- .../Windows/shared/udpmib/MIB_UDP6TABLE2.cs | 2 +- .../udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs | 2 +- .../shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs | 2 +- .../Windows/shared/udpmib/MIB_UDPROW2.cs | 2 +- .../shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs | 2 +- .../Windows/shared/udpmib/MIB_UDPTABLE.cs | 2 +- .../Windows/shared/udpmib/MIB_UDPTABLE2.cs | 2 +- .../udpmib/MIB_UDPTABLE_OWNER_MODULE.cs | 2 +- .../shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs | 2 +- .../shared/windef/APP_LOCAL_DEVICE_ID.cs | 2 +- .../Windows/shared/ws2def/ADDRINFOEX2A.cs | 1 + .../Windows/shared/ws2def/ADDRINFOEXA.cs | 1 + .../Windows/Windows/shared/ws2def/SOCKADDR.cs | 2 +- .../Windows/shared/ws2def/SOCKADDR_DL.cs | 4 +- .../Windows/shared/ws2def/SOCKADDR_IN.cs | 2 +- .../Windows/shared/ws2def/SOCKADDR_STORAGE.cs | 4 +- .../shared/ws2def/SOCKADDR_STORAGE_XP.cs | 4 +- .../shared/ws2def/SOCKET_ADDRESS_LIST.cs | 2 +- .../Windows/shared/ws2ipdef/GROUP_FILTER.cs | 2 +- .../Windows/shared/ws2ipdef/IP_MSFILTER.cs | 2 +- .../Windows/shared/wtypes/RemHBITMAP.cs | 2 +- .../Windows/shared/wtypes/RemHBRUSH.cs | 2 +- .../Windows/shared/wtypes/RemHENHMETAFILE.cs | 2 +- .../Windows/shared/wtypes/RemHGLOBAL.cs | 2 +- .../Windows/shared/wtypes/RemHMETAFILEPICT.cs | 2 +- .../Windows/shared/wtypes/RemHPALETTE.cs | 2 +- .../Windows/shared/wtypes/userBITMAP.cs | 2 +- .../Windows/shared/wtypesbase/BYTE_BLOB.cs | 2 +- .../Windows/shared/wtypesbase/DWORD_BLOB.cs | 2 +- .../shared/wtypesbase/FLAGGED_BYTE_BLOB.cs | 2 +- .../shared/wtypesbase/FLAGGED_WORD_BLOB.cs | 2 +- .../Windows/shared/wtypesbase/WORD_BLOB.cs | 2 +- .../Windows/Windows/um/CommCtrl/LITEM.cs | 4 +- .../Windows/um/CommCtrl/NMCBEDRAGBEGINA.cs | 2 +- .../Windows/um/CommCtrl/NMCBEDRAGBEGINW.cs | 2 +- .../Windows/um/CommCtrl/NMCBEENDEDITA.cs | 2 +- .../Windows/um/CommCtrl/NMCBEENDEDITW.cs | 2 +- .../Windows/um/CommCtrl/NMDATETIMEFORMATA.cs | 2 +- .../Windows/um/CommCtrl/NMDATETIMEFORMATW.cs | 2 +- .../Windows/um/CommCtrl/NMLVEMPTYMARKUP.cs | 2 +- .../Windows/um/CommCtrl/NMTTDISPINFOA.cs | 2 +- .../Windows/um/CommCtrl/NMTTDISPINFOW.cs | 2 +- .../Windows/Windows/um/Cpl/NEWCPLINFOA.cs | 6 +- .../Windows/Windows/um/Cpl/NEWCPLINFOW.cs | 6 +- .../DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD.cs | 2 +- .../IMAGEHLP_DEFERRED_SYMBOL_LOAD64.cs | 2 +- .../IMAGEHLP_DEFERRED_SYMBOL_LOADW64.cs | 2 +- .../Windows/um/DbgHelp/IMAGEHLP_MODULE.cs | 6 +- .../Windows/um/DbgHelp/IMAGEHLP_MODULE64.cs | 10 +- .../Windows/um/DbgHelp/IMAGEHLP_MODULEW.cs | 6 +- .../Windows/um/DbgHelp/IMAGEHLP_MODULEW64.cs | 10 +- .../um/DbgHelp/IMAGEHLP_STACK_FRAME.cs | 4 +- .../Windows/um/DbgHelp/IMAGEHLP_SYMBOL.cs | 2 +- .../Windows/um/DbgHelp/IMAGEHLP_SYMBOL64.cs | 2 +- .../um/DbgHelp/IMAGEHLP_SYMBOL64_PACKAGE.cs | 2 +- .../Windows/um/DbgHelp/IMAGEHLP_SYMBOLW.cs | 2 +- .../Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64.cs | 2 +- .../um/DbgHelp/IMAGEHLP_SYMBOLW64_PACKAGE.cs | 2 +- .../um/DbgHelp/IMAGEHLP_SYMBOLW_PACKAGE.cs | 2 +- .../um/DbgHelp/IMAGEHLP_SYMBOL_PACKAGE.cs | 2 +- .../Windows/um/DbgHelp/IMAGEHLP_SYMBOL_SRC.cs | 2 +- .../Windows/Windows/um/DbgHelp/KDHELP.cs | 2 +- .../Windows/Windows/um/DbgHelp/KDHELP64.cs | 2 +- .../Windows/um/DbgHelp/MODULE_TYPE_INFO.cs | 2 +- .../Windows/Windows/um/DbgHelp/SRCCODEINFO.cs | 4 +- .../Windows/um/DbgHelp/SRCCODEINFOW.cs | 4 +- .../Windows/Windows/um/DbgHelp/STACKFRAME.cs | 4 +- .../Windows/um/DbgHelp/STACKFRAME64.cs | 4 +- .../Windows/um/DbgHelp/STACKFRAME_EX.cs | 4 +- .../Windows/Windows/um/DbgHelp/SYMBOL_INFO.cs | 4 +- .../Windows/um/DbgHelp/SYMBOL_INFOW.cs | 4 +- .../Windows/um/DbgHelp/SYMBOL_INFO_PACKAGE.cs | 2 +- .../um/DbgHelp/SYMBOL_INFO_PACKAGEW.cs | 2 +- .../um/DbgHelp/SYMSRV_EXTENDED_OUTPUT_DATA.cs | 2 +- .../Windows/um/DbgHelp/SYMSRV_INDEX_INFO.cs | 6 +- .../Windows/um/DbgHelp/SYMSRV_INDEX_INFOW.cs | 6 +- .../um/DbgHelp/TI_FINDCHILDREN_PARAMS.cs | 2 +- .../Windows/um/DocObj/IOleCommandTarget.cs | 4 +- .../Windows/Windows/um/DocObj/OLECMDTEXT.cs | 2 +- .../Windows/Windows/um/DocObj/PAGESET.cs | 2 +- .../Windows/um/IContact/IContactProperties.cs | 8 +- .../Windows/um/IPExport/IPV6_ADDRESS_EX.cs | 2 +- .../um/IPExport/IP_ADAPTER_INDEX_MAP.cs | 2 +- .../um/IPExport/IP_ADAPTER_ORDER_MAP.cs | 2 +- .../Windows/um/IPExport/IP_INTERFACE_INFO.cs | 2 +- .../IP_UNIDIRECTIONAL_ADAPTER_ADDRESS.cs | 2 +- .../Windows/Windows/um/IPTypes/FIXED_INFO.cs | 6 +- .../um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs | 6 +- .../um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs | 4 +- .../um/IPTypes/IP_ADAPTER_DNS_SUFFIX.cs | 2 +- .../Windows/um/IPTypes/IP_ADAPTER_INFO.cs | 6 +- .../Windows/um/IPTypes/IP_MASK_STRING.cs | 2 +- .../Windows/um/MSChapp/CYPHER_BLOCK.cs | 2 +- .../um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs | 2 +- .../Windows/um/MSChapp/LM_OWF_PASSWORD.cs | 2 +- .../MSChapp/SAMPR_ENCRYPTED_USER_PASSWORD.cs | 2 +- .../Windows/um/Mobsync/SYNCMGRHANDLERINFO.cs | 2 +- .../Windows/Windows/um/Mobsync/SYNCMGRITEM.cs | 2 +- .../Windows/Windows/um/Msi/MSIFILEHASHINFO.cs | 2 +- .../Interop/Windows/Windows/um/Msi/Windows.cs | 16 +- .../PSS_PROCESS_INFORMATION.cs | 2 +- .../um/PropIdlBase/IPropertyStorage.cs | 24 +-- .../um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs | 2 +- .../um/RestartManager/RM_PROCESS_INFO.cs | 4 +- .../Windows/um/RestartManager/Windows.cs | 8 +- .../Windows/Windows/um/SetupAPI/Windows.cs | 8 +- .../Windows/um/ShObjIdl_core/CATEGORY_INFO.cs | 2 +- .../Windows/um/ShObjIdl_core/CM_COLUMNINFO.cs | 2 +- .../um/ShObjIdl_core/DELEGATEITEMID.cs | 2 +- .../Windows/um/ShObjIdl_core/DESKBANDINFO.cs | 2 +- .../Windows/um/ShObjIdl_core/EXTRASEARCH.cs | 4 +- .../Windows/um/ShObjIdl_core/IFolderView2.cs | 12 ++ .../PERSIST_FOLDER_TARGET_INFO.cs | 4 +- .../um/ShObjIdl_core/SHELL_ITEM_RESOURCE.cs | 2 +- .../Windows/um/ShObjIdl_core/THUMBBUTTON.cs | 2 +- .../Windows/um/ShlObj/AASHELLMENUFILENAME.cs | 4 +- .../Windows/Windows/um/ShlObj/SHCOLUMNDATA.cs | 2 +- .../Windows/Windows/um/ShlObj/SHCOLUMNINFO.cs | 4 +- .../Windows/Windows/um/ShlObj/SHCOLUMNINIT.cs | 2 +- .../um/ShlObj/SHChangeProductKeyAsIDList.cs | 2 +- .../Windows/Windows/um/ShlObj/Windows.cs | 2 +- .../um/ShlObj_core/AUTO_SCROLL_DATA.cs | 4 +- .../Windows/Windows/um/ShlObj_core/CIDA.cs | 2 +- .../Windows/um/ShlObj_core/DROPDESCRIPTION.cs | 4 +- .../Windows/um/ShlObj_core/EXP_DARWIN_LINK.cs | 4 +- .../um/ShlObj_core/EXP_PROPERTYSTORAGE.cs | 2 +- .../Windows/um/ShlObj_core/EXP_SZ_LINK.cs | 4 +- .../Windows/um/ShlObj_core/FILEDESCRIPTORA.cs | 2 +- .../Windows/um/ShlObj_core/FILEDESCRIPTORW.cs | 2 +- .../um/ShlObj_core/FILEGROUPDESCRIPTORA.cs | 2 +- .../um/ShlObj_core/FILEGROUPDESCRIPTORW.cs | 2 +- .../um/ShlObj_core/FILE_ATTRIBUTES_ARRAY.cs | 2 +- .../Windows/um/ShlObj_core/NRESARRAY.cs | 2 +- .../um/ShlObj_core/NT_CONSOLE_PROPS.cs | 4 +- .../Windows/Windows/um/ShlObj_core/PROPPRG.cs | 12 +- .../Windows/um/ShlObj_core/QCMINFO_IDMAP.cs | 2 +- .../um/ShlObj_core/SFVM_HELPTOPIC_DATA.cs | 4 +- .../ShlObj_core/SHChangeUpdateImageIDList.cs | 2 +- .../Windows/Windows/um/ShlObj_core/Windows.cs | 6 +- .../Windows/um/Shlwapi/Windows.Manual.cs | 22 ++ .../Windows/Windows/um/Shlwapi/Windows.cs | 11 +- .../Windows/um/SoftPub/DRIVER_VER_INFO.cs | 4 +- .../um/SrRestorePtApi/RESTOREPOINTINFOA.cs | 2 +- .../um/SrRestorePtApi/RESTOREPOINTINFOEX.cs | 2 +- .../um/SrRestorePtApi/RESTOREPOINTINFOW.cs | 2 +- .../Windows/um/TlHelp32/MODULEENTRY32.cs | 4 +- .../Windows/um/TlHelp32/MODULEENTRY32W.cs | 4 +- .../Windows/um/TlHelp32/PROCESSENTRY32.cs | 2 +- .../Windows/um/TlHelp32/PROCESSENTRY32W.cs | 2 +- .../um/UserEnv/GROUP_POLICY_OBJECTA.cs | 2 +- .../um/UserEnv/GROUP_POLICY_OBJECTW.cs | 2 +- .../Windows/Windows/um/Uxtheme/INTLIST.cs | 2 +- .../Windows/Windows/um/WinBase/COMMCONFIG.cs | 2 +- .../Windows/Windows/um/WinBase/COMMPROP.cs | 2 +- .../COPYFILE2_EXTENDED_PARAMETERS_V2.cs | 2 +- .../um/WinBase/FILE_COMPRESSION_INFO.cs | 2 +- .../Windows/um/WinBase/FILE_FULL_DIR_INFO.cs | 2 +- .../um/WinBase/FILE_ID_BOTH_DIR_INFO.cs | 4 +- .../um/WinBase/FILE_ID_EXTD_DIR_INFO.cs | 2 +- .../Windows/um/WinBase/FILE_NAME_INFO.cs | 2 +- .../um/WinBase/FILE_REMOTE_PROTOCOL_INFO.cs | 4 +- .../Windows/um/WinBase/FILE_RENAME_INFO.cs | 2 +- .../Windows/um/WinBase/FILE_STREAM_INFO.cs | 2 +- .../Windows/um/WinBase/HW_PROFILE_INFOA.cs | 4 +- .../Windows/um/WinBase/HW_PROFILE_INFOW.cs | 4 +- .../Windows/Windows/um/WinBase/OFSTRUCT.cs | 2 +- .../Windows/um/WinBase/WIN32_STREAM_ID.cs | 2 +- .../Windows/um/WinTrust/WIN_CERTIFICATE.cs | 2 +- .../Windows/um/WinUser/HELPWININFOA.cs | 2 +- .../Windows/um/WinUser/HELPWININFOW.cs | 2 +- .../Windows/Windows/um/WinUser/ICONINFOEXA.cs | 4 +- .../Windows/Windows/um/WinUser/ICONINFOEXW.cs | 4 +- .../Windows/um/WinUser/INPUT_TRANSFORM.cs | 2 +- .../Windows/um/WinUser/MENUITEMTEMPLATE.cs | 2 +- .../Windows/um/WinUser/MONITORINFOEXA.cs | 2 +- .../Windows/um/WinUser/MONITORINFOEXW.cs | 2 +- .../Windows/um/WinUser/MULTIKEYHELPA.cs | 2 +- .../Windows/um/WinUser/MULTIKEYHELPW.cs | 2 +- .../Windows/um/WinUser/NCCALCSIZE_PARAMS.cs | 2 +- .../Windows/Windows/um/WinUser/PAINTSTRUCT.cs | 2 +- .../Windows/um/WinUser/POINTER_DEVICE_INFO.cs | 2 +- .../um/WinUser/POWERBROADCAST_SETTING.cs | 2 +- .../Windows/Windows/um/WinUser/RAWHID.cs | 2 +- .../Windows/um/WinUser/SCROLLBARINFO.cs | 2 +- .../Windows/um/WinUser/TITLEBARINFO.cs | 2 +- .../Windows/um/WinUser/TITLEBARINFOEX.cs | 4 +- .../Windows/Windows/um/WinUser/Windows.cs | 11 +- .../Windows/um/amvideo/IBaseVideoMixer.cs | 2 + .../Windows/um/amvideo/IDirectDrawVideo.cs | 2 + .../Windows/um/amvideo/IFullScreenVideo.cs | 2 + .../Windows/um/amvideo/IFullScreenVideoEx.cs | 2 + .../Windows/Windows/um/amvideo/IQualProp.cs | 2 + .../Windows/um/amvideo/MPEG1VIDEOINFO.cs | 2 +- .../Windows/um/amvideo/TRUECOLORINFO.cs | 4 +- .../Windows/Windows/um/amvideo/VIDEOINFO.cs | 4 +- .../um/audiopolicy/IAudioSessionEvents.cs | 4 +- .../Windows/Windows/um/comcat/CATEGORYINFO.cs | 2 +- .../Windows/um/comcat/ICatInformation.cs | 8 +- .../Windows/Windows/um/comcat/ICatRegister.cs | 24 +-- .../CONSOLE_SCREEN_BUFFER_INFOEX.cs | 2 +- .../um/consoleapi3/CONSOLE_FONT_INFOEX.cs | 2 +- .../Windows/um/ctfutb/TF_LANGBARITEMINFO.cs | 2 +- .../Windows/um/devicetopology/IAudioBass.cs | 2 +- .../um/devicetopology/IAudioMidrange.cs | 2 +- .../Windows/um/devicetopology/IAudioTreble.cs | 2 +- .../um/devicetopology/IAudioVolumeLevel.cs | 2 +- .../um/devicetopology/IPerChannelDbLevel.cs | 4 +- .../Windows/um/dvdmedia/AM_DVDCOPY_BUSKEY.cs | 4 +- .../Windows/um/dvdmedia/AM_DVDCOPY_CHLGKEY.cs | 4 +- .../Windows/um/dvdmedia/AM_DVDCOPY_DISCKEY.cs | 2 +- .../um/dvdmedia/AM_DVDCOPY_TITLEKEY.cs | 6 +- .../Windows/um/dvdmedia/AM_PROPERTY_SPPAL.cs | 2 +- .../Windows/um/dvdmedia/MPEG2VIDEOINFO.cs | 2 +- .../AUDIO_VOLUME_NOTIFICATION_DATA.cs | 2 +- .../Interop/Windows/Windows/um/fci/CCAB.cs | 6 +- .../Windows/Windows/um/fdi/FDISPILLFILE.cs | 2 +- .../um/fileapi/WIN32_FIND_STREAM_DATA.cs | 2 +- .../Windows/Windows/um/fileapi/Windows.cs | 4 +- .../Windows/um/imapi2/IDiscRecorder2Ex.cs | 12 +- .../Windows/Windows/um/imm/CANDIDATELIST.cs | 2 +- .../Windows/um/imm/IMEMENUITEMINFOA.cs | 2 +- .../Windows/um/imm/IMEMENUITEMINFOW.cs | 2 +- .../Windows/Windows/um/imm/STYLEBUFA.cs | 2 +- .../Windows/Windows/um/imm/STYLEBUFW.cs | 2 +- .../Windows/um/immdev/CANDIDATEINFO.cs | 2 +- .../Windows/Windows/um/immdev/INPUTCONTEXT.cs | 4 +- .../Windows/Windows/um/immdev/SOFTKBDDATA.cs | 2 +- .../Windows/Windows/um/immdev/TRANSMSGLIST.cs | 2 +- .../Windows/um/iphlpapi/NET_ADDRESS_INFO.cs | 4 +- .../WIN32_MEMORY_PARTITION_INFORMATION.cs | 2 +- .../Windows/um/mfapi/DIRTYRECT_INFO.cs | 2 +- .../Interop/Windows/Windows/um/mfapi/IID.cs | 37 ++++ .../Windows/Windows/um/mfapi/MFASYNCRESULT.cs | 2 + .../Windows/um/mfapi/MFCameraExtrinsics.cs | 2 +- .../Windows/um/mfapi/MFFOLDDOWN_MATRIX.cs | 2 +- .../um/mfapi/MFPinholeCameraIntrinsics.cs | 2 +- .../Windows/um/mfapi/MOVEREGION_INFO.cs | 2 +- .../MFCONTENTPROTECTIONDEVICE_INPUT_DATA.cs | 2 +- .../MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA.cs | 2 +- ...ENTPROTECTIONDEVICE_REALTIMECLIENT_DATA.cs | 2 +- .../MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS.cs | 2 +- .../um/mfidl/MFRR_COMPONENT_HASH_INFO.cs | 6 +- .../um/mfobjects/MFVideoSurfaceInfo.cs | 2 +- .../um/minwinbase/PROCESS_HEAP_ENTRY.cs | 2 +- .../Windows/um/minwinbase/WIN32_FIND_DATAA.cs | 4 +- .../Windows/um/minwinbase/WIN32_FIND_DATAW.cs | 4 +- .../Windows/Windows/um/mmeapi/AUXCAPS2A.cs | 2 +- .../Windows/Windows/um/mmeapi/AUXCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/AUXCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/AUXCAPSW.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIEVENT.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIHDR.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIINCAPS2A.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIINCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIINCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIINCAPSW.cs | 2 +- .../Windows/um/mmeapi/MIDIOUTCAPS2A.cs | 2 +- .../Windows/um/mmeapi/MIDIOUTCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIOUTCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/MIDIOUTCAPSW.cs | 2 +- .../Windows/Windows/um/mmeapi/MIXERCAPS2A.cs | 2 +- .../Windows/Windows/um/mmeapi/MIXERCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/MIXERCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/MIXERCAPSW.cs | 2 +- .../Windows/um/mmeapi/MIXERCONTROLA.cs | 8 +- .../mmeapi/MIXERCONTROLDETAILS_LISTTEXTA.cs | 2 +- .../mmeapi/MIXERCONTROLDETAILS_LISTTEXTW.cs | 2 +- .../Windows/um/mmeapi/MIXERCONTROLW.cs | 8 +- .../Windows/Windows/um/mmeapi/MIXERLINEA.cs | 6 +- .../Windows/Windows/um/mmeapi/MIXERLINEW.cs | 6 +- .../Windows/Windows/um/mmeapi/WAVEINCAPS2A.cs | 2 +- .../Windows/Windows/um/mmeapi/WAVEINCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/WAVEINCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/WAVEINCAPSW.cs | 2 +- .../Windows/um/mmeapi/WAVEOUTCAPS2A.cs | 2 +- .../Windows/um/mmeapi/WAVEOUTCAPS2W.cs | 2 +- .../Windows/Windows/um/mmeapi/WAVEOUTCAPSA.cs | 2 +- .../Windows/Windows/um/mmeapi/WAVEOUTCAPSW.cs | 2 +- .../Windows/Windows/um/mmsyscom/MMTIME.cs | 2 +- .../KERB_ADD_CREDENTIALS_REQUEST_EX.cs | 2 +- .../um/ntsecapi/KERB_DECRYPT_RESPONSE.cs | 2 +- .../Windows/um/ntsecapi/KERB_EXTERNAL_NAME.cs | 2 +- .../Windows/um/ntsecapi/KERB_NET_ADDRESSES.cs | 2 +- .../KERB_QUERY_TKT_CACHE_EX2_RESPONSE.cs | 2 +- .../KERB_QUERY_TKT_CACHE_EX3_RESPONSE.cs | 2 +- .../KERB_QUERY_TKT_CACHE_EX_RESPONSE.cs | 2 +- .../ntsecapi/KERB_QUERY_TKT_CACHE_RESPONSE.cs | 2 +- .../um/ntsecapi/MSV1_0_CREDENTIAL_KEY.cs | 2 +- .../MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL.cs | 2 +- .../Windows/um/ntsecapi/MSV1_0_LM20_LOGON.cs | 2 +- .../um/ntsecapi/MSV1_0_LM20_LOGON_PROFILE.cs | 4 +- .../um/ntsecapi/MSV1_0_NTLM3_RESPONSE.cs | 6 +- .../MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.cs | 2 +- .../um/ntsecapi/MSV1_0_SUBAUTH_LOGON.cs | 2 +- .../MSV1_0_SUPPLEMENTAL_CREDENTIAL.cs | 4 +- .../MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2.cs | 2 +- .../MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3.cs | 4 +- .../um/ntsecapi/NEGOTIATE_PACKAGE_PREFIX.cs | 2 +- .../um/ntsecapi/SE_ADT_ACCESS_REASON.cs | 2 +- .../um/ntsecapi/SE_ADT_PARAMETER_ARRAY.cs | 2 +- .../ntsecapi/SE_ADT_PARAMETER_ARRAY_ENTRY.cs | 2 +- .../um/ntsecapi/SE_ADT_PARAMETER_ARRAY_EX.cs | 2 +- .../Windows/Windows/um/oaidl/ARRAYDESC.cs | 2 +- .../Windows/Windows/um/oaidl/SAFEARRAY.cs | 2 +- .../Windows/um/oaidl/_wireSAFEARRAY.cs | 2 +- .../Windows/um/objidl/DVTARGETDEVICE.cs | 2 +- .../Windows/Windows/um/objidl/RemSNB.cs | 2 +- .../Windows/Windows/um/objidl/RemSTGMEDIUM.cs | 2 +- .../Windows/um/oleidl/OleMenuGroupWidths.cs | 2 +- .../um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs | 2 +- .../PRJ_PLACEHOLDER_VERSION_INFO.cs | 4 +- .../Windows/um/sapi/SPRECOCONTEXTSTATUS.cs | 2 +- .../Windows/um/sapi/SPRECOGNIZERSTATUS.cs | 2 +- .../Windows/um/sapi/SPWORDPRONUNCIATION.cs | 2 +- .../Windows/um/schannel/PctPublicKey.cs | 2 +- .../Windows/um/schannel/SCHANNEL_CERT_HASH.cs | 2 +- .../um/schannel/SCHANNEL_CERT_HASH_STORE.cs | 4 +- .../um/schannel/SCHANNEL_CLIENT_SIGNATURE.cs | 4 +- .../um/schannel/SEND_GENERIC_TLS_EXTENSION.cs | 2 +- .../SUBSCRIBE_GENERIC_TLS_EXTENSION.cs | 2 +- .../um/schannel/SecPkgContext_CipherInfo.cs | 10 +- .../SecPkgContext_ConnectionInfoEx.cs | 6 +- .../um/schannel/SecPkgContext_EapKeyBlock.cs | 4 +- .../um/schannel/SecPkgContext_SessionInfo.cs | 2 +- .../Windows/um/schannel/X509Certificate.cs | 2 +- .../um/shdeprecated/CIE4ConnectionPoint.cs | 2 + .../Windows/Windows/um/shdeprecated/IID.cs | 23 ++ .../Windows/um/shellapi/Windows.Manual.cs | 5 + .../Windows/Windows/um/shellapi/Windows.cs | 11 +- .../Windows/Windows/um/shtypes/SHITEMID.cs | 2 +- .../Windows/Windows/um/shtypes/STRRET.cs | 2 +- .../Windows/um/strmif/AMCOPPCommand.cs | 2 +- .../Windows/um/strmif/AMCOPPSignature.cs | 2 +- .../Windows/um/strmif/AMCOPPStatusInput.cs | 2 +- .../Windows/um/strmif/AMCOPPStatusOutput.cs | 2 +- .../Windows/um/strmif/CodecAPIEventData.cs | 2 +- .../Windows/Windows/um/strmif/DVD_ATR.cs | 2 +- .../Windows/um/strmif/DVD_AudioAttributes.cs | 2 +- .../um/strmif/DVD_KaraokeAttributes.cs | 2 +- .../Windows/um/strmif/DVD_MenuAttributes.cs | 2 +- .../strmif/DVD_MultichannelAudioAttributes.cs | 4 +- .../Windows/um/strmif/DVD_TitleAttributes.cs | 6 +- .../Windows/Windows/um/strmif/DVINFO.cs | 2 +- .../Windows/Windows/um/strmif/FILTER_INFO.cs | 2 +- .../um/strmif/IAMFilterGraphCallback.cs | 2 + .../Windows/Windows/um/strmif/IDvdControl2.cs | 4 +- .../Windows/Windows/um/strmif/IDvdInfo2.cs | 4 +- .../Windows/Windows/um/strmif/PIN_INFO.cs | 2 +- .../Windows/um/strmif/VMRMONITORINFO.cs | 4 +- .../Windows/Windows/um/sysinfoapi/Windows.cs | 5 + .../Windows/um/thumbcache/WTS_THUMBNAILID.cs | 2 +- .../DYNAMIC_TIME_ZONE_INFORMATION.cs | 6 +- .../um/timezoneapi/TIME_ZONE_INFORMATION.cs | 4 +- .../Windows/um/urlmon/ZONEATTRIBUTES.cs | 6 +- .../Windows/um/wcmapi/WCM_PROFILE_INFO.cs | 2 +- .../um/wcmapi/WCM_PROFILE_INFO_LIST.cs | 2 +- .../Windows/um/wincodec/WICRawToneCurve.cs | 2 +- .../um/wincred/CERT_CREDENTIAL_INFO.cs | 2 +- .../um/wincrypt/CERT_FORTEZZA_DATA_PROP.cs | 4 +- .../um/wincrypt/CRYPT_3DES_KEY_STATE.cs | 6 +- .../um/wincrypt/CRYPT_AES_128_KEY_STATE.cs | 10 +- .../um/wincrypt/CRYPT_AES_256_KEY_STATE.cs | 10 +- .../um/wincrypt/CRYPT_DES_KEY_STATE.cs | 6 +- .../um/wincrypt/CRYPT_ECC_CMS_SHARED_INFO.cs | 2 +- .../um/wincrypt/CRYPT_RC2_CBC_PARAMETERS.cs | 2 +- .../um/wincrypt/CRYPT_RC4_KEY_STATE.cs | 4 +- .../um/wincrypt/CRYPT_SMART_CARD_ROOT_INFO.cs | 2 +- .../um/wincrypt/CRYPT_X942_OTHER_INFO.cs | 4 +- .../Windows/Windows/um/wincrypt/DSSSEED.cs | 2 +- .../Windows/um/wincrypt/PROV_ENUMALGS.cs | 2 +- .../Windows/um/wincrypt/PROV_ENUMALGS_EX.cs | 4 +- .../SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS.cs | 2 +- ...PKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA.cs | 2 +- ..._KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS.cs | 2 +- .../Windows/Windows/um/wincrypt/Windows.cs | 22 +- .../Windows/Windows/um/wingdi/AXESLISTA.cs | 2 +- .../Windows/Windows/um/wingdi/AXESLISTW.cs | 2 +- .../Windows/Windows/um/wingdi/AXISINFOA.cs | 2 +- .../Windows/Windows/um/wingdi/AXISINFOW.cs | 2 +- .../Windows/um/wingdi/BITMAPCOREINFO.cs | 2 +- .../Windows/Windows/um/wingdi/BITMAPINFO.cs | 2 +- .../Windows/Windows/um/wingdi/DESIGNVECTOR.cs | 2 +- .../Windows/Windows/um/wingdi/DEVMODEA.cs | 4 +- .../Windows/Windows/um/wingdi/DEVMODEW.cs | 4 +- .../Windows/Windows/um/wingdi/DIBSECTION.cs | 2 +- .../um/wingdi/DISPLAYCONFIG_ADAPTER_NAME.cs | 2 +- .../DISPLAYCONFIG_SOURCE_DEVICE_NAME.cs | 2 +- .../DISPLAYCONFIG_TARGET_DEVICE_NAME.cs | 4 +- .../Windows/um/wingdi/DISPLAY_DEVICEA.cs | 8 +- .../Windows/um/wingdi/DISPLAY_DEVICEW.cs | 8 +- .../um/wingdi/EMRCOLORMATCHTOTARGET.cs | 2 +- .../Windows/um/wingdi/EMRCREATECOLORSPACEW.cs | 2 +- .../Windows/Windows/um/wingdi/EMREXTESCAPE.cs | 2 +- .../Windows/um/wingdi/EMREXTSELECTCLIPRGN.cs | 2 +- .../Windows/Windows/um/wingdi/EMRFILLRGN.cs | 2 +- .../Windows/Windows/um/wingdi/EMRFRAMERGN.cs | 2 +- .../Windows/um/wingdi/EMRGDICOMMENT.cs | 2 +- .../Windows/um/wingdi/EMRGLSBOUNDEDRECORD.cs | 2 +- .../Windows/Windows/um/wingdi/EMRGLSRECORD.cs | 2 +- .../Windows/um/wingdi/EMRGRADIENTFILL.cs | 2 +- .../Windows/Windows/um/wingdi/EMRINVERTRGN.cs | 2 +- .../Windows/um/wingdi/EMRNAMEDESCAPE.cs | 2 +- .../Windows/Windows/um/wingdi/EMRPLGBLT.cs | 2 +- .../Windows/Windows/um/wingdi/EMRPOLYDRAW.cs | 4 +- .../Windows/um/wingdi/EMRPOLYDRAW16.cs | 4 +- .../Windows/Windows/um/wingdi/EMRPOLYLINE.cs | 2 +- .../Windows/um/wingdi/EMRPOLYLINE16.cs | 2 +- .../Windows/um/wingdi/EMRPOLYPOLYLINE.cs | 4 +- .../Windows/um/wingdi/EMRPOLYPOLYLINE16.cs | 4 +- .../Windows/um/wingdi/EMRPOLYTEXTOUTA.cs | 2 +- .../Windows/um/wingdi/EMRSETICMPROFILE.cs | 2 +- .../Windows/um/wingdi/EMRSETPALETTEENTRIES.cs | 2 +- .../Windows/um/wingdi/ENHMETARECORD.cs | 2 +- .../Windows/Windows/um/wingdi/ENUMLOGFONTA.cs | 4 +- .../Windows/um/wingdi/ENUMLOGFONTEXA.cs | 6 +- .../Windows/um/wingdi/ENUMLOGFONTEXW.cs | 6 +- .../Windows/Windows/um/wingdi/ENUMLOGFONTW.cs | 4 +- .../Windows/Windows/um/wingdi/EXTLOGFONTA.cs | 6 +- .../Windows/Windows/um/wingdi/EXTLOGFONTW.cs | 6 +- .../Windows/Windows/um/wingdi/EXTLOGPEN.cs | 2 +- .../Windows/Windows/um/wingdi/EXTLOGPEN32.cs | 2 +- .../Windows/um/wingdi/FONTSIGNATURE.cs | 4 +- .../Windows/Windows/um/wingdi/GLYPHSET.cs | 2 +- .../Windows/Windows/um/wingdi/HANDLETABLE.cs | 2 +- .../Windows/um/wingdi/LOCALESIGNATURE.cs | 6 +- .../Windows/um/wingdi/LOGCOLORSPACEA.cs | 2 +- .../Windows/um/wingdi/LOGCOLORSPACEW.cs | 2 +- .../Windows/Windows/um/wingdi/LOGFONTA.cs | 2 +- .../Windows/Windows/um/wingdi/LOGFONTW.cs | 2 +- .../Windows/Windows/um/wingdi/LOGPALETTE.cs | 2 +- .../Windows/Windows/um/wingdi/METARECORD.cs | 2 +- .../Windows/Windows/um/wingdi/RGNDATA.cs | 2 +- .../Windows/Windows/um/wingdi/TTPOLYCURVE.cs | 2 +- .../winhttp/WINHTTP_PROXY_NETWORKING_KEY.cs | 2 +- .../Windows/um/winioctl/BIN_RESULTS.cs | 2 +- .../Windows/um/winioctl/BOOT_AREA_INFO.cs | 2 +- .../um/winioctl/BULK_SECURITY_TEST_DATA.cs | 2 +- .../um/winioctl/CHANGER_ELEMENT_STATUS.cs | 4 +- .../um/winioctl/CHANGER_ELEMENT_STATUS_EX.cs | 10 +- .../um/winioctl/CHANGER_PRODUCT_DATA.cs | 8 +- .../CHANGER_SEND_VOLUME_TAG_INFORMATION.cs | 2 +- .../um/winioctl/CONTAINER_ROOT_INFO_OUTPUT.cs | 2 +- .../um/winioctl/CSV_QUERY_FILE_REVISION.cs | 2 +- .../CSV_QUERY_FILE_REVISION_FILE_ID_128.cs | 2 +- .../Windows/um/winioctl/CSV_QUERY_MDS_PATH.cs | 2 +- .../CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT.cs | 2 +- .../winioctl/DEVICEDUMP_PRIVATE_SUBSECTION.cs | 2 +- .../winioctl/DEVICEDUMP_PUBLIC_SUBSECTION.cs | 6 +- .../DEVICEDUMP_RESTRICTED_SUBSECTION.cs | 2 +- .../um/winioctl/DEVICEDUMP_SECTION_HEADER.cs | 8 +- .../DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP.cs | 4 +- ...CEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD.cs | 4 +- .../DEVICE_COPY_OFFLOAD_DESCRIPTOR.cs | 2 +- .../DEVICE_DATA_SET_LB_PROVISIONING_STATE.cs | 2 +- ...EVICE_DATA_SET_LB_PROVISIONING_STATE_V2.cs | 2 +- .../DEVICE_DATA_SET_REPAIR_PARAMETERS.cs | 2 +- ...EVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT.cs | 2 +- .../winioctl/DEVICE_DSM_LOST_QUERY_OUTPUT.cs | 2 +- .../DEVICE_DSM_NOTIFICATION_PARAMETERS.cs | 2 +- ..._DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS.cs | 2 +- .../DEVICE_DSM_OFFLOAD_READ_PARAMETERS.cs | 2 +- .../DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT.cs | 2 +- .../winioctl/DEVICE_DSM_RANGE_ERROR_INFO.cs | 2 +- .../winioctl/DEVICE_DSM_REPORT_ZONES_DATA.cs | 2 +- .../DEVICE_DSM_REPORT_ZONES_PARAMETERS.cs | 2 +- .../DEVICE_DSM_TIERING_QUERY_INPUT.cs | 2 +- .../DEVICE_DSM_TIERING_QUERY_OUTPUT.cs | 2 +- .../winioctl/DEVICE_INTERNAL_STATUS_DATA.cs | 6 +- .../DEVICE_LB_PROVISIONING_DESCRIPTOR.cs | 2 +- .../um/winioctl/DEVICE_POWER_DESCRIPTOR.cs | 2 +- .../Windows/um/winioctl/DISK_GEOMETRY_EX.cs | 2 +- .../Windows/um/winioctl/DISK_PERFORMANCE.cs | 2 +- .../Windows/um/winioctl/DRIVERSTATUS.cs | 4 +- .../um/winioctl/DRIVE_LAYOUT_INFORMATION.cs | 2 +- .../winioctl/DRIVE_LAYOUT_INFORMATION_EX.cs | 2 +- .../um/winioctl/ENCRYPTED_DATA_INFO.cs | 2 +- .../Windows/um/winioctl/ENCRYPTION_BUFFER.cs | 2 +- .../um/winioctl/FILE_LAYOUT_NAME_ENTRY.cs | 2 +- .../Windows/um/winioctl/FILE_LEVEL_TRIM.cs | 2 +- .../um/winioctl/FILE_OBJECTID_BUFFER.cs | 10 +- .../Windows/um/winioctl/FILE_PREFETCH.cs | 2 +- .../Windows/um/winioctl/FILE_PREFETCH_EX.cs | 2 +- .../FILE_QUERY_ON_DISK_VOL_INFO_BUFFER.cs | 10 +- .../Windows/um/winioctl/FILE_REGION_OUTPUT.cs | 2 +- .../Windows/um/winioctl/FILE_STORAGE_TIER.cs | 4 +- .../FILE_SYSTEM_RECOGNITION_INFORMATION.cs | 2 +- .../winioctl/FILE_TYPE_NOTIFICATION_INPUT.cs | 2 +- .../Windows/um/winioctl/FIND_BY_SID_OUTPUT.cs | 2 +- .../um/winioctl/FORMAT_EX_PARAMETERS.cs | 2 +- .../um/winioctl/FSCTL_OFFLOAD_READ_OUTPUT.cs | 2 +- .../um/winioctl/FSCTL_OFFLOAD_WRITE_INPUT.cs | 2 +- .../um/winioctl/FSCTL_QUERY_FAT_BPB_BUFFER.cs | 2 +- .../winioctl/FSCTL_QUERY_REGION_INFO_INPUT.cs | 2 +- .../FSCTL_QUERY_REGION_INFO_OUTPUT.cs | 2 +- .../FSCTL_QUERY_STORAGE_CLASSES_OUTPUT.cs | 2 +- ...CTL_SET_INTEGRITY_INFORMATION_BUFFER_EX.cs | 2 +- .../Windows/um/winioctl/GETVERSIONINPARAMS.cs | 2 +- .../um/winioctl/GET_CHANGER_PARAMETERS.cs | 4 +- .../GET_FILTER_FILE_IDENTIFIER_INPUT.cs | 2 +- .../GET_FILTER_FILE_IDENTIFIER_OUTPUT.cs | 2 +- .../Windows/um/winioctl/GET_MEDIA_TYPES.cs | 2 +- .../LOOKUP_STREAM_FROM_CLUSTER_ENTRY.cs | 2 +- .../LOOKUP_STREAM_FROM_CLUSTER_INPUT.cs | 2 +- .../NTFS_FILE_RECORD_OUTPUT_BUFFER.cs | 2 +- .../um/winioctl/PARTITION_INFORMATION_GPT.cs | 2 +- .../Windows/um/winioctl/PATHNAME_BUFFER.cs | 2 +- .../Windows/Windows/um/winioctl/PERF_BIN.cs | 2 +- .../um/winioctl/PERSISTENT_RESERVE_COMMAND.cs | 2 +- .../um/winioctl/PHYSICAL_ELEMENT_STATUS.cs | 2 +- .../PHYSICAL_ELEMENT_STATUS_DESCRIPTOR.cs | 4 +- .../PHYSICAL_ELEMENT_STATUS_REQUEST.cs | 2 +- .../um/winioctl/QUERY_BAD_RANGES_INPUT.cs | 2 +- .../um/winioctl/QUERY_BAD_RANGES_OUTPUT.cs | 2 +- .../um/winioctl/QUERY_FILE_LAYOUT_INPUT.cs | 6 +- .../um/winioctl/READ_ELEMENT_ADDRESS_INFO.cs | 2 +- .../Windows/um/winioctl/REASSIGN_BLOCKS.cs | 2 +- .../Windows/um/winioctl/REASSIGN_BLOCKS_EX.cs | 2 +- .../winioctl/REFS_SMR_VOLUME_GC_PARAMETERS.cs | 2 +- .../winioctl/REFS_SMR_VOLUME_INFO_OUTPUT.cs | 2 +- .../um/winioctl/REFS_VOLUME_DATA_BUFFER.cs | 2 +- .../um/winioctl/REPAIR_COPIES_INPUT.cs | 2 +- .../RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER.cs | 2 +- .../um/winioctl/RETRIEVAL_POINTERS_BUFFER.cs | 2 +- .../SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO.cs | 2 +- .../um/winioctl/SCM_BUS_PROPERTY_QUERY.cs | 2 +- .../um/winioctl/SCM_BUS_PROPERTY_SET.cs | 2 +- .../um/winioctl/SCM_LD_INTERLEAVE_SET_INFO.cs | 2 +- .../um/winioctl/SCM_LOGICAL_DEVICES.cs | 2 +- .../winioctl/SCM_LOGICAL_DEVICE_INSTANCE.cs | 2 +- .../Windows/um/winioctl/SCM_PD_DEVICE_INFO.cs | 4 +- .../winioctl/SCM_PD_DEVICE_SPECIFIC_INFO.cs | 2 +- .../SCM_PD_DEVICE_SPECIFIC_PROPERTY.cs | 2 +- .../um/winioctl/SCM_PD_FIRMWARE_DOWNLOAD.cs | 4 +- .../um/winioctl/SCM_PD_FIRMWARE_INFO.cs | 2 +- .../um/winioctl/SCM_PD_FIRMWARE_SLOT_INFO.cs | 4 +- .../um/winioctl/SCM_PD_FRU_ID_STRING.cs | 2 +- .../um/winioctl/SCM_PD_LOCATION_STRING.cs | 2 +- .../um/winioctl/SCM_PD_MANAGEMENT_STATUS.cs | 4 +- .../um/winioctl/SCM_PD_PASSTHROUGH_INPUT.cs | 2 +- .../SCM_PD_PASSTHROUGH_INVDIMM_INPUT.cs | 2 +- .../SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT.cs | 2 +- .../um/winioctl/SCM_PD_PASSTHROUGH_OUTPUT.cs | 2 +- .../um/winioctl/SCM_PD_PROPERTY_QUERY.cs | 2 +- .../um/winioctl/SCM_PD_PROPERTY_SET.cs | 2 +- .../um/winioctl/SCM_PHYSICAL_DEVICES.cs | 2 +- .../winioctl/SCM_PHYSICAL_DEVICE_INSTANCE.cs | 2 +- .../Windows/um/winioctl/SCM_REGIONS.cs | 2 +- .../Windows/um/winioctl/SD_ENUM_SDS_ENTRY.cs | 2 +- .../Windows/um/winioctl/SD_ENUM_SDS_OUTPUT.cs | 2 +- .../Windows/um/winioctl/SENDCMDINPARAMS.cs | 6 +- .../Windows/um/winioctl/SENDCMDOUTPARAMS.cs | 2 +- .../um/winioctl/SET_DISK_ATTRIBUTES.cs | 4 +- .../Windows/um/winioctl/SI_COPYFILE.cs | 2 +- .../winioctl/STORAGE_ADAPTER_SERIAL_NUMBER.cs | 2 +- .../STORAGE_ALLOCATE_BC_STREAM_INPUT.cs | 2 +- .../Windows/um/winioctl/STORAGE_COUNTERS.cs | 2 +- .../um/winioctl/STORAGE_CRYPTO_DESCRIPTOR.cs | 2 +- .../um/winioctl/STORAGE_DEVICE_DESCRIPTOR.cs | 2 +- .../STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR.cs | 2 +- .../winioctl/STORAGE_DEVICE_ID_DESCRIPTOR.cs | 2 +- .../STORAGE_DEVICE_MANAGEMENT_STATUS.cs | 4 +- .../um/winioctl/STORAGE_DEVICE_NUMBERS.cs | 2 +- .../STORAGE_DEVICE_TIERING_DESCRIPTOR.cs | 2 +- .../um/winioctl/STORAGE_DIAGNOSTIC_DATA.cs | 2 +- .../um/winioctl/STORAGE_FRU_ID_DESCRIPTOR.cs | 2 +- .../um/winioctl/STORAGE_HW_ENDURANCE_INFO.cs | 4 +- .../winioctl/STORAGE_HW_FIRMWARE_ACTIVATE.cs | 2 +- .../winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD.cs | 4 +- .../STORAGE_HW_FIRMWARE_DOWNLOAD_V2.cs | 4 +- .../um/winioctl/STORAGE_HW_FIRMWARE_INFO.cs | 4 +- .../winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs | 4 +- .../Windows/um/winioctl/STORAGE_IDENTIFIER.cs | 2 +- .../STORAGE_LB_PROVISIONING_MAP_RESOURCES.cs | 4 +- .../STORAGE_MEDIA_SERIAL_NUMBER_DATA.cs | 2 +- .../winioctl/STORAGE_MINIPORT_DESCRIPTOR.cs | 2 +- .../um/winioctl/STORAGE_OFFLOAD_TOKEN.cs | 10 +- .../um/winioctl/STORAGE_OPERATIONAL_REASON.cs | 2 +- .../winioctl/STORAGE_PHYSICAL_ADAPTER_DATA.cs | 12 +- .../winioctl/STORAGE_PHYSICAL_DEVICE_DATA.cs | 10 +- .../um/winioctl/STORAGE_PHYSICAL_NODE_DATA.cs | 2 +- .../STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR.cs | 2 +- .../um/winioctl/STORAGE_PREDICT_FAILURE.cs | 2 +- .../um/winioctl/STORAGE_PROPERTY_QUERY.cs | 2 +- .../um/winioctl/STORAGE_PROPERTY_SET.cs | 2 +- .../um/winioctl/STORAGE_PROTOCOL_COMMAND.cs | 4 +- .../STORAGE_PROTOCOL_SPECIFIC_DATA_EXT.cs | 2 +- ...STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs | 4 +- .../um/winioctl/STORAGE_RPMB_DATA_FRAME.cs | 18 +- .../STORAGE_TEMPERATURE_DATA_DESCRIPTOR.cs | 6 +- .../Windows/um/winioctl/STORAGE_TIER.cs | 4 +- .../STORAGE_ZONED_DEVICE_DESCRIPTOR.cs | 4 +- .../um/winioctl/STORAGE_ZONE_DESCRIPTOR.cs | 2 +- .../um/winioctl/STREAM_LAYOUT_ENTRY.cs | 2 +- ...XFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY.cs | 2 +- .../TXFS_READ_BACKUP_INFORMATION_OUT.cs | 2 +- .../um/winioctl/TXFS_START_RM_INFORMATION.cs | 2 +- .../winioctl/TXFS_WRITE_BACKUP_INFORMATION.cs | 2 +- .../Windows/Windows/um/winioctl/USN_RECORD.cs | 2 +- .../Windows/um/winioctl/USN_RECORD_V3.cs | 2 +- .../Windows/um/winioctl/USN_RECORD_V4.cs | 2 +- .../um/winioctl/VOLUME_BITMAP_BUFFER.cs | 2 +- .../um/winioctl/VOLUME_DISK_EXTENTS.cs | 2 +- .../um/winioctl/WIM_PROVIDER_EXTERNAL_INFO.cs | 2 +- .../Windows/um/winnt/ACCESS_REASONS.cs | 2 +- ...ATION_CONTEXT_COMPATIBILITY_INFORMATION.cs | 2 +- .../Windows/um/winnt/ARM64_NT_CONTEXT.cs | 12 +- .../Windows/um/winnt/ARM64_NT_NEON128.cs | 8 +- .../Windows/um/winnt/CACHE_RELATIONSHIP.cs | 4 +- .../CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.cs | 10 +- .../Windows/Windows/um/winnt/CM_POWER_DATA.cs | 2 +- .../Windows/um/winnt/CORRELATION_VECTOR.cs | 2 +- .../DISPATCHER_CONTEXT_NONVOLREG_ARM64.cs | 6 +- .../um/winnt/ENCLAVE_CREATE_INFO_SGX.cs | 2 +- .../um/winnt/ENCLAVE_CREATE_INFO_VBS.cs | 2 +- .../um/winnt/ENCLAVE_CREATE_INFO_VBS_BASIC.cs | 2 +- .../Windows/um/winnt/ENCLAVE_INIT_INFO_SGX.cs | 8 +- .../um/winnt/ENCLAVE_INIT_INFO_VBS_BASIC.cs | 4 +- .../Windows/um/winnt/EVENTSFORLOGFILE.cs | 4 +- .../Windows/um/winnt/EXCEPTION_RECORD.cs | 2 +- .../Windows/um/winnt/EXCEPTION_RECORD32.cs | 2 +- .../Windows/um/winnt/EXCEPTION_RECORD64.cs | 2 +- .../Windows/Windows/um/winnt/FILE_ID_128.cs | 2 +- .../winnt/FILE_NOTIFY_EXTENDED_INFORMATION.cs | 2 +- .../um/winnt/FILE_NOTIFY_INFORMATION.cs | 2 +- .../Windows/um/winnt/GROUP_AFFINITY.cs | 2 +- .../Windows/um/winnt/GROUP_RELATIONSHIP.cs | 4 +- .../Windows/um/winnt/HIBERFILE_BUCKET.cs | 2 +- .../um/winnt/IMAGE_ARCHIVE_MEMBER_HEADER.cs | 14 +- .../Windows/um/winnt/IMAGE_AUX_SYMBOL.cs | 6 +- .../Windows/um/winnt/IMAGE_AUX_SYMBOL_EX.cs | 10 +- .../um/winnt/IMAGE_AUX_SYMBOL_TOKEN_DEF.cs | 2 +- .../Windows/um/winnt/IMAGE_DEBUG_MISC.cs | 4 +- .../Windows/um/winnt/IMAGE_DOS_HEADER.cs | 4 +- .../um/winnt/IMAGE_ENCLAVE_CONFIG32.cs | 4 +- .../um/winnt/IMAGE_ENCLAVE_CONFIG64.cs | 4 +- .../Windows/um/winnt/IMAGE_ENCLAVE_IMPORT.cs | 6 +- .../um/winnt/IMAGE_HOT_PATCH_HASHES.cs | 4 +- .../Windows/um/winnt/IMAGE_IMPORT_BY_NAME.cs | 2 +- .../um/winnt/IMAGE_OPTIONAL_HEADER32.cs | 2 +- .../um/winnt/IMAGE_OPTIONAL_HEADER64.cs | 2 +- .../Windows/um/winnt/IMAGE_POLICY_METADATA.cs | 4 +- .../winnt/IMAGE_RESOURCE_DIRECTORY_STRING.cs | 2 +- .../um/winnt/IMAGE_RESOURCE_DIR_STRING_U.cs | 2 +- .../um/winnt/IMAGE_ROM_OPTIONAL_HEADER.cs | 2 +- .../Windows/um/winnt/IMAGE_SECTION_HEADER.cs | 2 +- .../um/winnt/IMAGE_SEPARATE_DEBUG_HEADER.cs | 2 +- .../Windows/Windows/um/winnt/IMAGE_SYMBOL.cs | 4 +- .../Windows/um/winnt/IMAGE_SYMBOL_EX.cs | 4 +- .../Windows/um/winnt/IMAGE_VXD_HEADER.cs | 2 +- .../winnt/JOBOBJECT_BASIC_PROCESS_ID_LIST.cs | 2 +- .../Windows/um/winnt/KERNEL_CET_CONTEXT.cs | 2 +- .../Windows/um/winnt/KTMOBJECT_CURSOR.cs | 2 +- .../Windows/um/winnt/MESSAGE_RESOURCE_DATA.cs | 2 +- .../um/winnt/MESSAGE_RESOURCE_ENTRY.cs | 2 +- .../um/winnt/NUMA_NODE_RELATIONSHIP.cs | 4 +- .../Windows/um/winnt/OSVERSIONINFOA.cs | 2 +- .../Windows/um/winnt/OSVERSIONINFOEXA.cs | 2 +- .../Windows/um/winnt/OSVERSIONINFOEXW.cs | 2 +- .../Windows/um/winnt/OSVERSIONINFOW.cs | 2 +- .../Windows/um/winnt/PACKEDEVENTINFO.cs | 2 +- .../Windows/um/winnt/PERFORMANCE_DATA.cs | 2 +- .../Windows/um/winnt/PPM_IDLE_ACCOUNTING.cs | 2 +- .../um/winnt/PPM_IDLE_ACCOUNTING_EX.cs | 2 +- .../um/winnt/PPM_IDLE_STATE_ACCOUNTING.cs | 2 +- .../um/winnt/PPM_IDLE_STATE_ACCOUNTING_EX.cs | 2 +- .../Windows/um/winnt/PPM_WMI_IDLE_STATES.cs | 2 +- .../um/winnt/PPM_WMI_IDLE_STATES_EX.cs | 2 +- .../Windows/um/winnt/PPM_WMI_PERF_STATES.cs | 2 +- .../um/winnt/PPM_WMI_PERF_STATES_EX.cs | 2 +- .../Windows/Windows/um/winnt/PRIVILEGE_SET.cs | 2 +- .../Windows/um/winnt/PROCESSOR_GROUP_INFO.cs | 2 +- .../um/winnt/PROCESSOR_IDLESTATE_INFO.cs | 2 +- .../um/winnt/PROCESSOR_IDLESTATE_POLICY.cs | 2 +- .../um/winnt/PROCESSOR_POWER_POLICY.cs | 4 +- .../um/winnt/PROCESSOR_POWER_POLICY_INFO.cs | 2 +- .../um/winnt/PROCESSOR_RELATIONSHIP.cs | 4 +- .../um/winnt/REPARSE_GUID_DATA_BUFFER.cs | 2 +- .../RESOURCEMANAGER_BASIC_INFORMATION.cs | 2 +- .../Windows/um/winnt/SCOPE_TABLE_AMD64.cs | 2 +- .../Windows/um/winnt/SCOPE_TABLE_ARM.cs | 2 +- .../Windows/um/winnt/SCOPE_TABLE_ARM64.cs | 2 +- .../Windows/um/winnt/SCRUB_DATA_INPUT.cs | 6 +- .../Windows/um/winnt/SCRUB_DATA_OUTPUT.cs | 4 +- .../um/winnt/SCRUB_PARITY_EXTENT_DATA.cs | 2 +- .../um/winnt/SET_POWER_SETTING_VALUE.cs | 2 +- .../Windows/Windows/um/winnt/SE_SID.cs | 2 +- .../Windows/Windows/um/winnt/SE_TOKEN_USER.cs | 2 +- .../Interop/Windows/Windows/um/winnt/SID.cs | 2 +- .../um/winnt/SID_AND_ATTRIBUTES_HASH.cs | 2 +- .../um/winnt/SID_IDENTIFIER_AUTHORITY.cs | 2 +- .../um/winnt/SILOOBJECT_BASIC_INFORMATION.cs | 2 +- .../um/winnt/SYNCHRONIZATION_BARRIER.cs | 2 +- .../Windows/um/winnt/SYSTEM_BATTERY_STATE.cs | 2 +- .../SYSTEM_LOGICAL_PROCESSOR_INFORMATION.cs | 2 +- .../um/winnt/SYSTEM_POWER_CAPABILITIES.cs | 4 +- .../Windows/um/winnt/SYSTEM_POWER_LEVEL.cs | 2 +- .../Windows/um/winnt/SYSTEM_POWER_POLICY.cs | 6 +- .../Windows/um/winnt/TOKEN_AUDIT_POLICY.cs | 2 +- .../Windows/Windows/um/winnt/TOKEN_GROUPS.cs | 2 +- .../Windows/um/winnt/TOKEN_PRIVILEGES.cs | 2 +- .../Windows/Windows/um/winnt/TOKEN_SOURCE.cs | 2 +- .../TRANSACTIONMANAGER_LOGPATH_INFORMATION.cs | 2 +- .../TRANSACTION_ENLISTMENTS_INFORMATION.cs | 2 +- .../um/winnt/TRANSACTION_LIST_INFORMATION.cs | 2 +- .../TRANSACTION_PROPERTIES_INFORMATION.cs | 2 +- .../Windows/um/winnt/UNWIND_HISTORY_TABLE.cs | 2 +- .../Windows/Windows/um/winnt/WOW64_CONTEXT.cs | 2 +- .../um/winnt/WOW64_FLOATING_SAVE_AREA.cs | 2 +- .../Windows/um/winnt/XSAVE_AREA_HEADER.cs | 2 +- .../Windows/Windows/um/winnt/XSAVE_FORMAT.cs | 6 +- .../Windows/um/winnt/XSTATE_CONFIGURATION.cs | 4 +- .../um/winternl/LDR_DATA_TABLE_ENTRY.cs | 10 +- .../Windows/Windows/um/winternl/PEB.cs | 16 +- .../Windows/um/winternl/PEB_LDR_DATA.cs | 4 +- .../um/winternl/PROCESS_BASIC_INFORMATION.cs | 2 +- .../PUBLIC_OBJECT_BASIC_INFORMATION.cs | 2 +- .../winternl/PUBLIC_OBJECT_TYPE_INFORMATIO.cs | 17 ++ .../winternl/RTL_USER_PROCESS_PARAMETERS.cs | 4 +- .../um/winternl/SYSTEM_BASIC_INFORMATION.cs | 4 +- .../winternl/SYSTEM_EXCEPTION_INFORMATION.cs | 2 +- .../winternl/SYSTEM_INTERRUPT_INFORMATION.cs | 2 +- .../winternl/SYSTEM_LOOKASIDE_INFORMATION.cs | 2 +- .../SYSTEM_PERFORMANCE_INFORMATION.cs | 2 +- .../um/winternl/SYSTEM_POLICY_INFORMATION.cs | 4 +- ...YSTEM_PROCESSOR_PERFORMANCE_INFORMATION.cs | 2 +- .../um/winternl/SYSTEM_PROCESS_INFORMATION.cs | 4 +- .../um/winternl/SYSTEM_THREAD_INFORMATION.cs | 2 +- .../winternl/SYSTEM_TIMEOFDAY_INFORMATION.cs | 2 +- .../Windows/Windows/um/winternl/TEB.cs | 14 +- .../um/winternl/WINSTATIONINFORMATIONW.cs | 4 +- .../Windows/Windows/um/winternl/Windows.cs | 2 +- .../ID3D10ShaderReflection1Tests.cs | 8 + .../um/d3d10effect/ID3D10EffectPoolTests.cs | 8 + .../um/d3d10effect/ID3D10EffectTests.cs | 8 + .../um/d3d10effect/ID3D10StateBlockTests.cs | 8 + .../DirectX/um/ddraw/IDirectDraw2Tests.cs | 8 + .../DirectX/um/ddraw/IDirectDraw4Tests.cs | 8 + .../DirectX/um/ddraw/IDirectDraw7Tests.cs | 8 + .../um/ddraw/IDirectDrawClipperTests.cs | 8 + .../um/ddraw/IDirectDrawColorControlTests.cs | 8 + .../um/ddraw/IDirectDrawGammaControlTests.cs | 8 + .../um/ddraw/IDirectDrawPaletteTests.cs | 8 + .../um/ddraw/IDirectDrawSurface2Tests.cs | 8 + .../um/ddraw/IDirectDrawSurface3Tests.cs | 8 + .../um/ddraw/IDirectDrawSurface4Tests.cs | 8 + .../um/ddraw/IDirectDrawSurface7Tests.cs | 8 + .../um/ddraw/IDirectDrawSurfaceTests.cs | 8 + .../DirectX/um/ddraw/IDirectDrawTests.cs | 8 + .../um/dxdiag/IDxDiagContainerTests.cs | 8 + .../DirectX/um/dxdiag/IDxDiagProviderTests.cs | 8 + .../Interop/Windows/ResolveDllImportTests.cs | 1 + .../evntprov/EVENT_DATA_DESCRIPTORTests.cs | 34 +++ .../shared/evntprov/EVENT_DESCRIPTORTests.cs | 34 +++ .../evntprov/EVENT_FILTER_DESCRIPTORTests.cs | 34 +++ .../evntprov/EVENT_FILTER_EVENT_IDTests.cs | 34 +++ .../evntprov/EVENT_FILTER_EVENT_NAMETests.cs | 34 +++ .../evntprov/EVENT_FILTER_HEADERTests.cs | 34 +++ .../evntprov/EVENT_FILTER_LEVEL_KWTests.cs | 34 +++ .../um/amvideo/IBaseVideoMixerTests.cs | 8 + .../um/amvideo/IDirectDrawVideoTests.cs | 8 + .../um/amvideo/IFullScreenVideoExTests.cs | 8 + .../um/amvideo/IFullScreenVideoTests.cs | 8 + .../Windows/um/amvideo/IQualPropTests.cs | 8 + .../Windows/um/mfapi/MFASYNCRESULTTests.cs | 8 + .../shdeprecated/CIE4ConnectionPointTests.cs | 8 + .../um/strmif/IAMFilterGraphCallbackTests.cs | 8 + .../PUBLIC_OBJECT_TYPE_INFORMATIOTests.cs | 42 ++++ 1071 files changed, 3077 insertions(+), 1742 deletions(-) create mode 100644 sources/Interop/Windows/DirectX/other/D3D11On12On7/IID.cs create mode 100644 sources/Interop/Windows/Windows/other/cvconst/Windows.cs create mode 100644 sources/Interop/Windows/Windows/other/helper-types/PACKAGEDEPENDENCY_CONTEXT.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTOR.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTOR.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_ID.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAME.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADER.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KW.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/EVENT_INFO_CLASS.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/MAX.cs create mode 100644 sources/Interop/Windows/Windows/shared/evntprov/Windows.cs create mode 100644 sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs create mode 100644 sources/Interop/Windows/Windows/um/mfapi/IID.cs create mode 100644 sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIO.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTORTests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTORTests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTORTests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_IDTests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAMETests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADERTests.cs create mode 100644 tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KWTests.cs create mode 100644 tests/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIOTests.cs diff --git a/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs b/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs index 6e59d62643..0c8226b51f 100644 --- a/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs +++ b/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("00000000-0000-0000-0000-000000000000")] [NativeTypeName("struct ID3D11On12On7 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct ID3D11On12On7 : ID3D11On12On7.Interface diff --git a/sources/Interop/Windows/DirectX/other/D3D11On12On7/IID.cs b/sources/Interop/Windows/DirectX/other/D3D11On12On7/IID.cs new file mode 100644 index 0000000000..b3e8bce29b --- /dev/null +++ b/sources/Interop/Windows/DirectX/other/D3D11On12On7/IID.cs @@ -0,0 +1,37 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from D3D11On12On7.h in the https://www.nuget.org/packages/Microsoft.Direct3D.D3D12On7 nuget package, version 1.1.0 +// Original source is Copyright © Microsoft. All rights reserved. License details can be found here: https://www.nuget.org/packages/Microsoft.Direct3D.D3D12On7/1.1.0/License + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static partial class IID +{ + public static ref readonly Guid IID_ID3D11On12On7 + { + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs b/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs index 474f64b367..e90979d003 100644 --- a/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs +++ b/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs @@ -44,7 +44,7 @@ public unsafe partial struct D3DX12_MESH_SHADER_PIPELINE_STATE_DESC public uint NumRenderTargets; /// - [NativeTypeName("DXGI_FORMAT [8]")] + [NativeTypeName("DXGI_FORMAT[8]")] public _RTVFormats_e__FixedBuffer RTVFormats; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs index a8f0562a82..5dbcd37e20 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_ADAPTER_DESC { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Description[128]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs index 284bfa1197..977ef4f429 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_ADAPTER_DESC1 { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Description[128]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_DISPLAY_COLOR_SPACE.cs b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_DISPLAY_COLOR_SPACE.cs index ee2416f804..48ea7fea2c 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_DISPLAY_COLOR_SPACE.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_DISPLAY_COLOR_SPACE.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_DISPLAY_COLOR_SPACE { /// - [NativeTypeName("FLOAT [8][2]")] + [NativeTypeName("FLOAT[8][2]")] public fixed float PrimaryCoordinates[8 * 2]; /// - [NativeTypeName("FLOAT [16][2]")] + [NativeTypeName("FLOAT[16][2]")] public fixed float WhitePoints[16 * 2]; } diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_OUTPUT_DESC.cs b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_OUTPUT_DESC.cs index b2d2e43ab2..430eafe280 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_OUTPUT_DESC.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/DXGI_OUTPUT_DESC.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_OUTPUT_DESC { /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort DeviceName[32]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/DXGI_ADAPTER_DESC2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/DXGI_ADAPTER_DESC2.cs index 1cfd5f8440..ad0d9e2ec4 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/DXGI_ADAPTER_DESC2.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/DXGI_ADAPTER_DESC2.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_ADAPTER_DESC2 { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Description[128]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10.cs index 69e4d6e66c..6619382a80 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10.cs @@ -9,19 +9,19 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_HDR_METADATA_HDR10 { /// - [NativeTypeName("UINT16 [2]")] + [NativeTypeName("UINT16[2]")] public fixed ushort RedPrimary[2]; /// - [NativeTypeName("UINT16 [2]")] + [NativeTypeName("UINT16[2]")] public fixed ushort GreenPrimary[2]; /// - [NativeTypeName("UINT16 [2]")] + [NativeTypeName("UINT16[2]")] public fixed ushort BluePrimary[2]; /// - [NativeTypeName("UINT16 [2]")] + [NativeTypeName("UINT16[2]")] public fixed ushort WhitePoint[2]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10PLUS.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10PLUS.cs index 6b53cccb07..b73aa29780 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10PLUS.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/DXGI_HDR_METADATA_HDR10PLUS.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_HDR_METADATA_HDR10PLUS { /// - [NativeTypeName("BYTE [72]")] + [NativeTypeName("BYTE[72]")] public fixed byte Data[72]; } diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_ADAPTER_DESC3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_ADAPTER_DESC3.cs index 72118fffcd..02f6594bb7 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_ADAPTER_DESC3.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_ADAPTER_DESC3.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_ADAPTER_DESC3 { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Description[128]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_OUTPUT_DESC1.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_OUTPUT_DESC1.cs index 83c59966b5..ab3bb2a429 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_OUTPUT_DESC1.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/DXGI_OUTPUT_DESC1.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_OUTPUT_DESC1 { /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort DeviceName[32]; /// @@ -33,19 +33,19 @@ public unsafe partial struct DXGI_OUTPUT_DESC1 public DXGI_COLOR_SPACE_TYPE ColorSpace; /// - [NativeTypeName("FLOAT [2]")] + [NativeTypeName("FLOAT[2]")] public fixed float RedPrimary[2]; /// - [NativeTypeName("FLOAT [2]")] + [NativeTypeName("FLOAT[2]")] public fixed float GreenPrimary[2]; /// - [NativeTypeName("FLOAT [2]")] + [NativeTypeName("FLOAT[2]")] public fixed float BluePrimary[2]; /// - [NativeTypeName("FLOAT [2]")] + [NativeTypeName("FLOAT[2]")] public fixed float WhitePoint[2]; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs index 8f6ad78c6a..f25a5cff01 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs @@ -19,7 +19,7 @@ public partial struct DXGI_GAMMA_CONTROL public DXGI_RGB Offset; /// - [NativeTypeName("DXGI_RGB [1025]")] + [NativeTypeName("DXGI_RGB[1025]")] public _GammaCurve_e__FixedBuffer GammaCurve; /// diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL_CAPABILITIES.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL_CAPABILITIES.cs index 694868237f..048c4a5bfb 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL_CAPABILITIES.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL_CAPABILITIES.cs @@ -23,6 +23,6 @@ public unsafe partial struct DXGI_GAMMA_CONTROL_CAPABILITIES public uint NumGammaControlPoints; /// - [NativeTypeName("float [1025]")] + [NativeTypeName("float[1025]")] public fixed float ControlPointPositions[1025]; } diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_AC_HUFFMAN_TABLE.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_AC_HUFFMAN_TABLE.cs index a4344fb73f..1d6a93c2fc 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_AC_HUFFMAN_TABLE.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_AC_HUFFMAN_TABLE.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_JPEG_AC_HUFFMAN_TABLE { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte CodeCounts[16]; /// - [NativeTypeName("BYTE [162]")] + [NativeTypeName("BYTE[162]")] public fixed byte CodeValues[162]; } diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_DC_HUFFMAN_TABLE.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_DC_HUFFMAN_TABLE.cs index ce1f8043fd..1292e81ded 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_DC_HUFFMAN_TABLE.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_DC_HUFFMAN_TABLE.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_JPEG_DC_HUFFMAN_TABLE { /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte CodeCounts[12]; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte CodeValues[12]; } diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_QUANTIZATION_TABLE.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_QUANTIZATION_TABLE.cs index 1daa904327..bb0a910dd4 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_QUANTIZATION_TABLE.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_JPEG_QUANTIZATION_TABLE.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DXGI_JPEG_QUANTIZATION_TABLE { /// - [NativeTypeName("BYTE [64]")] + [NativeTypeName("BYTE[64]")] public fixed byte Elements[64]; } diff --git a/sources/Interop/Windows/DirectX/um/DirectML/DML_SCALAR_UNION.cs b/sources/Interop/Windows/DirectX/um/DirectML/DML_SCALAR_UNION.cs index 356dfc4ab1..e975fd6c9d 100644 --- a/sources/Interop/Windows/DirectX/um/DirectML/DML_SCALAR_UNION.cs +++ b/sources/Interop/Windows/DirectX/um/DirectML/DML_SCALAR_UNION.cs @@ -13,7 +13,7 @@ public unsafe partial struct DML_SCALAR_UNION { /// [FieldOffset(0)] - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Bytes[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs index 7fc52a4492..83e7fb47a3 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs @@ -65,6 +65,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -172,6 +173,7 @@ public interface Interface : IUnknown.Interface HRESULT ReloadSystemMetrics(); [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] void GetDesktopDpi(float* dpiX, float* dpiY); [VtblIndex(5)] @@ -227,6 +229,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs index edb5b23653..b1ec8d81be 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs @@ -77,6 +77,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -301,6 +302,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs index bf3d9a09d5..c48f99d628 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs @@ -77,6 +77,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -288,6 +289,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs index 328d8946db..f7bca822b3 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs @@ -75,6 +75,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -294,6 +295,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs index 9010baac58..72ff0f0708 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs @@ -75,6 +75,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -302,6 +303,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs index 779cbad770..2acc521660 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs @@ -75,6 +75,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -310,6 +311,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs index 62b0c8a4ca..30e6710517 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs @@ -75,6 +75,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -318,6 +319,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs index 2c36848fae..8a719b4065 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs @@ -75,6 +75,7 @@ public HRESULT ReloadSystemMetrics() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public void GetDesktopDpi(float* dpiX, float* dpiY) { ((delegate* unmanaged)(lpVtbl[4]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dpiX, dpiY); @@ -326,6 +327,7 @@ public partial struct Vtbl public delegate* unmanaged ReloadSystemMetrics; [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] + [Obsolete("Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps")] public delegate* unmanaged GetDesktopDpi; [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/D2D1_BLEND_DESCRIPTION.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/D2D1_BLEND_DESCRIPTION.cs index dfe2a4c99f..6424128bba 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/D2D1_BLEND_DESCRIPTION.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/D2D1_BLEND_DESCRIPTION.cs @@ -27,6 +27,6 @@ public unsafe partial struct D2D1_BLEND_DESCRIPTION public D2D1_BLEND_OPERATION blendOperationAlpha; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float blendFactor[4]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs index a6b0710fb0..1e29216861 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs @@ -17,7 +17,7 @@ public unsafe partial struct D3D10_BLEND_DESC public BOOL AlphaToCoverageEnable; /// - [NativeTypeName("BOOL [8]")] + [NativeTypeName("BOOL[8]")] public _BlendEnable_e__FixedBuffer BlendEnable; /// @@ -39,7 +39,7 @@ public unsafe partial struct D3D10_BLEND_DESC public D3D10_BLEND_OP BlendOpAlpha; /// - [NativeTypeName("UINT8 [8]")] + [NativeTypeName("UINT8[8]")] public fixed byte RenderTargetWriteMask[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SAMPLER_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SAMPLER_DESC.cs index 9a46ba77ca..cf51cf1bcc 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SAMPLER_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SAMPLER_DESC.cs @@ -30,7 +30,7 @@ public unsafe partial struct D3D10_SAMPLER_DESC public D3D10_COMPARISON_FUNC ComparisonFunc; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float BorderColor[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs index eaac31fc1b..eb54321b8c 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs @@ -223,7 +223,7 @@ public void OMSetRenderTargets(uint NumViews, [NativeTypeName("ID3D10RenderTarge /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[25]))((ID3D10Device*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -303,7 +303,7 @@ public void UpdateSubresource(ID3D10Resource* pDstResource, uint DstSubresource, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D10Device*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -479,7 +479,7 @@ public void OMGetRenderTargets(uint NumViews, ID3D10RenderTargetView** ppRenderT /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] - public void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[57]))((ID3D10Device*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -873,7 +873,7 @@ public interface Interface : IUnknown.Interface void OMSetRenderTargets(uint NumViews, [NativeTypeName("ID3D10RenderTargetView *const *")] ID3D10RenderTargetView** ppRenderTargetViews, ID3D10DepthStencilView* pDepthStencilView); [VtblIndex(25)] - void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask); + void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask); [VtblIndex(26)] void OMSetDepthStencilState(ID3D10DepthStencilState* pDepthStencilState, uint StencilRef); @@ -903,7 +903,7 @@ public interface Interface : IUnknown.Interface void UpdateSubresource(ID3D10Resource* pDstResource, uint DstSubresource, [NativeTypeName("const D3D10_BOX *")] D3D10_BOX* pDstBox, [NativeTypeName("const void *")] void* pSrcData, uint SrcRowPitch, uint SrcDepthPitch); [VtblIndex(35)] - void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA); + void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA); [VtblIndex(36)] void ClearDepthStencilView(ID3D10DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, [NativeTypeName("UINT8")] byte Stencil); @@ -969,7 +969,7 @@ public interface Interface : IUnknown.Interface void OMGetRenderTargets(uint NumViews, ID3D10RenderTargetView** ppRenderTargetViews, ID3D10DepthStencilView** ppDepthStencilView); [VtblIndex(57)] - void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask); + void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask); [VtblIndex(58)] void OMGetDepthStencilState(ID3D10DepthStencilState** ppDepthStencilState, uint* pStencilRef); diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs index b8c82cc4bc..bcd3cd85b2 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs @@ -20,7 +20,7 @@ public partial struct D3D10_BLEND_DESC1 public BOOL IndependentBlendEnable; /// - [NativeTypeName("D3D10_RENDER_TARGET_BLEND_DESC1 [8]")] + [NativeTypeName("D3D10_RENDER_TARGET_BLEND_DESC1[8]")] public _RenderTarget_e__FixedBuffer RenderTarget; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs index 9024ff2c5c..868b663d4f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs @@ -223,7 +223,7 @@ public void OMSetRenderTargets(uint NumViews, [NativeTypeName("ID3D10RenderTarge /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D10BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[25]))((ID3D10Device1*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -303,7 +303,7 @@ public void UpdateSubresource(ID3D10Resource* pDstResource, uint DstSubresource, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D10RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D10Device1*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -479,7 +479,7 @@ public void OMGetRenderTargets(uint NumViews, ID3D10RenderTargetView** ppRenderT /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] - public void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D10BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[57]))((ID3D10Device1*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs index 8b77799031..4c8d44a2a4 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs @@ -22,7 +22,7 @@ public partial struct D3D10_SHADER_DEBUG_INST_INFO public uint uOutputs; /// - [NativeTypeName("D3D10_SHADER_DEBUG_OUTPUTREG_INFO [2]")] + [NativeTypeName("D3D10_SHADER_DEBUG_OUTPUTREG_INFO[2]")] public _pOutputs_e__FixedBuffer pOutputs; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs index a07f03b1c7..afa1dcf6bf 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs @@ -22,11 +22,11 @@ public unsafe partial struct D3D10_SHADER_DEBUG_OUTPUTREG_INFO public uint TempArrayReg; /// - [NativeTypeName("UINT [4]")] + [NativeTypeName("UINT[4]")] public fixed uint OutputComponents[4]; /// - [NativeTypeName("D3D10_SHADER_DEBUG_OUTPUTVAR [4]")] + [NativeTypeName("D3D10_SHADER_DEBUG_OUTPUTVAR[4]")] public _OutputVars_e__FixedBuffer OutputVars; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs index da9219c162..9c346c6aba 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("C3457783-A846-47CE-9520-CEA6F66E7447")] [NativeTypeName("struct ID3D10ShaderReflection1 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct ID3D10ShaderReflection1 : ID3D10ShaderReflection1.Interface diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_PASS_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_PASS_DESC.cs index b8efa903fa..b496f3ef0f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_PASS_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_PASS_DESC.cs @@ -29,6 +29,6 @@ public unsafe partial struct D3D10_PASS_DESC public uint SampleMask; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float BlendFactor[4]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_STATE_BLOCK_MASK.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_STATE_BLOCK_MASK.cs index 2646ea5fd5..42644286cc 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_STATE_BLOCK_MASK.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10effect/D3D10_STATE_BLOCK_MASK.cs @@ -14,49 +14,49 @@ public unsafe partial struct D3D10_STATE_BLOCK_MASK public byte VS; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte VSSamplers[2]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte VSShaderResources[16]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte VSConstantBuffers[2]; /// public byte GS; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte GSSamplers[2]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte GSShaderResources[16]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte GSConstantBuffers[2]; /// public byte PS; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte PSSamplers[2]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte PSShaderResources[16]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte PSConstantBuffers[2]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte IAVertexBuffers[2]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs index c32c8a5103..78dd039cc9 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("51B0CA8B-EC0B-4519-870D-8EE1CB5017C7")] [NativeTypeName("struct ID3D10Effect : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct ID3D10Effect : ID3D10Effect.Interface diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs index 157042fd76..fa79aa9fb7 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("9537AB04-3250-412E-8213-FCD2F8677933")] [NativeTypeName("struct ID3D10EffectPool : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct ID3D10EffectPool : ID3D10EffectPool.Interface diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs index 3825748046..66f6d98811 100644 --- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs +++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("0803425A-57F5-4DD6-9465-A87570834A08")] [NativeTypeName("struct ID3D10StateBlock : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct ID3D10StateBlock : ID3D10StateBlock.Interface diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs index 4c0bc891c9..17f4519ae6 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs @@ -20,7 +20,7 @@ public partial struct D3D11_BLEND_DESC public BOOL IndependentBlendEnable; /// - [NativeTypeName("D3D11_RENDER_TARGET_BLEND_DESC [8]")] + [NativeTypeName("D3D11_RENDER_TARGET_BLEND_DESC[8]")] public _RenderTarget_e__FixedBuffer RenderTarget; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_OMAC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_OMAC.cs index 90aa67d999..3361fd9a88 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_OMAC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_OMAC.cs @@ -12,6 +12,6 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct D3D11_OMAC { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Omac[16]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SAMPLER_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SAMPLER_DESC.cs index 2252e69122..1fa3b3510f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SAMPLER_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SAMPLER_DESC.cs @@ -30,7 +30,7 @@ public unsafe partial struct D3D11_SAMPLER_DESC public D3D11_COMPARISON_FUNC ComparisonFunc; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float BorderColor[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs index 162e884b37..af8f7f5e20 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs @@ -303,7 +303,7 @@ public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -423,7 +423,7 @@ public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -431,7 +431,7 @@ public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [Na /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values) + public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values) { ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -439,7 +439,7 @@ public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values) + public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values) { ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -751,7 +751,7 @@ public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11Render /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] - public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -1027,7 +1027,7 @@ public interface Interface : ID3D11DeviceChild.Interface void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeName("ID3D11RenderTargetView *const *")] ID3D11RenderTargetView** ppRenderTargetViews, ID3D11DepthStencilView* pDepthStencilView, uint UAVStartSlot, uint NumUAVs, [NativeTypeName("ID3D11UnorderedAccessView *const *")] ID3D11UnorderedAccessView** ppUnorderedAccessViews, [NativeTypeName("const UINT *")] uint* pUAVInitialCounts); [VtblIndex(35)] - void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask); + void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask); [VtblIndex(36)] void OMSetDepthStencilState(ID3D11DepthStencilState* pDepthStencilState, uint StencilRef); @@ -1072,13 +1072,13 @@ public interface Interface : ID3D11DeviceChild.Interface void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffset, ID3D11UnorderedAccessView* pSrcView); [VtblIndex(50)] - void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA); + void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA); [VtblIndex(51)] - void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values); + void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values); [VtblIndex(52)] - void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values); + void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values); [VtblIndex(53)] void ClearDepthStencilView(ID3D11DepthStencilView* pDepthStencilView, uint ClearFlags, float Depth, [NativeTypeName("UINT8")] byte Stencil); @@ -1195,7 +1195,7 @@ public interface Interface : ID3D11DeviceChild.Interface void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11RenderTargetView** ppRenderTargetViews, ID3D11DepthStencilView** ppDepthStencilView, uint UAVStartSlot, uint NumUAVs, ID3D11UnorderedAccessView** ppUnorderedAccessViews); [VtblIndex(91)] - void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask); + void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask); [VtblIndex(92)] void OMGetDepthStencilState(ID3D11DepthStencilState** ppDepthStencilState, uint* pStencilRef); diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs index e1dfb4f85f..5186c6acc0 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs @@ -20,7 +20,7 @@ public partial struct D3D11_BLEND_DESC1 public BOOL IndependentBlendEnable; /// - [NativeTypeName("D3D11_RENDER_TARGET_BLEND_DESC1 [8]")] + [NativeTypeName("D3D11_RENDER_TARGET_BLEND_DESC1[8]")] public _RenderTarget_e__FixedBuffer RenderTarget; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA.cs index 2ac9fd029c..8d320e4c5f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA.cs @@ -18,6 +18,6 @@ public unsafe partial struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA public uint HWProtectionDataSize; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte pbInput[4]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA.cs index 0875895d20..3d1642ffe1 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA.cs @@ -29,6 +29,6 @@ public unsafe partial struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA public ulong ExecutionTime; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte pbOutput[4]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs index 3790738352..c333d83eec 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs @@ -303,7 +303,7 @@ public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -423,7 +423,7 @@ public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -431,7 +431,7 @@ public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [Na /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values) + public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values) { ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -439,7 +439,7 @@ public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values) + public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values) { ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -751,7 +751,7 @@ public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11Render /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] - public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -1079,7 +1079,7 @@ public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceCon /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(132)] - public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT [4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) + public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT[4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) { ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); } @@ -1146,7 +1146,7 @@ public interface Interface : ID3D11DeviceContext.Interface void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState** ppPreviousState); [VtblIndex(132)] - void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT [4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects); + void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT[4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects); [VtblIndex(133)] void DiscardView1(ID3D11View* pResourceView, [NativeTypeName("const D3D11_RECT *")] RECT* pRects, uint NumRects); diff --git a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs index 181d0c7f49..956b229650 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs @@ -305,7 +305,7 @@ public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -425,7 +425,7 @@ public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -433,7 +433,7 @@ public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [Na /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values) + public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values) { ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -441,7 +441,7 @@ public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values) + public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values) { ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -753,7 +753,7 @@ public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11Render /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] - public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -1081,7 +1081,7 @@ public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceCon /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(132)] - public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT [4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) + public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT[4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) { ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs index 694f9e4014..03cdd869b1 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs @@ -303,7 +303,7 @@ public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -423,7 +423,7 @@ public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -431,7 +431,7 @@ public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [Na /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values) + public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values) { ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -439,7 +439,7 @@ public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values) + public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values) { ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -751,7 +751,7 @@ public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11Render /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] - public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -1079,7 +1079,7 @@ public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceCon /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(132)] - public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT [4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) + public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT[4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) { ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs index beb4546a6b..6c68514233 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs @@ -303,7 +303,7 @@ public void OMSetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT [4]")] float* BlendFactor, uint SampleMask) + public void OMSetBlendState(ID3D11BlendState* pBlendState, [NativeTypeName("const FLOAT[4]")] float* BlendFactor, uint SampleMask) { ((delegate* unmanaged)(lpVtbl[35]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pBlendState, BlendFactor, SampleMask); } @@ -423,7 +423,7 @@ public void CopyStructureCount(ID3D11Buffer* pDstBuffer, uint DstAlignedByteOffs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA) + public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pRenderTargetView, ColorRGBA); } @@ -431,7 +431,7 @@ public void ClearRenderTargetView(ID3D11RenderTargetView* pRenderTargetView, [Na /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT [4]")] uint* Values) + public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const UINT[4]")] uint* Values) { ((delegate* unmanaged)(lpVtbl[51]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -439,7 +439,7 @@ public void ClearUnorderedAccessViewUint(ID3D11UnorderedAccessView* pUnorderedAc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT [4]")] float* Values) + public void ClearUnorderedAccessViewFloat(ID3D11UnorderedAccessView* pUnorderedAccessView, [NativeTypeName("const FLOAT[4]")] float* Values) { ((delegate* unmanaged)(lpVtbl[52]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pUnorderedAccessView, Values); } @@ -751,7 +751,7 @@ public void OMGetRenderTargetsAndUnorderedAccessViews(uint NumRTVs, ID3D11Render /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] - public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT [4]")] float* BlendFactor, uint* pSampleMask) + public void OMGetBlendState(ID3D11BlendState** ppBlendState, [NativeTypeName("FLOAT[4]")] float* BlendFactor, uint* pSampleMask) { ((delegate* unmanaged)(lpVtbl[91]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ppBlendState, BlendFactor, pSampleMask); } @@ -1079,7 +1079,7 @@ public void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceCon /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(132)] - public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT [4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) + public void ClearView(ID3D11View* pView, [NativeTypeName("const FLOAT[4]")] float* Color, [NativeTypeName("const D3D11_RECT *")] RECT* pRect, uint NumRects) { ((delegate* unmanaged)(lpVtbl[132]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_COMPUTE_SHADER_TRACE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_COMPUTE_SHADER_TRACE_DESC.cs index 5ef3c8f761..9f98283726 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_COMPUTE_SHADER_TRACE_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_COMPUTE_SHADER_TRACE_DESC.cs @@ -16,10 +16,10 @@ public unsafe partial struct D3D11_COMPUTE_SHADER_TRACE_DESC public ulong Invocation; /// - [NativeTypeName("UINT [3]")] + [NativeTypeName("UINT[3]")] public fixed uint ThreadIDInGroup[3]; /// - [NativeTypeName("UINT [3]")] + [NativeTypeName("UINT[3]")] public fixed uint ThreadGroupID[3]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs index 6200698a7f..4fbe45a829 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs @@ -60,7 +60,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("UINT16 [2]")] + [NativeTypeName("UINT16[2]")] public fixed ushort Index2D[2]; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_STATS.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_STATS.cs index 34b66c9399..7c927f2c7f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_STATS.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_STATS.cs @@ -27,11 +27,11 @@ public unsafe partial struct D3D11_TRACE_STATS public uint NumTraceSteps; /// - [NativeTypeName("D3D11_TRACE_COMPONENT_MASK [32]")] + [NativeTypeName("D3D11_TRACE_COMPONENT_MASK[32]")] public fixed byte InputMask[32]; /// - [NativeTypeName("D3D11_TRACE_COMPONENT_MASK [32]")] + [NativeTypeName("D3D11_TRACE_COMPONENT_MASK[32]")] public fixed byte OutputMask[32]; /// @@ -43,7 +43,7 @@ public unsafe partial struct D3D11_TRACE_STATS public ushort MaxIndexableTempIndex; /// - [NativeTypeName("UINT16 [4096]")] + [NativeTypeName("UINT16[4096]")] public fixed ushort IndexableTempSize[4096]; /// @@ -51,31 +51,31 @@ public unsafe partial struct D3D11_TRACE_STATS public ushort ImmediateConstantBufferSize; /// - [NativeTypeName("UINT [4][2]")] + [NativeTypeName("UINT[4][2]")] public fixed uint PixelPosition[4 * 2]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelCoverageMask[4]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelDiscardedMask[4]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelCoverageMaskAfterShader[4]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelCoverageMaskAfterA2CSampleMask[4]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepth[4]; /// - [NativeTypeName("UINT64 [4]")] + [NativeTypeName("UINT64[4]")] public fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepthStencil[4]; /// @@ -91,10 +91,10 @@ public unsafe partial struct D3D11_TRACE_STATS public BOOL GSInputsPrimitiveID; /// - [NativeTypeName("D3D11_TRACE_COMPONENT_MASK [32]")] + [NativeTypeName("D3D11_TRACE_COMPONENT_MASK[32]")] public fixed byte HSOutputPatchConstantMask[32]; /// - [NativeTypeName("D3D11_TRACE_COMPONENT_MASK [32]")] + [NativeTypeName("D3D11_TRACE_COMPONENT_MASK[32]")] public fixed byte DSInputPatchConstantMask[32]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_VALUE.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_VALUE.cs index 831bbe829a..a5fac18665 100644 --- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_VALUE.cs +++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_VALUE.cs @@ -12,7 +12,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct D3D11_TRACE_VALUE { /// - [NativeTypeName("UINT [4]")] + [NativeTypeName("UINT[4]")] public fixed uint Bits[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs index 30a6a977d6..85a3eb5812 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs @@ -20,7 +20,7 @@ public partial struct D3D12_BLEND_DESC public BOOL IndependentBlendEnable; /// - [NativeTypeName("D3D12_RENDER_TARGET_BLEND_DESC [8]")] + [NativeTypeName("D3D12_RENDER_TARGET_BLEND_DESC[8]")] public _RenderTarget_e__FixedBuffer RenderTarget; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs index 1ebd1a8bd3..be9e58e119 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs @@ -45,7 +45,7 @@ public unsafe partial struct _Anonymous_e__Union { /// [FieldOffset(0)] - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float Color[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs index bfe6c4dbec..6845e8d5bf 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs @@ -59,7 +59,7 @@ public unsafe partial struct D3D12_GRAPHICS_PIPELINE_STATE_DESC public uint NumRenderTargets; /// - [NativeTypeName("DXGI_FORMAT [8]")] + [NativeTypeName("DXGI_FORMAT[8]")] public _RTVFormats_e__FixedBuffer RTVFormats; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_INSTANCE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_INSTANCE_DESC.cs index 3f741ab778..2a0993ef6a 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_INSTANCE_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_INSTANCE_DESC.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct D3D12_RAYTRACING_INSTANCE_DESC { /// - [NativeTypeName("FLOAT [3][4]")] + [NativeTypeName("FLOAT[3][4]")] public fixed float Transform[3 * 4]; public uint _bitfield1; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs index a4cdcbe182..dbb6f42f21 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.DirectX; public partial struct D3D12_RT_FORMAT_ARRAY { /// - [NativeTypeName("DXGI_FORMAT [8]")] + [NativeTypeName("DXGI_FORMAT[8]")] public _RTFormats_e__FixedBuffer RTFormats; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SAMPLER_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SAMPLER_DESC.cs index 6b78e236f4..3b71f020b9 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SAMPLER_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SAMPLER_DESC.cs @@ -30,7 +30,7 @@ public unsafe partial struct D3D12_SAMPLER_DESC public D3D12_COMPARISON_FUNC ComparisonFunc; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float BorderColor[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER.cs index b4b831cf55..fbb3293eae 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER.cs @@ -14,6 +14,6 @@ public unsafe partial struct D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER public Guid DriverOpaqueGUID; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte DriverOpaqueVersioningData[16]; } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 89e808d60b..2ff59f3675 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -207,7 +207,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -407,7 +407,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -415,7 +415,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -423,7 +423,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -545,7 +545,7 @@ public interface Interface : ID3D12CommandList.Interface void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); [VtblIndex(23)] - void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor); + void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor); [VtblIndex(24)] void OMSetStencilRef(uint StencilRef); @@ -620,13 +620,13 @@ public interface Interface : ID3D12CommandList.Interface void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, D3D12_CLEAR_FLAGS ClearFlags, float Depth, [NativeTypeName("UINT8")] byte Stencil, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); [VtblIndex(48)] - void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); + void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); [VtblIndex(49)] - void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); + void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); [VtblIndex(50)] - void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); + void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects); [VtblIndex(51)] void DiscardResource(ID3D12Resource* pResource, [NativeTypeName("const D3D12_DISCARD_REGION *")] D3D12_DISCARD_REGION* pRegion); diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs index d3cc42af2d..3f345e78b4 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs @@ -207,7 +207,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -407,7 +407,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -415,7 +415,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -423,7 +423,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs index b5a4417176..398f6ae7d7 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs @@ -209,7 +209,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -409,7 +409,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -417,7 +417,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -425,7 +425,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs index 65d23f29ce..c713781bcf 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs @@ -209,7 +209,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -409,7 +409,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -417,7 +417,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -425,7 +425,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs index 07b07ce257..419ccbefed 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs @@ -209,7 +209,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -409,7 +409,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -417,7 +417,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -425,7 +425,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs index 29ae066a14..ce003f8277 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs @@ -207,7 +207,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -407,7 +407,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -415,7 +415,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -423,7 +423,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs index efd09eaa6f..33ac98bd5c 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs @@ -207,7 +207,7 @@ public void RSSetScissorRects(uint NumRects, [NativeTypeName("const D3D12_RECT * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void OMSetBlendFactor([NativeTypeName("const FLOAT [4]")] float* BlendFactor) + public void OMSetBlendFactor([NativeTypeName("const FLOAT[4]")] float* BlendFactor) { ((delegate* unmanaged)(lpVtbl[23]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), BlendFactor); } @@ -407,7 +407,7 @@ public void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT [4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, [NativeTypeName("const FLOAT[4]")] float* ColorRGBA, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[48]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), RenderTargetView, ColorRGBA, NumRects, pRects); } @@ -415,7 +415,7 @@ public void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT [4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const UINT[4]")] uint* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[49]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } @@ -423,7 +423,7 @@ public void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHand /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT [4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) + public void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, [NativeTypeName("const FLOAT[4]")] float* Values, uint NumRects, [NativeTypeName("const D3D12_RECT *")] RECT* pRects) { ((delegate* unmanaged)(lpVtbl[50]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs index 6790504e8b..5309586962 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs @@ -55,7 +55,7 @@ public partial struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT public D3D12_VIDEO_PROCESS_FILTER_FLAGS FilterSupport; /// - [NativeTypeName("D3D12_VIDEO_PROCESS_FILTER_RANGE [32]")] + [NativeTypeName("D3D12_VIDEO_PROCESS_FILTER_RANGE[32]")] public _FilterRangeSupport_e__FixedBuffer FilterRangeSupport; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs index 15b546a9b8..dcad951558 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs @@ -16,7 +16,7 @@ public unsafe partial struct D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS public uint NumFrameArguments; /// - [NativeTypeName("D3D12_VIDEO_DECODE_FRAME_ARGUMENT [10]")] + [NativeTypeName("D3D12_VIDEO_DECODE_FRAME_ARGUMENT[10]")] public _FrameArguments_e__FixedBuffer FrameArguments; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs index 536b10f73c..34e52aef70 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs @@ -22,7 +22,7 @@ public unsafe partial struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 public D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 ConversionArguments; /// - [NativeTypeName("D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM [4]")] + [NativeTypeName("D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM[4]")] public _Histograms_e__FixedBuffer Histograms; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs index 1edbfb618b..1d7e54b481 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS { /// - [NativeTypeName("D3D12_VIDEO_PROCESS_INPUT_STREAM [2]")] + [NativeTypeName("D3D12_VIDEO_PROCESS_INPUT_STREAM[2]")] public _InputStream_e__FixedBuffer InputStream; /// @@ -26,7 +26,7 @@ public unsafe partial struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS public D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE RateInfo; /// - [NativeTypeName("INT [32]")] + [NativeTypeName("INT[32]")] public fixed int FilterLevels[32]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs index 29af33b768..0fd6a8d31c 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1 { /// - [NativeTypeName("D3D12_VIDEO_PROCESS_INPUT_STREAM [2]")] + [NativeTypeName("D3D12_VIDEO_PROCESS_INPUT_STREAM[2]")] public _InputStream_e__FixedBuffer InputStream; /// @@ -26,7 +26,7 @@ public unsafe partial struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1 public D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE RateInfo; /// - [NativeTypeName("INT [32]")] + [NativeTypeName("INT[32]")] public fixed int FilterLevels[32]; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs index fbfd22695e..871d10d4d1 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs @@ -14,7 +14,7 @@ namespace TerraFX.Interop.DirectX; public partial struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS { /// - [NativeTypeName("D3D12_VIDEO_PROCESS_OUTPUT_STREAM [2]")] + [NativeTypeName("D3D12_VIDEO_PROCESS_OUTPUT_STREAM[2]")] public _OutputStream_e__FixedBuffer OutputStream; /// diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC.cs index 26bf0f5c96..25feb6a295 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC.cs @@ -23,7 +23,7 @@ public unsafe partial struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC public uint AlphaFillModeSourceStreamIndex; /// - [NativeTypeName("FLOAT [4]")] + [NativeTypeName("FLOAT[4]")] public fixed float BackgroundColor[4]; /// diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs index da9368700b..bc56d67b03 100644 --- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs +++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs @@ -162,7 +162,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("FLOAT [3][2]")] + [NativeTypeName("FLOAT[3][2]")] public fixed float m[3 * 2]; /// diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs index ce4d2f58d8..51c66d513e 100644 --- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs +++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs @@ -157,7 +157,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("FLOAT [4][3]")] + [NativeTypeName("FLOAT[4][3]")] public fixed float m[4 * 3]; /// diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs index 1a132dbd50..e61e08e4c6 100644 --- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs +++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs @@ -197,7 +197,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("FLOAT [4][4]")] + [NativeTypeName("FLOAT[4][4]")] public fixed float m[4 * 4]; /// diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs index a08978c915..20064bc699 100644 --- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs +++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs @@ -237,7 +237,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("FLOAT [5][4]")] + [NativeTypeName("FLOAT[5][4]")] public fixed float m[5 * 4]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX1.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX1.cs index af18c70959..78197f2cc7 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX1.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX1.cs @@ -109,7 +109,7 @@ public unsafe partial struct DDCAPS_DX1 public uint dwAlignStrideAlign; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwRops[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX3.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX3.cs index c40823782f..d909a69afe 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX3.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX3.cs @@ -109,7 +109,7 @@ public unsafe partial struct DDCAPS_DX3 public uint dwAlignStrideAlign; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwRops[8]; /// @@ -164,7 +164,7 @@ public unsafe partial struct DDCAPS_DX3 public uint dwSVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSVBRops[8]; /// @@ -180,7 +180,7 @@ public unsafe partial struct DDCAPS_DX3 public uint dwVSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwVSBRops[8]; /// @@ -196,7 +196,7 @@ public unsafe partial struct DDCAPS_DX3 public uint dwSSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSSBRops[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX5.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX5.cs index 412ca85b3f..85c257f8c3 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX5.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX5.cs @@ -109,7 +109,7 @@ public unsafe partial struct DDCAPS_DX5 public uint dwAlignStrideAlign; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwRops[8]; /// @@ -164,7 +164,7 @@ public unsafe partial struct DDCAPS_DX5 public uint dwSVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSVBRops[8]; /// @@ -180,7 +180,7 @@ public unsafe partial struct DDCAPS_DX5 public uint dwVSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwVSBRops[8]; /// @@ -196,7 +196,7 @@ public unsafe partial struct DDCAPS_DX5 public uint dwSSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSSBRops[8]; /// @@ -228,6 +228,6 @@ public unsafe partial struct DDCAPS_DX5 public uint dwNLVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwNLVBRops[8]; } diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX6.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX6.cs index 7eb604eafd..25a16294d9 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX6.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX6.cs @@ -109,7 +109,7 @@ public unsafe partial struct DDCAPS_DX6 public uint dwAlignStrideAlign; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwRops[8]; /// @@ -164,7 +164,7 @@ public unsafe partial struct DDCAPS_DX6 public uint dwSVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSVBRops[8]; /// @@ -180,7 +180,7 @@ public unsafe partial struct DDCAPS_DX6 public uint dwVSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwVSBRops[8]; /// @@ -196,7 +196,7 @@ public unsafe partial struct DDCAPS_DX6 public uint dwSSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSSBRops[8]; /// @@ -228,7 +228,7 @@ public unsafe partial struct DDCAPS_DX6 public uint dwNLVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwNLVBRops[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX7.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX7.cs index dc30f48b99..db4bb16da2 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX7.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDCAPS_DX7.cs @@ -109,7 +109,7 @@ public unsafe partial struct DDCAPS_DX7 public uint dwAlignStrideAlign; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwRops[8]; /// @@ -164,7 +164,7 @@ public unsafe partial struct DDCAPS_DX7 public uint dwSVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSVBRops[8]; /// @@ -180,7 +180,7 @@ public unsafe partial struct DDCAPS_DX7 public uint dwVSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwVSBRops[8]; /// @@ -196,7 +196,7 @@ public unsafe partial struct DDCAPS_DX7 public uint dwSSBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwSSBRops[8]; /// @@ -228,7 +228,7 @@ public unsafe partial struct DDCAPS_DX7 public uint dwNLVBFXCaps; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint dwNLVBRops[8]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER.cs index 1483b3e19f..ea7fb248d7 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER.cs @@ -12,11 +12,11 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DDDEVICEIDENTIFIER { /// - [NativeTypeName("char [512]")] + [NativeTypeName("char[512]")] public fixed sbyte szDriver[512]; /// - [NativeTypeName("char [512]")] + [NativeTypeName("char[512]")] public fixed sbyte szDescription[512]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER2.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER2.cs index 59f90b6be5..74f032f6c5 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER2.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDDEVICEIDENTIFIER2.cs @@ -12,11 +12,11 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DDDEVICEIDENTIFIER2 { /// - [NativeTypeName("char [512]")] + [NativeTypeName("char[512]")] public fixed sbyte szDriver[512]; /// - [NativeTypeName("char [512]")] + [NativeTypeName("char[512]")] public fixed sbyte szDescription[512]; /// diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDGAMMARAMP.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDGAMMARAMP.cs index 28f9a9bb51..62017da049 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/DDGAMMARAMP.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/DDGAMMARAMP.cs @@ -9,14 +9,14 @@ namespace TerraFX.Interop.DirectX; public unsafe partial struct DDGAMMARAMP { /// - [NativeTypeName("WORD [256]")] + [NativeTypeName("WORD[256]")] public fixed ushort red[256]; /// - [NativeTypeName("WORD [256]")] + [NativeTypeName("WORD[256]")] public fixed ushort green[256]; /// - [NativeTypeName("WORD [256]")] + [NativeTypeName("WORD[256]")] public fixed ushort blue[256]; } diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs index a498252619..6c3d6505ad 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("6C14DB80-A733-11CE-A521-0020AF0BE560")] [NativeTypeName("struct IDirectDraw : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDraw : IDirectDraw.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs index 29afc41406..0e6eb732b3 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("B3A6F3E0-2B43-11CF-A2DE-00AA00B93356")] [NativeTypeName("struct IDirectDraw2 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDraw2 : IDirectDraw2.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs index 0843c1ee82..7ff3f67ed2 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("9C59509A-39BD-11D1-8C4A-00C04FD930C5")] [NativeTypeName("struct IDirectDraw4 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDraw4 : IDirectDraw4.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs index a514438a2d..b944efde65 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("15E65EC0-3B9C-11D2-B92F-00609797EA5B")] [NativeTypeName("struct IDirectDraw7 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDraw7 : IDirectDraw7.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs index 5c400c9e8b..b56fc16eb8 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("6C14DB85-A733-11CE-A521-0020AF0BE560")] [NativeTypeName("struct IDirectDrawClipper : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawClipper : IDirectDrawClipper.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs index e61a93be85..9279726807 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("4B9F0EE0-0D7E-11D0-9B06-00A0C903A3B8")] [NativeTypeName("struct IDirectDrawColorControl : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawColorControl : IDirectDrawColorControl.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs index 85557fc068..aa9c4c31df 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("69C11C3E-B46B-11D1-AD7A-00C04FC29B4E")] [NativeTypeName("struct IDirectDrawGammaControl : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawGammaControl : IDirectDrawGammaControl.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs index 507d7cc935..20a0faa0c6 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("6C14DB84-A733-11CE-A521-0020AF0BE560")] [NativeTypeName("struct IDirectDrawPalette : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawPalette : IDirectDrawPalette.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs index 4638528d91..e5a545e53f 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("6C14DB81-A733-11CE-A521-0020AF0BE560")] [NativeTypeName("struct IDirectDrawSurface : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawSurface : IDirectDrawSurface.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs index c8573aeed5..fa5a9b9ce5 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("57805885-6EEC-11CF-9441-A82303C10E27")] [NativeTypeName("struct IDirectDrawSurface2 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawSurface2 : IDirectDrawSurface2.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs index 23fdd8b467..0897806a88 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("DA044E00-69B2-11D0-A1D5-00AA00B8DFBB")] [NativeTypeName("struct IDirectDrawSurface3 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawSurface3 : IDirectDrawSurface3.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs index 377f3c9678..1dc063b871 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("0B2B8630-AD35-11D0-8EA6-00609797EA5B")] [NativeTypeName("struct IDirectDrawSurface4 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawSurface4 : IDirectDrawSurface4.Interface diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs index 641bede2c3..8e99db0337 100644 --- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs +++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("06675A80-3B9B-11D2-B92F-00609797EA5B")] [NativeTypeName("struct IDirectDrawSurface7 : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawSurface7 : IDirectDrawSurface7.Interface diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/DWRITE_PANOSE.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/DWRITE_PANOSE.cs index 1231a03b45..62af4f880b 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/DWRITE_PANOSE.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/DWRITE_PANOSE.cs @@ -13,7 +13,7 @@ public unsafe partial struct DWRITE_PANOSE { /// [FieldOffset(0)] - [NativeTypeName("UINT8 [10]")] + [NativeTypeName("UINT8[10]")] public fixed byte values[10]; /// diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/DxcShaderHash.cs b/sources/Interop/Windows/DirectX/um/dxcapi/DxcShaderHash.cs index 752d1106fe..431bda82fd 100644 --- a/sources/Interop/Windows/DirectX/um/dxcapi/DxcShaderHash.cs +++ b/sources/Interop/Windows/DirectX/um/dxcapi/DxcShaderHash.cs @@ -13,6 +13,6 @@ public unsafe partial struct DxcShaderHash public uint Flags; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte HashDigest[16]; } diff --git a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs index 7d56f5dbb6..a9542b62d9 100644 --- a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs +++ b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("7D0F462F-4064-4862-BC7F-933E5058C10F")] [NativeTypeName("struct IDxDiagContainer : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDxDiagContainer : IDxDiagContainer.Interface diff --git a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs index 4ff5638932..486c7091b2 100644 --- a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs +++ b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.Windows; namespace TerraFX.Interop.DirectX; /// +[Guid("9C6B4CB0-23F8-49CC-A3ED-45A55000A6D2")] [NativeTypeName("struct IDxDiagProvider : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDxDiagProvider : IDxDiagProvider.Interface diff --git a/sources/Interop/Windows/DirectX/um/x3daudio/DirectX.cs b/sources/Interop/Windows/DirectX/um/x3daudio/DirectX.cs index 2e52f195c4..3a292796f4 100644 --- a/sources/Interop/Windows/DirectX/um/x3daudio/DirectX.cs +++ b/sources/Interop/Windows/DirectX/um/x3daudio/DirectX.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.DirectX; public static unsafe partial class DirectX { - [NativeTypeName("const X3DAUDIO_DISTANCE_CURVE_POINT [2]")] + [NativeTypeName("const X3DAUDIO_DISTANCE_CURVE_POINT[2]")] public static ReadOnlySpan X3DAudioDefault_LinearCurvePoints { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/sources/Interop/Windows/DirectX/um/xapo/XAPO_REGISTRATION_PROPERTIES.cs b/sources/Interop/Windows/DirectX/um/xapo/XAPO_REGISTRATION_PROPERTIES.cs index 5bcc341cae..b793512dca 100644 --- a/sources/Interop/Windows/DirectX/um/xapo/XAPO_REGISTRATION_PROPERTIES.cs +++ b/sources/Interop/Windows/DirectX/um/xapo/XAPO_REGISTRATION_PROPERTIES.cs @@ -17,11 +17,11 @@ public unsafe partial struct XAPO_REGISTRATION_PROPERTIES public Guid clsid; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort FriendlyName[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort CopyrightInfo[256]; /// diff --git a/sources/Interop/Windows/Gdiplus/um/gdipluscolormatrix/ColorMatrix.cs b/sources/Interop/Windows/Gdiplus/um/gdipluscolormatrix/ColorMatrix.cs index 16ded0bd8b..6b8e44c258 100644 --- a/sources/Interop/Windows/Gdiplus/um/gdipluscolormatrix/ColorMatrix.cs +++ b/sources/Interop/Windows/Gdiplus/um/gdipluscolormatrix/ColorMatrix.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Gdiplus; public unsafe partial struct ColorMatrix { /// - [NativeTypeName("Gdiplus::REAL [5][5]")] + [NativeTypeName("Gdiplus::REAL[5][5]")] public fixed float m[5 * 5]; } diff --git a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs index 2f1e61897f..fc49680373 100644 --- a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs +++ b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs @@ -16,7 +16,7 @@ public partial struct EncoderParameters public uint Count; /// - [NativeTypeName("Gdiplus::EncoderParameter [1]")] + [NativeTypeName("Gdiplus::EncoderParameter[1]")] public _Parameter_e__FixedBuffer Parameter; /// diff --git a/sources/Interop/Windows/Gdiplus/um/gdipluspixelformats/ColorPalette.cs b/sources/Interop/Windows/Gdiplus/um/gdipluspixelformats/ColorPalette.cs index 885695d8dd..45c5428f41 100644 --- a/sources/Interop/Windows/Gdiplus/um/gdipluspixelformats/ColorPalette.cs +++ b/sources/Interop/Windows/Gdiplus/um/gdipluspixelformats/ColorPalette.cs @@ -15,6 +15,6 @@ public unsafe partial struct ColorPalette public uint Count; /// - [NativeTypeName("Gdiplus::ARGB [1]")] + [NativeTypeName("Gdiplus::ARGB[1]")] public fixed uint Entries[1]; } diff --git a/sources/Interop/Windows/WinRT/um/CastingInterop/WinRT.cs b/sources/Interop/Windows/WinRT/um/CastingInterop/WinRT.cs index 07b83453e6..4fc4c61331 100644 --- a/sources/Interop/Windows/WinRT/um/CastingInterop/WinRT.cs +++ b/sources/Interop/Windows/WinRT/um/CastingInterop/WinRT.cs @@ -7,12 +7,12 @@ namespace TerraFX.Interop.WinRT; public static partial class WinRT { - [NativeTypeName("const WCHAR [25]")] + [NativeTypeName("const WCHAR[25]")] public const string CastingSourceInfo_Property_PreferredSourceUriScheme = "PreferredSourceUriScheme"; - [NativeTypeName("const WCHAR [13]")] + [NativeTypeName("const WCHAR[13]")] public const string CastingSourceInfo_Property_CastingTypes = "CastingTypes"; - [NativeTypeName("const WCHAR [15]")] + [NativeTypeName("const WCHAR[15]")] public const string CastingSourceInfo_Property_ProtectedMedia = "ProtectedMedia"; } diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttribute.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttribute.cs index 5247a05a37..b83c48035c 100644 --- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttribute.cs +++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttribute.cs @@ -16,5 +16,6 @@ public unsafe partial struct MLOperatorAttribute public MLOperatorAttributeType type; /// - public bool required; + [NativeTypeName("bool")] + public byte required; } diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs index 7e511589c6..cf5ff07654 100644 --- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs +++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs @@ -49,7 +49,7 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT GetStackBackTrace([NativeTypeName("ULONG")] uint maxFramesToCapture, [NativeTypeName("UINT_PTR []")] nuint* stackBackTrace, [NativeTypeName("ULONG *")] uint* framesCaptured) + public HRESULT GetStackBackTrace([NativeTypeName("ULONG")] uint maxFramesToCapture, [NativeTypeName("UINT_PTR[]")] nuint* stackBackTrace, [NativeTypeName("ULONG *")] uint* framesCaptured) { return ((delegate* unmanaged)(lpVtbl[3]))((ILanguageExceptionStackBackTrace*)Unsafe.AsPointer(ref this), maxFramesToCapture, stackBackTrace, framesCaptured); } @@ -57,7 +57,7 @@ public HRESULT GetStackBackTrace([NativeTypeName("ULONG")] uint maxFramesToCaptu public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT GetStackBackTrace([NativeTypeName("ULONG")] uint maxFramesToCapture, [NativeTypeName("UINT_PTR []")] nuint* stackBackTrace, [NativeTypeName("ULONG *")] uint* framesCaptured); + HRESULT GetStackBackTrace([NativeTypeName("ULONG")] uint maxFramesToCapture, [NativeTypeName("UINT_PTR[]")] nuint* stackBackTrace, [NativeTypeName("ULONG *")] uint* framesCaptured); } public partial struct Vtbl diff --git a/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/WinRT.cs index fe3a90a493..c05c429ef8 100644 --- a/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/WinRT.cs +++ b/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/WinRT.cs @@ -7,6 +7,6 @@ namespace TerraFX.Interop.WinRT; public static partial class WinRT { - [NativeTypeName("const WCHAR [55]")] + [NativeTypeName("const WCHAR[55]")] public const string InterfaceName_Windows_Foundation_Collections_IVectorChangedEventArgs = "Windows.Foundation.Collections.IVectorChangedEventArgs"; } diff --git a/sources/Interop/Windows/Windows/other/cvconst/CV_CFL_LANG.cs b/sources/Interop/Windows/Windows/other/cvconst/CV_CFL_LANG.cs index d0b45019f6..8be035745e 100644 --- a/sources/Interop/Windows/Windows/other/cvconst/CV_CFL_LANG.cs +++ b/sources/Interop/Windows/Windows/other/cvconst/CV_CFL_LANG.cs @@ -70,4 +70,7 @@ public enum CV_CFL_LANG /// CV_CFL_ALIASOBJ = 0x14, + + /// + CV_CFL_RUST = 0x15, } diff --git a/sources/Interop/Windows/Windows/other/cvconst/THUNK_ORDINAL.cs b/sources/Interop/Windows/Windows/other/cvconst/THUNK_ORDINAL.cs index c1946e735b..c3adc8d9a7 100644 --- a/sources/Interop/Windows/Windows/other/cvconst/THUNK_ORDINAL.cs +++ b/sources/Interop/Windows/Windows/other/cvconst/THUNK_ORDINAL.cs @@ -34,4 +34,7 @@ public enum THUNK_ORDINAL /// THUNK_ORDINAL_TRAMP_ARM64XSAMEADDRESS, + + /// + THUNK_ORDINAL_TRAMP_FUNCOVERRIDING, } diff --git a/sources/Interop/Windows/Windows/other/cvconst/Windows.cs b/sources/Interop/Windows/Windows/other/cvconst/Windows.cs new file mode 100644 index 0000000000..919b59e21c --- /dev/null +++ b/sources/Interop/Windows/Windows/other/cvconst/Windows.cs @@ -0,0 +1,17 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from cvconst.h in the Debug Interface Access SDK +// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). + +namespace TerraFX.Interop.Windows; + +public static partial class Windows +{ + public const int NAMEHASH_BUILD_START = 0; + public const int NAMEHASH_BUILD_PAUSE = 1; + public const int NAMEHASH_BUILD_RESUME = 2; + public const int NAMEHASH_BUILD_COMPLETE = 3; + public const int NAMEHASH_BUILD_ERROR = 4; + public const int NAMEHASH_BUILD_OOM = NAMEHASH_BUILD_ERROR; + public const int NAMEHASH_BUILD_FAIL_TO_OPEN_MOD = 5; +} diff --git a/sources/Interop/Windows/Windows/other/helper-types/APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.cs b/sources/Interop/Windows/Windows/other/helper-types/APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.cs index bebaaa5dcd..e7ca4c61bd 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct APARTMENT_SHUTDOWN_REGISTRATION_COOKIE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct APARTMENT_SHUTDOWN_REGISTRATION_COOKIE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/ASYNCCOMPLETIONHANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/ASYNCCOMPLETIONHANDLE.cs index 50026282a5..a653e5880e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/ASYNCCOMPLETIONHANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/ASYNCCOMPLETIONHANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct ASYNCCOMPLETIONHANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct ASYNCCOMPLETIONHANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/BOOL.cs b/sources/Interop/Windows/Windows/other/helper-types/BOOL.cs index e7c15090b8..85d0fed164 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/BOOL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/BOOL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public partial struct BOOL : IComparable, IComparable, IEquatable, IFormattable +public readonly partial struct BOOL : IComparable, IComparable, IEquatable, IFormattable { public readonly int Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/COLORREF.cs b/sources/Interop/Windows/Windows/other/helper-types/COLORREF.cs index 34db232a21..413d31b6d2 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/COLORREF.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/COLORREF.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct COLORREF : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct COLORREF : IComparable, IComparable, IEquatable, IFormattable { public readonly uint Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/COMPRESSOR_HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/COMPRESSOR_HANDLE.cs index 2aea4363b7..a5395b3d3c 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/COMPRESSOR_HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/COMPRESSOR_HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct COMPRESSOR_HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct COMPRESSOR_HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/CO_DEVICE_CATALOG_COOKIE.cs b/sources/Interop/Windows/Windows/other/helper-types/CO_DEVICE_CATALOG_COOKIE.cs index 99e2dd4ce1..76ece345d5 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/CO_DEVICE_CATALOG_COOKIE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/CO_DEVICE_CATALOG_COOKIE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct CO_DEVICE_CATALOG_COOKIE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct CO_DEVICE_CATALOG_COOKIE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/CO_MTA_USAGE_COOKIE.cs b/sources/Interop/Windows/Windows/other/helper-types/CO_MTA_USAGE_COOKIE.cs index f6be6bb872..2613f6f468 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/CO_MTA_USAGE_COOKIE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/CO_MTA_USAGE_COOKIE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct CO_MTA_USAGE_COOKIE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct CO_MTA_USAGE_COOKIE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/DPI_AWARENESS_CONTEXT.cs b/sources/Interop/Windows/Windows/other/helper-types/DPI_AWARENESS_CONTEXT.cs index 91f6671087..2bedc25e80 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/DPI_AWARENESS_CONTEXT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/DPI_AWARENESS_CONTEXT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct DPI_AWARENESS_CONTEXT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct DPI_AWARENESS_CONTEXT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/EC_HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/EC_HANDLE.cs index 03ad40c0b5..dbeb01e68d 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/EC_HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/EC_HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct EC_HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct EC_HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/EC_OBJECT_ARRAY_PROPERTY_HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/EC_OBJECT_ARRAY_PROPERTY_HANDLE.cs index 366cc0b60a..36ce9d17b6 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/EC_OBJECT_ARRAY_PROPERTY_HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/EC_OBJECT_ARRAY_PROPERTY_HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct EC_OBJECT_ARRAY_PROPERTY_HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct EC_OBJECT_ARRAY_PROPERTY_HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HACCEL.cs b/sources/Interop/Windows/Windows/other/helper-types/HACCEL.cs index 7c8b15539a..940b5a8674 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HACCEL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HACCEL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HACCEL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HACCEL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/HANDLE.cs index ee209a8ba6..bcd55e6831 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HANDLE_PTR.cs b/sources/Interop/Windows/Windows/other/helper-types/HANDLE_PTR.cs index e4fe7a2b33..35de30f762 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HANDLE_PTR.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HANDLE_PTR.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HANDLE_PTR : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HANDLE_PTR : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HANIMATIONBUFFER.cs b/sources/Interop/Windows/Windows/other/helper-types/HANIMATIONBUFFER.cs index 2b381f4d7c..70012e2046 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HANIMATIONBUFFER.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HANIMATIONBUFFER.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HANIMATIONBUFFER : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HANIMATIONBUFFER : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HBITMAP.cs b/sources/Interop/Windows/Windows/other/helper-types/HBITMAP.cs index fa4cf58f19..8d52b8032b 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HBITMAP.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HBITMAP.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HBITMAP : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HBITMAP : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HBRUSH.cs b/sources/Interop/Windows/Windows/other/helper-types/HBRUSH.cs index 5125b82767..e470dc03ee 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HBRUSH.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HBRUSH.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HBRUSH : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HBRUSH : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCATADMIN.cs b/sources/Interop/Windows/Windows/other/helper-types/HCATADMIN.cs index f8844c1932..cf63e44d60 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCATADMIN.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCATADMIN.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCATADMIN : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCATADMIN : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCERTCHAINENGINE.cs b/sources/Interop/Windows/Windows/other/helper-types/HCERTCHAINENGINE.cs index e23e3b5760..ccee36064e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCERTCHAINENGINE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCERTCHAINENGINE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCERTCHAINENGINE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCERTCHAINENGINE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCERTSTORE.cs b/sources/Interop/Windows/Windows/other/helper-types/HCERTSTORE.cs index 05fc1956e9..efc4c5a311 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCERTSTORE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCERTSTORE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCERTSTORE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCERTSTORE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCERTSTOREPROV.cs b/sources/Interop/Windows/Windows/other/helper-types/HCERTSTOREPROV.cs index e4beae22c9..05b2a3dac4 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCERTSTOREPROV.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCERTSTOREPROV.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCERTSTOREPROV : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCERTSTOREPROV : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCERT_SERVER_OCSP_RESPONSE.cs b/sources/Interop/Windows/Windows/other/helper-types/HCERT_SERVER_OCSP_RESPONSE.cs index 4f3ddc1570..ab551a0049 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCERT_SERVER_OCSP_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCERT_SERVER_OCSP_RESPONSE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCERT_SERVER_OCSP_RESPONSE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCERT_SERVER_OCSP_RESPONSE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCOLORSPACE.cs b/sources/Interop/Windows/Windows/other/helper-types/HCOLORSPACE.cs index 691c4ed1be..6174d9c70e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCOLORSPACE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCOLORSPACE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCOLORSPACE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCOLORSPACE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCOMDB.cs b/sources/Interop/Windows/Windows/other/helper-types/HCOMDB.cs index 624c19c479..85819f7716 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCOMDB.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCOMDB.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCOMDB : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCOMDB : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTASYNC.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTASYNC.cs index e936fff966..99296b2394 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTASYNC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTASYNC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTASYNC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTASYNC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTDEFAULTCONTEXT.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTDEFAULTCONTEXT.cs index 7fc7e8ec5d..b0d64c2f58 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTDEFAULTCONTEXT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTDEFAULTCONTEXT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTDEFAULTCONTEXT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTDEFAULTCONTEXT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTHASH.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTHASH.cs index 1aecce5d01..47f737088f 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTHASH.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTHASH.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTHASH : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTHASH : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTKEY.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTKEY.cs index cc17883c94..4c389bb48b 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTKEY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTKEY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTKEY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTKEY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTMSG.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTMSG.cs index 8137c06bb3..cae9e576f4 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTMSG.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTMSG.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTMSG : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTMSG : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCADDR.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCADDR.cs index d9400f77bd..127858a8a0 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCADDR.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCADDR.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTOIDFUNCADDR : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTOIDFUNCADDR : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCSET.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCSET.cs index f1c4e1d1f7..8fd319abec 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCSET.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTOIDFUNCSET.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTOIDFUNCSET : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTOIDFUNCSET : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV.cs index c200b34f4a..259d667fd9 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTPROV : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTPROV : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_LEGACY.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_LEGACY.cs index fd7f9069d2..9b377053de 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_LEGACY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_LEGACY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTPROV_LEGACY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTPROV_LEGACY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_OR_NCRYPT_KEY_HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_OR_NCRYPT_KEY_HANDLE.cs index 3169189fb0..00718cfb22 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_OR_NCRYPT_KEY_HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCRYPTPROV_OR_NCRYPT_KEY_HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCRYPTPROV_OR_NCRYPT_KEY_HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCRYPTPROV_OR_NCRYPT_KEY_HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HCURSOR.cs b/sources/Interop/Windows/Windows/other/helper-types/HCURSOR.cs index c710d72531..eb28e97378 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HCURSOR.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HCURSOR.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HCURSOR : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HCURSOR : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDC.cs b/sources/Interop/Windows/Windows/other/helper-types/HDC.cs index 7efaaba0c5..718069f9e0 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDESK.cs b/sources/Interop/Windows/Windows/other/helper-types/HDESK.cs index 6bff7822cb..4217852f05 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDESK.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDESK.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDESK : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDESK : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDEVINFO.cs b/sources/Interop/Windows/Windows/other/helper-types/HDEVINFO.cs index 0d81e25bf6..743f1a83fa 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDEVINFO.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDEVINFO.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDEVINFO : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDEVINFO : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDEVNOTIFY.cs b/sources/Interop/Windows/Windows/other/helper-types/HDEVNOTIFY.cs index 58bf7a6095..399808e5a8 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDEVNOTIFY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDEVNOTIFY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDEVNOTIFY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDEVNOTIFY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDROP.cs b/sources/Interop/Windows/Windows/other/helper-types/HDROP.cs index 4a45f66adf..4360e4de4e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDROP.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDROP.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDROP : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDROP : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDSKSPC.cs b/sources/Interop/Windows/Windows/other/helper-types/HDSKSPC.cs index 2e6ef972ca..dc3e8f5895 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDSKSPC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDSKSPC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDSKSPC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDSKSPC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HDWP.cs b/sources/Interop/Windows/Windows/other/helper-types/HDWP.cs index e6e5ab8d1e..f0be6f52df 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HDWP.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HDWP.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HDWP : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HDWP : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HENHMETAFILE.cs b/sources/Interop/Windows/Windows/other/helper-types/HENHMETAFILE.cs index 59f85affa2..d74f81b5af 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HENHMETAFILE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HENHMETAFILE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HENHMETAFILE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HENHMETAFILE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HEVENT.cs b/sources/Interop/Windows/Windows/other/helper-types/HEVENT.cs index 118b4530e3..b5fb4562a6 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HEVENT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HEVENT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HEVENT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HEVENT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HFONT.cs b/sources/Interop/Windows/Windows/other/helper-types/HFONT.cs index 2e4541417d..56fefe3510 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HFONT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HFONT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HFONT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HFONT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HGDIOBJ.cs b/sources/Interop/Windows/Windows/other/helper-types/HGDIOBJ.cs index e17886160a..55f7833385 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HGDIOBJ.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HGDIOBJ.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HGDIOBJ : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HGDIOBJ : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HGESTUREINFO.cs b/sources/Interop/Windows/Windows/other/helper-types/HGESTUREINFO.cs index 645ce6f32f..34ebe18203 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HGESTUREINFO.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HGESTUREINFO.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HGESTUREINFO : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HGESTUREINFO : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HGLOBAL.cs b/sources/Interop/Windows/Windows/other/helper-types/HGLOBAL.cs index 2cd6af7607..2fe48976ad 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HGLOBAL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HGLOBAL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HGLOBAL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HGLOBAL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HGLRC.cs b/sources/Interop/Windows/Windows/other/helper-types/HGLRC.cs index 3ae378158c..79b3c9b882 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HGLRC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HGLRC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HGLRC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HGLRC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HHANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/HHANDLE.cs index e6fab47f4a..e574e68a1a 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HHANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HHANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HHANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HHANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HHOOK.cs b/sources/Interop/Windows/Windows/other/helper-types/HHOOK.cs index 0b7b885646..a497348473 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HHOOK.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HHOOK.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HHOOK : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HHOOK : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HICON.cs b/sources/Interop/Windows/Windows/other/helper-types/HICON.cs index fc0a02b7e5..d609dd31ca 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HICON.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HICON.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HICON : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HICON : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HIFTIMESTAMPCHANGE.cs b/sources/Interop/Windows/Windows/other/helper-types/HIFTIMESTAMPCHANGE.cs index 9d4c582d30..0387dd4223 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HIFTIMESTAMPCHANGE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HIFTIMESTAMPCHANGE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HIFTIMESTAMPCHANGE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HIFTIMESTAMPCHANGE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HIMAGELIST.cs b/sources/Interop/Windows/Windows/other/helper-types/HIMAGELIST.cs index e496ea3790..346c3c9e79 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HIMAGELIST.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HIMAGELIST.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HIMAGELIST : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HIMAGELIST : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HIMC.cs b/sources/Interop/Windows/Windows/other/helper-types/HIMC.cs index 8938c86e20..e1db4aadb6 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HIMC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HIMC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HIMC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HIMC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HIMCC.cs b/sources/Interop/Windows/Windows/other/helper-types/HIMCC.cs index 6f09a3a77b..649ae1ce96 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HIMCC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HIMCC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HIMCC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HIMCC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HINF.cs b/sources/Interop/Windows/Windows/other/helper-types/HINF.cs index f6bc9657bf..257dfa0fad 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HINF.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HINF.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HINF : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HINF : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HINSTANCE.cs b/sources/Interop/Windows/Windows/other/helper-types/HINSTANCE.cs index b8550f5cea..bd9fe16490 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HINSTANCE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HINSTANCE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HINSTANCE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HINSTANCE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HINTERACTIONCONTEXT.cs b/sources/Interop/Windows/Windows/other/helper-types/HINTERACTIONCONTEXT.cs index 9818f2ea72..151b5287c5 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HINTERACTIONCONTEXT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HINTERACTIONCONTEXT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HINTERACTIONCONTEXT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HINTERACTIONCONTEXT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HINTERNET.cs b/sources/Interop/Windows/Windows/other/helper-types/HINTERNET.cs index 66e4e9ea18..ee0c59a394 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HINTERNET.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HINTERNET.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HINTERNET : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HINTERNET : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HKEY.cs b/sources/Interop/Windows/Windows/other/helper-types/HKEY.cs index e8e79a5217..af80247b8a 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HKEY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HKEY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HKEY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HKEY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HKL.cs b/sources/Interop/Windows/Windows/other/helper-types/HKL.cs index 8c1675ae3f..4e7186aa17 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HKL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HKL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HKL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HKL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HLOCAL.cs b/sources/Interop/Windows/Windows/other/helper-types/HLOCAL.cs index 35ee1543dc..e7258b0c7b 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HLOCAL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HLOCAL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HLOCAL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HLOCAL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMENU.cs b/sources/Interop/Windows/Windows/other/helper-types/HMENU.cs index a75ec6284b..f720fefb48 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMENU.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMENU.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMENU : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMENU : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMETAFILE.cs b/sources/Interop/Windows/Windows/other/helper-types/HMETAFILE.cs index fff01aa790..1a56482617 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMETAFILE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMETAFILE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMETAFILE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMETAFILE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMETAFILEPICT.cs b/sources/Interop/Windows/Windows/other/helper-types/HMETAFILEPICT.cs index bbcfdc029b..a961258366 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMETAFILEPICT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMETAFILEPICT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMETAFILEPICT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMETAFILEPICT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIDI.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIDI.cs index 0ba8ee7ab7..a4e3ff7bb2 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIDI.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIDI.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIDI : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIDI : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIDIIN.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIDIIN.cs index b3f9ce6c22..5f54d2566d 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIDIIN.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIDIIN.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIDIIN : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIDIIN : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIDIOUT.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIDIOUT.cs index 7a620a8fbe..b190959f62 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIDIOUT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIDIOUT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIDIOUT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIDIOUT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIDISTRM.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIDISTRM.cs index 3d72ab8586..2307649a58 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIDISTRM.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIDISTRM.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIDISTRM : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIDISTRM : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIXER.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIXER.cs index 9662d5c042..6aeb66cb52 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIXER.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIXER.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIXER : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIXER : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMIXEROBJ.cs b/sources/Interop/Windows/Windows/other/helper-types/HMIXEROBJ.cs index 9be6c38fea..efc49d9def 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMIXEROBJ.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMIXEROBJ.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMIXEROBJ : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMIXEROBJ : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMODULE.cs b/sources/Interop/Windows/Windows/other/helper-types/HMODULE.cs index 73b3b6edeb..fbdfe38ceb 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMODULE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMODULE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMODULE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMODULE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HMONITOR.cs b/sources/Interop/Windows/Windows/other/helper-types/HMONITOR.cs index ab0e03d32a..93a094be77 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HMONITOR.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HMONITOR.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HMONITOR : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HMONITOR : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPAINTBUFFER.cs b/sources/Interop/Windows/Windows/other/helper-types/HPAINTBUFFER.cs index e8727c1d80..828d05c17f 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPAINTBUFFER.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPAINTBUFFER.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPAINTBUFFER : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPAINTBUFFER : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPALETTE.cs b/sources/Interop/Windows/Windows/other/helper-types/HPALETTE.cs index 950a6dea97..36f0e9d625 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPALETTE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPALETTE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPALETTE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPALETTE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPCON.cs b/sources/Interop/Windows/Windows/other/helper-types/HPCON.cs index ec4eaf2b1b..c1e99f567e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPCON.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPCON.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPCON : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPCON : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPEN.cs b/sources/Interop/Windows/Windows/other/helper-types/HPEN.cs index 7a8808641c..9d01887da3 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPEN.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPEN.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPEN : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPEN : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPOWERNOTIFY.cs b/sources/Interop/Windows/Windows/other/helper-types/HPOWERNOTIFY.cs index d2dc1bbd13..d7cfd30582 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPOWERNOTIFY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPOWERNOTIFY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPOWERNOTIFY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPOWERNOTIFY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPROPSHEETPAGE.cs b/sources/Interop/Windows/Windows/other/helper-types/HPROPSHEETPAGE.cs index 8514415224..6bc7df248b 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPROPSHEETPAGE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPROPSHEETPAGE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPROPSHEETPAGE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPROPSHEETPAGE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPSS.cs b/sources/Interop/Windows/Windows/other/helper-types/HPSS.cs index 0a16959728..48d78c4c81 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPSS.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPSS.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPSS : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPSS : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPSSWALK.cs b/sources/Interop/Windows/Windows/other/helper-types/HPSSWALK.cs index b4cdaea2d8..c7c3b32f8e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPSSWALK.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPSSWALK.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPSSWALK : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPSSWALK : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HPSXA.cs b/sources/Interop/Windows/Windows/other/helper-types/HPSXA.cs index b086af2cfc..5cb1d1445e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HPSXA.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HPSXA.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HPSXA : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HPSXA : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HRAWINPUT.cs b/sources/Interop/Windows/Windows/other/helper-types/HRAWINPUT.cs index a2b2a4cd3c..a6f0641aab 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HRAWINPUT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HRAWINPUT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HRAWINPUT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HRAWINPUT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HRESULT.cs b/sources/Interop/Windows/Windows/other/helper-types/HRESULT.cs index d1f39cfc3c..5523d6adbb 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HRESULT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HRESULT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HRESULT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HRESULT : IComparable, IComparable, IEquatable, IFormattable { public readonly int Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HRGN.cs b/sources/Interop/Windows/Windows/other/helper-types/HRGN.cs index d8d3c163c3..38ae3d14de 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HRGN.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HRGN.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HRGN : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HRGN : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HRSRC.cs b/sources/Interop/Windows/Windows/other/helper-types/HRSRC.cs index 1031fbc9dc..3003022e17 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HRSRC.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HRSRC.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HRSRC : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HRSRC : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSEMAPHORE.cs b/sources/Interop/Windows/Windows/other/helper-types/HSEMAPHORE.cs index b88eaf8b2a..2444785e0e 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSEMAPHORE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSEMAPHORE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HSEMAPHORE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSEMAPHORE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSPFILELOG.cs b/sources/Interop/Windows/Windows/other/helper-types/HSPFILELOG.cs index c1e41f87d0..c6b208c918 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSPFILELOG.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSPFILELOG.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HSPFILELOG : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSPFILELOG : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSPFILEQ.cs b/sources/Interop/Windows/Windows/other/helper-types/HSPFILEQ.cs index 23b98db810..67830b6618 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSPFILEQ.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSPFILEQ.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HSPFILEQ : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSPFILEQ : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSTRING.cs b/sources/Interop/Windows/Windows/other/helper-types/HSTRING.cs index 48d188ac8e..231887a041 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSTRING.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSTRING.cs @@ -3,10 +3,9 @@ using System; using TerraFX.Interop.Windows; -namespace -TerraFX.Interop.WinRT; +namespace TerraFX.Interop.WinRT; -public unsafe partial struct HSTRING : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSTRING : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSTRING_BUFFER.cs b/sources/Interop/Windows/Windows/other/helper-types/HSTRING_BUFFER.cs index f7103dc89f..dfeea64c5f 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSTRING_BUFFER.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSTRING_BUFFER.cs @@ -3,10 +3,9 @@ using System; using TerraFX.Interop.Windows; -namespace -TerraFX.Interop.WinRT; +namespace TerraFX.Interop.WinRT; -public unsafe partial struct HSTRING_BUFFER : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSTRING_BUFFER : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSWDEVICE.cs b/sources/Interop/Windows/Windows/other/helper-types/HSWDEVICE.cs index 797ec1f7f1..89f2c205a2 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSWDEVICE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSWDEVICE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HSWDEVICE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSWDEVICE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HSYNTHETICPOINTERDEVICE.cs b/sources/Interop/Windows/Windows/other/helper-types/HSYNTHETICPOINTERDEVICE.cs index dab16fd7bc..1d4c53420d 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HSYNTHETICPOINTERDEVICE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HSYNTHETICPOINTERDEVICE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HSYNTHETICPOINTERDEVICE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HSYNTHETICPOINTERDEVICE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HTASK.cs b/sources/Interop/Windows/Windows/other/helper-types/HTASK.cs index 6dcb5ad9d0..4a1b345ac6 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HTASK.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HTASK.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HTASK : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HTASK : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HTHEME.cs b/sources/Interop/Windows/Windows/other/helper-types/HTHEME.cs index 41892f6a26..43239d40e0 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HTHEME.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HTHEME.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HTHEME : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HTHEME : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HTHUMBNAIL.cs b/sources/Interop/Windows/Windows/other/helper-types/HTHUMBNAIL.cs index 941f3eac51..664511c67a 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HTHUMBNAIL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HTHUMBNAIL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HTHUMBNAIL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HTHUMBNAIL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HTOUCHINPUT.cs b/sources/Interop/Windows/Windows/other/helper-types/HTOUCHINPUT.cs index 87403dcbcd..857cca8c79 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HTOUCHINPUT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HTOUCHINPUT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HTOUCHINPUT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HTOUCHINPUT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HTREEITEM.cs b/sources/Interop/Windows/Windows/other/helper-types/HTREEITEM.cs index 88c1fda7fd..81017296b0 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HTREEITEM.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HTREEITEM.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HTREEITEM : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HTREEITEM : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HUSKEY.cs b/sources/Interop/Windows/Windows/other/helper-types/HUSKEY.cs index bced716657..77b3814832 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HUSKEY.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HUSKEY.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HUSKEY : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HUSKEY : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HWAVEIN.cs b/sources/Interop/Windows/Windows/other/helper-types/HWAVEIN.cs index 7fb6069f39..914ec670f0 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HWAVEIN.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HWAVEIN.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HWAVEIN : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HWAVEIN : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HWAVEOUT.cs b/sources/Interop/Windows/Windows/other/helper-types/HWAVEOUT.cs index 6e714d3472..d545577380 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HWAVEOUT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HWAVEOUT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HWAVEOUT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HWAVEOUT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HWINEVENTHOOK.cs b/sources/Interop/Windows/Windows/other/helper-types/HWINEVENTHOOK.cs index af57fcbd97..a953df4906 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HWINEVENTHOOK.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HWINEVENTHOOK.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HWINEVENTHOOK : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HWINEVENTHOOK : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HWINSTA.cs b/sources/Interop/Windows/Windows/other/helper-types/HWINSTA.cs index bcb3e1ff80..50fe2fa54c 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HWINSTA.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HWINSTA.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HWINSTA : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HWINSTA : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/HWND.cs b/sources/Interop/Windows/Windows/other/helper-types/HWND.cs index 62bacb9c19..d1ec140b76 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/HWND.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/HWND.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct HWND : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct HWND : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/InstanceHandle.cs b/sources/Interop/Windows/Windows/other/helper-types/InstanceHandle.cs index 297aedf072..08258ab145 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/InstanceHandle.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/InstanceHandle.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.WinRT; +namespace TerraFX.Interop.WinRT; -public unsafe partial struct InstanceHandle : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct InstanceHandle : IComparable, IComparable, IEquatable, IFormattable { public readonly ulong Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/LPARAM.cs b/sources/Interop/Windows/Windows/other/helper-types/LPARAM.cs index 34eda648fa..6fabe6ad3b 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/LPARAM.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/LPARAM.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct LPARAM : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct LPARAM : IComparable, IComparable, IEquatable, IFormattable { public readonly nint Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/LPPROC_THREAD_ATTRIBUTE_LIST.cs b/sources/Interop/Windows/Windows/other/helper-types/LPPROC_THREAD_ATTRIBUTE_LIST.cs index 8e19fae67f..5712b3e7be 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/LPPROC_THREAD_ATTRIBUTE_LIST.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/LPPROC_THREAD_ATTRIBUTE_LIST.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct LPPROC_THREAD_ATTRIBUTE_LIST : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct LPPROC_THREAD_ATTRIBUTE_LIST : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/LRESULT.cs b/sources/Interop/Windows/Windows/other/helper-types/LRESULT.cs index b8b1b1d023..3d183c34e6 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/LRESULT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/LRESULT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public partial struct LRESULT : IComparable, IComparable, IEquatable, IFormattable +public readonly partial struct LRESULT : IComparable, IComparable, IEquatable, IFormattable { public readonly nint Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/MSIHANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/MSIHANDLE.cs index f7fb9da8ad..107550fdad 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/MSIHANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/MSIHANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct MSIHANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct MSIHANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly uint Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/MachineGlobalObjectTableRegistrationToken.cs b/sources/Interop/Windows/Windows/other/helper-types/MachineGlobalObjectTableRegistrationToken.cs index 3d03f0b03a..f10f3813be 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/MachineGlobalObjectTableRegistrationToken.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/MachineGlobalObjectTableRegistrationToken.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct MachineGlobalObjectTableRegistrationToken : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct MachineGlobalObjectTableRegistrationToken : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/OAHWND.cs b/sources/Interop/Windows/Windows/other/helper-types/OAHWND.cs index 261ca8adeb..9625dfcaa4 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/OAHWND.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/OAHWND.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct OAHWND : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct OAHWND : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PACKAGEDEPENDENCY_CONTEXT.cs b/sources/Interop/Windows/Windows/other/helper-types/PACKAGEDEPENDENCY_CONTEXT.cs new file mode 100644 index 0000000000..e212c98844 --- /dev/null +++ b/sources/Interop/Windows/Windows/other/helper-types/PACKAGEDEPENDENCY_CONTEXT.cs @@ -0,0 +1,95 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +using System; + +namespace TerraFX.Interop.Windows; + +public readonly unsafe partial struct PACKAGEDEPENDENCY_CONTEXT : IComparable, IComparable, IEquatable, IFormattable +{ + public readonly void* Value; + + public PACKAGEDEPENDENCY_CONTEXT(void* value) + { + Value = value; + } + + public static PACKAGEDEPENDENCY_CONTEXT NULL => new PACKAGEDEPENDENCY_CONTEXT(null); + + public static bool operator ==(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value == right.Value; + + public static bool operator !=(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value != right.Value; + + public static bool operator <(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value < right.Value; + + public static bool operator <=(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value <= right.Value; + + public static bool operator >(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value > right.Value; + + public static bool operator >=(PACKAGEDEPENDENCY_CONTEXT left, PACKAGEDEPENDENCY_CONTEXT right) => left.Value >= right.Value; + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(void* value) => new PACKAGEDEPENDENCY_CONTEXT(value); + + public static implicit operator void*(PACKAGEDEPENDENCY_CONTEXT value) => value.Value; + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(byte value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator byte(PACKAGEDEPENDENCY_CONTEXT value) => (byte)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(short value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator short(PACKAGEDEPENDENCY_CONTEXT value) => (short)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(int value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator int(PACKAGEDEPENDENCY_CONTEXT value) => (int)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(long value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator long(PACKAGEDEPENDENCY_CONTEXT value) => (long)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(nint value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static implicit operator nint(PACKAGEDEPENDENCY_CONTEXT value) => (nint)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(sbyte value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator sbyte(PACKAGEDEPENDENCY_CONTEXT value) => (sbyte)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(ushort value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator ushort(PACKAGEDEPENDENCY_CONTEXT value) => (ushort)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(uint value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator uint(PACKAGEDEPENDENCY_CONTEXT value) => (uint)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(ulong value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static explicit operator ulong(PACKAGEDEPENDENCY_CONTEXT value) => (ulong)(value.Value); + + public static explicit operator PACKAGEDEPENDENCY_CONTEXT(nuint value) => new PACKAGEDEPENDENCY_CONTEXT((void*)(value)); + + public static implicit operator nuint(PACKAGEDEPENDENCY_CONTEXT value) => (nuint)(value.Value); + + public int CompareTo(object? obj) + { + if (obj is PACKAGEDEPENDENCY_CONTEXT other) + { + return CompareTo(other); + } + + return (obj is null) ? 1 : throw new ArgumentException("obj is not an instance of PACKAGEDEPENDENCY_CONTEXT."); + } + + public int CompareTo(PACKAGEDEPENDENCY_CONTEXT other) => ((nuint)(Value)).CompareTo((nuint)(other.Value)); + + public override bool Equals(object? obj) => (obj is PACKAGEDEPENDENCY_CONTEXT other) && Equals(other); + + public bool Equals(PACKAGEDEPENDENCY_CONTEXT other) => ((nuint)(Value)).Equals((nuint)(other.Value)); + + public override int GetHashCode() => ((nuint)(Value)).GetHashCode(); + + public override string ToString() => ((nuint)(Value)).ToString((sizeof(nint) == 4) ? "X8" : "X16"); + + public string ToString(string? format, IFormatProvider? formatProvider) => ((nuint)(Value)).ToString(format, formatProvider); +} diff --git a/sources/Interop/Windows/Windows/other/helper-types/PACKAGE_INFO_REFERENCE.cs b/sources/Interop/Windows/Windows/other/helper-types/PACKAGE_INFO_REFERENCE.cs index 3e9a63743d..dda7c4a96c 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PACKAGE_INFO_REFERENCE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PACKAGE_INFO_REFERENCE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PACKAGE_INFO_REFERENCE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PACKAGE_INFO_REFERENCE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PAPPCONSTRAIN_REGISTRATION.cs b/sources/Interop/Windows/Windows/other/helper-types/PAPPCONSTRAIN_REGISTRATION.cs index 0dad2af08f..650eb036b8 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PAPPCONSTRAIN_REGISTRATION.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PAPPCONSTRAIN_REGISTRATION.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PAPPCONSTRAIN_REGISTRATION : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PAPPCONSTRAIN_REGISTRATION : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PAPPSTATE_REGISTRATION.cs b/sources/Interop/Windows/Windows/other/helper-types/PAPPSTATE_REGISTRATION.cs index 3b5ece504b..be7dfb6ed4 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PAPPSTATE_REGISTRATION.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PAPPSTATE_REGISTRATION.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PAPPSTATE_REGISTRATION : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PAPPSTATE_REGISTRATION : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PCUSERIALIZEDPROPSTORAGE.cs b/sources/Interop/Windows/Windows/other/helper-types/PCUSERIALIZEDPROPSTORAGE.cs index 21dfa5cde7..01a717ed3a 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PCUSERIALIZEDPROPSTORAGE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PCUSERIALIZEDPROPSTORAGE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PCUSERIALIZEDPROPSTORAGE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PCUSERIALIZEDPROPSTORAGE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PHIDP_PREPARSED_DATA.cs b/sources/Interop/Windows/Windows/other/helper-types/PHIDP_PREPARSED_DATA.cs index 794f6135bc..d20f2e2167 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PHIDP_PREPARSED_DATA.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PHIDP_PREPARSED_DATA.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PHIDP_PREPARSED_DATA : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PHIDP_PREPARSED_DATA : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PRJ_DIR_ENTRY_BUFFER_HANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/PRJ_DIR_ENTRY_BUFFER_HANDLE.cs index 122f028639..02a2974e34 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PRJ_DIR_ENTRY_BUFFER_HANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PRJ_DIR_ENTRY_BUFFER_HANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PRJ_DIR_ENTRY_BUFFER_HANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PRJ_DIR_ENTRY_BUFFER_HANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.cs b/sources/Interop/Windows/Windows/other/helper-types/PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.cs index 2e6309a726..1803987aac 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PTP_CALLBACK_INSTANCE.cs b/sources/Interop/Windows/Windows/other/helper-types/PTP_CALLBACK_INSTANCE.cs index 7db9ac553c..69cdbb41cc 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PTP_CALLBACK_INSTANCE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PTP_CALLBACK_INSTANCE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PTP_CALLBACK_INSTANCE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PTP_CALLBACK_INSTANCE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PTP_CLEANUP_GROUP.cs b/sources/Interop/Windows/Windows/other/helper-types/PTP_CLEANUP_GROUP.cs index 21f0afd0c3..985f142da9 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PTP_CLEANUP_GROUP.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PTP_CLEANUP_GROUP.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PTP_CLEANUP_GROUP : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PTP_CLEANUP_GROUP : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/PTP_POOL.cs b/sources/Interop/Windows/Windows/other/helper-types/PTP_POOL.cs index ac24df1aaf..fbb7c452bf 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/PTP_POOL.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/PTP_POOL.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct PTP_POOL : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct PTP_POOL : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/ROPARAMIIDHANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/ROPARAMIIDHANDLE.cs index cc2b25c8f9..88b635bd7c 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/ROPARAMIIDHANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/ROPARAMIIDHANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct ROPARAMIIDHANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct ROPARAMIIDHANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/RO_REGISTRATION_COOKIE.cs b/sources/Interop/Windows/Windows/other/helper-types/RO_REGISTRATION_COOKIE.cs index 8c0f7ab892..784f019cd2 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/RO_REGISTRATION_COOKIE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/RO_REGISTRATION_COOKIE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct RO_REGISTRATION_COOKIE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct RO_REGISTRATION_COOKIE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/SPSTATEHANDLE.cs b/sources/Interop/Windows/Windows/other/helper-types/SPSTATEHANDLE.cs index a94a9c20e9..66f6810491 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/SPSTATEHANDLE.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/SPSTATEHANDLE.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct SPSTATEHANDLE : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct SPSTATEHANDLE : IComparable, IComparable, IEquatable, IFormattable { public readonly void* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/UI_ANIMATION_KEYFRAME.cs b/sources/Interop/Windows/Windows/other/helper-types/UI_ANIMATION_KEYFRAME.cs index 3ea55f61c2..c4e25e44ba 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/UI_ANIMATION_KEYFRAME.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/UI_ANIMATION_KEYFRAME.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct UI_ANIMATION_KEYFRAME : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct UI_ANIMATION_KEYFRAME : IComparable, IComparable, IEquatable, IFormattable { public readonly int* Value; diff --git a/sources/Interop/Windows/Windows/other/helper-types/WPARAM.cs b/sources/Interop/Windows/Windows/other/helper-types/WPARAM.cs index dd9b8d6426..186e6e85f2 100644 --- a/sources/Interop/Windows/Windows/other/helper-types/WPARAM.cs +++ b/sources/Interop/Windows/Windows/other/helper-types/WPARAM.cs @@ -2,10 +2,9 @@ using System; -namespace -TerraFX.Interop.Windows; +namespace TerraFX.Interop.Windows; -public unsafe partial struct WPARAM : IComparable, IComparable, IEquatable, IFormattable +public readonly unsafe partial struct WPARAM : IComparable, IComparable, IEquatable, IFormattable { public readonly nuint Value; diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs index 2c7145af2d..d3b97f614a 100644 --- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPDESTTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPDESTROW [1]")] + [NativeTypeName("MIB_IPDESTROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs index a68738c809..b9e7f4875b 100644 --- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPMCAST_BOUNDARY_TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPMCAST_BOUNDARY [1]")] + [NativeTypeName("MIB_IPMCAST_BOUNDARY[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs index acdbac1931..a6e014fed0 100644 --- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs +++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs @@ -51,7 +51,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte rgbyData[1]; } } diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_QUERY.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_QUERY.cs index 4fd7c6b761..66cc70c7d5 100644 --- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_QUERY.cs +++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_QUERY.cs @@ -13,6 +13,6 @@ public unsafe partial struct MIB_OPAQUE_QUERY public uint dwVarId; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint rgdwVarIndex[1]; } diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT.cs new file mode 100644 index 0000000000..8aa68f8ef7 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT.cs @@ -0,0 +1,93 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public static partial class EVENT +{ + [NativeTypeName("#define EVENT_MIN_LEVEL (0)")] + public const int EVENT_MIN_LEVEL = (0); + + [NativeTypeName("#define EVENT_MAX_LEVEL (0xff)")] + public const int EVENT_MAX_LEVEL = (0xff); + + [NativeTypeName("#define EVENT_ACTIVITY_CTRL_GET_ID (1)")] + public const int EVENT_ACTIVITY_CTRL_GET_ID = (1); + + [NativeTypeName("#define EVENT_ACTIVITY_CTRL_SET_ID (2)")] + public const int EVENT_ACTIVITY_CTRL_SET_ID = (2); + + [NativeTypeName("#define EVENT_ACTIVITY_CTRL_CREATE_ID (3)")] + public const int EVENT_ACTIVITY_CTRL_CREATE_ID = (3); + + [NativeTypeName("#define EVENT_ACTIVITY_CTRL_GET_SET_ID (4)")] + public const int EVENT_ACTIVITY_CTRL_GET_SET_ID = (4); + + [NativeTypeName("#define EVENT_ACTIVITY_CTRL_CREATE_SET_ID (5)")] + public const int EVENT_ACTIVITY_CTRL_CREATE_SET_ID = (5); + + [NativeTypeName("#define EVENT_FILTER_TYPE_NONE (0x00000000)")] + public const int EVENT_FILTER_TYPE_NONE = (0x00000000); + + [NativeTypeName("#define EVENT_FILTER_TYPE_SCHEMATIZED (0x80000000)")] + public const uint EVENT_FILTER_TYPE_SCHEMATIZED = (0x80000000); + + [NativeTypeName("#define EVENT_FILTER_TYPE_SYSTEM_FLAGS (0x80000001)")] + public const uint EVENT_FILTER_TYPE_SYSTEM_FLAGS = (0x80000001); + + [NativeTypeName("#define EVENT_FILTER_TYPE_TRACEHANDLE (0x80000002)")] + public const uint EVENT_FILTER_TYPE_TRACEHANDLE = (0x80000002); + + [NativeTypeName("#define EVENT_FILTER_TYPE_PID (0x80000004)")] + public const uint EVENT_FILTER_TYPE_PID = (0x80000004); + + [NativeTypeName("#define EVENT_FILTER_TYPE_EXECUTABLE_NAME (0x80000008)")] + public const uint EVENT_FILTER_TYPE_EXECUTABLE_NAME = (0x80000008); + + [NativeTypeName("#define EVENT_FILTER_TYPE_PACKAGE_ID (0x80000010)")] + public const uint EVENT_FILTER_TYPE_PACKAGE_ID = (0x80000010); + + [NativeTypeName("#define EVENT_FILTER_TYPE_PACKAGE_APP_ID (0x80000020)")] + public const uint EVENT_FILTER_TYPE_PACKAGE_APP_ID = (0x80000020); + + [NativeTypeName("#define EVENT_FILTER_TYPE_PAYLOAD (0x80000100)")] + public const uint EVENT_FILTER_TYPE_PAYLOAD = (0x80000100); + + [NativeTypeName("#define EVENT_FILTER_TYPE_EVENT_ID (0x80000200)")] + public const uint EVENT_FILTER_TYPE_EVENT_ID = (0x80000200); + + [NativeTypeName("#define EVENT_FILTER_TYPE_EVENT_NAME (0x80000400)")] + public const uint EVENT_FILTER_TYPE_EVENT_NAME = (0x80000400); + + [NativeTypeName("#define EVENT_FILTER_TYPE_STACKWALK (0x80001000)")] + public const uint EVENT_FILTER_TYPE_STACKWALK = (0x80001000); + + [NativeTypeName("#define EVENT_FILTER_TYPE_STACKWALK_NAME (0x80002000)")] + public const uint EVENT_FILTER_TYPE_STACKWALK_NAME = (0x80002000); + + [NativeTypeName("#define EVENT_FILTER_TYPE_STACKWALK_LEVEL_KW (0x80004000)")] + public const uint EVENT_FILTER_TYPE_STACKWALK_LEVEL_KW = (0x80004000); + + [NativeTypeName("#define EVENT_FILTER_TYPE_CONTAINER (0x80008000)")] + public const uint EVENT_FILTER_TYPE_CONTAINER = (0x80008000); + + [NativeTypeName("#define EVENT_DATA_DESCRIPTOR_TYPE_NONE (0)")] + public const int EVENT_DATA_DESCRIPTOR_TYPE_NONE = (0); + + [NativeTypeName("#define EVENT_DATA_DESCRIPTOR_TYPE_EVENT_METADATA (1)")] + public const int EVENT_DATA_DESCRIPTOR_TYPE_EVENT_METADATA = (1); + + [NativeTypeName("#define EVENT_DATA_DESCRIPTOR_TYPE_PROVIDER_METADATA (2)")] + public const int EVENT_DATA_DESCRIPTOR_TYPE_PROVIDER_METADATA = (2); + + [NativeTypeName("#define EVENT_DATA_DESCRIPTOR_TYPE_TIMESTAMP_OVERRIDE (3)")] + public const int EVENT_DATA_DESCRIPTOR_TYPE_TIMESTAMP_OVERRIDE = (3); + + [NativeTypeName("#define EVENT_WRITE_FLAG_NO_FAULTING 0x00000001")] + public const int EVENT_WRITE_FLAG_NO_FAULTING = 0x00000001; + + [NativeTypeName("#define EVENT_WRITE_FLAG_INPRIVATE 0x00000002")] + public const int EVENT_WRITE_FLAG_INPRIVATE = 0x00000002; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs new file mode 100644 index 0000000000..48896baa53 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs @@ -0,0 +1,95 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +/// +public partial struct EVENT_DATA_DESCRIPTOR +{ + /// + [NativeTypeName("ULONGLONG")] + public ulong Ptr; + + /// + [NativeTypeName("ULONG")] + public uint Size; + + /// + [NativeTypeName("_EVENT_DATA_DESCRIPTOR::(anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/shared/evntprov.h:182:5)")] + public _Anonymous_e__Union Anonymous; + + /// + public ref uint Reserved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1)); + } + } + + /// + public ref byte Type + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Type, 1)); + } + } + + /// + public ref byte Reserved1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved1, 1)); + } + } + + /// + public ref ushort Reserved2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved2, 1)); + } + } + + /// + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + [NativeTypeName("ULONG")] + public uint Reserved; + + /// + [FieldOffset(0)] + [NativeTypeName("_EVENT_DATA_DESCRIPTOR::(anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/shared/evntprov.h:184:9)")] + public _Anonymous_e__Struct Anonymous; + + /// + public partial struct _Anonymous_e__Struct + { + /// + [NativeTypeName("UCHAR")] + public byte Type; + + /// + [NativeTypeName("UCHAR")] + public byte Reserved1; + + /// + public ushort Reserved2; + } + } +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTOR.cs new file mode 100644 index 0000000000..f40ac7a744 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTOR.cs @@ -0,0 +1,36 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public partial struct EVENT_DESCRIPTOR +{ + /// + public ushort Id; + + /// + [NativeTypeName("UCHAR")] + public byte Version; + + /// + [NativeTypeName("UCHAR")] + public byte Channel; + + /// + [NativeTypeName("UCHAR")] + public byte Level; + + /// + [NativeTypeName("UCHAR")] + public byte Opcode; + + /// + public ushort Task; + + /// + [NativeTypeName("ULONGLONG")] + public ulong Keyword; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTOR.cs new file mode 100644 index 0000000000..325490e0bc --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTOR.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public partial struct EVENT_FILTER_DESCRIPTOR +{ + /// + [NativeTypeName("ULONGLONG")] + public ulong Ptr; + + /// + [NativeTypeName("ULONG")] + public uint Size; + + /// + [NativeTypeName("ULONG")] + public uint Type; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_ID.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_ID.cs new file mode 100644 index 0000000000..f88ea4b786 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_ID.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public unsafe partial struct EVENT_FILTER_EVENT_ID +{ + /// + [NativeTypeName("BOOLEAN")] + public byte FilterIn; + + /// + [NativeTypeName("UCHAR")] + public byte Reserved; + + /// + public ushort Count; + + /// + [NativeTypeName("USHORT[1]")] + public fixed ushort Events[1]; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAME.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAME.cs new file mode 100644 index 0000000000..d031cb1743 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAME.cs @@ -0,0 +1,33 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public unsafe partial struct EVENT_FILTER_EVENT_NAME +{ + /// + [NativeTypeName("ULONGLONG")] + public ulong MatchAnyKeyword; + + /// + [NativeTypeName("ULONGLONG")] + public ulong MatchAllKeyword; + + /// + [NativeTypeName("UCHAR")] + public byte Level; + + /// + [NativeTypeName("BOOLEAN")] + public byte FilterIn; + + /// + public ushort NameCount; + + /// + [NativeTypeName("UCHAR[1]")] + public fixed byte Names[1]; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADER.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADER.cs new file mode 100644 index 0000000000..76df0ddd4e --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADER.cs @@ -0,0 +1,33 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public unsafe partial struct EVENT_FILTER_HEADER +{ + /// + public ushort Id; + + /// + [NativeTypeName("UCHAR")] + public byte Version; + + /// + [NativeTypeName("UCHAR[5]")] + public fixed byte Reserved[5]; + + /// + [NativeTypeName("ULONGLONG")] + public ulong InstanceId; + + /// + [NativeTypeName("ULONG")] + public uint Size; + + /// + [NativeTypeName("ULONG")] + public uint NextOffset; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KW.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KW.cs new file mode 100644 index 0000000000..b6388173e5 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KW.cs @@ -0,0 +1,26 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public partial struct EVENT_FILTER_LEVEL_KW +{ + /// + [NativeTypeName("ULONGLONG")] + public ulong MatchAnyKeyword; + + /// + [NativeTypeName("ULONGLONG")] + public ulong MatchAllKeyword; + + /// + [NativeTypeName("UCHAR")] + public byte Level; + + /// + [NativeTypeName("BOOLEAN")] + public byte FilterIn; +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_INFO_CLASS.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_INFO_CLASS.cs new file mode 100644 index 0000000000..dd5d7c9713 --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_INFO_CLASS.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public enum EVENT_INFO_CLASS +{ + /// + EventProviderBinaryTrackInfo, + + /// + EventProviderSetReserved1, + + /// + EventProviderSetTraits, + + /// + EventProviderUseDescriptorType, + + /// + MaxEventInfo, +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/MAX.cs b/sources/Interop/Windows/Windows/shared/evntprov/MAX.cs new file mode 100644 index 0000000000..02efbf533d --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/MAX.cs @@ -0,0 +1,30 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public static partial class MAX +{ + [NativeTypeName("#define MAX_EVENT_DATA_DESCRIPTORS (128)")] + public const int MAX_EVENT_DATA_DESCRIPTORS = (128); + + [NativeTypeName("#define MAX_EVENT_FILTER_DATA_SIZE (1024)")] + public const int MAX_EVENT_FILTER_DATA_SIZE = (1024); + + [NativeTypeName("#define MAX_EVENT_FILTER_PAYLOAD_SIZE (4096)")] + public const int MAX_EVENT_FILTER_PAYLOAD_SIZE = (4096); + + [NativeTypeName("#define MAX_EVENT_FILTER_EVENT_NAME_SIZE (4096)")] + public const int MAX_EVENT_FILTER_EVENT_NAME_SIZE = (4096); + + [NativeTypeName("#define MAX_EVENT_FILTERS_COUNT (13)")] + public const int MAX_EVENT_FILTERS_COUNT = (13); + + [NativeTypeName("#define MAX_EVENT_FILTER_PID_COUNT (8)")] + public const int MAX_EVENT_FILTER_PID_COUNT = (8); + + [NativeTypeName("#define MAX_EVENT_FILTER_EVENT_ID_COUNT (64)")] + public const int MAX_EVENT_FILTER_EVENT_ID_COUNT = (64); +} diff --git a/sources/Interop/Windows/Windows/shared/evntprov/Windows.cs b/sources/Interop/Windows/Windows/shared/evntprov/Windows.cs new file mode 100644 index 0000000000..73e03ae0eb --- /dev/null +++ b/sources/Interop/Windows/Windows/shared/evntprov/Windows.cs @@ -0,0 +1,203 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class Windows +{ + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventRegister([NativeTypeName("LPCGUID")] Guid* ProviderId, [NativeTypeName("PENABLECALLBACK")] delegate* unmanaged EnableCallback, [NativeTypeName("PVOID")] void* CallbackContext, [NativeTypeName("PREGHANDLE")] ulong* RegHandle); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventUnregister([NativeTypeName("REGHANDLE")] ulong RegHandle); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventSetInformation([NativeTypeName("REGHANDLE")] ulong RegHandle, EVENT_INFO_CLASS InformationClass, [NativeTypeName("PVOID")] void* EventInformation, [NativeTypeName("ULONG")] uint InformationLength); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("BOOLEAN")] + public static extern byte EventEnabled([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("BOOLEAN")] + public static extern byte EventProviderEnabled([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("UCHAR")] byte Level, [NativeTypeName("ULONGLONG")] ulong Keyword); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventWrite([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("ULONG")] uint UserDataCount, [NativeTypeName("PEVENT_DATA_DESCRIPTOR")] EVENT_DATA_DESCRIPTOR* UserData); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventWriteTransfer([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("LPCGUID")] Guid* ActivityId, [NativeTypeName("LPCGUID")] Guid* RelatedActivityId, [NativeTypeName("ULONG")] uint UserDataCount, [NativeTypeName("PEVENT_DATA_DESCRIPTOR")] EVENT_DATA_DESCRIPTOR* UserData); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventWriteEx([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("ULONG64")] ulong Filter, [NativeTypeName("ULONG")] uint Flags, [NativeTypeName("LPCGUID")] Guid* ActivityId, [NativeTypeName("LPCGUID")] Guid* RelatedActivityId, [NativeTypeName("ULONG")] uint UserDataCount, [NativeTypeName("PEVENT_DATA_DESCRIPTOR")] EVENT_DATA_DESCRIPTOR* UserData); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventWriteString([NativeTypeName("REGHANDLE")] ulong RegHandle, [NativeTypeName("UCHAR")] byte Level, [NativeTypeName("ULONGLONG")] ulong Keyword, [NativeTypeName("PCWSTR")] ushort* String); + + /// + [DllImport("Advapi32", ExactSpelling = true)] + [return: NativeTypeName("ULONG")] + public static extern uint EventActivityIdControl([NativeTypeName("ULONG")] uint ControlCode, [NativeTypeName("LPGUID")] Guid* ActivityId); + + /// + public static void EventDataDescCreate([NativeTypeName("PEVENT_DATA_DESCRIPTOR")] EVENT_DATA_DESCRIPTOR* EventDataDescriptor, [NativeTypeName("const void *")] void* DataPtr, [NativeTypeName("ULONG")] uint DataSize) + { + EventDataDescriptor->Ptr = (ulong)((nuint)(DataPtr)); + EventDataDescriptor->Size = DataSize; + EventDataDescriptor->Anonymous.Reserved = 0; + return; + } + + /// + public static void EventDescCreate([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, ushort Id, [NativeTypeName("UCHAR")] byte Version, [NativeTypeName("UCHAR")] byte Channel, [NativeTypeName("UCHAR")] byte Level, ushort Task, [NativeTypeName("UCHAR")] byte Opcode, [NativeTypeName("ULONGLONG")] ulong Keyword) + { + EventDescriptor->Id = Id; + EventDescriptor->Version = Version; + EventDescriptor->Channel = Channel; + EventDescriptor->Level = Level; + EventDescriptor->Task = Task; + EventDescriptor->Opcode = Opcode; + EventDescriptor->Keyword = Keyword; + return; + } + + /// + public static void EventDescZero([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + Unsafe.InitBlockUnaligned(EventDescriptor, 0, (uint)(sizeof(EVENT_DESCRIPTOR))); + return; + } + + /// + public static ushort EventDescGetId([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Id); + } + + /// + [return: NativeTypeName("UCHAR")] + public static byte EventDescGetVersion([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Version); + } + + /// + public static ushort EventDescGetTask([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Task); + } + + /// + [return: NativeTypeName("UCHAR")] + public static byte EventDescGetOpcode([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Opcode); + } + + /// + [return: NativeTypeName("UCHAR")] + public static byte EventDescGetChannel([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Channel); + } + + /// + [return: NativeTypeName("UCHAR")] + public static byte EventDescGetLevel([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Level); + } + + /// + [return: NativeTypeName("ULONGLONG")] + public static ulong EventDescGetKeyword([NativeTypeName("PCEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor) + { + return (EventDescriptor->Keyword); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetId([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, ushort Id) + { + EventDescriptor->Id = Id; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetVersion([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("UCHAR")] byte Version) + { + EventDescriptor->Version = Version; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetTask([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, ushort Task) + { + EventDescriptor->Task = Task; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetOpcode([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("UCHAR")] byte Opcode) + { + EventDescriptor->Opcode = Opcode; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetLevel([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("UCHAR")] byte Level) + { + EventDescriptor->Level = Level; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetChannel([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("UCHAR")] byte Channel) + { + EventDescriptor->Channel = Channel; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescSetKeyword([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("ULONGLONG")] ulong Keyword) + { + EventDescriptor->Keyword = Keyword; + return (EventDescriptor); + } + + /// + [return: NativeTypeName("PEVENT_DESCRIPTOR")] + public static EVENT_DESCRIPTOR* EventDescOrKeyword([NativeTypeName("PEVENT_DESCRIPTOR")] EVENT_DESCRIPTOR* EventDescriptor, [NativeTypeName("ULONGLONG")] ulong Keyword) + { + EventDescriptor->Keyword |= Keyword; + return (EventDescriptor); + } +} diff --git a/sources/Interop/Windows/Windows/shared/hidclass/HID_COLLECTION_INFORMATION.cs b/sources/Interop/Windows/Windows/shared/hidclass/HID_COLLECTION_INFORMATION.cs index 723854ae1e..cf86705726 100644 --- a/sources/Interop/Windows/Windows/shared/hidclass/HID_COLLECTION_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/shared/hidclass/HID_COLLECTION_INFORMATION.cs @@ -17,7 +17,7 @@ public unsafe partial struct HID_COLLECTION_INFORMATION public byte Polled; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte Reserved1[1]; /// diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs index 5a5ebce280..bcebf94655 100644 --- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs +++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs @@ -54,7 +54,7 @@ public unsafe partial struct HIDP_BUTTON_CAPS public byte IsAbsolute; /// - [NativeTypeName("ULONG [10]")] + [NativeTypeName("ULONG[10]")] public fixed uint Reserved[10]; /// diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_CAPS.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_CAPS.cs index 3e0955ea46..3d02812f17 100644 --- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_CAPS.cs +++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_CAPS.cs @@ -26,7 +26,7 @@ public unsafe partial struct HIDP_CAPS public ushort FeatureReportByteLength; /// - [NativeTypeName("USHORT [17]")] + [NativeTypeName("USHORT[17]")] public fixed ushort Reserved[17]; /// diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_UNKNOWN_TOKEN.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_UNKNOWN_TOKEN.cs index 7eae427d4d..b83dd4f877 100644 --- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_UNKNOWN_TOKEN.cs +++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_UNKNOWN_TOKEN.cs @@ -13,7 +13,7 @@ public unsafe partial struct HIDP_UNKNOWN_TOKEN public byte Token; /// - [NativeTypeName("UCHAR [3]")] + [NativeTypeName("UCHAR[3]")] public fixed byte Reserved[3]; /// diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs index 3fd408b5f8..43b79ebf58 100644 --- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs +++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs @@ -68,7 +68,7 @@ public unsafe partial struct HIDP_VALUE_CAPS public ushort ReportCount; /// - [NativeTypeName("USHORT [5]")] + [NativeTypeName("USHORT[5]")] public fixed ushort Reserved2[5]; /// diff --git a/sources/Interop/Windows/Windows/shared/ifdef/IF_COUNTED_STRING_LH.cs b/sources/Interop/Windows/Windows/shared/ifdef/IF_COUNTED_STRING_LH.cs index 2fbeee9ba1..43f98f9d2f 100644 --- a/sources/Interop/Windows/Windows/shared/ifdef/IF_COUNTED_STRING_LH.cs +++ b/sources/Interop/Windows/Windows/shared/ifdef/IF_COUNTED_STRING_LH.cs @@ -12,6 +12,6 @@ public unsafe partial struct IF_COUNTED_STRING_LH public ushort Length; /// - [NativeTypeName("WCHAR [257]")] + [NativeTypeName("WCHAR[257]")] public fixed ushort String[257]; } diff --git a/sources/Interop/Windows/Windows/shared/ifdef/IF_PHYSICAL_ADDRESS_LH.cs b/sources/Interop/Windows/Windows/shared/ifdef/IF_PHYSICAL_ADDRESS_LH.cs index 5e6e80b8c8..c801b66b66 100644 --- a/sources/Interop/Windows/Windows/shared/ifdef/IF_PHYSICAL_ADDRESS_LH.cs +++ b/sources/Interop/Windows/Windows/shared/ifdef/IF_PHYSICAL_ADDRESS_LH.cs @@ -12,6 +12,6 @@ public unsafe partial struct IF_PHYSICAL_ADDRESS_LH public ushort Length; /// - [NativeTypeName("UCHAR [32]")] + [NativeTypeName("UCHAR[32]")] public fixed byte Address[32]; } diff --git a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFROW.cs b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFROW.cs index 5a5e1ba15f..03779c9040 100644 --- a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFROW.cs +++ b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFROW.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_IFROW { /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort wszName[256]; /// @@ -33,7 +33,7 @@ public unsafe partial struct MIB_IFROW public uint dwPhysAddrLen; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte bPhysAddr[8]; /// @@ -100,6 +100,6 @@ public unsafe partial struct MIB_IFROW public uint dwDescrLen; /// - [NativeTypeName("UCHAR [256]")] + [NativeTypeName("UCHAR[256]")] public fixed byte bDescr[256]; } diff --git a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs index 6efb1b548c..dbf9990fdf 100644 --- a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IFTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IFROW [1]")] + [NativeTypeName("MIB_IFROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/in6addr/IN6_ADDR.cs b/sources/Interop/Windows/Windows/shared/in6addr/IN6_ADDR.cs index 11b559106b..4d97b1e592 100644 --- a/sources/Interop/Windows/Windows/shared/in6addr/IN6_ADDR.cs +++ b/sources/Interop/Windows/Windows/shared/in6addr/IN6_ADDR.cs @@ -20,12 +20,12 @@ public unsafe partial struct _u_e__Union { /// [FieldOffset(0)] - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte Byte[16]; /// [FieldOffset(0)] - [NativeTypeName("USHORT [8]")] + [NativeTypeName("USHORT[8]")] public fixed ushort Word[8]; } } diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIBICMPSTATS_EX_XPSP1.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIBICMPSTATS_EX_XPSP1.cs index dafed4fcad..cd7c4e0b29 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIBICMPSTATS_EX_XPSP1.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIBICMPSTATS_EX_XPSP1.cs @@ -17,6 +17,6 @@ public unsafe partial struct MIBICMPSTATS_EX_XPSP1 public uint dwErrors; /// - [NativeTypeName("DWORD [256]")] + [NativeTypeName("DWORD[256]")] public fixed uint rgdwTypeCount[256]; } diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs index ad2c9281bb..d95cec3195 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPADDRTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPADDRROW [1]")] + [NativeTypeName("MIB_IPADDRROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs index cb3caa2d6c..100892783b 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPFORWARDTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPFORWARDROW [1]")] + [NativeTypeName("MIB_IPFORWARDROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs index 074423f04f..1a05047776 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPMCAST_IF_TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPMCAST_IF_ENTRY [1]")] + [NativeTypeName("MIB_IPMCAST_IF_ENTRY[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs index 094e4b4f8b..b807b3892e 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs @@ -73,7 +73,7 @@ public partial struct MIB_IPMCAST_MFE public uint dwReserved; /// - [NativeTypeName("MIB_IPMCAST_OIF [1]")] + [NativeTypeName("MIB_IPMCAST_OIF[1]")] public _rgmioOutInfo_e__FixedBuffer rgmioOutInfo; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs index b40740ab5f..f0b9f76715 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs @@ -77,7 +77,7 @@ public partial struct MIB_IPMCAST_MFE_STATS public uint ulQueueOverflow; /// - [NativeTypeName("MIB_IPMCAST_OIF_STATS [1]")] + [NativeTypeName("MIB_IPMCAST_OIF_STATS[1]")] public _rgmiosOutStats_e__FixedBuffer rgmiosOutStats; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs index 98f283ac63..2186f720e3 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs @@ -97,7 +97,7 @@ public partial struct MIB_IPMCAST_MFE_STATS_EX_XP public uint ulTotalOutPackets; /// - [NativeTypeName("MIB_IPMCAST_OIF_STATS [1]")] + [NativeTypeName("MIB_IPMCAST_OIF_STATS[1]")] public _rgmiosOutStats_e__FixedBuffer rgmiosOutStats; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs index 54ef5fc286..85d9813c58 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs @@ -20,7 +20,7 @@ public unsafe partial struct MIB_IPNETROW_LH public uint dwPhysAddrLen; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte bPhysAddr[8]; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_W2K.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_W2K.cs index d3070dd7ac..10d6a9aba4 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_W2K.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_W2K.cs @@ -17,7 +17,7 @@ public unsafe partial struct MIB_IPNETROW_W2K public uint dwPhysAddrLen; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte bPhysAddr[8]; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs index 7bca3aa4c2..fb078f6bf8 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_IPNETTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPNETROW [1]")] + [NativeTypeName("MIB_IPNETROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs index abeb9725a3..a3ff53f686 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_MFE_STATS_TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPMCAST_MFE_STATS [1]")] + [NativeTypeName("MIB_IPMCAST_MFE_STATS[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE_EX_XP.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE_EX_XP.cs index 4d3a8f84a1..d87b37ea14 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE_EX_XP.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE_EX_XP.cs @@ -15,7 +15,7 @@ public partial struct MIB_MFE_STATS_TABLE_EX_XP public uint dwNumEntries; /// - [NativeTypeName("PMIB_IPMCAST_MFE_STATS_EX_XP [1]")] + [NativeTypeName("PMIB_IPMCAST_MFE_STATS_EX_XP[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs index da642dc2f1..2758a68351 100644 --- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_MFE_TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_IPMCAST_MFE [1]")] + [NativeTypeName("MIB_IPMCAST_MFE[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/ktmtypes/KCRM_TRANSACTION_BLOB.cs b/sources/Interop/Windows/Windows/shared/ktmtypes/KCRM_TRANSACTION_BLOB.cs index 5944b92c21..8582183b10 100644 --- a/sources/Interop/Windows/Windows/shared/ktmtypes/KCRM_TRANSACTION_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/ktmtypes/KCRM_TRANSACTION_BLOB.cs @@ -30,6 +30,6 @@ public unsafe partial struct KCRM_TRANSACTION_BLOB public uint Timeout; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort Description[64]; } diff --git a/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs b/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs index 54ef5b996a..75c3d093f6 100644 --- a/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs +++ b/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs @@ -23,6 +23,6 @@ public partial struct ADPCMWAVEFORMAT public ushort wNumCoef; /// - [NativeTypeName("ADPCMCOEFSET []")] + [NativeTypeName("ADPCMCOEFSET[]")] public ADPCMCOEFSET aCoef; } diff --git a/sources/Interop/Windows/Windows/shared/mmreg/HEAACWAVEFORMAT.cs b/sources/Interop/Windows/Windows/shared/mmreg/HEAACWAVEFORMAT.cs index 5edaa85726..3027e294fe 100644 --- a/sources/Interop/Windows/Windows/shared/mmreg/HEAACWAVEFORMAT.cs +++ b/sources/Interop/Windows/Windows/shared/mmreg/HEAACWAVEFORMAT.cs @@ -12,6 +12,6 @@ public unsafe partial struct HEAACWAVEFORMAT public HEAACWAVEINFO wfInfo; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte pbAudioSpecificConfig[1]; } diff --git a/sources/Interop/Windows/Windows/shared/mmreg/TRUESPEECHWAVEFORMAT.cs b/sources/Interop/Windows/Windows/shared/mmreg/TRUESPEECHWAVEFORMAT.cs index 84711ac821..e021f872e5 100644 --- a/sources/Interop/Windows/Windows/shared/mmreg/TRUESPEECHWAVEFORMAT.cs +++ b/sources/Interop/Windows/Windows/shared/mmreg/TRUESPEECHWAVEFORMAT.cs @@ -23,6 +23,6 @@ public unsafe partial struct TRUESPEECHWAVEFORMAT public ushort nSamplesPerBlock; /// - [NativeTypeName("BYTE [28]")] + [NativeTypeName("BYTE[28]")] public fixed byte abReserved[28]; } diff --git a/sources/Interop/Windows/Windows/shared/mmreg/WAVEFILTER.cs b/sources/Interop/Windows/Windows/shared/mmreg/WAVEFILTER.cs index 3be55deeaf..1e45034074 100644 --- a/sources/Interop/Windows/Windows/shared/mmreg/WAVEFILTER.cs +++ b/sources/Interop/Windows/Windows/shared/mmreg/WAVEFILTER.cs @@ -24,6 +24,6 @@ public unsafe partial struct WAVEFILTER public uint fdwFilter; /// - [NativeTypeName("DWORD [5]")] + [NativeTypeName("DWORD[5]")] public fixed uint dwReserved[5]; } diff --git a/sources/Interop/Windows/Windows/shared/tbs/TPM_WNF_PROVISIONING.cs b/sources/Interop/Windows/Windows/shared/tbs/TPM_WNF_PROVISIONING.cs index 11496db39f..33228203c7 100644 --- a/sources/Interop/Windows/Windows/shared/tbs/TPM_WNF_PROVISIONING.cs +++ b/sources/Interop/Windows/Windows/shared/tbs/TPM_WNF_PROVISIONING.cs @@ -13,6 +13,6 @@ public unsafe partial struct TPM_WNF_PROVISIONING public uint status; /// - [NativeTypeName("BYTE [28]")] + [NativeTypeName("BYTE[28]")] public fixed byte message[28]; } diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_MODULE.cs index 2f714564fb..acb68d559d 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_MODULE.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_TCP6ROW_OWNER_MODULE { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucLocalAddr[16]; /// @@ -21,7 +21,7 @@ public unsafe partial struct MIB_TCP6ROW_OWNER_MODULE public uint dwLocalPort; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucRemoteAddr[16]; /// @@ -44,6 +44,6 @@ public unsafe partial struct MIB_TCP6ROW_OWNER_MODULE public LARGE_INTEGER liCreateTimestamp; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; } diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_PID.cs index b31324a144..cbe438597f 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6ROW_OWNER_PID.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_TCP6ROW_OWNER_PID { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucLocalAddr[16]; /// @@ -21,7 +21,7 @@ public unsafe partial struct MIB_TCP6ROW_OWNER_PID public uint dwLocalPort; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucRemoteAddr[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs index b5b1ff6ac7..1a8fcc1fda 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCP6TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_TCP6ROW [1]")] + [NativeTypeName("MIB_TCP6ROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs index 531200aeb3..33974f5284 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCP6TABLE2 public uint dwNumEntries; /// - [NativeTypeName("MIB_TCP6ROW2 [1]")] + [NativeTypeName("MIB_TCP6ROW2[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs index 3310608e56..db3b57bf20 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCP6TABLE_OWNER_MODULE public uint dwNumEntries; /// - [NativeTypeName("MIB_TCP6ROW_OWNER_MODULE [1]")] + [NativeTypeName("MIB_TCP6ROW_OWNER_MODULE[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs index d1b4c9655e..ed8c0e226c 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCP6TABLE_OWNER_PID public uint dwNumEntries; /// - [NativeTypeName("MIB_TCP6ROW_OWNER_PID [1]")] + [NativeTypeName("MIB_TCP6ROW_OWNER_PID[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_OWNER_MODULE.cs index 392e19e850..21872c1489 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_OWNER_MODULE.cs @@ -36,6 +36,6 @@ public unsafe partial struct MIB_TCPROW_OWNER_MODULE public LARGE_INTEGER liCreateTimestamp; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; } diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs index adf4a3b2cf..86d3aa9cc7 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCPTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_TCPROW [1]")] + [NativeTypeName("MIB_TCPROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs index 30f6e367b6..78a9071f3e 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCPTABLE2 public uint dwNumEntries; /// - [NativeTypeName("MIB_TCPROW2 [1]")] + [NativeTypeName("MIB_TCPROW2[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs index 2d3340e7f8..94457c6a5c 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCPTABLE_OWNER_MODULE public uint dwNumEntries; /// - [NativeTypeName("MIB_TCPROW_OWNER_MODULE [1]")] + [NativeTypeName("MIB_TCPROW_OWNER_MODULE[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs index cfd204933b..280c96090a 100644 --- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs @@ -17,7 +17,7 @@ public partial struct MIB_TCPTABLE_OWNER_PID public uint dwNumEntries; /// - [NativeTypeName("MIB_TCPROW_OWNER_PID [1]")] + [NativeTypeName("MIB_TCPROW_OWNER_PID[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/tvout/VIDEOPARAMETERS.cs b/sources/Interop/Windows/Windows/shared/tvout/VIDEOPARAMETERS.cs index f4ca5f3a13..45cd464d03 100644 --- a/sources/Interop/Windows/Windows/shared/tvout/VIDEOPARAMETERS.cs +++ b/sources/Interop/Windows/Windows/shared/tvout/VIDEOPARAMETERS.cs @@ -98,6 +98,6 @@ public unsafe partial struct VIDEOPARAMETERS public uint bCP_APSTriggerBits; /// - [NativeTypeName("UCHAR [256]")] + [NativeTypeName("UCHAR[256]")] public fixed byte bOEMCopyProtection[256]; } diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs index d5ef95612b..96f6690d61 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs @@ -12,7 +12,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_UDP6ROW2 { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucLocalAddr[16]; /// @@ -35,11 +35,11 @@ public unsafe partial struct MIB_UDP6ROW2 public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucRemoteAddr[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs index 460be16865..4f27ea0fea 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs @@ -12,7 +12,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_UDP6ROW_OWNER_MODULE { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucLocalAddr[16]; /// @@ -35,7 +35,7 @@ public unsafe partial struct MIB_UDP6ROW_OWNER_MODULE public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_PID.cs index ddde871210..95a36cb0ad 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_PID.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MIB_UDP6ROW_OWNER_PID { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte ucLocalAddr[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs index 75846863f2..c5763dca87 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDP6TABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_UDP6ROW [1]")] + [NativeTypeName("MIB_UDP6ROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs index 2d0f3e6029..791455bd70 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDP6TABLE2 public uint dwNumEntries; /// - [NativeTypeName("MIB_UDP6ROW2 [1]")] + [NativeTypeName("MIB_UDP6ROW2[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs index b05aefd4b3..dc894996ea 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDP6TABLE_OWNER_MODULE public uint dwNumEntries; /// - [NativeTypeName("MIB_UDP6ROW_OWNER_MODULE [1]")] + [NativeTypeName("MIB_UDP6ROW_OWNER_MODULE[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs index 0319353996..ac0cbe1f9b 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDP6TABLE_OWNER_PID public uint dwNumEntries; /// - [NativeTypeName("MIB_UDP6ROW_OWNER_PID [1]")] + [NativeTypeName("MIB_UDP6ROW_OWNER_PID[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs index 9e833b87a3..1b6d9c60c4 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs @@ -31,7 +31,7 @@ public unsafe partial struct MIB_UDPROW2 public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs index e265f50525..3125f73d7a 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs @@ -31,7 +31,7 @@ public unsafe partial struct MIB_UDPROW_OWNER_MODULE public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("ULONGLONG [16]")] + [NativeTypeName("ULONGLONG[16]")] public fixed ulong OwningModuleInfo[16]; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs index b563200d1b..274bd1333c 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDPTABLE public uint dwNumEntries; /// - [NativeTypeName("MIB_UDPROW [1]")] + [NativeTypeName("MIB_UDPROW[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs index 6b1a172416..ade8fb43a7 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDPTABLE2 public uint dwNumEntries; /// - [NativeTypeName("MIB_UDPROW2 [1]")] + [NativeTypeName("MIB_UDPROW2[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs index 6dafa7d0f1..3aa769ec76 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDPTABLE_OWNER_MODULE public uint dwNumEntries; /// - [NativeTypeName("MIB_UDPROW_OWNER_MODULE [1]")] + [NativeTypeName("MIB_UDPROW_OWNER_MODULE[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs index 925f381181..c3119c6119 100644 --- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs +++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs @@ -17,7 +17,7 @@ public partial struct MIB_UDPTABLE_OWNER_PID public uint dwNumEntries; /// - [NativeTypeName("MIB_UDPROW_OWNER_PID [1]")] + [NativeTypeName("MIB_UDPROW_OWNER_PID[1]")] public _table_e__FixedBuffer table; /// diff --git a/sources/Interop/Windows/Windows/shared/windef/APP_LOCAL_DEVICE_ID.cs b/sources/Interop/Windows/Windows/shared/windef/APP_LOCAL_DEVICE_ID.cs index 1876e83fab..a41bb05d71 100644 --- a/sources/Interop/Windows/Windows/shared/windef/APP_LOCAL_DEVICE_ID.cs +++ b/sources/Interop/Windows/Windows/shared/windef/APP_LOCAL_DEVICE_ID.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct APP_LOCAL_DEVICE_ID { /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte value[32]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEX2A.cs b/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEX2A.cs index 7e5fdfa71c..34e446c3ff 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEX2A.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEX2A.cs @@ -10,6 +10,7 @@ namespace TerraFX.Interop.Windows; /// [SupportedOSPlatform("windows8.0")] +[Obsolete("ADDRINFOEX2")] public unsafe partial struct ADDRINFOEX2A { /// diff --git a/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEXA.cs b/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEXA.cs index e5a3fb49ce..447463be92 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEXA.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/ADDRINFOEXA.cs @@ -8,6 +8,7 @@ namespace TerraFX.Interop.Windows; /// +[Obsolete("ADDRINFOEX")] public unsafe partial struct ADDRINFOEXA { /// diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR.cs index b58370da18..616fe7a9b1 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR.cs @@ -13,6 +13,6 @@ public unsafe partial struct SOCKADDR public ushort sa_family; /// - [NativeTypeName("CHAR [14]")] + [NativeTypeName("CHAR[14]")] public fixed sbyte sa_data[14]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_DL.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_DL.cs index 8523f77263..fa09cb800b 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_DL.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_DL.cs @@ -13,10 +13,10 @@ public unsafe partial struct SOCKADDR_DL public ushort sdl_family; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte sdl_data[8]; /// - [NativeTypeName("UCHAR [4]")] + [NativeTypeName("UCHAR[4]")] public fixed byte sdl_zero[4]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_IN.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_IN.cs index ae79e1f9e1..96130d9e96 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_IN.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_IN.cs @@ -19,6 +19,6 @@ public unsafe partial struct SOCKADDR_IN public IN_ADDR sin_addr; /// - [NativeTypeName("CHAR [8]")] + [NativeTypeName("CHAR[8]")] public fixed sbyte sin_zero[8]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE.cs index 42efa4caa0..20b9d1d150 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE.cs @@ -13,7 +13,7 @@ public unsafe partial struct SOCKADDR_STORAGE public ushort ss_family; /// - [NativeTypeName("CHAR [6]")] + [NativeTypeName("CHAR[6]")] public fixed sbyte __ss_pad1[6]; /// @@ -21,6 +21,6 @@ public unsafe partial struct SOCKADDR_STORAGE public long __ss_align; /// - [NativeTypeName("CHAR [112]")] + [NativeTypeName("CHAR[112]")] public fixed sbyte __ss_pad2[112]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE_XP.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE_XP.cs index 628f5727bc..6b0e7195a5 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE_XP.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKADDR_STORAGE_XP.cs @@ -12,7 +12,7 @@ public unsafe partial struct SOCKADDR_STORAGE_XP public short ss_family; /// - [NativeTypeName("CHAR [6]")] + [NativeTypeName("CHAR[6]")] public fixed sbyte __ss_pad1[6]; /// @@ -20,6 +20,6 @@ public unsafe partial struct SOCKADDR_STORAGE_XP public long __ss_align; /// - [NativeTypeName("CHAR [112]")] + [NativeTypeName("CHAR[112]")] public fixed sbyte __ss_pad2[112]; } diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs index 5cda52f23b..122b9e70df 100644 --- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs +++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs @@ -16,7 +16,7 @@ public partial struct SOCKET_ADDRESS_LIST public int iAddressCount; /// - [NativeTypeName("SOCKET_ADDRESS [1]")] + [NativeTypeName("SOCKET_ADDRESS[1]")] public _Address_e__FixedBuffer Address; /// diff --git a/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs b/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs index 0e6a7a704d..52fab791c9 100644 --- a/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs +++ b/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs @@ -27,7 +27,7 @@ public partial struct GROUP_FILTER public uint gf_numsrc; /// - [NativeTypeName("SOCKADDR_STORAGE [1]")] + [NativeTypeName("SOCKADDR_STORAGE[1]")] public _gf_slist_e__FixedBuffer gf_slist; /// diff --git a/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs b/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs index 984435b5ec..85438164c1 100644 --- a/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs +++ b/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs @@ -26,7 +26,7 @@ public partial struct IP_MSFILTER public uint imsf_numsrc; /// - [NativeTypeName("IN_ADDR [1]")] + [NativeTypeName("IN_ADDR[1]")] public _imsf_slist_e__FixedBuffer imsf_slist; /// diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHBITMAP.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHBITMAP.cs index 7730da9cd9..37124339ac 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHBITMAP.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHBITMAP.cs @@ -13,6 +13,6 @@ public unsafe partial struct RemHBITMAP public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHBRUSH.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHBRUSH.cs index 8755228f3b..8e060bc457 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHBRUSH.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHBRUSH.cs @@ -13,6 +13,6 @@ public unsafe partial struct RemHBRUSH public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHENHMETAFILE.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHENHMETAFILE.cs index c9b9ec76e3..90f38f6509 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHENHMETAFILE.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHENHMETAFILE.cs @@ -13,6 +13,6 @@ public unsafe partial struct RemHENHMETAFILE public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHGLOBAL.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHGLOBAL.cs index 322d5adb51..d620ab9bc3 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHGLOBAL.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHGLOBAL.cs @@ -17,6 +17,6 @@ public unsafe partial struct RemHGLOBAL public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHMETAFILEPICT.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHMETAFILEPICT.cs index f2fbdffadc..0f3681e472 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHMETAFILEPICT.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHMETAFILEPICT.cs @@ -25,6 +25,6 @@ public unsafe partial struct RemHMETAFILEPICT public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/RemHPALETTE.cs b/sources/Interop/Windows/Windows/shared/wtypes/RemHPALETTE.cs index d5e650c3ab..7457fedf85 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/RemHPALETTE.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/RemHPALETTE.cs @@ -13,6 +13,6 @@ public unsafe partial struct RemHPALETTE public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypes/userBITMAP.cs b/sources/Interop/Windows/Windows/shared/wtypes/userBITMAP.cs index fa6d3d30ea..27263bd872 100644 --- a/sources/Interop/Windows/Windows/shared/wtypes/userBITMAP.cs +++ b/sources/Interop/Windows/Windows/shared/wtypes/userBITMAP.cs @@ -37,6 +37,6 @@ public unsafe partial struct userBITMAP public uint cbSize; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte pBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypesbase/BYTE_BLOB.cs b/sources/Interop/Windows/Windows/shared/wtypesbase/BYTE_BLOB.cs index b104024461..8587317d19 100644 --- a/sources/Interop/Windows/Windows/shared/wtypesbase/BYTE_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/wtypesbase/BYTE_BLOB.cs @@ -13,6 +13,6 @@ public unsafe partial struct BYTE_BLOB public uint clSize; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte abData[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypesbase/DWORD_BLOB.cs b/sources/Interop/Windows/Windows/shared/wtypesbase/DWORD_BLOB.cs index a894d9ee3b..097c49631c 100644 --- a/sources/Interop/Windows/Windows/shared/wtypesbase/DWORD_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/wtypesbase/DWORD_BLOB.cs @@ -13,6 +13,6 @@ public unsafe partial struct DWORD_BLOB public uint clSize; /// - [NativeTypeName("ULONG [1]")] + [NativeTypeName("ULONG[1]")] public fixed uint alData[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_BYTE_BLOB.cs b/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_BYTE_BLOB.cs index 9ccf57e95d..2fc7f7be95 100644 --- a/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_BYTE_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_BYTE_BLOB.cs @@ -17,6 +17,6 @@ public unsafe partial struct FLAGGED_BYTE_BLOB public uint clSize; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte abData[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_WORD_BLOB.cs b/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_WORD_BLOB.cs index c6d8f8b2f7..40e63d1e35 100644 --- a/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_WORD_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/wtypesbase/FLAGGED_WORD_BLOB.cs @@ -17,6 +17,6 @@ public unsafe partial struct FLAGGED_WORD_BLOB public uint clSize; /// - [NativeTypeName("unsigned short [1]")] + [NativeTypeName("unsigned short[1]")] public fixed ushort asData[1]; } diff --git a/sources/Interop/Windows/Windows/shared/wtypesbase/WORD_BLOB.cs b/sources/Interop/Windows/Windows/shared/wtypesbase/WORD_BLOB.cs index ac7853f8de..b37fd686eb 100644 --- a/sources/Interop/Windows/Windows/shared/wtypesbase/WORD_BLOB.cs +++ b/sources/Interop/Windows/Windows/shared/wtypesbase/WORD_BLOB.cs @@ -13,6 +13,6 @@ public unsafe partial struct WORD_BLOB public uint clSize; /// - [NativeTypeName("unsigned short [1]")] + [NativeTypeName("unsigned short[1]")] public fixed ushort asData[1]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/LITEM.cs b/sources/Interop/Windows/Windows/um/CommCtrl/LITEM.cs index b46ffb9b84..c0b335a671 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/LITEM.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/LITEM.cs @@ -21,10 +21,10 @@ public unsafe partial struct LITEM public uint stateMask; /// - [NativeTypeName("WCHAR [48]")] + [NativeTypeName("WCHAR[48]")] public fixed ushort szID[48]; /// - [NativeTypeName("WCHAR [2084]")] + [NativeTypeName("WCHAR[2084]")] public fixed ushort szUrl[2084]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINA.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINA.cs index 06058268a3..3099947c42 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINA.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINA.cs @@ -15,6 +15,6 @@ public unsafe partial struct NMCBEDRAGBEGINA public int iItemid; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte szText[260]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINW.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINW.cs index c495a608e8..83c8825489 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINW.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEDRAGBEGINW.cs @@ -15,6 +15,6 @@ public unsafe partial struct NMCBEDRAGBEGINW public int iItemid; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szText[260]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITA.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITA.cs index 2e3d21e813..86a9f448ff 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITA.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITA.cs @@ -18,7 +18,7 @@ public unsafe partial struct NMCBEENDEDITA public int iNewSelection; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte szText[260]; /// diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITW.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITW.cs index 32a58cf54d..a2e54fd135 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITW.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMCBEENDEDITW.cs @@ -18,7 +18,7 @@ public unsafe partial struct NMCBEENDEDITW public int iNewSelection; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szText[260]; /// diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATA.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATA.cs index 4e1d095fe6..433022fee9 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATA.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATA.cs @@ -23,6 +23,6 @@ public unsafe partial struct NMDATETIMEFORMATA public sbyte* pszDisplay; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szDisplay[64]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATW.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATW.cs index 7562a706b0..5cfb9e6519 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATW.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMDATETIMEFORMATW.cs @@ -23,6 +23,6 @@ public unsafe partial struct NMDATETIMEFORMATW public ushort* pszDisplay; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szDisplay[64]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMLVEMPTYMARKUP.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMLVEMPTYMARKUP.cs index 8a6db84f53..2aa08692f6 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMLVEMPTYMARKUP.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMLVEMPTYMARKUP.cs @@ -16,6 +16,6 @@ public unsafe partial struct NMLVEMPTYMARKUP public uint dwFlags; /// - [NativeTypeName("WCHAR [2084]")] + [NativeTypeName("WCHAR[2084]")] public fixed ushort szMarkup[2084]; } diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOA.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOA.cs index 9c07376f8d..ee1599f0da 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOA.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOA.cs @@ -16,7 +16,7 @@ public unsafe partial struct NMTTDISPINFOA public sbyte* lpszText; /// - [NativeTypeName("char [80]")] + [NativeTypeName("char[80]")] public fixed sbyte szText[80]; /// diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOW.cs b/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOW.cs index ee25c3835b..959e26372f 100644 --- a/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOW.cs +++ b/sources/Interop/Windows/Windows/um/CommCtrl/NMTTDISPINFOW.cs @@ -16,7 +16,7 @@ public unsafe partial struct NMTTDISPINFOW public ushort* lpszText; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort szText[80]; /// diff --git a/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOA.cs b/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOA.cs index da6048c51b..2a1099364b 100644 --- a/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOA.cs +++ b/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOA.cs @@ -31,14 +31,14 @@ public unsafe partial struct NEWCPLINFOA public HICON hIcon; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szName[32]; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szInfo[64]; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte szHelpFile[128]; } diff --git a/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOW.cs b/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOW.cs index 752c7f85d2..6541b21eb1 100644 --- a/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOW.cs +++ b/sources/Interop/Windows/Windows/um/Cpl/NEWCPLINFOW.cs @@ -31,14 +31,14 @@ public unsafe partial struct NEWCPLINFOW public HICON hIcon; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szName[32]; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szInfo[64]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort szHelpFile[128]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD.cs index 3c835b6ae3..fcfb04bdb5 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD.cs @@ -25,7 +25,7 @@ public unsafe partial struct IMAGEHLP_DEFERRED_SYMBOL_LOAD public uint TimeDateStamp; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte FileName[260]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD64.cs index fc689e04fc..0595aa8f0b 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOAD64.cs @@ -25,7 +25,7 @@ public unsafe partial struct IMAGEHLP_DEFERRED_SYMBOL_LOAD64 public uint TimeDateStamp; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte FileName[260]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOADW64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOADW64.cs index d7d848281a..3e85da9cf0 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOADW64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_DEFERRED_SYMBOL_LOADW64.cs @@ -25,7 +25,7 @@ public unsafe partial struct IMAGEHLP_DEFERRED_SYMBOL_LOADW64 public uint TimeDateStamp; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort FileName[261]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE.cs index 12aa460a20..39604a156a 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE.cs @@ -36,14 +36,14 @@ public unsafe partial struct IMAGEHLP_MODULE public SYM_TYPE SymType; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte ModuleName[32]; /// - [NativeTypeName("CHAR [256]")] + [NativeTypeName("CHAR[256]")] public fixed sbyte ImageName[256]; /// - [NativeTypeName("CHAR [256]")] + [NativeTypeName("CHAR[256]")] public fixed sbyte LoadedImageName[256]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE64.cs index a9da78e1d8..c9abefb92d 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULE64.cs @@ -38,19 +38,19 @@ public unsafe partial struct IMAGEHLP_MODULE64 public SYM_TYPE SymType; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte ModuleName[32]; /// - [NativeTypeName("CHAR [256]")] + [NativeTypeName("CHAR[256]")] public fixed sbyte ImageName[256]; /// - [NativeTypeName("CHAR [256]")] + [NativeTypeName("CHAR[256]")] public fixed sbyte LoadedImageName[256]; /// - [NativeTypeName("CHAR [256]")] + [NativeTypeName("CHAR[256]")] public fixed sbyte LoadedPdbName[256]; /// @@ -58,7 +58,7 @@ public unsafe partial struct IMAGEHLP_MODULE64 public uint CVSig; /// - [NativeTypeName("CHAR [780]")] + [NativeTypeName("CHAR[780]")] public fixed sbyte CVData[780]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW.cs index 5310c7dfff..4dad322ba3 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW.cs @@ -36,14 +36,14 @@ public unsafe partial struct IMAGEHLP_MODULEW public SYM_TYPE SymType; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort ModuleName[32]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort ImageName[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort LoadedImageName[256]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW64.cs index 6add896f32..e6ebd92269 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_MODULEW64.cs @@ -38,19 +38,19 @@ public unsafe partial struct IMAGEHLP_MODULEW64 public SYM_TYPE SymType; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort ModuleName[32]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort ImageName[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort LoadedImageName[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort LoadedPdbName[256]; /// @@ -58,7 +58,7 @@ public unsafe partial struct IMAGEHLP_MODULEW64 public uint CVSig; /// - [NativeTypeName("WCHAR [780]")] + [NativeTypeName("WCHAR[780]")] public fixed ushort CVData[780]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_STACK_FRAME.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_STACK_FRAME.cs index 2886260a68..e3cc6b2ee5 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_STACK_FRAME.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_STACK_FRAME.cs @@ -33,11 +33,11 @@ public unsafe partial struct IMAGEHLP_STACK_FRAME public ulong FuncTableEntry; /// - [NativeTypeName("ULONG64 [4]")] + [NativeTypeName("ULONG64[4]")] public fixed ulong Params[4]; /// - [NativeTypeName("ULONG64 [5]")] + [NativeTypeName("ULONG64[5]")] public fixed ulong Reserved[5]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL.cs index d57a1f6c8e..1ab885ca94 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL.cs @@ -29,6 +29,6 @@ public unsafe partial struct IMAGEHLP_SYMBOL public uint MaxNameLength; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64.cs index 47b447eecb..3f50b4b132 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64.cs @@ -29,6 +29,6 @@ public unsafe partial struct IMAGEHLP_SYMBOL64 public uint MaxNameLength; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64_PACKAGE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64_PACKAGE.cs index 88a8cf6b26..34cbb1f114 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64_PACKAGE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL64_PACKAGE.cs @@ -12,6 +12,6 @@ public unsafe partial struct IMAGEHLP_SYMBOL64_PACKAGE public IMAGEHLP_SYMBOL64 sym; /// - [NativeTypeName("CHAR [2001]")] + [NativeTypeName("CHAR[2001]")] public fixed sbyte name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW.cs index e8e66550b4..e3ac68051c 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW.cs @@ -29,6 +29,6 @@ public unsafe partial struct IMAGEHLP_SYMBOLW public uint MaxNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64.cs index 9c9f33598e..754e0895c6 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64.cs @@ -29,6 +29,6 @@ public unsafe partial struct IMAGEHLP_SYMBOLW64 public uint MaxNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64_PACKAGE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64_PACKAGE.cs index 0aad037591..12265a4240 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64_PACKAGE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW64_PACKAGE.cs @@ -12,6 +12,6 @@ public unsafe partial struct IMAGEHLP_SYMBOLW64_PACKAGE public IMAGEHLP_SYMBOLW64 sym; /// - [NativeTypeName("WCHAR [2001]")] + [NativeTypeName("WCHAR[2001]")] public fixed ushort name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW_PACKAGE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW_PACKAGE.cs index 4a4bd74b87..6d7303365a 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW_PACKAGE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOLW_PACKAGE.cs @@ -12,6 +12,6 @@ public unsafe partial struct IMAGEHLP_SYMBOLW_PACKAGE public IMAGEHLP_SYMBOLW sym; /// - [NativeTypeName("WCHAR [2001]")] + [NativeTypeName("WCHAR[2001]")] public fixed ushort name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_PACKAGE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_PACKAGE.cs index 60cf224a24..926058ff4d 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_PACKAGE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_PACKAGE.cs @@ -12,6 +12,6 @@ public unsafe partial struct IMAGEHLP_SYMBOL_PACKAGE public IMAGEHLP_SYMBOL sym; /// - [NativeTypeName("CHAR [2001]")] + [NativeTypeName("CHAR[2001]")] public fixed sbyte name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_SRC.cs b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_SRC.cs index e5329c110b..40787f013e 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_SRC.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/IMAGEHLP_SYMBOL_SRC.cs @@ -17,6 +17,6 @@ public unsafe partial struct IMAGEHLP_SYMBOL_SRC public uint type; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte file[260]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP.cs b/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP.cs index 8d65b80697..809b425986 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP.cs @@ -53,6 +53,6 @@ public unsafe partial struct KDHELP public uint StackLimit; /// - [NativeTypeName("DWORD [5]")] + [NativeTypeName("DWORD[5]")] public fixed uint Reserved[5]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP64.cs index 15c1d52437..d3c997ec07 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/KDHELP64.cs @@ -73,6 +73,6 @@ public unsafe partial struct KDHELP64 public uint RetpolineStubSize; /// - [NativeTypeName("DWORD64 [2]")] + [NativeTypeName("DWORD64[2]")] public fixed ulong Reserved0[2]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/MODULE_TYPE_INFO.cs b/sources/Interop/Windows/Windows/um/DbgHelp/MODULE_TYPE_INFO.cs index 24b05ef060..39f4f5dfc3 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/MODULE_TYPE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/MODULE_TYPE_INFO.cs @@ -15,6 +15,6 @@ public unsafe partial struct MODULE_TYPE_INFO public ushort leaf; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFO.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFO.cs index c672496d28..cc056da0a7 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFO.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFO.cs @@ -21,11 +21,11 @@ public unsafe partial struct SRCCODEINFO public ulong ModBase; /// - [NativeTypeName("CHAR [261]")] + [NativeTypeName("CHAR[261]")] public fixed sbyte Obj[261]; /// - [NativeTypeName("CHAR [261]")] + [NativeTypeName("CHAR[261]")] public fixed sbyte FileName[261]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFOW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFOW.cs index 2c1f4c119d..de443fec14 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFOW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SRCCODEINFOW.cs @@ -21,11 +21,11 @@ public unsafe partial struct SRCCODEINFOW public ulong ModBase; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort Obj[261]; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort FileName[261]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME.cs b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME.cs index 7fa3939bce..5b355b509b 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME.cs @@ -25,7 +25,7 @@ public unsafe partial struct STACKFRAME public void* FuncTableEntry; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint Params[4]; /// @@ -35,7 +35,7 @@ public unsafe partial struct STACKFRAME public BOOL Virtual; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint Reserved[3]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME64.cs b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME64.cs index ab16dab2e5..0d7d2241ab 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME64.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME64.cs @@ -28,7 +28,7 @@ public unsafe partial struct STACKFRAME64 public void* FuncTableEntry; /// - [NativeTypeName("DWORD64 [4]")] + [NativeTypeName("DWORD64[4]")] public fixed ulong Params[4]; /// @@ -38,7 +38,7 @@ public unsafe partial struct STACKFRAME64 public BOOL Virtual; /// - [NativeTypeName("DWORD64 [3]")] + [NativeTypeName("DWORD64[3]")] public fixed ulong Reserved[3]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME_EX.cs b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME_EX.cs index c6cd9f4f29..9e8421abd5 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME_EX.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/STACKFRAME_EX.cs @@ -28,7 +28,7 @@ public unsafe partial struct STACKFRAME_EX public void* FuncTableEntry; /// - [NativeTypeName("DWORD64 [4]")] + [NativeTypeName("DWORD64[4]")] public fixed ulong Params[4]; /// @@ -38,7 +38,7 @@ public unsafe partial struct STACKFRAME_EX public BOOL Virtual; /// - [NativeTypeName("DWORD64 [3]")] + [NativeTypeName("DWORD64[3]")] public fixed ulong Reserved[3]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO.cs index 54c0012624..e42daddf74 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO.cs @@ -17,7 +17,7 @@ public unsafe partial struct SYMBOL_INFO public uint TypeIndex; /// - [NativeTypeName("ULONG64 [2]")] + [NativeTypeName("ULONG64[2]")] public fixed ulong Reserved[2]; /// @@ -65,6 +65,6 @@ public unsafe partial struct SYMBOL_INFO public uint MaxNameLen; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFOW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFOW.cs index 07567e21b7..969f8d4208 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFOW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFOW.cs @@ -17,7 +17,7 @@ public unsafe partial struct SYMBOL_INFOW public uint TypeIndex; /// - [NativeTypeName("ULONG64 [2]")] + [NativeTypeName("ULONG64[2]")] public fixed ulong Reserved[2]; /// @@ -65,6 +65,6 @@ public unsafe partial struct SYMBOL_INFOW public uint MaxNameLen; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGE.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGE.cs index f377bd9b1a..ad1815b78b 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGE.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGE.cs @@ -12,6 +12,6 @@ public unsafe partial struct SYMBOL_INFO_PACKAGE public SYMBOL_INFO si; /// - [NativeTypeName("CHAR [2001]")] + [NativeTypeName("CHAR[2001]")] public fixed sbyte name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGEW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGEW.cs index a54126fa4a..a4919c8132 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGEW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMBOL_INFO_PACKAGEW.cs @@ -12,6 +12,6 @@ public unsafe partial struct SYMBOL_INFO_PACKAGEW public SYMBOL_INFOW si; /// - [NativeTypeName("WCHAR [2001]")] + [NativeTypeName("WCHAR[2001]")] public fixed ushort name[2001]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_EXTENDED_OUTPUT_DATA.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_EXTENDED_OUTPUT_DATA.cs index ddcddedbba..a9a477b7e5 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_EXTENDED_OUTPUT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_EXTENDED_OUTPUT_DATA.cs @@ -17,6 +17,6 @@ public unsafe partial struct SYMSRV_EXTENDED_OUTPUT_DATA public uint version; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort filePtrMsg[261]; } diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFO.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFO.cs index ee93b83bbc..19c67d90a9 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFO.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFO.cs @@ -15,7 +15,7 @@ public unsafe partial struct SYMSRV_INDEX_INFO public uint sizeofstruct; /// - [NativeTypeName("char [261]")] + [NativeTypeName("char[261]")] public fixed sbyte file[261]; /// @@ -30,11 +30,11 @@ public unsafe partial struct SYMSRV_INDEX_INFO public uint size; /// - [NativeTypeName("char [261]")] + [NativeTypeName("char[261]")] public fixed sbyte dbgfile[261]; /// - [NativeTypeName("char [261]")] + [NativeTypeName("char[261]")] public fixed sbyte pdbfile[261]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFOW.cs b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFOW.cs index 7f82ff5882..834d7ee339 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFOW.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/SYMSRV_INDEX_INFOW.cs @@ -15,7 +15,7 @@ public unsafe partial struct SYMSRV_INDEX_INFOW public uint sizeofstruct; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort file[261]; /// @@ -30,11 +30,11 @@ public unsafe partial struct SYMSRV_INDEX_INFOW public uint size; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort dbgfile[261]; /// - [NativeTypeName("WCHAR [261]")] + [NativeTypeName("WCHAR[261]")] public fixed ushort pdbfile[261]; /// diff --git a/sources/Interop/Windows/Windows/um/DbgHelp/TI_FINDCHILDREN_PARAMS.cs b/sources/Interop/Windows/Windows/um/DbgHelp/TI_FINDCHILDREN_PARAMS.cs index 8b4c93dd80..8b3d8e7f5f 100644 --- a/sources/Interop/Windows/Windows/um/DbgHelp/TI_FINDCHILDREN_PARAMS.cs +++ b/sources/Interop/Windows/Windows/um/DbgHelp/TI_FINDCHILDREN_PARAMS.cs @@ -17,6 +17,6 @@ public unsafe partial struct TI_FINDCHILDREN_PARAMS public uint Start; /// - [NativeTypeName("ULONG [1]")] + [NativeTypeName("ULONG[1]")] public fixed uint ChildId[1]; } diff --git a/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs b/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs index 519c2454bc..30b50e3126 100644 --- a/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs +++ b/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs @@ -46,7 +46,7 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT QueryStatus([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [NativeTypeName("ULONG")] uint cCmds, [NativeTypeName("OLECMD []")] OLECMD* prgCmds, OLECMDTEXT* pCmdText) + public HRESULT QueryStatus([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [NativeTypeName("ULONG")] uint cCmds, [NativeTypeName("OLECMD[]")] OLECMD* prgCmds, OLECMDTEXT* pCmdText) { return ((delegate* unmanaged)(lpVtbl[3]))((IOleCommandTarget*)Unsafe.AsPointer(ref this), pguidCmdGroup, cCmds, prgCmds, pCmdText); } @@ -62,7 +62,7 @@ public HRESULT Exec([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [Nativ public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT QueryStatus([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [NativeTypeName("ULONG")] uint cCmds, [NativeTypeName("OLECMD []")] OLECMD* prgCmds, OLECMDTEXT* pCmdText); + HRESULT QueryStatus([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [NativeTypeName("ULONG")] uint cCmds, [NativeTypeName("OLECMD[]")] OLECMD* prgCmds, OLECMDTEXT* pCmdText); [VtblIndex(4)] HRESULT Exec([NativeTypeName("const GUID *")] Guid* pguidCmdGroup, [NativeTypeName("DWORD")] uint nCmdID, [NativeTypeName("DWORD")] uint nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut); diff --git a/sources/Interop/Windows/Windows/um/DocObj/OLECMDTEXT.cs b/sources/Interop/Windows/Windows/um/DocObj/OLECMDTEXT.cs index 301ff3d58e..4287721195 100644 --- a/sources/Interop/Windows/Windows/um/DocObj/OLECMDTEXT.cs +++ b/sources/Interop/Windows/Windows/um/DocObj/OLECMDTEXT.cs @@ -21,6 +21,6 @@ public unsafe partial struct OLECMDTEXT public uint cwBuf; /// - [NativeTypeName("wchar_t [1]")] + [NativeTypeName("wchar_t[1]")] public fixed ushort rgwz[1]; } diff --git a/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs b/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs index bd6618b54d..087f283e6b 100644 --- a/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs +++ b/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs @@ -27,7 +27,7 @@ public partial struct PAGESET public uint cPageRange; /// - [NativeTypeName("PAGERANGE [1]")] + [NativeTypeName("PAGERANGE[1]")] public _rgPages_e__FixedBuffer rgPages; /// diff --git a/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs b/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs index 28a336d9ad..0a5a2256b5 100644 --- a/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs +++ b/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs @@ -102,7 +102,7 @@ public HRESULT SetBinary([NativeTypeName("LPCWSTR")] ushort* pszPropertyName, [N /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT SetLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementName, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR []")] ushort** ppszLabels) + public HRESULT SetLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementName, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR[]")] ushort** ppszLabels) { return ((delegate* unmanaged)(lpVtbl[10]))((IContactProperties*)Unsafe.AsPointer(ref this), pszArrayElementName, dwFlags, dwLabelCount, ppszLabels); } @@ -142,7 +142,7 @@ public HRESULT DeleteLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetPropertyCollection(IContactPropertyCollection** ppPropertyCollection, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPCWSTR")] ushort* pszMultiValueName, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR []")] ushort** ppszLabels, BOOL fAnyLabelMatches) + public HRESULT GetPropertyCollection(IContactPropertyCollection** ppPropertyCollection, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPCWSTR")] ushort* pszMultiValueName, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR[]")] ushort** ppszLabels, BOOL fAnyLabelMatches) { return ((delegate* unmanaged)(lpVtbl[15]))((IContactProperties*)Unsafe.AsPointer(ref this), ppPropertyCollection, dwFlags, pszMultiValueName, dwLabelCount, ppszLabels, fAnyLabelMatches); } @@ -171,7 +171,7 @@ public interface Interface : IUnknown.Interface HRESULT SetBinary([NativeTypeName("LPCWSTR")] ushort* pszPropertyName, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPCWSTR")] ushort* pszContentType, IStream* pStream); [VtblIndex(10)] - HRESULT SetLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementName, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR []")] ushort** ppszLabels); + HRESULT SetLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementName, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR[]")] ushort** ppszLabels); [VtblIndex(11)] HRESULT CreateArrayNode([NativeTypeName("LPCWSTR")] ushort* pszArrayName, [NativeTypeName("DWORD")] uint dwFlags, BOOL fAppend, [NativeTypeName("LPWSTR")] ushort* pszNewArrayElementName, [NativeTypeName("DWORD")] uint cchNewArrayElementName, [NativeTypeName("DWORD *")] uint* pdwcchNewArrayElementNameRequired); @@ -186,7 +186,7 @@ public interface Interface : IUnknown.Interface HRESULT DeleteLabels([NativeTypeName("LPCWSTR")] ushort* pszArrayElementName, [NativeTypeName("DWORD")] uint dwFlags); [VtblIndex(15)] - HRESULT GetPropertyCollection(IContactPropertyCollection** ppPropertyCollection, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPCWSTR")] ushort* pszMultiValueName, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR []")] ushort** ppszLabels, BOOL fAnyLabelMatches); + HRESULT GetPropertyCollection(IContactPropertyCollection** ppPropertyCollection, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPCWSTR")] ushort* pszMultiValueName, [NativeTypeName("DWORD")] uint dwLabelCount, [NativeTypeName("LPCWSTR[]")] ushort** ppszLabels, BOOL fAnyLabelMatches); } public partial struct Vtbl diff --git a/sources/Interop/Windows/Windows/um/IPExport/IPV6_ADDRESS_EX.cs b/sources/Interop/Windows/Windows/um/IPExport/IPV6_ADDRESS_EX.cs index 5f3a8bd301..6f10e7df14 100644 --- a/sources/Interop/Windows/Windows/um/IPExport/IPV6_ADDRESS_EX.cs +++ b/sources/Interop/Windows/Windows/um/IPExport/IPV6_ADDRESS_EX.cs @@ -19,7 +19,7 @@ public unsafe partial struct IPV6_ADDRESS_EX public uint sin6_flowinfo; /// - [NativeTypeName("USHORT [8]")] + [NativeTypeName("USHORT[8]")] public fixed ushort sin6_addr[8]; /// diff --git a/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_INDEX_MAP.cs b/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_INDEX_MAP.cs index 88917aa0cf..80df7365f3 100644 --- a/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_INDEX_MAP.cs +++ b/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_INDEX_MAP.cs @@ -13,6 +13,6 @@ public unsafe partial struct IP_ADAPTER_INDEX_MAP public uint Index; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Name[128]; } diff --git a/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_ORDER_MAP.cs b/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_ORDER_MAP.cs index 49b221d592..f44928e55b 100644 --- a/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_ORDER_MAP.cs +++ b/sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_ORDER_MAP.cs @@ -13,6 +13,6 @@ public unsafe partial struct IP_ADAPTER_ORDER_MAP public uint NumAdapters; /// - [NativeTypeName("ULONG [1]")] + [NativeTypeName("ULONG[1]")] public fixed uint AdapterOrder[1]; } diff --git a/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs b/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs index b5cf14b99b..57d65f88ba 100644 --- a/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs @@ -17,7 +17,7 @@ public partial struct IP_INTERFACE_INFO public int NumAdapters; /// - [NativeTypeName("IP_ADAPTER_INDEX_MAP [1]")] + [NativeTypeName("IP_ADAPTER_INDEX_MAP[1]")] public _Adapter_e__FixedBuffer Adapter; /// diff --git a/sources/Interop/Windows/Windows/um/IPExport/IP_UNIDIRECTIONAL_ADAPTER_ADDRESS.cs b/sources/Interop/Windows/Windows/um/IPExport/IP_UNIDIRECTIONAL_ADAPTER_ADDRESS.cs index 993597f298..59cbdd87ca 100644 --- a/sources/Interop/Windows/Windows/um/IPExport/IP_UNIDIRECTIONAL_ADAPTER_ADDRESS.cs +++ b/sources/Interop/Windows/Windows/um/IPExport/IP_UNIDIRECTIONAL_ADAPTER_ADDRESS.cs @@ -13,6 +13,6 @@ public unsafe partial struct IP_UNIDIRECTIONAL_ADAPTER_ADDRESS public uint NumAdapters; /// - [NativeTypeName("IPAddr [1]")] + [NativeTypeName("IPAddr[1]")] public fixed uint Address[1]; } diff --git a/sources/Interop/Windows/Windows/um/IPTypes/FIXED_INFO.cs b/sources/Interop/Windows/Windows/um/IPTypes/FIXED_INFO.cs index 58e2f37e19..11b69bda38 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/FIXED_INFO.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/FIXED_INFO.cs @@ -9,11 +9,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FIXED_INFO { /// - [NativeTypeName("char [132]")] + [NativeTypeName("char[132]")] public fixed sbyte HostName[132]; /// - [NativeTypeName("char [132]")] + [NativeTypeName("char[132]")] public fixed sbyte DomainName[132]; /// @@ -27,7 +27,7 @@ public unsafe partial struct FIXED_INFO public uint NodeType; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte ScopeId[260]; /// diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs index 0d3788467e..344ba6b120 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs @@ -53,7 +53,7 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_LH public ushort* FriendlyName; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte PhysicalAddress[8]; /// @@ -80,7 +80,7 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_LH public uint Ipv6IfIndex; /// - [NativeTypeName("ULONG [16]")] + [NativeTypeName("ULONG[16]")] public fixed uint ZoneIndices[16]; /// @@ -136,7 +136,7 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_LH public SOCKET_ADDRESS Dhcpv6Server; /// - [NativeTypeName("BYTE [130]")] + [NativeTypeName("BYTE[130]")] public fixed byte Dhcpv6ClientDuid[130]; /// diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs index 307b7b2b32..c747206e1e 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs @@ -52,7 +52,7 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_XP public ushort* FriendlyName; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte PhysicalAddress[8]; /// @@ -79,7 +79,7 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_XP public uint Ipv6IfIndex; /// - [NativeTypeName("DWORD [16]")] + [NativeTypeName("DWORD[16]")] public fixed uint ZoneIndices[16]; /// diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SUFFIX.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SUFFIX.cs index 6200664fb0..e3e95918ce 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SUFFIX.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SUFFIX.cs @@ -13,6 +13,6 @@ public unsafe partial struct IP_ADAPTER_DNS_SUFFIX public IP_ADAPTER_DNS_SUFFIX* Next; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort String[256]; } diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_INFO.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_INFO.cs index 7612224308..cde1963fe5 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_INFO.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_INFO.cs @@ -17,18 +17,18 @@ public unsafe partial struct IP_ADAPTER_INFO public uint ComboIndex; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte AdapterName[260]; /// - [NativeTypeName("char [132]")] + [NativeTypeName("char[132]")] public fixed sbyte Description[132]; /// public uint AddressLength; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Address[8]; /// diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_MASK_STRING.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_MASK_STRING.cs index e0db2fc29c..c6867d6e0c 100644 --- a/sources/Interop/Windows/Windows/um/IPTypes/IP_MASK_STRING.cs +++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_MASK_STRING.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct IP_MASK_STRING { /// - [NativeTypeName("char [16]")] + [NativeTypeName("char[16]")] public fixed sbyte String[16]; } diff --git a/sources/Interop/Windows/Windows/um/MSChapp/CYPHER_BLOCK.cs b/sources/Interop/Windows/Windows/um/MSChapp/CYPHER_BLOCK.cs index 63c703f69e..3df70ef9cf 100644 --- a/sources/Interop/Windows/Windows/um/MSChapp/CYPHER_BLOCK.cs +++ b/sources/Interop/Windows/Windows/um/MSChapp/CYPHER_BLOCK.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CYPHER_BLOCK { /// - [NativeTypeName("CHAR [8]")] + [NativeTypeName("CHAR[8]")] public fixed sbyte data[8]; } diff --git a/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs b/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs index 3e7087f33a..720e8ea421 100644 --- a/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs +++ b/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public partial struct ENCRYPTED_LM_OWF_PASSWORD { /// - [NativeTypeName("CYPHER_BLOCK [2]")] + [NativeTypeName("CYPHER_BLOCK[2]")] public _data_e__FixedBuffer data; /// diff --git a/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs b/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs index 728096326f..4113e50e0f 100644 --- a/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs +++ b/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public partial struct LM_OWF_PASSWORD { /// - [NativeTypeName("CYPHER_BLOCK [2]")] + [NativeTypeName("CYPHER_BLOCK[2]")] public _data_e__FixedBuffer data; /// diff --git a/sources/Interop/Windows/Windows/um/MSChapp/SAMPR_ENCRYPTED_USER_PASSWORD.cs b/sources/Interop/Windows/Windows/um/MSChapp/SAMPR_ENCRYPTED_USER_PASSWORD.cs index 0ad5b84ef1..87f986284f 100644 --- a/sources/Interop/Windows/Windows/um/MSChapp/SAMPR_ENCRYPTED_USER_PASSWORD.cs +++ b/sources/Interop/Windows/Windows/um/MSChapp/SAMPR_ENCRYPTED_USER_PASSWORD.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SAMPR_ENCRYPTED_USER_PASSWORD { /// - [NativeTypeName("UCHAR [516]")] + [NativeTypeName("UCHAR[516]")] public fixed byte Buffer[516]; } diff --git a/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRHANDLERINFO.cs b/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRHANDLERINFO.cs index 1c1fdf53be..d801fd1c7f 100644 --- a/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRHANDLERINFO.cs +++ b/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRHANDLERINFO.cs @@ -20,6 +20,6 @@ public unsafe partial struct SYNCMGRHANDLERINFO public uint SyncMgrHandlerFlags; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort wszHandlerName[32]; } diff --git a/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRITEM.cs b/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRITEM.cs index 29043f4cac..e10cb6e4bc 100644 --- a/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRITEM.cs +++ b/sources/Interop/Windows/Windows/um/Mobsync/SYNCMGRITEM.cs @@ -29,7 +29,7 @@ public unsafe partial struct SYNCMGRITEM public HICON hIcon; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort wszItemName[128]; /// diff --git a/sources/Interop/Windows/Windows/um/Msi/MSIFILEHASHINFO.cs b/sources/Interop/Windows/Windows/um/Msi/MSIFILEHASHINFO.cs index b21b14f044..303c98cec2 100644 --- a/sources/Interop/Windows/Windows/um/Msi/MSIFILEHASHINFO.cs +++ b/sources/Interop/Windows/Windows/um/Msi/MSIFILEHASHINFO.cs @@ -13,6 +13,6 @@ public unsafe partial struct MSIFILEHASHINFO public uint dwFileHashInfoSize; /// - [NativeTypeName("ULONG [4]")] + [NativeTypeName("ULONG[4]")] public fixed uint dwData[4]; } diff --git a/sources/Interop/Windows/Windows/um/Msi/Windows.cs b/sources/Interop/Windows/Windows/um/Msi/Windows.cs index 7a262339d2..34ac44b3eb 100644 --- a/sources/Interop/Windows/Windows/um/Msi/Windows.cs +++ b/sources/Interop/Windows/Windows/um/Msi/Windows.cs @@ -237,11 +237,11 @@ public static unsafe partial class Windows /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumPatchesExA([NativeTypeName("LPCSTR")] sbyte* szProductCode, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwFilter, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR [39]")] sbyte* szPatchCode, [NativeTypeName("CHAR [39]")] sbyte* szTargetProductCode, MSIINSTALLCONTEXT* pdwTargetProductContext, [NativeTypeName("LPSTR")] sbyte* szTargetUserSid, [NativeTypeName("LPDWORD")] uint* pcchTargetUserSid); + public static extern uint MsiEnumPatchesExA([NativeTypeName("LPCSTR")] sbyte* szProductCode, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwFilter, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR[39]")] sbyte* szPatchCode, [NativeTypeName("CHAR[39]")] sbyte* szTargetProductCode, MSIINSTALLCONTEXT* pdwTargetProductContext, [NativeTypeName("LPSTR")] sbyte* szTargetUserSid, [NativeTypeName("LPDWORD")] uint* pcchTargetUserSid); /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumPatchesExW([NativeTypeName("LPCWSTR")] ushort* szProductCode, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwFilter, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR [39]")] ushort* szPatchCode, [NativeTypeName("WCHAR [39]")] ushort* szTargetProductCode, MSIINSTALLCONTEXT* pdwTargetProductContext, [NativeTypeName("LPWSTR")] ushort* szTargetUserSid, [NativeTypeName("LPDWORD")] uint* pcchTargetUserSid); + public static extern uint MsiEnumPatchesExW([NativeTypeName("LPCWSTR")] ushort* szProductCode, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwFilter, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR[39]")] ushort* szPatchCode, [NativeTypeName("WCHAR[39]")] ushort* szTargetProductCode, MSIINSTALLCONTEXT* pdwTargetProductContext, [NativeTypeName("LPWSTR")] ushort* szTargetUserSid, [NativeTypeName("LPDWORD")] uint* pcchTargetUserSid); /// [DllImport("msi", ExactSpelling = true)] @@ -365,11 +365,11 @@ public static unsafe partial class Windows /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumProductsExA([NativeTypeName("LPCSTR")] sbyte* szProductCode, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR [39]")] sbyte* szInstalledProductCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumProductsExA([NativeTypeName("LPCSTR")] sbyte* szProductCode, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR[39]")] sbyte* szInstalledProductCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumProductsExW([NativeTypeName("LPCWSTR")] ushort* szProductCode, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR [39]")] ushort* szInstalledProductCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumProductsExW([NativeTypeName("LPCWSTR")] ushort* szProductCode, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR[39]")] ushort* szInstalledProductCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] @@ -397,11 +397,11 @@ public static unsafe partial class Windows /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumComponentsExA([NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR [39]")] sbyte* szInstalledComponentCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumComponentsExA([NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("CHAR[39]")] sbyte* szInstalledComponentCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumComponentsExW([NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR [39]")] ushort* szInstalledComponentCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumComponentsExW([NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("WCHAR[39]")] ushort* szInstalledComponentCode, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] @@ -413,11 +413,11 @@ public static unsafe partial class Windows /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumClientsExA([NativeTypeName("LPCSTR")] sbyte* szComponent, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwProductIndex, [NativeTypeName("CHAR [39]")] sbyte* szProductBuf, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumClientsExA([NativeTypeName("LPCSTR")] sbyte* szComponent, [NativeTypeName("LPCSTR")] sbyte* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwProductIndex, [NativeTypeName("CHAR[39]")] sbyte* szProductBuf, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPSTR")] sbyte* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] - public static extern uint MsiEnumClientsExW([NativeTypeName("LPCWSTR")] ushort* szComponent, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwProductIndex, [NativeTypeName("WCHAR [39]")] ushort* szProductBuf, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); + public static extern uint MsiEnumClientsExW([NativeTypeName("LPCWSTR")] ushort* szComponent, [NativeTypeName("LPCWSTR")] ushort* szUserSid, [NativeTypeName("DWORD")] uint dwContext, [NativeTypeName("DWORD")] uint dwProductIndex, [NativeTypeName("WCHAR[39]")] ushort* szProductBuf, MSIINSTALLCONTEXT* pdwInstalledContext, [NativeTypeName("LPWSTR")] ushort* szSid, [NativeTypeName("LPDWORD")] uint* pcchSid); /// [DllImport("msi", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/ProcessSnapshot/PSS_PROCESS_INFORMATION.cs b/sources/Interop/Windows/Windows/um/ProcessSnapshot/PSS_PROCESS_INFORMATION.cs index 9a54b6f20f..5bc0bbd071 100644 --- a/sources/Interop/Windows/Windows/um/ProcessSnapshot/PSS_PROCESS_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/ProcessSnapshot/PSS_PROCESS_INFORMATION.cs @@ -106,6 +106,6 @@ public unsafe partial struct PSS_PROCESS_INFORMATION public uint ExecuteFlags; /// - [NativeTypeName("wchar_t [260]")] + [NativeTypeName("wchar_t[260]")] public fixed ushort ImageFileName[260]; } diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs index b8808e1b1a..19ca3bfeba 100644 --- a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs +++ b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs @@ -46,7 +46,7 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT ReadMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT []")] PROPVARIANT* rgpropvar) + public HRESULT ReadMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT[]")] PROPVARIANT* rgpropvar) { return ((delegate* unmanaged)(lpVtbl[3]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpspec, rgpspec, rgpropvar); } @@ -54,7 +54,7 @@ public HRESULT ReadMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeNa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HRESULT WriteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("const PROPVARIANT []")] PROPVARIANT* rgpropvar, [NativeTypeName("PROPID")] uint propidNameFirst) + public HRESULT WriteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("const PROPVARIANT[]")] PROPVARIANT* rgpropvar, [NativeTypeName("PROPID")] uint propidNameFirst) { return ((delegate* unmanaged)(lpVtbl[4]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpspec, rgpspec, rgpropvar, propidNameFirst); } @@ -62,7 +62,7 @@ public HRESULT WriteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HRESULT DeleteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec) + public HRESULT DeleteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec) { return ((delegate* unmanaged)(lpVtbl[5]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpspec, rgpspec); } @@ -70,7 +70,7 @@ public HRESULT DeleteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadPropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid, [NativeTypeName("LPOLESTR []")] ushort** rglpwstrName) + public HRESULT ReadPropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid, [NativeTypeName("LPOLESTR[]")] ushort** rglpwstrName) { return ((delegate* unmanaged)(lpVtbl[6]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpropid, rgpropid, rglpwstrName); } @@ -78,7 +78,7 @@ public HRESULT ReadPropertyNames([NativeTypeName("ULONG")] uint cpropid, [Native /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT WritePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid, [NativeTypeName("const LPOLESTR []")] ushort** rglpwstrName) + public HRESULT WritePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid, [NativeTypeName("const LPOLESTR[]")] ushort** rglpwstrName) { return ((delegate* unmanaged)(lpVtbl[7]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpropid, rgpropid, rglpwstrName); } @@ -86,7 +86,7 @@ public HRESULT WritePropertyNames([NativeTypeName("ULONG")] uint cpropid, [Nativ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT DeletePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid) + public HRESULT DeletePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid) { return ((delegate* unmanaged)(lpVtbl[8]))((IPropertyStorage*)Unsafe.AsPointer(ref this), cpropid, rgpropid); } @@ -142,22 +142,22 @@ public HRESULT Stat(STATPROPSETSTG* pstatpsstg) public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT ReadMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT []")] PROPVARIANT* rgpropvar); + HRESULT ReadMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT[]")] PROPVARIANT* rgpropvar); [VtblIndex(4)] - HRESULT WriteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("const PROPVARIANT []")] PROPVARIANT* rgpropvar, [NativeTypeName("PROPID")] uint propidNameFirst); + HRESULT WriteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("const PROPVARIANT[]")] PROPVARIANT* rgpropvar, [NativeTypeName("PROPID")] uint propidNameFirst); [VtblIndex(5)] - HRESULT DeleteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec); + HRESULT DeleteMultiple([NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec); [VtblIndex(6)] - HRESULT ReadPropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid, [NativeTypeName("LPOLESTR []")] ushort** rglpwstrName); + HRESULT ReadPropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid, [NativeTypeName("LPOLESTR[]")] ushort** rglpwstrName); [VtblIndex(7)] - HRESULT WritePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid, [NativeTypeName("const LPOLESTR []")] ushort** rglpwstrName); + HRESULT WritePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid, [NativeTypeName("const LPOLESTR[]")] ushort** rglpwstrName); [VtblIndex(8)] - HRESULT DeletePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID []")] uint* rgpropid); + HRESULT DeletePropertyNames([NativeTypeName("ULONG")] uint cpropid, [NativeTypeName("const PROPID[]")] uint* rgpropid); [VtblIndex(9)] HRESULT Commit([NativeTypeName("DWORD")] uint grfCommitFlags); diff --git a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs index fdd6280c36..df5eb86807 100644 --- a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs @@ -17,7 +17,7 @@ public partial struct PSAPI_WORKING_SET_INFORMATION public nuint NumberOfEntries; /// - [NativeTypeName("PSAPI_WORKING_SET_BLOCK [1]")] + [NativeTypeName("PSAPI_WORKING_SET_BLOCK[1]")] public _WorkingSetInfo_e__FixedBuffer WorkingSetInfo; /// diff --git a/sources/Interop/Windows/Windows/um/RestartManager/RM_PROCESS_INFO.cs b/sources/Interop/Windows/Windows/um/RestartManager/RM_PROCESS_INFO.cs index b403e08228..b7e0ac43b3 100644 --- a/sources/Interop/Windows/Windows/um/RestartManager/RM_PROCESS_INFO.cs +++ b/sources/Interop/Windows/Windows/um/RestartManager/RM_PROCESS_INFO.cs @@ -12,11 +12,11 @@ public unsafe partial struct RM_PROCESS_INFO public RM_UNIQUE_PROCESS Process; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort strAppName[256]; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort strServiceShortName[64]; /// diff --git a/sources/Interop/Windows/Windows/um/RestartManager/Windows.cs b/sources/Interop/Windows/Windows/um/RestartManager/Windows.cs index 5e38396945..c484e6cc90 100644 --- a/sources/Interop/Windows/Windows/um/RestartManager/Windows.cs +++ b/sources/Interop/Windows/Windows/um/RestartManager/Windows.cs @@ -12,12 +12,12 @@ public static unsafe partial class Windows /// [DllImport("rstrtmgr", ExactSpelling = true)] [return: NativeTypeName("DWORD")] - public static extern uint RmStartSession([NativeTypeName("DWORD *")] uint* pSessionHandle, [NativeTypeName("DWORD")] uint dwSessionFlags, [NativeTypeName("WCHAR []")] ushort* strSessionKey); + public static extern uint RmStartSession([NativeTypeName("DWORD *")] uint* pSessionHandle, [NativeTypeName("DWORD")] uint dwSessionFlags, [NativeTypeName("WCHAR[]")] ushort* strSessionKey); /// [DllImport("rstrtmgr", ExactSpelling = true)] [return: NativeTypeName("DWORD")] - public static extern uint RmJoinSession([NativeTypeName("DWORD *")] uint* pSessionHandle, [NativeTypeName("const WCHAR []")] ushort* strSessionKey); + public static extern uint RmJoinSession([NativeTypeName("DWORD *")] uint* pSessionHandle, [NativeTypeName("const WCHAR[]")] ushort* strSessionKey); /// [DllImport("rstrtmgr", ExactSpelling = true)] @@ -27,12 +27,12 @@ public static unsafe partial class Windows /// [DllImport("rstrtmgr", ExactSpelling = true)] [return: NativeTypeName("DWORD")] - public static extern uint RmRegisterResources([NativeTypeName("DWORD")] uint dwSessionHandle, uint nFiles, [NativeTypeName("LPCWSTR []")] ushort** rgsFileNames, uint nApplications, [NativeTypeName("RM_UNIQUE_PROCESS []")] RM_UNIQUE_PROCESS* rgApplications, uint nServices, [NativeTypeName("LPCWSTR []")] ushort** rgsServiceNames); + public static extern uint RmRegisterResources([NativeTypeName("DWORD")] uint dwSessionHandle, uint nFiles, [NativeTypeName("LPCWSTR[]")] ushort** rgsFileNames, uint nApplications, [NativeTypeName("RM_UNIQUE_PROCESS[]")] RM_UNIQUE_PROCESS* rgApplications, uint nServices, [NativeTypeName("LPCWSTR[]")] ushort** rgsServiceNames); /// [DllImport("rstrtmgr", ExactSpelling = true)] [return: NativeTypeName("DWORD")] - public static extern uint RmGetList([NativeTypeName("DWORD")] uint dwSessionHandle, uint* pnProcInfoNeeded, uint* pnProcInfo, [NativeTypeName("RM_PROCESS_INFO []")] RM_PROCESS_INFO* rgAffectedApps, [NativeTypeName("LPDWORD")] uint* lpdwRebootReasons); + public static extern uint RmGetList([NativeTypeName("DWORD")] uint dwSessionHandle, uint* pnProcInfoNeeded, uint* pnProcInfo, [NativeTypeName("RM_PROCESS_INFO[]")] RM_PROCESS_INFO* rgAffectedApps, [NativeTypeName("LPDWORD")] uint* lpdwRebootReasons); /// [DllImport("rstrtmgr", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/Windows.cs b/sources/Interop/Windows/Windows/um/SetupAPI/Windows.cs index 91013f4943..d31460ad3d 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/Windows.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/Windows.cs @@ -860,12 +860,12 @@ public static unsafe partial class Windows public static extern void SetupSetThreadLogToken([NativeTypeName("SP_LOG_TOKEN")] ulong LogToken); /// - [DllImport("setupapi", ExactSpelling = true)] - public static extern void SetupWriteTextLog([NativeTypeName("SP_LOG_TOKEN")] ulong LogToken, [NativeTypeName("DWORD")] uint Category, [NativeTypeName("DWORD")] uint Flags, [NativeTypeName("PCSTR")] sbyte* MessageStr); + [DllImport("setupapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + public static extern void SetupWriteTextLog([NativeTypeName("SP_LOG_TOKEN")] ulong LogToken, [NativeTypeName("DWORD")] uint Category, [NativeTypeName("DWORD")] uint Flags, [NativeTypeName("PCSTR")] sbyte* MessageStr, __arglist); /// - [DllImport("setupapi", ExactSpelling = true)] - public static extern void SetupWriteTextLogError([NativeTypeName("SP_LOG_TOKEN")] ulong LogToken, [NativeTypeName("DWORD")] uint Category, [NativeTypeName("DWORD")] uint LogFlags, [NativeTypeName("DWORD")] uint Error, [NativeTypeName("PCSTR")] sbyte* MessageStr); + [DllImport("setupapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + public static extern void SetupWriteTextLogError([NativeTypeName("SP_LOG_TOKEN")] ulong LogToken, [NativeTypeName("DWORD")] uint Category, [NativeTypeName("DWORD")] uint LogFlags, [NativeTypeName("DWORD")] uint Error, [NativeTypeName("PCSTR")] sbyte* MessageStr, __arglist); /// [DllImport("setupapi", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/CATEGORY_INFO.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/CATEGORY_INFO.cs index cc864fe768..33fff23a89 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/CATEGORY_INFO.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/CATEGORY_INFO.cs @@ -12,6 +12,6 @@ public unsafe partial struct CATEGORY_INFO public CATEGORYINFO_FLAGS cif; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszName[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/CM_COLUMNINFO.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/CM_COLUMNINFO.cs index 9d5a6cae11..76b16ee4da 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/CM_COLUMNINFO.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/CM_COLUMNINFO.cs @@ -30,6 +30,6 @@ public unsafe partial struct CM_COLUMNINFO public uint uIdealWidth; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort wszName[80]; } diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DELEGATEITEMID.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DELEGATEITEMID.cs index 3780422684..611f3cba63 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DELEGATEITEMID.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DELEGATEITEMID.cs @@ -24,6 +24,6 @@ public unsafe partial struct DELEGATEITEMID public ushort cbInner; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte rgb[1]; } diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DESKBANDINFO.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DESKBANDINFO.cs index 842bc5bc0c..fa787223ca 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DESKBANDINFO.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DESKBANDINFO.cs @@ -25,7 +25,7 @@ public unsafe partial struct DESKBANDINFO public POINTL ptActual; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort wszTitle[256]; /// diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/EXTRASEARCH.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/EXTRASEARCH.cs index c5d3da2774..51aa360921 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/EXTRASEARCH.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/EXTRASEARCH.cs @@ -14,10 +14,10 @@ public unsafe partial struct EXTRASEARCH public Guid guidSearch; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort wszFriendlyName[80]; /// - [NativeTypeName("WCHAR [2084]")] + [NativeTypeName("WCHAR[2084]")] public fixed ushort wszUrl[2084]; } diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs index 32a41b83be..cf62f910d6 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs @@ -174,6 +174,7 @@ public HRESULT GetGroupBy(PROPERTYKEY* pkey, BOOL* pfAscending) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] + [Obsolete] public HRESULT SetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("const PROPERTYKEY &")] PROPERTYKEY* propkey, [NativeTypeName("const PROPVARIANT &")] PROPVARIANT* propvar) { return ((delegate* unmanaged)(lpVtbl[19]))((IFolderView2*)Unsafe.AsPointer(ref this), pidl, propkey, propvar); @@ -182,6 +183,7 @@ public HRESULT SetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] + [Obsolete] public HRESULT GetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("const PROPERTYKEY &")] PROPERTYKEY* propkey, PROPVARIANT* ppropvar) { return ((delegate* unmanaged)(lpVtbl[20]))((IFolderView2*)Unsafe.AsPointer(ref this), pidl, propkey, ppropvar); @@ -190,6 +192,7 @@ public HRESULT GetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] + [Obsolete] public HRESULT SetTileViewProperties([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("LPCWSTR")] ushort* pszPropList) { return ((delegate* unmanaged)(lpVtbl[21]))((IFolderView2*)Unsafe.AsPointer(ref this), pidl, pszPropList); @@ -198,6 +201,7 @@ public HRESULT SetTileViewProperties([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIS /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] + [Obsolete] public HRESULT SetExtendedTileViewProperties([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("LPCWSTR")] ushort* pszPropList) { return ((delegate* unmanaged)(lpVtbl[22]))((IFolderView2*)Unsafe.AsPointer(ref this), pidl, pszPropList); @@ -364,15 +368,19 @@ public interface Interface : IFolderView.Interface HRESULT GetGroupBy(PROPERTYKEY* pkey, BOOL* pfAscending); [VtblIndex(19)] + [Obsolete] HRESULT SetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("const PROPERTYKEY &")] PROPERTYKEY* propkey, [NativeTypeName("const PROPVARIANT &")] PROPVARIANT* propvar); [VtblIndex(20)] + [Obsolete] HRESULT GetViewProperty([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("const PROPERTYKEY &")] PROPERTYKEY* propkey, PROPVARIANT* ppropvar); [VtblIndex(21)] + [Obsolete] HRESULT SetTileViewProperties([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("LPCWSTR")] ushort* pszPropList); [VtblIndex(22)] + [Obsolete] HRESULT SetExtendedTileViewProperties([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST* pidl, [NativeTypeName("LPCWSTR")] ushort* pszPropList); [VtblIndex(23)] @@ -494,15 +502,19 @@ public partial struct Vtbl public delegate* unmanaged GetGroupBy; [NativeTypeName("HRESULT (LPCITEMIDLIST, const PROPERTYKEY &, const PROPVARIANT &) __attribute__((stdcall))")] + [Obsolete] public delegate* unmanaged SetViewProperty; [NativeTypeName("HRESULT (LPCITEMIDLIST, const PROPERTYKEY &, PROPVARIANT *) __attribute__((stdcall))")] + [Obsolete] public delegate* unmanaged GetViewProperty; [NativeTypeName("HRESULT (LPCITEMIDLIST, LPCWSTR) __attribute__((stdcall))")] + [Obsolete] public delegate* unmanaged SetTileViewProperties; [NativeTypeName("HRESULT (LPCITEMIDLIST, LPCWSTR) __attribute__((stdcall))")] + [Obsolete] public delegate* unmanaged SetExtendedTileViewProperties; [NativeTypeName("HRESULT (FVTEXTTYPE, LPCWSTR) __attribute__((stdcall))")] diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PERSIST_FOLDER_TARGET_INFO.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PERSIST_FOLDER_TARGET_INFO.cs index 458940126c..c7d519cd54 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PERSIST_FOLDER_TARGET_INFO.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PERSIST_FOLDER_TARGET_INFO.cs @@ -13,11 +13,11 @@ public unsafe partial struct PERSIST_FOLDER_TARGET_INFO public ITEMIDLIST* pidlTargetFolder; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szTargetParsingName[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szNetworkProvider[260]; /// diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SHELL_ITEM_RESOURCE.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SHELL_ITEM_RESOURCE.cs index 0fb4b75526..36fc12383d 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SHELL_ITEM_RESOURCE.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SHELL_ITEM_RESOURCE.cs @@ -14,6 +14,6 @@ public unsafe partial struct SHELL_ITEM_RESOURCE public Guid guidType; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szName[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/THUMBBUTTON.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/THUMBBUTTON.cs index 05d2fbf39b..6c02ac6073 100644 --- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/THUMBBUTTON.cs +++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/THUMBBUTTON.cs @@ -21,7 +21,7 @@ public unsafe partial struct THUMBBUTTON public HICON hIcon; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szTip[260]; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj/AASHELLMENUFILENAME.cs b/sources/Interop/Windows/Windows/um/ShlObj/AASHELLMENUFILENAME.cs index 77cab2b21b..65eab9d012 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/AASHELLMENUFILENAME.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/AASHELLMENUFILENAME.cs @@ -12,10 +12,10 @@ public unsafe partial struct AASHELLMENUFILENAME public short cbTotal; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte rgbReserved[12]; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort szFileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNDATA.cs b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNDATA.cs index 7334a437ab..57358ad754 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNDATA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNDATA.cs @@ -25,6 +25,6 @@ public unsafe partial struct SHCOLUMNDATA public ushort* pwszExt; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszFile[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINFO.cs b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINFO.cs index ce9c3a9500..1c0aaa1059 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINFO.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINFO.cs @@ -31,10 +31,10 @@ public unsafe partial struct SHCOLUMNINFO public uint csFlags; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort wszTitle[80]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort wszDescription[128]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINIT.cs b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINIT.cs index 19447e1c8b..f95fbf4e8c 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINIT.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/SHCOLUMNINIT.cs @@ -17,6 +17,6 @@ public unsafe partial struct SHCOLUMNINIT public uint dwReserved; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszFolder[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj/SHChangeProductKeyAsIDList.cs b/sources/Interop/Windows/Windows/um/ShlObj/SHChangeProductKeyAsIDList.cs index 5ac98a48b5..2840c6c146 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/SHChangeProductKeyAsIDList.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/SHChangeProductKeyAsIDList.cs @@ -15,7 +15,7 @@ public unsafe partial struct SHChangeProductKeyAsIDList public ushort cb; /// - [NativeTypeName("WCHAR [39]")] + [NativeTypeName("WCHAR[39]")] public fixed ushort wszProductKey[39]; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj/Windows.cs b/sources/Interop/Windows/Windows/um/ShlObj/Windows.cs index 46f0b933f3..d173a62e83 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj/Windows.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj/Windows.cs @@ -32,7 +32,7 @@ public static unsafe partial class Windows /// [DllImport("shell32", ExactSpelling = true)] - public static extern BOOL SHOpenPropSheetW([NativeTypeName("LPCWSTR")] ushort* pszCaption, [NativeTypeName("HKEY []")] HKEY* ahkeys, uint ckeys, [NativeTypeName("const CLSID *")] Guid* pclsidDefault, IDataObject* pdtobj, IShellBrowser* psb, [NativeTypeName("LPCWSTR")] ushort* pStartPage); + public static extern BOOL SHOpenPropSheetW([NativeTypeName("LPCWSTR")] ushort* pszCaption, [NativeTypeName("HKEY[]")] HKEY* ahkeys, uint ckeys, [NativeTypeName("const CLSID *")] Guid* pclsidDefault, IDataObject* pdtobj, IShellBrowser* psb, [NativeTypeName("LPCWSTR")] ushort* pStartPage); /// [DllImport("shdocvw", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs index 3f31633b15..3c8337a7bf 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs @@ -24,11 +24,11 @@ public unsafe partial struct AUTO_SCROLL_DATA public BOOL bFull; /// - [NativeTypeName("POINT [3]")] + [NativeTypeName("POINT[3]")] public _pts_e__FixedBuffer pts; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dwTimes[3]; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/CIDA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/CIDA.cs index 494590268e..e53ee5a332 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/CIDA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/CIDA.cs @@ -15,6 +15,6 @@ public unsafe partial struct CIDA public uint cidl; /// - [NativeTypeName("UINT [1]")] + [NativeTypeName("UINT[1]")] public fixed uint aoffset[1]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/DROPDESCRIPTION.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/DROPDESCRIPTION.cs index e850afad3b..02e63572cc 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/DROPDESCRIPTION.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/DROPDESCRIPTION.cs @@ -15,10 +15,10 @@ public unsafe partial struct DROPDESCRIPTION public DROPIMAGETYPE type; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szMessage[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szInsert[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_DARWIN_LINK.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_DARWIN_LINK.cs index ff0fdc866a..7f13d14b4b 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_DARWIN_LINK.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_DARWIN_LINK.cs @@ -15,10 +15,10 @@ public unsafe partial struct EXP_DARWIN_LINK public DATABLOCK_HEADER dbh; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte szDarwinID[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szwDarwinID[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_PROPERTYSTORAGE.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_PROPERTYSTORAGE.cs index 33594ae2ef..88cc1547d1 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_PROPERTYSTORAGE.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_PROPERTYSTORAGE.cs @@ -20,6 +20,6 @@ public unsafe partial struct EXP_PROPERTYSTORAGE public uint dwSignature; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte abPropertyStorage[1]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_SZ_LINK.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_SZ_LINK.cs index 49da75f2c3..50ff12547c 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_SZ_LINK.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/EXP_SZ_LINK.cs @@ -20,10 +20,10 @@ public unsafe partial struct EXP_SZ_LINK public uint dwSignature; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte szTarget[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort swzTarget[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORA.cs index 07aa8a6826..802d69a134 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORA.cs @@ -49,6 +49,6 @@ public unsafe partial struct FILEDESCRIPTORA public uint nFileSizeLow; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte cFileName[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORW.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORW.cs index 93d03b7374..2ceba4f0f0 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORW.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEDESCRIPTORW.cs @@ -49,6 +49,6 @@ public unsafe partial struct FILEDESCRIPTORW public uint nFileSizeLow; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort cFileName[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs index eabf1a0ef3..740e7857a4 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs @@ -17,7 +17,7 @@ public partial struct FILEGROUPDESCRIPTORA public uint cItems; /// - [NativeTypeName("FILEDESCRIPTORA [1]")] + [NativeTypeName("FILEDESCRIPTORA[1]")] public _fgd_e__FixedBuffer fgd; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs index 8d4a8a01a6..cd484e9ecf 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs @@ -17,7 +17,7 @@ public partial struct FILEGROUPDESCRIPTORW public uint cItems; /// - [NativeTypeName("FILEDESCRIPTORW [1]")] + [NativeTypeName("FILEDESCRIPTORW[1]")] public _fgd_e__FixedBuffer fgd; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILE_ATTRIBUTES_ARRAY.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILE_ATTRIBUTES_ARRAY.cs index a33eb0e89f..af3958748c 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILE_ATTRIBUTES_ARRAY.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILE_ATTRIBUTES_ARRAY.cs @@ -23,6 +23,6 @@ public unsafe partial struct FILE_ATTRIBUTES_ARRAY public uint dwProductFileAttributes; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint rgdwFileAttributes[1]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs index 92ad407841..82dc04d57d 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs @@ -16,7 +16,7 @@ public partial struct NRESARRAY public uint cItems; /// - [NativeTypeName("NETRESOURCE [1]")] + [NativeTypeName("NETRESOURCE[1]")] public _nr_e__FixedBuffer nr; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs index 2155921bf3..ba3c6e48e4 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs @@ -51,7 +51,7 @@ public unsafe partial struct NT_CONSOLE_PROPS public uint uFontWeight; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort FaceName[32]; /// @@ -79,7 +79,7 @@ public unsafe partial struct NT_CONSOLE_PROPS public BOOL bHistoryNoDup; /// - [NativeTypeName("COLORREF [16]")] + [NativeTypeName("COLORREF[16]")] public _ColorTable_e__FixedBuffer ColorTable; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/PROPPRG.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/PROPPRG.cs index aea9628eae..9bb624b61d 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/PROPPRG.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/PROPPRG.cs @@ -20,15 +20,15 @@ public unsafe partial struct PROPPRG public ushort flPrgInit; /// - [NativeTypeName("CHAR [30]")] + [NativeTypeName("CHAR[30]")] public fixed sbyte achTitle[30]; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte achCmdLine[128]; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte achWorkDir[64]; /// @@ -36,7 +36,7 @@ public unsafe partial struct PROPPRG public ushort wHotKey; /// - [NativeTypeName("CHAR [80]")] + [NativeTypeName("CHAR[80]")] public fixed sbyte achIconFile[80]; /// @@ -52,10 +52,10 @@ public unsafe partial struct PROPPRG public uint dwRealModeFlags; /// - [NativeTypeName("CHAR [80]")] + [NativeTypeName("CHAR[80]")] public fixed sbyte achOtherFile[80]; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte achPIFFile[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs index 7e2fb3e6af..957e3d0243 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs @@ -16,7 +16,7 @@ public partial struct QCMINFO_IDMAP public uint nMaxIds; /// - [NativeTypeName("QCMINFO_IDMAP_PLACEMENT [1]")] + [NativeTypeName("QCMINFO_IDMAP_PLACEMENT[1]")] public _pIdList_e__FixedBuffer pIdList; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/SFVM_HELPTOPIC_DATA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/SFVM_HELPTOPIC_DATA.cs index 4579cc90bf..cf22f9d0c9 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/SFVM_HELPTOPIC_DATA.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/SFVM_HELPTOPIC_DATA.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SFVM_HELPTOPIC_DATA { /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszHelpFile[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszHelpTopic[260]; } diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/SHChangeUpdateImageIDList.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/SHChangeUpdateImageIDList.cs index 141eabb813..ac2269a174 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/SHChangeUpdateImageIDList.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/SHChangeUpdateImageIDList.cs @@ -28,7 +28,7 @@ public unsafe partial struct SHChangeUpdateImageIDList public uint dwProcessID; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szName[260]; /// diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/Windows.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/Windows.cs index b86b1e23a6..23fe434942 100644 --- a/sources/Interop/Windows/Windows/um/ShlObj_core/Windows.cs +++ b/sources/Interop/Windows/Windows/um/ShlObj_core/Windows.cs @@ -303,7 +303,7 @@ public static unsafe partial class Windows /// [DllImport("shell32", ExactSpelling = true)] - public static extern HRESULT SHCreateStdEnumFmtEtc(uint cfmt, [NativeTypeName("const FORMATETC []")] FORMATETC* afmt, IEnumFORMATETC** ppenumFormatEtc); + public static extern HRESULT SHCreateStdEnumFmtEtc(uint cfmt, [NativeTypeName("const FORMATETC[]")] FORMATETC* afmt, IEnumFORMATETC** ppenumFormatEtc); /// [DllImport("shell32", ExactSpelling = true)] @@ -572,11 +572,11 @@ public static BOOL IDListContainerIsConsistent([NativeTypeName("LPCITEMIDLIST")] /// [DllImport("shell32", ExactSpelling = true)] - public static extern HRESULT SHPropStgReadMultiple(IPropertyStorage* pps, uint uCodePage, [NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT []")] PROPVARIANT* rgvar); + public static extern HRESULT SHPropStgReadMultiple(IPropertyStorage* pps, uint uCodePage, [NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT[]")] PROPVARIANT* rgvar); /// [DllImport("shell32", ExactSpelling = true)] - public static extern HRESULT SHPropStgWriteMultiple(IPropertyStorage* pps, uint* puCodePage, [NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC []")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT []")] PROPVARIANT* rgvar, [NativeTypeName("PROPID")] uint propidNameFirst); + public static extern HRESULT SHPropStgWriteMultiple(IPropertyStorage* pps, uint* puCodePage, [NativeTypeName("ULONG")] uint cpspec, [NativeTypeName("const PROPSPEC[]")] PROPSPEC* rgpspec, [NativeTypeName("PROPVARIANT[]")] PROPVARIANT* rgvar, [NativeTypeName("PROPID")] uint propidNameFirst); /// [DllImport("shell32", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs new file mode 100644 index 0000000000..f11f0872c9 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/Shlwapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.InteropServices; +using System.Runtime.Versioning; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class Windows +{ + /// + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "wnsprintfW", ExactSpelling = true)] + public static extern int wnsprintf([NativeTypeName("PWSTR")] ushort* pszDest, int cchDest, [NativeTypeName("PCWSTR")] ushort* pszFmt, __arglist); + + /// + [DllImport("user32", CallingConvention = CallingConvention.Cdecl, EntryPoint = "wsprintfW", ExactSpelling = true)] + [SetsLastSystemError] + public static extern int wsprintf([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1, __arglist); +} diff --git a/sources/Interop/Windows/Windows/um/Shlwapi/Windows.cs b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.cs index 19c537043f..050fd80408 100644 --- a/sources/Interop/Windows/Windows/um/Shlwapi/Windows.cs +++ b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.cs @@ -298,12 +298,12 @@ public static unsafe partial class Windows public static extern int wvnsprintfW([NativeTypeName("PWSTR")] ushort* pszDest, int cchDest, [NativeTypeName("PCWSTR")] ushort* pszFmt, [NativeTypeName("va_list")] sbyte* arglist); /// - [DllImport("shlwapi", ExactSpelling = true)] - public static extern int wnsprintfA([NativeTypeName("PSTR")] sbyte* pszDest, int cchDest, [NativeTypeName("PCSTR")] sbyte* pszFmt); + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + public static extern int wnsprintfA([NativeTypeName("PSTR")] sbyte* pszDest, int cchDest, [NativeTypeName("PCSTR")] sbyte* pszFmt, __arglist); /// - [DllImport("shlwapi", ExactSpelling = true)] - public static extern int wnsprintfW([NativeTypeName("PWSTR")] ushort* pszDest, int cchDest, [NativeTypeName("PCWSTR")] ushort* pszFmt); + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + public static extern int wnsprintfW([NativeTypeName("PWSTR")] ushort* pszDest, int cchDest, [NativeTypeName("PCWSTR")] ushort* pszFmt, __arglist); /// [DllImport("shlwapi", ExactSpelling = true)] @@ -1680,9 +1680,6 @@ public static HRESULT SHLocalStrDupA([NativeTypeName("PCSTR")] sbyte* psz, [Nati [NativeTypeName("#define wvnsprintf wvnsprintfW")] public static delegate* wvnsprintf => &wvnsprintfW; - [NativeTypeName("#define wnsprintf wnsprintfW")] - public static delegate* wnsprintf => &wnsprintfW; - [NativeTypeName("#define StrIsIntlEqual StrIsIntlEqualW")] public static delegate* StrIsIntlEqual => &StrIsIntlEqualW; diff --git a/sources/Interop/Windows/Windows/um/SoftPub/DRIVER_VER_INFO.cs b/sources/Interop/Windows/Windows/um/SoftPub/DRIVER_VER_INFO.cs index ea2da3d98d..0b9d9683ad 100644 --- a/sources/Interop/Windows/Windows/um/SoftPub/DRIVER_VER_INFO.cs +++ b/sources/Interop/Windows/Windows/um/SoftPub/DRIVER_VER_INFO.cs @@ -29,11 +29,11 @@ public unsafe partial struct DRIVER_VER_INFO public uint dwVersion; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszVersion[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszSignedBy[260]; /// diff --git a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOA.cs b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOA.cs index 36d8abd8f6..7c1a9ad662 100644 --- a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOA.cs +++ b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOA.cs @@ -24,6 +24,6 @@ public unsafe partial struct RESTOREPOINTINFOA public long llSequenceNumber; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szDescription[64]; } diff --git a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOEX.cs b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOEX.cs index f2765ca2cf..0d7824a41e 100644 --- a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOEX.cs +++ b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOEX.cs @@ -27,6 +27,6 @@ public unsafe partial struct RESTOREPOINTINFOEX public uint dwRPNum; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort szDescription[256]; } diff --git a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOW.cs b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOW.cs index f9c96aa8af..d7ac4e9c8a 100644 --- a/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOW.cs +++ b/sources/Interop/Windows/Windows/um/SrRestorePtApi/RESTOREPOINTINFOW.cs @@ -24,6 +24,6 @@ public unsafe partial struct RESTOREPOINTINFOW public long llSequenceNumber; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort szDescription[256]; } diff --git a/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32.cs b/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32.cs index 8650e6e158..077ae9f13e 100644 --- a/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32.cs +++ b/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32.cs @@ -39,10 +39,10 @@ public unsafe partial struct MODULEENTRY32 public HMODULE hModule; /// - [NativeTypeName("char [256]")] + [NativeTypeName("char[256]")] public fixed sbyte szModule[256]; /// - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte szExePath[260]; } diff --git a/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32W.cs b/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32W.cs index 97f6360c84..b877365f77 100644 --- a/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32W.cs +++ b/sources/Interop/Windows/Windows/um/TlHelp32/MODULEENTRY32W.cs @@ -39,10 +39,10 @@ public unsafe partial struct MODULEENTRY32W public HMODULE hModule; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort szModule[256]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szExePath[260]; } diff --git a/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32.cs b/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32.cs index ad2d90817d..5542f2bc2c 100644 --- a/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32.cs +++ b/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32.cs @@ -45,6 +45,6 @@ public unsafe partial struct PROCESSENTRY32 public uint dwFlags; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte szExeFile[260]; } diff --git a/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32W.cs b/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32W.cs index 5e0b26d9c3..b538f74491 100644 --- a/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32W.cs +++ b/sources/Interop/Windows/Windows/um/TlHelp32/PROCESSENTRY32W.cs @@ -45,6 +45,6 @@ public unsafe partial struct PROCESSENTRY32W public uint dwFlags; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szExeFile[260]; } diff --git a/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTA.cs b/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTA.cs index edd8f5caa4..44d30e2508 100644 --- a/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTA.cs +++ b/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTA.cs @@ -29,7 +29,7 @@ public unsafe partial struct GROUP_POLICY_OBJECTA public sbyte* lpDisplayName; /// - [NativeTypeName("CHAR [50]")] + [NativeTypeName("CHAR[50]")] public fixed sbyte szGPOName[50]; /// diff --git a/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTW.cs b/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTW.cs index 468a832bf0..c13d12f95b 100644 --- a/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTW.cs +++ b/sources/Interop/Windows/Windows/um/UserEnv/GROUP_POLICY_OBJECTW.cs @@ -29,7 +29,7 @@ public unsafe partial struct GROUP_POLICY_OBJECTW public ushort* lpDisplayName; /// - [NativeTypeName("WCHAR [50]")] + [NativeTypeName("WCHAR[50]")] public fixed ushort szGPOName[50]; /// diff --git a/sources/Interop/Windows/Windows/um/Uxtheme/INTLIST.cs b/sources/Interop/Windows/Windows/um/Uxtheme/INTLIST.cs index 75f1831705..e77e4964a3 100644 --- a/sources/Interop/Windows/Windows/um/Uxtheme/INTLIST.cs +++ b/sources/Interop/Windows/Windows/um/Uxtheme/INTLIST.cs @@ -12,6 +12,6 @@ public unsafe partial struct INTLIST public int iValueCount; /// - [NativeTypeName("int [402]")] + [NativeTypeName("int[402]")] public fixed int iValues[402]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/COMMCONFIG.cs b/sources/Interop/Windows/Windows/um/WinBase/COMMCONFIG.cs index bfe6360a2d..3cd17cfeb3 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/COMMCONFIG.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/COMMCONFIG.cs @@ -36,6 +36,6 @@ public unsafe partial struct COMMCONFIG public uint dwProviderSize; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort wcProviderData[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/COMMPROP.cs b/sources/Interop/Windows/Windows/um/WinBase/COMMPROP.cs index 8413a39112..3731d521ba 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/COMMPROP.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/COMMPROP.cs @@ -77,6 +77,6 @@ public unsafe partial struct COMMPROP public uint dwProvSpec2; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort wcProvChar[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/COPYFILE2_EXTENDED_PARAMETERS_V2.cs b/sources/Interop/Windows/Windows/um/WinBase/COPYFILE2_EXTENDED_PARAMETERS_V2.cs index 2fa8486d15..a0160e1643 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/COPYFILE2_EXTENDED_PARAMETERS_V2.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/COPYFILE2_EXTENDED_PARAMETERS_V2.cs @@ -42,7 +42,7 @@ public unsafe partial struct COPYFILE2_EXTENDED_PARAMETERS_V2 public uint ioDesiredRate; /// - [NativeTypeName("PVOID [8]")] + [NativeTypeName("PVOID[8]")] public _reserved_e__FixedBuffer reserved; /// diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_COMPRESSION_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_COMPRESSION_INFO.cs index 01d13619ba..20da66090a 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_COMPRESSION_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_COMPRESSION_INFO.cs @@ -28,6 +28,6 @@ public unsafe partial struct FILE_COMPRESSION_INFO public byte ClusterShift; /// - [NativeTypeName("UCHAR [3]")] + [NativeTypeName("UCHAR[3]")] public fixed byte Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_FULL_DIR_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_FULL_DIR_INFO.cs index a0d44d5359..8ad14561b8 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_FULL_DIR_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_FULL_DIR_INFO.cs @@ -50,6 +50,6 @@ public unsafe partial struct FILE_FULL_DIR_INFO public uint EaSize; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_BOTH_DIR_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_BOTH_DIR_INFO.cs index 58d3ccf039..3e43cb884b 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_BOTH_DIR_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_BOTH_DIR_INFO.cs @@ -51,13 +51,13 @@ public unsafe partial struct FILE_ID_BOTH_DIR_INFO public sbyte ShortNameLength; /// - [NativeTypeName("WCHAR [12]")] + [NativeTypeName("WCHAR[12]")] public fixed ushort ShortName[12]; /// public LARGE_INTEGER FileId; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_EXTD_DIR_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_EXTD_DIR_INFO.cs index 33eb63348d..b05bf1c07c 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_EXTD_DIR_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_EXTD_DIR_INFO.cs @@ -54,6 +54,6 @@ public unsafe partial struct FILE_ID_EXTD_DIR_INFO public FILE_ID_128 FileId; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_NAME_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_NAME_INFO.cs index 9f5a7821f7..7f1605c955 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_NAME_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_NAME_INFO.cs @@ -13,6 +13,6 @@ public unsafe partial struct FILE_NAME_INFO public uint FileNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_REMOTE_PROTOCOL_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_REMOTE_PROTOCOL_INFO.cs index 7c977036ed..a623847e7d 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_REMOTE_PROTOCOL_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_REMOTE_PROTOCOL_INFO.cs @@ -48,7 +48,7 @@ public partial struct FILE_REMOTE_PROTOCOL_INFO public unsafe partial struct _GenericReserved_e__Struct { /// - [NativeTypeName("ULONG [8]")] + [NativeTypeName("ULONG[8]")] public fixed uint Reserved[8]; } @@ -63,7 +63,7 @@ public unsafe partial struct _ProtocolSpecific_e__Union /// [FieldOffset(0)] - [NativeTypeName("ULONG [16]")] + [NativeTypeName("ULONG[16]")] public fixed uint Reserved[16]; /// diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs index 86b8096419..60718444e4 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs @@ -23,7 +23,7 @@ public unsafe partial struct FILE_RENAME_INFO public uint FileNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; /// diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_STREAM_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_STREAM_INFO.cs index 95cf2885fc..0761253860 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/FILE_STREAM_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_STREAM_INFO.cs @@ -23,6 +23,6 @@ public unsafe partial struct FILE_STREAM_INFO public LARGE_INTEGER StreamAllocationSize; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort StreamName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOA.cs b/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOA.cs index 3da4204318..f77a6fa237 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOA.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOA.cs @@ -13,10 +13,10 @@ public unsafe partial struct HW_PROFILE_INFOA public uint dwDockInfo; /// - [NativeTypeName("CHAR [39]")] + [NativeTypeName("CHAR[39]")] public fixed sbyte szHwProfileGuid[39]; /// - [NativeTypeName("CHAR [80]")] + [NativeTypeName("CHAR[80]")] public fixed sbyte szHwProfileName[80]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOW.cs b/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOW.cs index 58027dc8a5..c809011927 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOW.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/HW_PROFILE_INFOW.cs @@ -13,10 +13,10 @@ public unsafe partial struct HW_PROFILE_INFOW public uint dwDockInfo; /// - [NativeTypeName("WCHAR [39]")] + [NativeTypeName("WCHAR[39]")] public fixed ushort szHwProfileGuid[39]; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort szHwProfileName[80]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/OFSTRUCT.cs b/sources/Interop/Windows/Windows/um/WinBase/OFSTRUCT.cs index 366677f384..796a4ed1d2 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/OFSTRUCT.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/OFSTRUCT.cs @@ -27,6 +27,6 @@ public unsafe partial struct OFSTRUCT public ushort Reserved2; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte szPathName[128]; } diff --git a/sources/Interop/Windows/Windows/um/WinBase/WIN32_STREAM_ID.cs b/sources/Interop/Windows/Windows/um/WinBase/WIN32_STREAM_ID.cs index bca925d165..f47807f1f3 100644 --- a/sources/Interop/Windows/Windows/um/WinBase/WIN32_STREAM_ID.cs +++ b/sources/Interop/Windows/Windows/um/WinBase/WIN32_STREAM_ID.cs @@ -24,6 +24,6 @@ public unsafe partial struct WIN32_STREAM_ID public uint dwStreamNameSize; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort cStreamName[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinTrust/WIN_CERTIFICATE.cs b/sources/Interop/Windows/Windows/um/WinTrust/WIN_CERTIFICATE.cs index 047669073f..2831be03fd 100644 --- a/sources/Interop/Windows/Windows/um/WinTrust/WIN_CERTIFICATE.cs +++ b/sources/Interop/Windows/Windows/um/WinTrust/WIN_CERTIFICATE.cs @@ -21,6 +21,6 @@ public unsafe partial struct WIN_CERTIFICATE public ushort wCertificateType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bCertificate[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOA.cs b/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOA.cs index 11eba85c2a..7b9799c56c 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOA.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOA.cs @@ -27,6 +27,6 @@ public unsafe partial struct HELPWININFOA public int wMax; /// - [NativeTypeName("CHAR [2]")] + [NativeTypeName("CHAR[2]")] public fixed sbyte rgchMember[2]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOW.cs b/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOW.cs index 7b021f20bd..b188895a6c 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOW.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/HELPWININFOW.cs @@ -27,6 +27,6 @@ public unsafe partial struct HELPWININFOW public int wMax; /// - [NativeTypeName("WCHAR [2]")] + [NativeTypeName("WCHAR[2]")] public fixed ushort rgchMember[2]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXA.cs b/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXA.cs index 4d7dd0082b..429897c7d2 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXA.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXA.cs @@ -34,10 +34,10 @@ public unsafe partial struct ICONINFOEXA public ushort wResID; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte szModName[260]; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte szResName[260]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXW.cs b/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXW.cs index 1bd889f108..cdb71fd8ca 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXW.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/ICONINFOEXW.cs @@ -34,10 +34,10 @@ public unsafe partial struct ICONINFOEXW public ushort wResID; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szModName[260]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szResName[260]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/INPUT_TRANSFORM.cs b/sources/Interop/Windows/Windows/um/WinUser/INPUT_TRANSFORM.cs index 89c41dcf2f..d6ccab2b2d 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/INPUT_TRANSFORM.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/INPUT_TRANSFORM.cs @@ -197,7 +197,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("float [4][4]")] + [NativeTypeName("float[4][4]")] public fixed float m[4 * 4]; /// diff --git a/sources/Interop/Windows/Windows/um/WinUser/MENUITEMTEMPLATE.cs b/sources/Interop/Windows/Windows/um/WinUser/MENUITEMTEMPLATE.cs index 5d10fa7c03..069a65da3c 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/MENUITEMTEMPLATE.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/MENUITEMTEMPLATE.cs @@ -17,6 +17,6 @@ public unsafe partial struct MENUITEMTEMPLATE public ushort mtID; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort mtString[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXA.cs b/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXA.cs index e15bfc1ae8..a9bae140de 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXA.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXA.cs @@ -13,6 +13,6 @@ public unsafe partial struct MONITORINFOEXA public MONITORINFO Base; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szDevice[32]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXW.cs b/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXW.cs index 3431df9ee1..0494a71734 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXW.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/MONITORINFOEXW.cs @@ -13,6 +13,6 @@ public unsafe partial struct MONITORINFOEXW public MONITORINFO Base; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szDevice[32]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPA.cs b/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPA.cs index a56dfb7a26..fa2d3117e5 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPA.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPA.cs @@ -17,6 +17,6 @@ public unsafe partial struct MULTIKEYHELPA public sbyte mkKeylist; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte szKeyphrase[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPW.cs b/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPW.cs index efdc79350f..16061dcada 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPW.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/MULTIKEYHELPW.cs @@ -17,6 +17,6 @@ public unsafe partial struct MULTIKEYHELPW public ushort mkKeylist; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort szKeyphrase[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/NCCALCSIZE_PARAMS.cs b/sources/Interop/Windows/Windows/um/WinUser/NCCALCSIZE_PARAMS.cs index 11405b8792..77c91a14be 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/NCCALCSIZE_PARAMS.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/NCCALCSIZE_PARAMS.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct NCCALCSIZE_PARAMS { /// - [NativeTypeName("RECT [3]")] + [NativeTypeName("RECT[3]")] public _rgrc_e__FixedBuffer rgrc; /// diff --git a/sources/Interop/Windows/Windows/um/WinUser/PAINTSTRUCT.cs b/sources/Interop/Windows/Windows/um/WinUser/PAINTSTRUCT.cs index c5f8f778e5..bee21ae224 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/PAINTSTRUCT.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/PAINTSTRUCT.cs @@ -24,6 +24,6 @@ public unsafe partial struct PAINTSTRUCT public BOOL fIncUpdate; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte rgbReserved[32]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/POINTER_DEVICE_INFO.cs b/sources/Interop/Windows/Windows/um/WinUser/POINTER_DEVICE_INFO.cs index 76100eb264..13adb7c14c 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/POINTER_DEVICE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/POINTER_DEVICE_INFO.cs @@ -32,6 +32,6 @@ public unsafe partial struct POINTER_DEVICE_INFO public ushort maxActiveContacts; /// - [NativeTypeName("WCHAR [520]")] + [NativeTypeName("WCHAR[520]")] public fixed ushort productString[520]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/POWERBROADCAST_SETTING.cs b/sources/Interop/Windows/Windows/um/WinUser/POWERBROADCAST_SETTING.cs index 863626259c..5f0576cc77 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/POWERBROADCAST_SETTING.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/POWERBROADCAST_SETTING.cs @@ -18,6 +18,6 @@ public unsafe partial struct POWERBROADCAST_SETTING public uint DataLength; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/RAWHID.cs b/sources/Interop/Windows/Windows/um/WinUser/RAWHID.cs index 4a1afca684..9dd367e8b9 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/RAWHID.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/RAWHID.cs @@ -17,6 +17,6 @@ public unsafe partial struct RAWHID public uint dwCount; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bRawData[1]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/SCROLLBARINFO.cs b/sources/Interop/Windows/Windows/um/WinUser/SCROLLBARINFO.cs index 7744c26b53..fc04c8954d 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/SCROLLBARINFO.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/SCROLLBARINFO.cs @@ -28,6 +28,6 @@ public unsafe partial struct SCROLLBARINFO public int reserved; /// - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint rgstate[6]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFO.cs b/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFO.cs index 279b2938b8..7176362166 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFO.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFO.cs @@ -16,6 +16,6 @@ public unsafe partial struct TITLEBARINFO public RECT rcTitleBar; /// - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint rgstate[6]; } diff --git a/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFOEX.cs b/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFOEX.cs index 1355d4f792..f9fa78d270 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFOEX.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/TITLEBARINFOEX.cs @@ -20,11 +20,11 @@ public unsafe partial struct TITLEBARINFOEX public RECT rcTitleBar; /// - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint rgstate[6]; /// - [NativeTypeName("RECT [6]")] + [NativeTypeName("RECT[6]")] public _rgrect_e__FixedBuffer rgrect; /// diff --git a/sources/Interop/Windows/Windows/um/WinUser/Windows.cs b/sources/Interop/Windows/Windows/um/WinUser/Windows.cs index 7681106385..2e3305d012 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/Windows.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/Windows.cs @@ -22,14 +22,14 @@ public static unsafe partial class Windows public static extern int wvsprintfW([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1, [NativeTypeName("va_list")] sbyte* arglist); /// - [DllImport("user32", ExactSpelling = true)] + [DllImport("user32", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [SetsLastSystemError] - public static extern int wsprintfA([NativeTypeName("LPSTR")] sbyte* param0, [NativeTypeName("LPCSTR")] sbyte* param1); + public static extern int wsprintfA([NativeTypeName("LPSTR")] sbyte* param0, [NativeTypeName("LPCSTR")] sbyte* param1, __arglist); /// - [DllImport("user32", ExactSpelling = true)] + [DllImport("user32", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [SetsLastSystemError] - public static extern int wsprintfW([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1); + public static extern int wsprintfW([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1, __arglist); /// [DllImport("user32", ExactSpelling = true)] @@ -3386,9 +3386,6 @@ public static unsafe partial class Windows [NativeTypeName("#define wvsprintf wvsprintfW")] public static delegate* wvsprintf => &wvsprintfW; - [NativeTypeName("#define wsprintf wsprintfW")] - public static delegate* wsprintf => &wsprintfW; - [NativeTypeName("#define SETWALLPAPER_DEFAULT ((LPWSTR)-1)")] public static ushort* SETWALLPAPER_DEFAULT => unchecked((ushort*)(-1)); diff --git a/sources/Interop/Windows/Windows/um/amvideo/IBaseVideoMixer.cs b/sources/Interop/Windows/Windows/um/amvideo/IBaseVideoMixer.cs index d269d72007..488b40449f 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/IBaseVideoMixer.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/IBaseVideoMixer.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("61DED640-E912-11CE-A099-00AA00479A58")] [NativeTypeName("struct IBaseVideoMixer : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IBaseVideoMixer : IBaseVideoMixer.Interface diff --git a/sources/Interop/Windows/Windows/um/amvideo/IDirectDrawVideo.cs b/sources/Interop/Windows/Windows/um/amvideo/IDirectDrawVideo.cs index bb8c090c9e..bbd67561fa 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/IDirectDrawVideo.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/IDirectDrawVideo.cs @@ -5,11 +5,13 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; namespace TerraFX.Interop.Windows; /// +[Guid("36D39EB0-DD75-11CE-BF0E-00AA0055595A")] [NativeTypeName("struct IDirectDrawVideo : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IDirectDrawVideo : IDirectDrawVideo.Interface diff --git a/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideo.cs b/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideo.cs index b047802d21..125ca46df0 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideo.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideo.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("DD1D7110-7836-11CF-BF47-00AA0055595A")] [NativeTypeName("struct IFullScreenVideo : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IFullScreenVideo : IFullScreenVideo.Interface diff --git a/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideoEx.cs b/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideoEx.cs index 4008b06af0..82c35749f8 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideoEx.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/IFullScreenVideoEx.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("53479470-F1DD-11CF-BC42-00AA00AC74F6")] [NativeTypeName("struct IFullScreenVideoEx : IFullScreenVideo")] [NativeInheritance("IFullScreenVideo")] public unsafe partial struct IFullScreenVideoEx : IFullScreenVideoEx.Interface diff --git a/sources/Interop/Windows/Windows/um/amvideo/IQualProp.cs b/sources/Interop/Windows/Windows/um/amvideo/IQualProp.cs index 0afe3f10e3..900051dcf0 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/IQualProp.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/IQualProp.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("1BD0ECB0-F8E2-11CE-AAC6-0020AF0B99A3")] [NativeTypeName("struct IQualProp : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IQualProp : IQualProp.Interface diff --git a/sources/Interop/Windows/Windows/um/amvideo/MPEG1VIDEOINFO.cs b/sources/Interop/Windows/Windows/um/amvideo/MPEG1VIDEOINFO.cs index d9b65b37e9..98a787d708 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/MPEG1VIDEOINFO.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/MPEG1VIDEOINFO.cs @@ -20,6 +20,6 @@ public unsafe partial struct MPEG1VIDEOINFO public uint cbSequenceHeader; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bSequenceHeader[1]; } diff --git a/sources/Interop/Windows/Windows/um/amvideo/TRUECOLORINFO.cs b/sources/Interop/Windows/Windows/um/amvideo/TRUECOLORINFO.cs index 0be3f9cdf1..d093f35a25 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/TRUECOLORINFO.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/TRUECOLORINFO.cs @@ -13,11 +13,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct TRUECOLORINFO { /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dwBitMasks[3]; /// - [NativeTypeName("RGBQUAD [256]")] + [NativeTypeName("RGBQUAD[256]")] public _bmiColors_e__FixedBuffer bmiColors; /// diff --git a/sources/Interop/Windows/Windows/um/amvideo/VIDEOINFO.cs b/sources/Interop/Windows/Windows/um/amvideo/VIDEOINFO.cs index b5cbf97422..2adb28aedd 100644 --- a/sources/Interop/Windows/Windows/um/amvideo/VIDEOINFO.cs +++ b/sources/Interop/Windows/Windows/um/amvideo/VIDEOINFO.cs @@ -73,12 +73,12 @@ public unsafe partial struct _Anonymous_e__Union { /// [FieldOffset(0)] - [NativeTypeName("RGBQUAD [256]")] + [NativeTypeName("RGBQUAD[256]")] public _bmiColors_e__FixedBuffer bmiColors; /// [FieldOffset(0)] - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dwBitMasks[3]; /// diff --git a/sources/Interop/Windows/Windows/um/audiopolicy/IAudioSessionEvents.cs b/sources/Interop/Windows/Windows/um/audiopolicy/IAudioSessionEvents.cs index 62b67f7307..c4161b804c 100644 --- a/sources/Interop/Windows/Windows/um/audiopolicy/IAudioSessionEvents.cs +++ b/sources/Interop/Windows/Windows/um/audiopolicy/IAudioSessionEvents.cs @@ -70,7 +70,7 @@ public HRESULT OnSimpleVolumeChanged(float NewVolume, BOOL NewMute, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OnChannelVolumeChanged([NativeTypeName("DWORD")] uint ChannelCount, [NativeTypeName("float []")] float* NewChannelVolumeArray, [NativeTypeName("DWORD")] uint ChangedChannel, [NativeTypeName("LPCGUID")] Guid* EventContext) + public HRESULT OnChannelVolumeChanged([NativeTypeName("DWORD")] uint ChannelCount, [NativeTypeName("float[]")] float* NewChannelVolumeArray, [NativeTypeName("DWORD")] uint ChangedChannel, [NativeTypeName("LPCGUID")] Guid* EventContext) { return ((delegate* unmanaged)(lpVtbl[6]))((IAudioSessionEvents*)Unsafe.AsPointer(ref this), ChannelCount, NewChannelVolumeArray, ChangedChannel, EventContext); } @@ -111,7 +111,7 @@ public interface Interface : IUnknown.Interface HRESULT OnSimpleVolumeChanged(float NewVolume, BOOL NewMute, [NativeTypeName("LPCGUID")] Guid* EventContext); [VtblIndex(6)] - HRESULT OnChannelVolumeChanged([NativeTypeName("DWORD")] uint ChannelCount, [NativeTypeName("float []")] float* NewChannelVolumeArray, [NativeTypeName("DWORD")] uint ChangedChannel, [NativeTypeName("LPCGUID")] Guid* EventContext); + HRESULT OnChannelVolumeChanged([NativeTypeName("DWORD")] uint ChannelCount, [NativeTypeName("float[]")] float* NewChannelVolumeArray, [NativeTypeName("DWORD")] uint ChangedChannel, [NativeTypeName("LPCGUID")] Guid* EventContext); [VtblIndex(7)] HRESULT OnGroupingParamChanged([NativeTypeName("LPCGUID")] Guid* NewGroupingParam, [NativeTypeName("LPCGUID")] Guid* EventContext); diff --git a/sources/Interop/Windows/Windows/um/comcat/CATEGORYINFO.cs b/sources/Interop/Windows/Windows/um/comcat/CATEGORYINFO.cs index 133bbf2260..c5a65c7529 100644 --- a/sources/Interop/Windows/Windows/um/comcat/CATEGORYINFO.cs +++ b/sources/Interop/Windows/Windows/um/comcat/CATEGORYINFO.cs @@ -19,6 +19,6 @@ public unsafe partial struct CATEGORYINFO public uint lcid; /// - [NativeTypeName("OLECHAR [128]")] + [NativeTypeName("OLECHAR[128]")] public fixed ushort szDescription[128]; } diff --git a/sources/Interop/Windows/Windows/um/comcat/ICatInformation.cs b/sources/Interop/Windows/Windows/um/comcat/ICatInformation.cs index b9908f1112..b231273aff 100644 --- a/sources/Interop/Windows/Windows/um/comcat/ICatInformation.cs +++ b/sources/Interop/Windows/Windows/um/comcat/ICatInformation.cs @@ -62,7 +62,7 @@ public HRESULT GetCategoryDesc([NativeTypeName("REFCATID")] Guid* rcatid, [Nativ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HRESULT EnumClassesOfCategories([NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID []")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID []")] Guid* rgcatidReq, IEnumGUID** ppenumClsid) + public HRESULT EnumClassesOfCategories([NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID[]")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID[]")] Guid* rgcatidReq, IEnumGUID** ppenumClsid) { return ((delegate* unmanaged)(lpVtbl[5]))((ICatInformation*)Unsafe.AsPointer(ref this), cImplemented, rgcatidImpl, cRequired, rgcatidReq, ppenumClsid); } @@ -70,7 +70,7 @@ public HRESULT EnumClassesOfCategories([NativeTypeName("ULONG")] uint cImplement /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT IsClassOfCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID []")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID []")] Guid* rgcatidReq) + public HRESULT IsClassOfCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID[]")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID[]")] Guid* rgcatidReq) { return ((delegate* unmanaged)(lpVtbl[6]))((ICatInformation*)Unsafe.AsPointer(ref this), rclsid, cImplemented, rgcatidImpl, cRequired, rgcatidReq); } @@ -100,10 +100,10 @@ public interface Interface : IUnknown.Interface HRESULT GetCategoryDesc([NativeTypeName("REFCATID")] Guid* rcatid, [NativeTypeName("LCID")] uint lcid, [NativeTypeName("LPWSTR *")] ushort** pszDesc); [VtblIndex(5)] - HRESULT EnumClassesOfCategories([NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID []")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID []")] Guid* rgcatidReq, IEnumGUID** ppenumClsid); + HRESULT EnumClassesOfCategories([NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID[]")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID[]")] Guid* rgcatidReq, IEnumGUID** ppenumClsid); [VtblIndex(6)] - HRESULT IsClassOfCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID []")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID []")] Guid* rgcatidReq); + HRESULT IsClassOfCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cImplemented, [NativeTypeName("const CATID[]")] Guid* rgcatidImpl, [NativeTypeName("ULONG")] uint cRequired, [NativeTypeName("const CATID[]")] Guid* rgcatidReq); [VtblIndex(7)] HRESULT EnumImplCategoriesOfClass([NativeTypeName("const IID &")] Guid* rclsid, IEnumGUID** ppenumCatid); diff --git a/sources/Interop/Windows/Windows/um/comcat/ICatRegister.cs b/sources/Interop/Windows/Windows/um/comcat/ICatRegister.cs index 5250e304e4..802d81213e 100644 --- a/sources/Interop/Windows/Windows/um/comcat/ICatRegister.cs +++ b/sources/Interop/Windows/Windows/um/comcat/ICatRegister.cs @@ -46,7 +46,7 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT RegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATEGORYINFO []")] CATEGORYINFO* rgCategoryInfo) + public HRESULT RegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATEGORYINFO[]")] CATEGORYINFO* rgCategoryInfo) { return ((delegate* unmanaged)(lpVtbl[3]))((ICatRegister*)Unsafe.AsPointer(ref this), cCategories, rgCategoryInfo); } @@ -54,7 +54,7 @@ public HRESULT RegisterCategories([NativeTypeName("ULONG")] uint cCategories, [N /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HRESULT UnRegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid) + public HRESULT UnRegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid) { return ((delegate* unmanaged)(lpVtbl[4]))((ICatRegister*)Unsafe.AsPointer(ref this), cCategories, rgcatid); } @@ -62,7 +62,7 @@ public HRESULT UnRegisterCategories([NativeTypeName("ULONG")] uint cCategories, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HRESULT RegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid) + public HRESULT RegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid) { return ((delegate* unmanaged)(lpVtbl[5]))((ICatRegister*)Unsafe.AsPointer(ref this), rclsid, cCategories, rgcatid); } @@ -70,7 +70,7 @@ public HRESULT RegisterClassImplCategories([NativeTypeName("const IID &")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT UnRegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid) + public HRESULT UnRegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid) { return ((delegate* unmanaged)(lpVtbl[6]))((ICatRegister*)Unsafe.AsPointer(ref this), rclsid, cCategories, rgcatid); } @@ -78,7 +78,7 @@ public HRESULT UnRegisterClassImplCategories([NativeTypeName("const IID &")] Gui /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid) + public HRESULT RegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid) { return ((delegate* unmanaged)(lpVtbl[7]))((ICatRegister*)Unsafe.AsPointer(ref this), rclsid, cCategories, rgcatid); } @@ -86,7 +86,7 @@ public HRESULT RegisterClassReqCategories([NativeTypeName("const IID &")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT UnRegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid) + public HRESULT UnRegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid) { return ((delegate* unmanaged)(lpVtbl[8]))((ICatRegister*)Unsafe.AsPointer(ref this), rclsid, cCategories, rgcatid); } @@ -94,22 +94,22 @@ public HRESULT UnRegisterClassReqCategories([NativeTypeName("const IID &")] Guid public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT RegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATEGORYINFO []")] CATEGORYINFO* rgCategoryInfo); + HRESULT RegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATEGORYINFO[]")] CATEGORYINFO* rgCategoryInfo); [VtblIndex(4)] - HRESULT UnRegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid); + HRESULT UnRegisterCategories([NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid); [VtblIndex(5)] - HRESULT RegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid); + HRESULT RegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid); [VtblIndex(6)] - HRESULT UnRegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid); + HRESULT UnRegisterClassImplCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid); [VtblIndex(7)] - HRESULT RegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid); + HRESULT RegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid); [VtblIndex(8)] - HRESULT UnRegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID []")] Guid* rgcatid); + HRESULT UnRegisterClassReqCategories([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("ULONG")] uint cCategories, [NativeTypeName("CATID[]")] Guid* rgcatid); } public partial struct Vtbl diff --git a/sources/Interop/Windows/Windows/um/consoleapi2/CONSOLE_SCREEN_BUFFER_INFOEX.cs b/sources/Interop/Windows/Windows/um/consoleapi2/CONSOLE_SCREEN_BUFFER_INFOEX.cs index 24f004296b..8374e98216 100644 --- a/sources/Interop/Windows/Windows/um/consoleapi2/CONSOLE_SCREEN_BUFFER_INFOEX.cs +++ b/sources/Interop/Windows/Windows/um/consoleapi2/CONSOLE_SCREEN_BUFFER_INFOEX.cs @@ -40,7 +40,7 @@ public partial struct CONSOLE_SCREEN_BUFFER_INFOEX public BOOL bFullscreenSupported; /// - [NativeTypeName("COLORREF [16]")] + [NativeTypeName("COLORREF[16]")] public _ColorTable_e__FixedBuffer ColorTable; /// diff --git a/sources/Interop/Windows/Windows/um/consoleapi3/CONSOLE_FONT_INFOEX.cs b/sources/Interop/Windows/Windows/um/consoleapi3/CONSOLE_FONT_INFOEX.cs index 4d2b23eaa3..b013400faa 100644 --- a/sources/Interop/Windows/Windows/um/consoleapi3/CONSOLE_FONT_INFOEX.cs +++ b/sources/Interop/Windows/Windows/um/consoleapi3/CONSOLE_FONT_INFOEX.cs @@ -26,6 +26,6 @@ public unsafe partial struct CONSOLE_FONT_INFOEX public uint FontWeight; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort FaceName[32]; } diff --git a/sources/Interop/Windows/Windows/um/ctfutb/TF_LANGBARITEMINFO.cs b/sources/Interop/Windows/Windows/um/ctfutb/TF_LANGBARITEMINFO.cs index b79682a397..a6785fcf28 100644 --- a/sources/Interop/Windows/Windows/um/ctfutb/TF_LANGBARITEMINFO.cs +++ b/sources/Interop/Windows/Windows/um/ctfutb/TF_LANGBARITEMINFO.cs @@ -26,6 +26,6 @@ public unsafe partial struct TF_LANGBARITEMINFO public uint ulSort; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szDescription[32]; } diff --git a/sources/Interop/Windows/Windows/um/devicetopology/IAudioBass.cs b/sources/Interop/Windows/Windows/um/devicetopology/IAudioBass.cs index 0f783f8299..42c70be1c5 100644 --- a/sources/Interop/Windows/Windows/um/devicetopology/IAudioBass.cs +++ b/sources/Interop/Windows/Windows/um/devicetopology/IAudioBass.cs @@ -86,7 +86,7 @@ public HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) + public HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) { return ((delegate* unmanaged)(lpVtbl[8]))((IAudioBass*)Unsafe.AsPointer(ref this), aLevelsDB, cChannels, pguidEventContext); } diff --git a/sources/Interop/Windows/Windows/um/devicetopology/IAudioMidrange.cs b/sources/Interop/Windows/Windows/um/devicetopology/IAudioMidrange.cs index 2d2fcd642d..1ca40857cf 100644 --- a/sources/Interop/Windows/Windows/um/devicetopology/IAudioMidrange.cs +++ b/sources/Interop/Windows/Windows/um/devicetopology/IAudioMidrange.cs @@ -86,7 +86,7 @@ public HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) + public HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) { return ((delegate* unmanaged)(lpVtbl[8]))((IAudioMidrange*)Unsafe.AsPointer(ref this), aLevelsDB, cChannels, pguidEventContext); } diff --git a/sources/Interop/Windows/Windows/um/devicetopology/IAudioTreble.cs b/sources/Interop/Windows/Windows/um/devicetopology/IAudioTreble.cs index feb458c83b..9c0a7d851e 100644 --- a/sources/Interop/Windows/Windows/um/devicetopology/IAudioTreble.cs +++ b/sources/Interop/Windows/Windows/um/devicetopology/IAudioTreble.cs @@ -86,7 +86,7 @@ public HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) + public HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) { return ((delegate* unmanaged)(lpVtbl[8]))((IAudioTreble*)Unsafe.AsPointer(ref this), aLevelsDB, cChannels, pguidEventContext); } diff --git a/sources/Interop/Windows/Windows/um/devicetopology/IAudioVolumeLevel.cs b/sources/Interop/Windows/Windows/um/devicetopology/IAudioVolumeLevel.cs index d1bf3cbf16..9664c16a01 100644 --- a/sources/Interop/Windows/Windows/um/devicetopology/IAudioVolumeLevel.cs +++ b/sources/Interop/Windows/Windows/um/devicetopology/IAudioVolumeLevel.cs @@ -86,7 +86,7 @@ public HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) + public HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) { return ((delegate* unmanaged)(lpVtbl[8]))((IAudioVolumeLevel*)Unsafe.AsPointer(ref this), aLevelsDB, cChannels, pguidEventContext); } diff --git a/sources/Interop/Windows/Windows/um/devicetopology/IPerChannelDbLevel.cs b/sources/Interop/Windows/Windows/um/devicetopology/IPerChannelDbLevel.cs index e6bd8a4c49..1f1da6efb9 100644 --- a/sources/Interop/Windows/Windows/um/devicetopology/IPerChannelDbLevel.cs +++ b/sources/Interop/Windows/Windows/um/devicetopology/IPerChannelDbLevel.cs @@ -86,7 +86,7 @@ public HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) + public HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext) { return ((delegate* unmanaged)(lpVtbl[8]))((IPerChannelDbLevel*)Unsafe.AsPointer(ref this), aLevelsDB, cChannels, pguidEventContext); } @@ -109,7 +109,7 @@ public interface Interface : IUnknown.Interface HRESULT SetLevelUniform(float fLevelDB, [NativeTypeName("LPCGUID")] Guid* pguidEventContext); [VtblIndex(8)] - HRESULT SetLevelAllChannels([NativeTypeName("float []")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext); + HRESULT SetLevelAllChannels([NativeTypeName("float[]")] float* aLevelsDB, [NativeTypeName("ULONG")] uint cChannels, [NativeTypeName("LPCGUID")] Guid* pguidEventContext); } public partial struct Vtbl diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_BUSKEY.cs b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_BUSKEY.cs index b5e8956c04..e54d535088 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_BUSKEY.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_BUSKEY.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct AM_DVDCOPY_BUSKEY { /// - [NativeTypeName("BYTE [5]")] + [NativeTypeName("BYTE[5]")] public fixed byte BusKey[5]; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Reserved[1]; } diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_CHLGKEY.cs b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_CHLGKEY.cs index 34bd2df7e0..153d2ba02f 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_CHLGKEY.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_CHLGKEY.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct AM_DVDCOPY_CHLGKEY { /// - [NativeTypeName("BYTE [10]")] + [NativeTypeName("BYTE[10]")] public fixed byte ChlgKey[10]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_DISCKEY.cs b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_DISCKEY.cs index 10e8db0868..23ebc97322 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_DISCKEY.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_DISCKEY.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct AM_DVDCOPY_DISCKEY { /// - [NativeTypeName("BYTE [2048]")] + [NativeTypeName("BYTE[2048]")] public fixed byte DiscKey[2048]; } diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_TITLEKEY.cs b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_TITLEKEY.cs index 8bc21d0113..0373c9b9c0 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_TITLEKEY.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/AM_DVDCOPY_TITLEKEY.cs @@ -13,14 +13,14 @@ public unsafe partial struct AM_DVDCOPY_TITLEKEY public uint KeyFlags; /// - [NativeTypeName("ULONG [2]")] + [NativeTypeName("ULONG[2]")] public fixed uint Reserved1[2]; /// - [NativeTypeName("UCHAR [6]")] + [NativeTypeName("UCHAR[6]")] public fixed byte TitleKey[6]; /// - [NativeTypeName("UCHAR [2]")] + [NativeTypeName("UCHAR[2]")] public fixed byte Reserved2[2]; } diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/AM_PROPERTY_SPPAL.cs b/sources/Interop/Windows/Windows/um/dvdmedia/AM_PROPERTY_SPPAL.cs index 64d243a293..1b0dae789f 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/AM_PROPERTY_SPPAL.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/AM_PROPERTY_SPPAL.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public partial struct AM_PROPERTY_SPPAL { /// - [NativeTypeName("AM_DVD_YUV [16]")] + [NativeTypeName("AM_DVD_YUV[16]")] public _sppal_e__FixedBuffer sppal; /// diff --git a/sources/Interop/Windows/Windows/um/dvdmedia/MPEG2VIDEOINFO.cs b/sources/Interop/Windows/Windows/um/dvdmedia/MPEG2VIDEOINFO.cs index 1f63a09b11..b84a7c172d 100644 --- a/sources/Interop/Windows/Windows/um/dvdmedia/MPEG2VIDEOINFO.cs +++ b/sources/Interop/Windows/Windows/um/dvdmedia/MPEG2VIDEOINFO.cs @@ -32,6 +32,6 @@ public unsafe partial struct MPEG2VIDEOINFO public uint dwFlags; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint dwSequenceHeader[1]; } diff --git a/sources/Interop/Windows/Windows/um/endpointvolume/AUDIO_VOLUME_NOTIFICATION_DATA.cs b/sources/Interop/Windows/Windows/um/endpointvolume/AUDIO_VOLUME_NOTIFICATION_DATA.cs index 5fe1dc440c..a76b8d8b94 100644 --- a/sources/Interop/Windows/Windows/um/endpointvolume/AUDIO_VOLUME_NOTIFICATION_DATA.cs +++ b/sources/Interop/Windows/Windows/um/endpointvolume/AUDIO_VOLUME_NOTIFICATION_DATA.cs @@ -23,6 +23,6 @@ public unsafe partial struct AUDIO_VOLUME_NOTIFICATION_DATA public uint nChannels; /// - [NativeTypeName("float [1]")] + [NativeTypeName("float[1]")] public fixed float afChannelVolumes[1]; } diff --git a/sources/Interop/Windows/Windows/um/fci/CCAB.cs b/sources/Interop/Windows/Windows/um/fci/CCAB.cs index 1e4079c7e8..6503de183a 100644 --- a/sources/Interop/Windows/Windows/um/fci/CCAB.cs +++ b/sources/Interop/Windows/Windows/um/fci/CCAB.cs @@ -38,14 +38,14 @@ public unsafe partial struct CCAB public ushort setID; /// - [NativeTypeName("char [256]")] + [NativeTypeName("char[256]")] public fixed sbyte szDisk[256]; /// - [NativeTypeName("char [256]")] + [NativeTypeName("char[256]")] public fixed sbyte szCab[256]; /// - [NativeTypeName("char [256]")] + [NativeTypeName("char[256]")] public fixed sbyte szCabPath[256]; } diff --git a/sources/Interop/Windows/Windows/um/fdi/FDISPILLFILE.cs b/sources/Interop/Windows/Windows/um/fdi/FDISPILLFILE.cs index bea8f7c877..dce481c8ce 100644 --- a/sources/Interop/Windows/Windows/um/fdi/FDISPILLFILE.cs +++ b/sources/Interop/Windows/Windows/um/fdi/FDISPILLFILE.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FDISPILLFILE { /// - [NativeTypeName("char [2]")] + [NativeTypeName("char[2]")] public fixed sbyte ach[2]; /// diff --git a/sources/Interop/Windows/Windows/um/fileapi/WIN32_FIND_STREAM_DATA.cs b/sources/Interop/Windows/Windows/um/fileapi/WIN32_FIND_STREAM_DATA.cs index ef860fb544..ca0e2e176d 100644 --- a/sources/Interop/Windows/Windows/um/fileapi/WIN32_FIND_STREAM_DATA.cs +++ b/sources/Interop/Windows/Windows/um/fileapi/WIN32_FIND_STREAM_DATA.cs @@ -12,6 +12,6 @@ public unsafe partial struct WIN32_FIND_STREAM_DATA public LARGE_INTEGER StreamSize; /// - [NativeTypeName("WCHAR [296]")] + [NativeTypeName("WCHAR[296]")] public fixed ushort cStreamName[296]; } diff --git a/sources/Interop/Windows/Windows/um/fileapi/Windows.cs b/sources/Interop/Windows/Windows/um/fileapi/Windows.cs index 890ca337ce..c900c7347d 100644 --- a/sources/Interop/Windows/Windows/um/fileapi/Windows.cs +++ b/sources/Interop/Windows/Windows/um/fileapi/Windows.cs @@ -332,7 +332,7 @@ public static unsafe partial class Windows /// [DllImport("kernel32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL ReadFileScatter(HANDLE hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT []")] FILE_SEGMENT_ELEMENT* aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToRead, [NativeTypeName("LPDWORD")] uint* lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED* lpOverlapped); + public static extern BOOL ReadFileScatter(HANDLE hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT[]")] FILE_SEGMENT_ELEMENT* aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToRead, [NativeTypeName("LPDWORD")] uint* lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED* lpOverlapped); /// [DllImport("kernel32", ExactSpelling = true)] @@ -408,7 +408,7 @@ public static unsafe partial class Windows /// [DllImport("kernel32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL WriteFileGather(HANDLE hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT []")] FILE_SEGMENT_ELEMENT* aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToWrite, [NativeTypeName("LPDWORD")] uint* lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED* lpOverlapped); + public static extern BOOL WriteFileGather(HANDLE hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT[]")] FILE_SEGMENT_ELEMENT* aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToWrite, [NativeTypeName("LPDWORD")] uint* lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED* lpOverlapped); /// [DllImport("kernel32", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/imapi2/IDiscRecorder2Ex.cs b/sources/Interop/Windows/Windows/um/imapi2/IDiscRecorder2Ex.cs index e14b5c7065..5ac9e094f2 100644 --- a/sources/Interop/Windows/Windows/um/imapi2/IDiscRecorder2Ex.cs +++ b/sources/Interop/Windows/Windows/um/imapi2/IDiscRecorder2Ex.cs @@ -46,7 +46,7 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT SendCommandNoData(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout) + public HRESULT SendCommandNoData(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout) { return ((delegate* unmanaged)(lpVtbl[3]))((IDiscRecorder2Ex*)Unsafe.AsPointer(ref this), Cdb, CdbSize, SenseBuffer, Timeout); } @@ -54,7 +54,7 @@ public HRESULT SendCommandNoData(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HRESULT SendCommandSendDataToDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize) + public HRESULT SendCommandSendDataToDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize) { return ((delegate* unmanaged)(lpVtbl[4]))((IDiscRecorder2Ex*)Unsafe.AsPointer(ref this), Cdb, CdbSize, SenseBuffer, Timeout, Buffer, BufferSize); } @@ -62,7 +62,7 @@ public HRESULT SendCommandSendDataToDevice(byte* Cdb, [NativeTypeName("ULONG")] /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HRESULT SendCommandGetDataFromDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize, [NativeTypeName("ULONG_IMAPI2_NOT_NEGATIVE *")] uint* BufferFetched) + public HRESULT SendCommandGetDataFromDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize, [NativeTypeName("ULONG_IMAPI2_NOT_NEGATIVE *")] uint* BufferFetched) { return ((delegate* unmanaged)(lpVtbl[5]))((IDiscRecorder2Ex*)Unsafe.AsPointer(ref this), Cdb, CdbSize, SenseBuffer, Timeout, Buffer, BufferSize, BufferFetched); } @@ -190,13 +190,13 @@ public HRESULT GetMaximumPageAlignedTransferSize([NativeTypeName("ULONG *")] uin public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT SendCommandNoData(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout); + HRESULT SendCommandNoData(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout); [VtblIndex(4)] - HRESULT SendCommandSendDataToDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize); + HRESULT SendCommandSendDataToDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize); [VtblIndex(5)] - HRESULT SendCommandGetDataFromDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE [18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize, [NativeTypeName("ULONG_IMAPI2_NOT_NEGATIVE *")] uint* BufferFetched); + HRESULT SendCommandGetDataFromDevice(byte* Cdb, [NativeTypeName("ULONG")] uint CdbSize, [NativeTypeName("BYTE[18]")] byte* SenseBuffer, [NativeTypeName("ULONG")] uint Timeout, byte* Buffer, [NativeTypeName("ULONG_IMAPI2_NONZERO")] uint BufferSize, [NativeTypeName("ULONG_IMAPI2_NOT_NEGATIVE *")] uint* BufferFetched); [VtblIndex(6)] HRESULT ReadDvdStructure([NativeTypeName("ULONG")] uint format, [NativeTypeName("ULONG")] uint address, [NativeTypeName("ULONG")] uint layer, [NativeTypeName("ULONG")] uint agid, byte** data, [NativeTypeName("ULONG_IMAPI2_DVD_STRUCTURE *")] uint* count); diff --git a/sources/Interop/Windows/Windows/um/imm/CANDIDATELIST.cs b/sources/Interop/Windows/Windows/um/imm/CANDIDATELIST.cs index 015c70eb53..e1d2650808 100644 --- a/sources/Interop/Windows/Windows/um/imm/CANDIDATELIST.cs +++ b/sources/Interop/Windows/Windows/um/imm/CANDIDATELIST.cs @@ -33,6 +33,6 @@ public unsafe partial struct CANDIDATELIST public uint dwPageSize; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint dwOffset[1]; } diff --git a/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOA.cs b/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOA.cs index 86371ada17..df700c4201 100644 --- a/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOA.cs +++ b/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOA.cs @@ -31,7 +31,7 @@ public unsafe partial struct IMEMENUITEMINFOA public uint dwItemData; /// - [NativeTypeName("CHAR [80]")] + [NativeTypeName("CHAR[80]")] public fixed sbyte szString[80]; /// diff --git a/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOW.cs b/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOW.cs index 0502c2f370..77d673bfd7 100644 --- a/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOW.cs +++ b/sources/Interop/Windows/Windows/um/imm/IMEMENUITEMINFOW.cs @@ -31,7 +31,7 @@ public unsafe partial struct IMEMENUITEMINFOW public uint dwItemData; /// - [NativeTypeName("WCHAR [80]")] + [NativeTypeName("WCHAR[80]")] public fixed ushort szString[80]; /// diff --git a/sources/Interop/Windows/Windows/um/imm/STYLEBUFA.cs b/sources/Interop/Windows/Windows/um/imm/STYLEBUFA.cs index a4245ca496..80f2473c66 100644 --- a/sources/Interop/Windows/Windows/um/imm/STYLEBUFA.cs +++ b/sources/Interop/Windows/Windows/um/imm/STYLEBUFA.cs @@ -13,6 +13,6 @@ public unsafe partial struct STYLEBUFA public uint dwStyle; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szDescription[32]; } diff --git a/sources/Interop/Windows/Windows/um/imm/STYLEBUFW.cs b/sources/Interop/Windows/Windows/um/imm/STYLEBUFW.cs index 8cf4877d87..80a0303ead 100644 --- a/sources/Interop/Windows/Windows/um/imm/STYLEBUFW.cs +++ b/sources/Interop/Windows/Windows/um/imm/STYLEBUFW.cs @@ -13,6 +13,6 @@ public unsafe partial struct STYLEBUFW public uint dwStyle; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szDescription[32]; } diff --git a/sources/Interop/Windows/Windows/um/immdev/CANDIDATEINFO.cs b/sources/Interop/Windows/Windows/um/immdev/CANDIDATEINFO.cs index d9b0e2c544..5ac10f263e 100644 --- a/sources/Interop/Windows/Windows/um/immdev/CANDIDATEINFO.cs +++ b/sources/Interop/Windows/Windows/um/immdev/CANDIDATEINFO.cs @@ -17,7 +17,7 @@ public unsafe partial struct CANDIDATEINFO public uint dwCount; /// - [NativeTypeName("DWORD [32]")] + [NativeTypeName("DWORD[32]")] public fixed uint dwOffset[32]; /// diff --git a/sources/Interop/Windows/Windows/um/immdev/INPUTCONTEXT.cs b/sources/Interop/Windows/Windows/um/immdev/INPUTCONTEXT.cs index 7e0495cbd1..9bda12eb06 100644 --- a/sources/Interop/Windows/Windows/um/immdev/INPUTCONTEXT.cs +++ b/sources/Interop/Windows/Windows/um/immdev/INPUTCONTEXT.cs @@ -40,7 +40,7 @@ public unsafe partial struct INPUTCONTEXT public COMPOSITIONFORM cfCompForm; /// - [NativeTypeName("CANDIDATEFORM [4]")] + [NativeTypeName("CANDIDATEFORM[4]")] public _cfCandForm_e__FixedBuffer cfCandForm; /// @@ -67,7 +67,7 @@ public unsafe partial struct INPUTCONTEXT public uint fdwInit; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dwReserve[3]; /// diff --git a/sources/Interop/Windows/Windows/um/immdev/SOFTKBDDATA.cs b/sources/Interop/Windows/Windows/um/immdev/SOFTKBDDATA.cs index 9318dba5b7..ef29366ca9 100644 --- a/sources/Interop/Windows/Windows/um/immdev/SOFTKBDDATA.cs +++ b/sources/Interop/Windows/Windows/um/immdev/SOFTKBDDATA.cs @@ -12,6 +12,6 @@ public unsafe partial struct SOFTKBDDATA public uint uCount; /// - [NativeTypeName("WORD [1][256]")] + [NativeTypeName("WORD[1][256]")] public fixed ushort wCode[1 * 256]; } diff --git a/sources/Interop/Windows/Windows/um/immdev/TRANSMSGLIST.cs b/sources/Interop/Windows/Windows/um/immdev/TRANSMSGLIST.cs index c0536dadd2..890b6a40dd 100644 --- a/sources/Interop/Windows/Windows/um/immdev/TRANSMSGLIST.cs +++ b/sources/Interop/Windows/Windows/um/immdev/TRANSMSGLIST.cs @@ -16,7 +16,7 @@ public partial struct TRANSMSGLIST public uint uMsgCount; /// - [NativeTypeName("TRANSMSG [1]")] + [NativeTypeName("TRANSMSG[1]")] public _TransMsg_e__FixedBuffer TransMsg; /// diff --git a/sources/Interop/Windows/Windows/um/iphlpapi/NET_ADDRESS_INFO.cs b/sources/Interop/Windows/Windows/um/iphlpapi/NET_ADDRESS_INFO.cs index c395ff0946..e06ecce7dd 100644 --- a/sources/Interop/Windows/Windows/um/iphlpapi/NET_ADDRESS_INFO.cs +++ b/sources/Interop/Windows/Windows/um/iphlpapi/NET_ADDRESS_INFO.cs @@ -83,11 +83,11 @@ public partial struct _Anonymous_e__Union public unsafe partial struct _NamedAddress_e__Struct { /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Address[256]; /// - [NativeTypeName("WCHAR [6]")] + [NativeTypeName("WCHAR[6]")] public fixed ushort Port[6]; } } diff --git a/sources/Interop/Windows/Windows/um/memoryapi/WIN32_MEMORY_PARTITION_INFORMATION.cs b/sources/Interop/Windows/Windows/um/memoryapi/WIN32_MEMORY_PARTITION_INFORMATION.cs index 6ea04141e7..d8599a4879 100644 --- a/sources/Interop/Windows/Windows/um/memoryapi/WIN32_MEMORY_PARTITION_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/memoryapi/WIN32_MEMORY_PARTITION_INFORMATION.cs @@ -61,7 +61,7 @@ public unsafe partial struct WIN32_MEMORY_PARTITION_INFORMATION public ulong StandbyPages; /// - [NativeTypeName("ULONG64 [16]")] + [NativeTypeName("ULONG64[16]")] public fixed ulong Reserved[16]; /// diff --git a/sources/Interop/Windows/Windows/um/mfapi/DIRTYRECT_INFO.cs b/sources/Interop/Windows/Windows/um/mfapi/DIRTYRECT_INFO.cs index 3de9f02a6c..3e02aa4e3a 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/DIRTYRECT_INFO.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/DIRTYRECT_INFO.cs @@ -19,7 +19,7 @@ public partial struct DIRTYRECT_INFO public uint NumDirtyRects; /// - [NativeTypeName("RECT [1]")] + [NativeTypeName("RECT[1]")] public _DirtyRects_e__FixedBuffer DirtyRects; /// diff --git a/sources/Interop/Windows/Windows/um/mfapi/IID.cs b/sources/Interop/Windows/Windows/um/mfapi/IID.cs new file mode 100644 index 0000000000..0a19d5c59f --- /dev/null +++ b/sources/Interop/Windows/Windows/um/mfapi/IID.cs @@ -0,0 +1,37 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/mfapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static partial class IID +{ + public static ref readonly Guid IID_tagMFASYNCRESULT + { + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/Windows/um/mfapi/MFASYNCRESULT.cs b/sources/Interop/Windows/Windows/um/mfapi/MFASYNCRESULT.cs index 238cbc2cfb..6ea3f081c5 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/MFASYNCRESULT.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/MFASYNCRESULT.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("00000000-0000-0000-0000-000000000000")] [NativeTypeName("struct tagMFASYNCRESULT : IMFAsyncResult")] [NativeInheritance("IMFAsyncResult")] public unsafe partial struct MFASYNCRESULT : MFASYNCRESULT.Interface diff --git a/sources/Interop/Windows/Windows/um/mfapi/MFCameraExtrinsics.cs b/sources/Interop/Windows/Windows/um/mfapi/MFCameraExtrinsics.cs index 06f5cae778..4ee190da3c 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/MFCameraExtrinsics.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/MFCameraExtrinsics.cs @@ -19,7 +19,7 @@ public partial struct MFCameraExtrinsics public uint TransformCount; /// - [NativeTypeName("MFCameraExtrinsic_CalibratedTransform [1]")] + [NativeTypeName("MFCameraExtrinsic_CalibratedTransform[1]")] public _CalibratedTransforms_e__FixedBuffer CalibratedTransforms; /// diff --git a/sources/Interop/Windows/Windows/um/mfapi/MFFOLDDOWN_MATRIX.cs b/sources/Interop/Windows/Windows/um/mfapi/MFFOLDDOWN_MATRIX.cs index 71c4c13244..88048f77f8 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/MFFOLDDOWN_MATRIX.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/MFFOLDDOWN_MATRIX.cs @@ -25,6 +25,6 @@ public unsafe partial struct MFFOLDDOWN_MATRIX public uint dwChannelMask; /// - [NativeTypeName("LONG [64]")] + [NativeTypeName("LONG[64]")] public fixed int Coeff[64]; } diff --git a/sources/Interop/Windows/Windows/um/mfapi/MFPinholeCameraIntrinsics.cs b/sources/Interop/Windows/Windows/um/mfapi/MFPinholeCameraIntrinsics.cs index 9279749b05..201db2c8e4 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/MFPinholeCameraIntrinsics.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/MFPinholeCameraIntrinsics.cs @@ -19,7 +19,7 @@ public partial struct MFPinholeCameraIntrinsics public uint IntrinsicModelCount; /// - [NativeTypeName("MFPinholeCameraIntrinsic_IntrinsicModel [1]")] + [NativeTypeName("MFPinholeCameraIntrinsic_IntrinsicModel[1]")] public _IntrinsicModels_e__FixedBuffer IntrinsicModels; /// diff --git a/sources/Interop/Windows/Windows/um/mfapi/MOVEREGION_INFO.cs b/sources/Interop/Windows/Windows/um/mfapi/MOVEREGION_INFO.cs index 9166f3e03f..cfc5f6074a 100644 --- a/sources/Interop/Windows/Windows/um/mfapi/MOVEREGION_INFO.cs +++ b/sources/Interop/Windows/Windows/um/mfapi/MOVEREGION_INFO.cs @@ -19,7 +19,7 @@ public partial struct MOVEREGION_INFO public uint NumMoveRegions; /// - [NativeTypeName("MOVE_RECT [1]")] + [NativeTypeName("MOVE_RECT[1]")] public _MoveRegions_e__FixedBuffer MoveRegions; /// diff --git a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_INPUT_DATA.cs b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_INPUT_DATA.cs index dd83828150..9a71bfe8e6 100644 --- a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_INPUT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_INPUT_DATA.cs @@ -28,6 +28,6 @@ public unsafe partial struct MFCONTENTPROTECTIONDEVICE_INPUT_DATA public uint Reserved; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte InputData[4]; } diff --git a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA.cs b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA.cs index e1a44a870e..f0a12fbbe4 100644 --- a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA.cs @@ -35,6 +35,6 @@ public unsafe partial struct MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA public long ExecutionTimeInHundredsOfNanoseconds; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte OutputData[4]; } diff --git a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_REALTIMECLIENT_DATA.cs b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_REALTIMECLIENT_DATA.cs index c4e01cb5ee..c43e73899d 100644 --- a/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_REALTIMECLIENT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/mfidl/MFCONTENTPROTECTIONDEVICE_REALTIMECLIENT_DATA.cs @@ -16,7 +16,7 @@ public unsafe partial struct MFCONTENTPROTECTIONDEVICE_REALTIMECLIENT_DATA public uint TaskIndex; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort ClassName[260]; /// diff --git a/sources/Interop/Windows/Windows/um/mfidl/MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS.cs b/sources/Interop/Windows/Windows/um/mfidl/MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS.cs index 6e00ec7016..f78399d2bd 100644 --- a/sources/Interop/Windows/Windows/um/mfidl/MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS.cs +++ b/sources/Interop/Windows/Windows/um/mfidl/MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS.cs @@ -41,7 +41,7 @@ public partial struct MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS public uint cActions; /// - [NativeTypeName("MFINPUTTRUSTAUTHORITY_ACCESS_ACTION [1]")] + [NativeTypeName("MFINPUTTRUSTAUTHORITY_ACCESS_ACTION[1]")] public _rgOutputActions_e__FixedBuffer rgOutputActions; /// diff --git a/sources/Interop/Windows/Windows/um/mfidl/MFRR_COMPONENT_HASH_INFO.cs b/sources/Interop/Windows/Windows/um/mfidl/MFRR_COMPONENT_HASH_INFO.cs index 9d28e91006..ed541cd097 100644 --- a/sources/Interop/Windows/Windows/um/mfidl/MFRR_COMPONENT_HASH_INFO.cs +++ b/sources/Interop/Windows/Windows/um/mfidl/MFRR_COMPONENT_HASH_INFO.cs @@ -13,14 +13,14 @@ public unsafe partial struct MFRR_COMPONENT_HASH_INFO public uint ulReason; /// - [NativeTypeName("WCHAR [43]")] + [NativeTypeName("WCHAR[43]")] public fixed ushort rgHeaderHash[43]; /// - [NativeTypeName("WCHAR [43]")] + [NativeTypeName("WCHAR[43]")] public fixed ushort rgPublicKeyHash[43]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort wszName[260]; } diff --git a/sources/Interop/Windows/Windows/um/mfobjects/MFVideoSurfaceInfo.cs b/sources/Interop/Windows/Windows/um/mfobjects/MFVideoSurfaceInfo.cs index e8fdac3468..dce0698fbf 100644 --- a/sources/Interop/Windows/Windows/um/mfobjects/MFVideoSurfaceInfo.cs +++ b/sources/Interop/Windows/Windows/um/mfobjects/MFVideoSurfaceInfo.cs @@ -21,7 +21,7 @@ public partial struct MFVideoSurfaceInfo public uint PaletteEntries; /// - [NativeTypeName("MFPaletteEntry [1]")] + [NativeTypeName("MFPaletteEntry[1]")] public _Palette_e__FixedBuffer Palette; /// diff --git a/sources/Interop/Windows/Windows/um/minwinbase/PROCESS_HEAP_ENTRY.cs b/sources/Interop/Windows/Windows/um/minwinbase/PROCESS_HEAP_ENTRY.cs index ae9163adee..92f5e0b814 100644 --- a/sources/Interop/Windows/Windows/um/minwinbase/PROCESS_HEAP_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/minwinbase/PROCESS_HEAP_ENTRY.cs @@ -74,7 +74,7 @@ public unsafe partial struct _Block_e__Struct public HANDLE hMem; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dwReserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAA.cs b/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAA.cs index cfbadaeb73..383d63d3da 100644 --- a/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAA.cs +++ b/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAA.cs @@ -38,10 +38,10 @@ public unsafe partial struct WIN32_FIND_DATAA public uint dwReserved1; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte cFileName[260]; /// - [NativeTypeName("CHAR [14]")] + [NativeTypeName("CHAR[14]")] public fixed sbyte cAlternateFileName[14]; } diff --git a/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAW.cs b/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAW.cs index f9df313ea8..0e6a2873b0 100644 --- a/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAW.cs +++ b/sources/Interop/Windows/Windows/um/minwinbase/WIN32_FIND_DATAW.cs @@ -38,10 +38,10 @@ public unsafe partial struct WIN32_FIND_DATAW public uint dwReserved1; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort cFileName[260]; /// - [NativeTypeName("WCHAR [14]")] + [NativeTypeName("WCHAR[14]")] public fixed ushort cAlternateFileName[14]; } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2A.cs index 871aa7d8e8..61a2699d59 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct AUXCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2W.cs index 49cb06c6e7..6a65db602c 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct AUXCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSA.cs index b79da4147d..77807bd45f 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct AUXCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSW.cs index b200095b70..f2909f0703 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/AUXCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct AUXCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIEVENT.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIEVENT.cs index b72f41cca6..97fe778692 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIEVENT.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIEVENT.cs @@ -24,6 +24,6 @@ public unsafe partial struct MIDIEVENT public uint dwEvent; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint dwParms[1]; } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIHDR.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIHDR.cs index 56981d7d81..d024337dca 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIHDR.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIHDR.cs @@ -46,7 +46,7 @@ public unsafe partial struct MIDIHDR public uint dwOffset; /// - [NativeTypeName("DWORD_PTR [8]")] + [NativeTypeName("DWORD_PTR[8]")] public _dwReserved_e__FixedBuffer dwReserved; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2A.cs index 77f8ec14a7..69eea5d790 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIDIINCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2W.cs index 30b9c7e889..983929e857 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIDIINCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSA.cs index 5181154dcd..96ff0ffa48 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIDIINCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSW.cs index ac114532a3..26f04bf096 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIINCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIDIINCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2A.cs index 078612d9d1..48d757d7a7 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIDIOUTCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2W.cs index 6ef06bdcca..6f0920383a 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIDIOUTCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSA.cs index 750a523a99..f0f2899f39 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIDIOUTCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSW.cs index 33cdc07713..ae4ce61dde 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIDIOUTCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIDIOUTCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2A.cs index 554b136de1..8a307c5f6c 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIXERCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2W.cs index 114aa9ab9c..a3c52829fd 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct MIXERCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSA.cs index 2aee50554e..00ae4abd45 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIXERCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSW.cs index ecefa205cb..2975c27643 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct MIXERCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLA.cs index 1bfe0914b8..f5d23bc27a 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLA.cs @@ -33,11 +33,11 @@ public unsafe partial struct MIXERCONTROLA public uint cMultipleItems; /// - [NativeTypeName("CHAR [16]")] + [NativeTypeName("CHAR[16]")] public fixed sbyte szShortName[16]; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szName[64]; /// @@ -64,7 +64,7 @@ public unsafe partial struct _Bounds_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint dwReserved[6]; /// @@ -150,7 +150,7 @@ public unsafe partial struct _Metrics_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint dwReserved[6]; } } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTA.cs index 88d6b56b8b..b03bbb13aa 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTA.cs @@ -20,6 +20,6 @@ public unsafe partial struct MIXERCONTROLDETAILS_LISTTEXTA public uint dwParam2; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szName[64]; } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTW.cs index 2948423679..7c10ec06eb 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLDETAILS_LISTTEXTW.cs @@ -20,6 +20,6 @@ public unsafe partial struct MIXERCONTROLDETAILS_LISTTEXTW public uint dwParam2; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szName[64]; } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLW.cs index 32ccbd0092..7a7ed13729 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERCONTROLW.cs @@ -33,11 +33,11 @@ public unsafe partial struct MIXERCONTROLW public uint cMultipleItems; /// - [NativeTypeName("WCHAR [16]")] + [NativeTypeName("WCHAR[16]")] public fixed ushort szShortName[16]; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szName[64]; /// @@ -64,7 +64,7 @@ public unsafe partial struct _Bounds_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint dwReserved[6]; /// @@ -150,7 +150,7 @@ public unsafe partial struct _Metrics_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint dwReserved[6]; } } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEA.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEA.cs index 88e475d0e6..f016cd9de3 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEA.cs @@ -52,11 +52,11 @@ public unsafe partial struct MIXERLINEA public uint cControls; /// - [NativeTypeName("CHAR [16]")] + [NativeTypeName("CHAR[16]")] public fixed sbyte szShortName[16]; /// - [NativeTypeName("CHAR [64]")] + [NativeTypeName("CHAR[64]")] public fixed sbyte szName[64]; /// @@ -88,7 +88,7 @@ public unsafe partial struct _Target_e__Struct public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; } } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEW.cs b/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEW.cs index 6e83256ce0..bffced4c2b 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/MIXERLINEW.cs @@ -52,11 +52,11 @@ public unsafe partial struct MIXERLINEW public uint cControls; /// - [NativeTypeName("WCHAR [16]")] + [NativeTypeName("WCHAR[16]")] public fixed ushort szShortName[16]; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szName[64]; /// @@ -88,7 +88,7 @@ public unsafe partial struct _Target_e__Struct public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; } } diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2A.cs index 3d9fc8d3b0..f0657ad937 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct WAVEINCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2W.cs index 7bb956c6db..b03b2960d0 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct WAVEINCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSA.cs index 7922fd10cb..89e7e1985a 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct WAVEINCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSW.cs index d2ab919a33..593d3a62dc 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEINCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct WAVEINCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2A.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2A.cs index ab6e26289b..f727b2686d 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2A.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2A.cs @@ -25,7 +25,7 @@ public unsafe partial struct WAVEOUTCAPS2A public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2W.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2W.cs index 21b03bdb54..693a01c96f 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2W.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPS2W.cs @@ -25,7 +25,7 @@ public unsafe partial struct WAVEOUTCAPS2W public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSA.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSA.cs index 81d4db5362..c9aff504a4 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSA.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSA.cs @@ -24,7 +24,7 @@ public unsafe partial struct WAVEOUTCAPSA public uint vDriverVersion; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSW.cs b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSW.cs index 6cd0689ee4..ec9c1c7972 100644 --- a/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSW.cs +++ b/sources/Interop/Windows/Windows/um/mmeapi/WAVEOUTCAPSW.cs @@ -24,7 +24,7 @@ public unsafe partial struct WAVEOUTCAPSW public uint vDriverVersion; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort szPname[32]; /// diff --git a/sources/Interop/Windows/Windows/um/mmsyscom/MMTIME.cs b/sources/Interop/Windows/Windows/um/mmsyscom/MMTIME.cs index 40e8270108..c80cff450d 100644 --- a/sources/Interop/Windows/Windows/um/mmsyscom/MMTIME.cs +++ b/sources/Interop/Windows/Windows/um/mmsyscom/MMTIME.cs @@ -74,7 +74,7 @@ public unsafe partial struct _smpte_e__Struct public byte dummy; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte pad[2]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_ADD_CREDENTIALS_REQUEST_EX.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_ADD_CREDENTIALS_REQUEST_EX.cs index fab9ae40ed..3c74a1818d 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_ADD_CREDENTIALS_REQUEST_EX.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_ADD_CREDENTIALS_REQUEST_EX.cs @@ -20,7 +20,7 @@ public partial struct KERB_ADD_CREDENTIALS_REQUEST_EX public uint PrincipalNameCount; /// - [NativeTypeName("UNICODE_STRING [1]")] + [NativeTypeName("UNICODE_STRING[1]")] public _PrincipalNames_e__FixedBuffer PrincipalNames; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_DECRYPT_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_DECRYPT_RESPONSE.cs index 7fab837545..e7133d967b 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_DECRYPT_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_DECRYPT_RESPONSE.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct KERB_DECRYPT_RESPONSE { /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte DecryptedData[1]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_EXTERNAL_NAME.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_EXTERNAL_NAME.cs index 23b266de7a..cd0ebaa15d 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_EXTERNAL_NAME.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_EXTERNAL_NAME.cs @@ -19,7 +19,7 @@ public partial struct KERB_EXTERNAL_NAME public ushort NameCount; /// - [NativeTypeName("UNICODE_STRING [1]")] + [NativeTypeName("UNICODE_STRING[1]")] public _Names_e__FixedBuffer Names; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_NET_ADDRESSES.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_NET_ADDRESSES.cs index 06bd01f4c9..91b6181710 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_NET_ADDRESSES.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_NET_ADDRESSES.cs @@ -17,7 +17,7 @@ public partial struct KERB_NET_ADDRESSES public uint Number; /// - [NativeTypeName("KERB_NET_ADDRESS [1]")] + [NativeTypeName("KERB_NET_ADDRESS[1]")] public _Addresses_e__FixedBuffer Addresses; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX2_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX2_RESPONSE.cs index e88a3e2ca6..d1e0682648 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX2_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX2_RESPONSE.cs @@ -20,7 +20,7 @@ public partial struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE public uint CountOfTickets; /// - [NativeTypeName("KERB_TICKET_CACHE_INFO_EX2 [1]")] + [NativeTypeName("KERB_TICKET_CACHE_INFO_EX2[1]")] public _Tickets_e__FixedBuffer Tickets; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX3_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX3_RESPONSE.cs index b49fc14eab..1c6049f8f5 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX3_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX3_RESPONSE.cs @@ -20,7 +20,7 @@ public partial struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE public uint CountOfTickets; /// - [NativeTypeName("KERB_TICKET_CACHE_INFO_EX3 [1]")] + [NativeTypeName("KERB_TICKET_CACHE_INFO_EX3[1]")] public _Tickets_e__FixedBuffer Tickets; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX_RESPONSE.cs index 88875eb3dc..45905c4844 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_EX_RESPONSE.cs @@ -20,7 +20,7 @@ public partial struct KERB_QUERY_TKT_CACHE_EX_RESPONSE public uint CountOfTickets; /// - [NativeTypeName("KERB_TICKET_CACHE_INFO_EX [1]")] + [NativeTypeName("KERB_TICKET_CACHE_INFO_EX[1]")] public _Tickets_e__FixedBuffer Tickets; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_RESPONSE.cs index d26dc0bf09..8a4358794a 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/KERB_QUERY_TKT_CACHE_RESPONSE.cs @@ -20,7 +20,7 @@ public partial struct KERB_QUERY_TKT_CACHE_RESPONSE public uint CountOfTickets; /// - [NativeTypeName("KERB_TICKET_CACHE_INFO [1]")] + [NativeTypeName("KERB_TICKET_CACHE_INFO[1]")] public _Tickets_e__FixedBuffer Tickets; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_CREDENTIAL_KEY.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_CREDENTIAL_KEY.cs index fa73c3abb3..2fa2a57249 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_CREDENTIAL_KEY.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_CREDENTIAL_KEY.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MSV1_0_CREDENTIAL_KEY { /// - [NativeTypeName("UCHAR [20]")] + [NativeTypeName("UCHAR[20]")] public fixed byte Data[20]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL.cs index 6435ca2db5..8ae55aa5f3 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL.cs @@ -17,6 +17,6 @@ public unsafe partial struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL public uint EncryptedCredsSize; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte EncryptedCreds[1]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON.cs index 3e9c720a1c..64394fcc91 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON.cs @@ -24,7 +24,7 @@ public unsafe partial struct MSV1_0_LM20_LOGON public LSA_UNICODE_STRING Workstation; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte ChallengeToClient[8]; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON_PROFILE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON_PROFILE.cs index a559844c9b..d2e13c5b7d 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON_PROFILE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_LM20_LOGON_PROFILE.cs @@ -22,7 +22,7 @@ public unsafe partial struct MSV1_0_LM20_LOGON_PROFILE public uint UserFlags; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte UserSessionKey[16]; /// @@ -30,7 +30,7 @@ public unsafe partial struct MSV1_0_LM20_LOGON_PROFILE public LSA_UNICODE_STRING LogonDomainName; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte LanmanSessionKey[8]; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_NTLM3_RESPONSE.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_NTLM3_RESPONSE.cs index 6fd8313ad2..b58670f8ef 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_NTLM3_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_NTLM3_RESPONSE.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct MSV1_0_NTLM3_RESPONSE { /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte Response[16]; /// @@ -32,7 +32,7 @@ public unsafe partial struct MSV1_0_NTLM3_RESPONSE public ulong TimeStamp; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte ChallengeFromClient[8]; /// @@ -40,6 +40,6 @@ public unsafe partial struct MSV1_0_NTLM3_RESPONSE public uint AvPairsOff; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte Buffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.cs index fa822acbcf..8a1c36362d 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.cs @@ -30,6 +30,6 @@ public unsafe partial struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL public uint EncryptedCredsSize; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte EncryptedCreds[1]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUBAUTH_LOGON.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUBAUTH_LOGON.cs index ad42b2e04e..6290db1974 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUBAUTH_LOGON.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUBAUTH_LOGON.cs @@ -24,7 +24,7 @@ public unsafe partial struct MSV1_0_SUBAUTH_LOGON public LSA_UNICODE_STRING Workstation; /// - [NativeTypeName("UCHAR [8]")] + [NativeTypeName("UCHAR[8]")] public fixed byte ChallengeToClient[8]; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL.cs index 8c5c1e3d76..076072a6e7 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL.cs @@ -17,10 +17,10 @@ public unsafe partial struct MSV1_0_SUPPLEMENTAL_CREDENTIAL public uint Flags; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte LmPassword[16]; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte NtPassword[16]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2.cs index 5cb4619c8c..ab4a4388d4 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2.cs @@ -17,7 +17,7 @@ public unsafe partial struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 public uint Flags; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte NtPassword[16]; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3.cs b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3.cs index eac747f943..05e118a671 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3.cs @@ -20,13 +20,13 @@ public unsafe partial struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 public MSV1_0_CREDENTIAL_KEY_TYPE CredentialKeyType; /// - [NativeTypeName("UCHAR [16]")] + [NativeTypeName("UCHAR[16]")] public fixed byte NtPassword[16]; /// public MSV1_0_CREDENTIAL_KEY CredentialKey; /// - [NativeTypeName("UCHAR [20]")] + [NativeTypeName("UCHAR[20]")] public fixed byte ShaPassword[20]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/NEGOTIATE_PACKAGE_PREFIX.cs b/sources/Interop/Windows/Windows/um/ntsecapi/NEGOTIATE_PACKAGE_PREFIX.cs index 0ad261b3a9..4270f25633 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/NEGOTIATE_PACKAGE_PREFIX.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/NEGOTIATE_PACKAGE_PREFIX.cs @@ -25,6 +25,6 @@ public unsafe partial struct NEGOTIATE_PACKAGE_PREFIX public nuint PrefixLen; /// - [NativeTypeName("UCHAR [32]")] + [NativeTypeName("UCHAR[32]")] public fixed byte Prefix[32]; } diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_ACCESS_REASON.cs b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_ACCESS_REASON.cs index 809b24c71a..146aa0b92c 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_ACCESS_REASON.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_ACCESS_REASON.cs @@ -13,7 +13,7 @@ public unsafe partial struct SE_ADT_ACCESS_REASON public uint AccessMask; /// - [NativeTypeName("ULONG [32]")] + [NativeTypeName("ULONG[32]")] public fixed uint AccessReasons[32]; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY.cs b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY.cs index 7bf69b8b43..1ed76b27d1 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY.cs @@ -39,7 +39,7 @@ public partial struct SE_ADT_PARAMETER_ARRAY public uint Flags; /// - [NativeTypeName("SE_ADT_PARAMETER_ARRAY_ENTRY [32]")] + [NativeTypeName("SE_ADT_PARAMETER_ARRAY_ENTRY[32]")] public _Parameters_e__FixedBuffer Parameters; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_ENTRY.cs b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_ENTRY.cs index d386269a19..7813bbb811 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_ENTRY.cs @@ -20,7 +20,7 @@ public unsafe partial struct SE_ADT_PARAMETER_ARRAY_ENTRY public uint Length; /// - [NativeTypeName("ULONG_PTR [2]")] + [NativeTypeName("ULONG_PTR[2]")] public _Data_e__FixedBuffer Data; /// diff --git a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_EX.cs b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_EX.cs index c9a1637bd1..9fcd89b892 100644 --- a/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_EX.cs +++ b/sources/Interop/Windows/Windows/um/ntsecapi/SE_ADT_PARAMETER_ARRAY_EX.cs @@ -43,7 +43,7 @@ public partial struct SE_ADT_PARAMETER_ARRAY_EX public uint Flags; /// - [NativeTypeName("SE_ADT_PARAMETER_ARRAY_ENTRY [32]")] + [NativeTypeName("SE_ADT_PARAMETER_ARRAY_ENTRY[32]")] public _Parameters_e__FixedBuffer Parameters; /// diff --git a/sources/Interop/Windows/Windows/um/oaidl/ARRAYDESC.cs b/sources/Interop/Windows/Windows/um/oaidl/ARRAYDESC.cs index e3b3f886f1..27b8244247 100644 --- a/sources/Interop/Windows/Windows/um/oaidl/ARRAYDESC.cs +++ b/sources/Interop/Windows/Windows/um/oaidl/ARRAYDESC.cs @@ -19,7 +19,7 @@ public partial struct ARRAYDESC public ushort cDims; /// - [NativeTypeName("SAFEARRAYBOUND [1]")] + [NativeTypeName("SAFEARRAYBOUND[1]")] public _rgbounds_e__FixedBuffer rgbounds; /// diff --git a/sources/Interop/Windows/Windows/um/oaidl/SAFEARRAY.cs b/sources/Interop/Windows/Windows/um/oaidl/SAFEARRAY.cs index 103f25ff11..dfbfc739b1 100644 --- a/sources/Interop/Windows/Windows/um/oaidl/SAFEARRAY.cs +++ b/sources/Interop/Windows/Windows/um/oaidl/SAFEARRAY.cs @@ -31,7 +31,7 @@ public unsafe partial struct SAFEARRAY public void* pvData; /// - [NativeTypeName("SAFEARRAYBOUND [1]")] + [NativeTypeName("SAFEARRAYBOUND[1]")] public _rgsabound_e__FixedBuffer rgsabound; /// diff --git a/sources/Interop/Windows/Windows/um/oaidl/_wireSAFEARRAY.cs b/sources/Interop/Windows/Windows/um/oaidl/_wireSAFEARRAY.cs index 6fc0ec0e0c..da761ce9cd 100644 --- a/sources/Interop/Windows/Windows/um/oaidl/_wireSAFEARRAY.cs +++ b/sources/Interop/Windows/Windows/um/oaidl/_wireSAFEARRAY.cs @@ -30,7 +30,7 @@ public partial struct _wireSAFEARRAY public SAFEARRAYUNION uArrayStructs; /// - [NativeTypeName("SAFEARRAYBOUND [1]")] + [NativeTypeName("SAFEARRAYBOUND[1]")] public _rgsabound_e__FixedBuffer rgsabound; /// diff --git a/sources/Interop/Windows/Windows/um/objidl/DVTARGETDEVICE.cs b/sources/Interop/Windows/Windows/um/objidl/DVTARGETDEVICE.cs index 3efd9f9572..cc14b24876 100644 --- a/sources/Interop/Windows/Windows/um/objidl/DVTARGETDEVICE.cs +++ b/sources/Interop/Windows/Windows/um/objidl/DVTARGETDEVICE.cs @@ -29,6 +29,6 @@ public unsafe partial struct DVTARGETDEVICE public ushort tdExtDevmodeOffset; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte tdData[1]; } diff --git a/sources/Interop/Windows/Windows/um/objidl/RemSNB.cs b/sources/Interop/Windows/Windows/um/objidl/RemSNB.cs index ad24b57fd3..606aaa7978 100644 --- a/sources/Interop/Windows/Windows/um/objidl/RemSNB.cs +++ b/sources/Interop/Windows/Windows/um/objidl/RemSNB.cs @@ -17,6 +17,6 @@ public unsafe partial struct RemSNB public uint ulCntChar; /// - [NativeTypeName("OLECHAR [1]")] + [NativeTypeName("OLECHAR[1]")] public fixed ushort rgString[1]; } diff --git a/sources/Interop/Windows/Windows/um/objidl/RemSTGMEDIUM.cs b/sources/Interop/Windows/Windows/um/objidl/RemSTGMEDIUM.cs index e237e93463..ff118ec937 100644 --- a/sources/Interop/Windows/Windows/um/objidl/RemSTGMEDIUM.cs +++ b/sources/Interop/Windows/Windows/um/objidl/RemSTGMEDIUM.cs @@ -29,6 +29,6 @@ public unsafe partial struct RemSTGMEDIUM public uint cbData; /// - [NativeTypeName("byte [1]")] + [NativeTypeName("byte[1]")] public fixed byte data[1]; } diff --git a/sources/Interop/Windows/Windows/um/oleidl/OleMenuGroupWidths.cs b/sources/Interop/Windows/Windows/um/oleidl/OleMenuGroupWidths.cs index 47cc738c8e..d9b5ec96af 100644 --- a/sources/Interop/Windows/Windows/um/oleidl/OleMenuGroupWidths.cs +++ b/sources/Interop/Windows/Windows/um/oleidl/OleMenuGroupWidths.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct OLEMENUGROUPWIDTHS { /// - [NativeTypeName("LONG [6]")] + [NativeTypeName("LONG[6]")] public fixed int width[6]; } diff --git a/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs b/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs index e9df317840..80bb6ce647 100644 --- a/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs +++ b/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs @@ -30,7 +30,7 @@ public unsafe partial struct PRJ_PLACEHOLDER_INFO public PRJ_PLACEHOLDER_VERSION_INFO VersionInfo; /// - [NativeTypeName("UINT8 [1]")] + [NativeTypeName("UINT8[1]")] public fixed byte VariableData[1]; /// diff --git a/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_VERSION_INFO.cs b/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_VERSION_INFO.cs index fd1d874acd..bbf0a716b1 100644 --- a/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_VERSION_INFO.cs +++ b/sources/Interop/Windows/Windows/um/projectedfslib/PRJ_PLACEHOLDER_VERSION_INFO.cs @@ -12,10 +12,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct PRJ_PLACEHOLDER_VERSION_INFO { /// - [NativeTypeName("UINT8 [128]")] + [NativeTypeName("UINT8[128]")] public fixed byte ProviderID[128]; /// - [NativeTypeName("UINT8 [128]")] + [NativeTypeName("UINT8[128]")] public fixed byte ContentID[128]; } diff --git a/sources/Interop/Windows/Windows/um/sapi/SPRECOCONTEXTSTATUS.cs b/sources/Interop/Windows/Windows/um/sapi/SPRECOCONTEXTSTATUS.cs index 0670004f18..94cc6d8dbf 100644 --- a/sources/Interop/Windows/Windows/um/sapi/SPRECOCONTEXTSTATUS.cs +++ b/sources/Interop/Windows/Windows/um/sapi/SPRECOCONTEXTSTATUS.cs @@ -12,7 +12,7 @@ public unsafe partial struct SPRECOCONTEXTSTATUS public SPINTERFERENCE eInterference; /// - [NativeTypeName("WCHAR [255]")] + [NativeTypeName("WCHAR[255]")] public fixed ushort szRequestTypeOfUI[255]; /// diff --git a/sources/Interop/Windows/Windows/um/sapi/SPRECOGNIZERSTATUS.cs b/sources/Interop/Windows/Windows/um/sapi/SPRECOGNIZERSTATUS.cs index 59603a6dd0..5aef266bd6 100644 --- a/sources/Interop/Windows/Windows/um/sapi/SPRECOGNIZERSTATUS.cs +++ b/sources/Interop/Windows/Windows/um/sapi/SPRECOGNIZERSTATUS.cs @@ -34,7 +34,7 @@ public unsafe partial struct SPRECOGNIZERSTATUS public uint cLangIDs; /// - [NativeTypeName("WORD [20]")] + [NativeTypeName("WORD[20]")] public fixed ushort aLangID[20]; /// diff --git a/sources/Interop/Windows/Windows/um/sapi/SPWORDPRONUNCIATION.cs b/sources/Interop/Windows/Windows/um/sapi/SPWORDPRONUNCIATION.cs index f5c3acbe99..a65fefa35b 100644 --- a/sources/Interop/Windows/Windows/um/sapi/SPWORDPRONUNCIATION.cs +++ b/sources/Interop/Windows/Windows/um/sapi/SPWORDPRONUNCIATION.cs @@ -27,6 +27,6 @@ public unsafe partial struct SPWORDPRONUNCIATION public SPPARTOFSPEECH ePartOfSpeech; /// - [NativeTypeName("SPPHONEID [1]")] + [NativeTypeName("SPPHONEID[1]")] public fixed ushort szPronunciation[1]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/PctPublicKey.cs b/sources/Interop/Windows/Windows/um/schannel/PctPublicKey.cs index a521aafe08..e0a5d7662a 100644 --- a/sources/Interop/Windows/Windows/um/schannel/PctPublicKey.cs +++ b/sources/Interop/Windows/Windows/um/schannel/PctPublicKey.cs @@ -17,6 +17,6 @@ public unsafe partial struct PctPublicKey public uint cbKey; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte pKey[1]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH.cs b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH.cs index fb01af5996..70aeded597 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH.cs @@ -20,6 +20,6 @@ public unsafe partial struct SCHANNEL_CERT_HASH public HCRYPTPROV hProv; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte ShaHash[20]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH_STORE.cs b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH_STORE.cs index 58c152931b..d9d6cc8544 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH_STORE.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CERT_HASH_STORE.cs @@ -20,10 +20,10 @@ public unsafe partial struct SCHANNEL_CERT_HASH_STORE public HCRYPTPROV hProv; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte ShaHash[20]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort pwszStoreName[128]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CLIENT_SIGNATURE.cs b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CLIENT_SIGNATURE.cs index 1ee22e8a58..24d15e34bc 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CLIENT_SIGNATURE.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SCHANNEL_CLIENT_SIGNATURE.cs @@ -21,10 +21,10 @@ public unsafe partial struct SCHANNEL_CLIENT_SIGNATURE public uint cbHash; /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte HashValue[36]; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte CertThumbprint[20]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SEND_GENERIC_TLS_EXTENSION.cs b/sources/Interop/Windows/Windows/um/schannel/SEND_GENERIC_TLS_EXTENSION.cs index 4b5c6ceafe..b40cfe3ce3 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SEND_GENERIC_TLS_EXTENSION.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SEND_GENERIC_TLS_EXTENSION.cs @@ -25,6 +25,6 @@ public unsafe partial struct SEND_GENERIC_TLS_EXTENSION public ushort BufferSize; /// - [NativeTypeName("UCHAR [1]")] + [NativeTypeName("UCHAR[1]")] public fixed byte Buffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SUBSCRIBE_GENERIC_TLS_EXTENSION.cs b/sources/Interop/Windows/Windows/um/schannel/SUBSCRIBE_GENERIC_TLS_EXTENSION.cs index 07e9e5c3f6..9c917a29de 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SUBSCRIBE_GENERIC_TLS_EXTENSION.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SUBSCRIBE_GENERIC_TLS_EXTENSION.cs @@ -21,7 +21,7 @@ public partial struct SUBSCRIBE_GENERIC_TLS_EXTENSION public uint SubscriptionsCount; /// - [NativeTypeName("TLS_EXTENSION_SUBSCRIPTION [1]")] + [NativeTypeName("TLS_EXTENSION_SUBSCRIPTION[1]")] public _Subscriptions_e__FixedBuffer Subscriptions; /// diff --git a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_CipherInfo.cs b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_CipherInfo.cs index 997c84c429..6bca47ce53 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_CipherInfo.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_CipherInfo.cs @@ -25,11 +25,11 @@ public unsafe partial struct SecPkgContext_CipherInfo public uint dwBaseCipherSuite; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szCipherSuite[64]; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szCipher[64]; /// @@ -41,7 +41,7 @@ public unsafe partial struct SecPkgContext_CipherInfo public uint dwCipherBlockLen; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szHash[64]; /// @@ -49,7 +49,7 @@ public unsafe partial struct SecPkgContext_CipherInfo public uint dwHashLen; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szExchange[64]; /// @@ -61,7 +61,7 @@ public unsafe partial struct SecPkgContext_CipherInfo public uint dwMaxExchangeLen; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szCertificate[64]; /// diff --git a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ConnectionInfoEx.cs b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ConnectionInfoEx.cs index 3808c7f310..510531d6ee 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ConnectionInfoEx.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ConnectionInfoEx.cs @@ -17,7 +17,7 @@ public unsafe partial struct SecPkgContext_ConnectionInfoEx public uint dwProtocol; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szCipher[64]; /// @@ -25,7 +25,7 @@ public unsafe partial struct SecPkgContext_ConnectionInfoEx public uint dwCipherStrength; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szHash[64]; /// @@ -33,7 +33,7 @@ public unsafe partial struct SecPkgContext_ConnectionInfoEx public uint dwHashStrength; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort szExchange[64]; /// diff --git a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_EapKeyBlock.cs b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_EapKeyBlock.cs index 3c73206ec9..f542fdae99 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_EapKeyBlock.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_EapKeyBlock.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SecPkgContext_EapKeyBlock { /// - [NativeTypeName("BYTE [128]")] + [NativeTypeName("BYTE[128]")] public fixed byte rgbKeys[128]; /// - [NativeTypeName("BYTE [64]")] + [NativeTypeName("BYTE[64]")] public fixed byte rgbIVs[64]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_SessionInfo.cs b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_SessionInfo.cs index a33967e544..6831291db0 100644 --- a/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_SessionInfo.cs +++ b/sources/Interop/Windows/Windows/um/schannel/SecPkgContext_SessionInfo.cs @@ -17,6 +17,6 @@ public unsafe partial struct SecPkgContext_SessionInfo public uint cbSessionId; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte rgbSessionId[32]; } diff --git a/sources/Interop/Windows/Windows/um/schannel/X509Certificate.cs b/sources/Interop/Windows/Windows/um/schannel/X509Certificate.cs index c694787f4d..37563d31ef 100644 --- a/sources/Interop/Windows/Windows/um/schannel/X509Certificate.cs +++ b/sources/Interop/Windows/Windows/um/schannel/X509Certificate.cs @@ -13,7 +13,7 @@ public unsafe partial struct X509Certificate public uint Version; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint SerialNumber[4]; /// diff --git a/sources/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPoint.cs b/sources/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPoint.cs index 5ef2b4b547..a11c1c050c 100644 --- a/sources/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPoint.cs +++ b/sources/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPoint.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("00000000-0000-0000-0000-000000000000")] [NativeTypeName("struct CIE4ConnectionPoint : IConnectionPoint")] [NativeInheritance("IConnectionPoint")] public unsafe partial struct CIE4ConnectionPoint : CIE4ConnectionPoint.Interface diff --git a/sources/Interop/Windows/Windows/um/shdeprecated/IID.cs b/sources/Interop/Windows/Windows/um/shdeprecated/IID.cs index 23a50eeb40..0601b21cee 100644 --- a/sources/Interop/Windows/Windows/um/shdeprecated/IID.cs +++ b/sources/Interop/Windows/Windows/um/shdeprecated/IID.cs @@ -58,6 +58,29 @@ public static ref readonly Guid IID_ITravelLog } } + public static ref readonly Guid IID_CIE4ConnectionPoint + { + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + public static ref readonly Guid IID_IExpDispSupportXP { get diff --git a/sources/Interop/Windows/Windows/um/shellapi/Windows.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/Windows.Manual.cs index 7bd0c70d55..f4c667f75b 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/Windows.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/Windows.Manual.cs @@ -113,4 +113,9 @@ public static int NOTIFYICONDATAW_V3_SIZE [NativeTypeName("#define NOTIFYICONDATA_V3_SIZE NOTIFYICONDATAW_V3_SIZE")] public static int NOTIFYICONDATA_V3_SIZE => NOTIFYICONDATAW_V3_SIZE; + + /// + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ShellMessageBoxW", ExactSpelling = true)] + [SetsLastSystemError] + public static extern int ShellMessageBox(HINSTANCE hAppInst, HWND hWnd, [NativeTypeName("LPCWSTR")] ushort* lpcText, [NativeTypeName("LPCWSTR")] ushort* lpcTitle, uint fuStyle, __arglist); } diff --git a/sources/Interop/Windows/Windows/um/shellapi/Windows.cs b/sources/Interop/Windows/Windows/um/shellapi/Windows.cs index 12b41bf408..eecae42919 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/Windows.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/Windows.cs @@ -245,14 +245,14 @@ public static unsafe partial class Windows public static extern HRESULT SHGetLocalizedName([NativeTypeName("PCWSTR")] ushort* pszPath, [NativeTypeName("PWSTR")] ushort* pszResModule, uint cch, int* pidsRes); /// - [DllImport("shlwapi", ExactSpelling = true)] + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [SetsLastSystemError] - public static extern int ShellMessageBoxA(HINSTANCE hAppInst, HWND hWnd, [NativeTypeName("LPCSTR")] sbyte* lpcText, [NativeTypeName("LPCSTR")] sbyte* lpcTitle, uint fuStyle); + public static extern int ShellMessageBoxA(HINSTANCE hAppInst, HWND hWnd, [NativeTypeName("LPCSTR")] sbyte* lpcText, [NativeTypeName("LPCSTR")] sbyte* lpcTitle, uint fuStyle, __arglist); /// - [DllImport("shlwapi", ExactSpelling = true)] + [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [SetsLastSystemError] - public static extern int ShellMessageBoxW(HINSTANCE hAppInst, HWND hWnd, [NativeTypeName("LPCWSTR")] ushort* lpcText, [NativeTypeName("LPCWSTR")] ushort* lpcTitle, uint fuStyle); + public static extern int ShellMessageBoxW(HINSTANCE hAppInst, HWND hWnd, [NativeTypeName("LPCWSTR")] ushort* lpcText, [NativeTypeName("LPCWSTR")] ushort* lpcTitle, uint fuStyle, __arglist); /// [DllImport("shell32", ExactSpelling = true)] @@ -545,9 +545,6 @@ public static unsafe partial class Windows [NativeTypeName("#define OFFLINE_STATUS_INCOMPLETE 0x0004")] public const int OFFLINE_STATUS_INCOMPLETE = 0x0004; - [NativeTypeName("#define ShellMessageBox ShellMessageBoxW")] - public static delegate* ShellMessageBox => &ShellMessageBoxW; - [NativeTypeName("#define IsLFNDrive IsLFNDriveW")] public static delegate* IsLFNDrive => &IsLFNDriveW; diff --git a/sources/Interop/Windows/Windows/um/shtypes/SHITEMID.cs b/sources/Interop/Windows/Windows/um/shtypes/SHITEMID.cs index 5998ecb456..ff36da59ee 100644 --- a/sources/Interop/Windows/Windows/um/shtypes/SHITEMID.cs +++ b/sources/Interop/Windows/Windows/um/shtypes/SHITEMID.cs @@ -15,6 +15,6 @@ public unsafe partial struct SHITEMID public ushort cb; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte abID[1]; } diff --git a/sources/Interop/Windows/Windows/um/shtypes/STRRET.cs b/sources/Interop/Windows/Windows/um/shtypes/STRRET.cs index a6394b95d6..b29c7cf059 100644 --- a/sources/Interop/Windows/Windows/um/shtypes/STRRET.cs +++ b/sources/Interop/Windows/Windows/um/shtypes/STRRET.cs @@ -64,7 +64,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("char [260]")] + [NativeTypeName("char[260]")] public fixed sbyte cStr[260]; } } diff --git a/sources/Interop/Windows/Windows/um/strmif/AMCOPPCommand.cs b/sources/Interop/Windows/Windows/um/strmif/AMCOPPCommand.cs index 71bd4d3d5f..67c0f21452 100644 --- a/sources/Interop/Windows/Windows/um/strmif/AMCOPPCommand.cs +++ b/sources/Interop/Windows/Windows/um/strmif/AMCOPPCommand.cs @@ -25,6 +25,6 @@ public unsafe partial struct AMCOPPCommand public uint cbSizeData; /// - [NativeTypeName("BYTE [4056]")] + [NativeTypeName("BYTE[4056]")] public fixed byte CommandData[4056]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/AMCOPPSignature.cs b/sources/Interop/Windows/Windows/um/strmif/AMCOPPSignature.cs index bc3b8b73a5..1d569e9591 100644 --- a/sources/Interop/Windows/Windows/um/strmif/AMCOPPSignature.cs +++ b/sources/Interop/Windows/Windows/um/strmif/AMCOPPSignature.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct AMCOPPSignature { /// - [NativeTypeName("BYTE [256]")] + [NativeTypeName("BYTE[256]")] public fixed byte Signature[256]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusInput.cs b/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusInput.cs index 0bba62f90c..94c4d613a0 100644 --- a/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusInput.cs +++ b/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusInput.cs @@ -25,6 +25,6 @@ public unsafe partial struct AMCOPPStatusInput public uint cbSizeData; /// - [NativeTypeName("BYTE [4056]")] + [NativeTypeName("BYTE[4056]")] public fixed byte StatusData[4056]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusOutput.cs b/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusOutput.cs index ca65d65189..f3e6603890 100644 --- a/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusOutput.cs +++ b/sources/Interop/Windows/Windows/um/strmif/AMCOPPStatusOutput.cs @@ -18,6 +18,6 @@ public unsafe partial struct AMCOPPStatusOutput public uint cbSizeData; /// - [NativeTypeName("BYTE [4076]")] + [NativeTypeName("BYTE[4076]")] public fixed byte COPPStatus[4076]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/CodecAPIEventData.cs b/sources/Interop/Windows/Windows/um/strmif/CodecAPIEventData.cs index ab22dacecd..b7dafd900e 100644 --- a/sources/Interop/Windows/Windows/um/strmif/CodecAPIEventData.cs +++ b/sources/Interop/Windows/Windows/um/strmif/CodecAPIEventData.cs @@ -18,6 +18,6 @@ public unsafe partial struct CodecAPIEventData public uint dataLength; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_ATR.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_ATR.cs index 2e90797d43..cdf94a67fb 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_ATR.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_ATR.cs @@ -13,6 +13,6 @@ public unsafe partial struct DVD_ATR public uint ulCAT; /// - [NativeTypeName("BYTE [768]")] + [NativeTypeName("BYTE[768]")] public fixed byte pbATRI[768]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_AudioAttributes.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_AudioAttributes.cs index 04ee28c420..cdeea007f4 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_AudioAttributes.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_AudioAttributes.cs @@ -38,6 +38,6 @@ public unsafe partial struct DVD_AudioAttributes public byte bNumberOfChannels; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint dwReserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_KaraokeAttributes.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_KaraokeAttributes.cs index cc35d4970b..00c5a07403 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_KaraokeAttributes.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_KaraokeAttributes.cs @@ -21,6 +21,6 @@ public unsafe partial struct DVD_KaraokeAttributes public DVD_KARAOKE_ASSIGNMENT ChannelAssignment; /// - [NativeTypeName("WORD [8]")] + [NativeTypeName("WORD[8]")] public fixed ushort wChannelContents[8]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_MenuAttributes.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_MenuAttributes.cs index 94a52a3c01..9522fac172 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_MenuAttributes.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_MenuAttributes.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public partial struct DVD_MenuAttributes { /// - [NativeTypeName("BOOL [8]")] + [NativeTypeName("BOOL[8]")] public _fCompatibleRegion_e__FixedBuffer fCompatibleRegion; /// diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_MultichannelAudioAttributes.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_MultichannelAudioAttributes.cs index 5757ccbb2a..4b8e4879d8 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_MultichannelAudioAttributes.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_MultichannelAudioAttributes.cs @@ -13,11 +13,11 @@ namespace TerraFX.Interop.Windows; public partial struct DVD_MultichannelAudioAttributes { /// - [NativeTypeName("DVD_MUA_MixingInfo [8]")] + [NativeTypeName("DVD_MUA_MixingInfo[8]")] public _Info_e__FixedBuffer Info; /// - [NativeTypeName("DVD_MUA_Coeff [8]")] + [NativeTypeName("DVD_MUA_Coeff[8]")] public _Coeff_e__FixedBuffer Coeff; /// diff --git a/sources/Interop/Windows/Windows/um/strmif/DVD_TitleAttributes.cs b/sources/Interop/Windows/Windows/um/strmif/DVD_TitleAttributes.cs index ad890dee6b..627a3c4fd9 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVD_TitleAttributes.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVD_TitleAttributes.cs @@ -24,11 +24,11 @@ public partial struct DVD_TitleAttributes public uint ulNumberOfAudioStreams; /// - [NativeTypeName("DVD_AudioAttributes [8]")] + [NativeTypeName("DVD_AudioAttributes[8]")] public _AudioAttributes_e__FixedBuffer AudioAttributes; /// - [NativeTypeName("DVD_MultichannelAudioAttributes [8]")] + [NativeTypeName("DVD_MultichannelAudioAttributes[8]")] public _MultichannelAudioAttributes_e__FixedBuffer MultichannelAudioAttributes; /// @@ -36,7 +36,7 @@ public partial struct DVD_TitleAttributes public uint ulNumberOfSubpictureStreams; /// - [NativeTypeName("DVD_SubpictureAttributes [32]")] + [NativeTypeName("DVD_SubpictureAttributes[32]")] public _SubpictureAttributes_e__FixedBuffer SubpictureAttributes; /// diff --git a/sources/Interop/Windows/Windows/um/strmif/DVINFO.cs b/sources/Interop/Windows/Windows/um/strmif/DVINFO.cs index c734d08c14..5a1d4368da 100644 --- a/sources/Interop/Windows/Windows/um/strmif/DVINFO.cs +++ b/sources/Interop/Windows/Windows/um/strmif/DVINFO.cs @@ -33,6 +33,6 @@ public unsafe partial struct DVINFO public uint dwDVVAuxCtl; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint dwDVReserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/FILTER_INFO.cs b/sources/Interop/Windows/Windows/um/strmif/FILTER_INFO.cs index 61fcbc1202..0aa95bfe69 100644 --- a/sources/Interop/Windows/Windows/um/strmif/FILTER_INFO.cs +++ b/sources/Interop/Windows/Windows/um/strmif/FILTER_INFO.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FILTER_INFO { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort achName[128]; /// diff --git a/sources/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallback.cs b/sources/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallback.cs index 80b768e187..375d10ee66 100644 --- a/sources/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallback.cs +++ b/sources/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallback.cs @@ -5,10 +5,12 @@ using System; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace TerraFX.Interop.Windows; /// +[Guid("56A868FD-0AD4-11CE-B0A3-0020AF0BA770")] [NativeTypeName("struct IAMFilterGraphCallback : IUnknown")] [NativeInheritance("IUnknown")] public unsafe partial struct IAMFilterGraphCallback : IAMFilterGraphCallback.Interface diff --git a/sources/Interop/Windows/Windows/um/strmif/IDvdControl2.cs b/sources/Interop/Windows/Windows/um/strmif/IDvdControl2.cs index e61157ee88..9c3ecfbd14 100644 --- a/sources/Interop/Windows/Windows/um/strmif/IDvdControl2.cs +++ b/sources/Interop/Windows/Windows/um/strmif/IDvdControl2.cs @@ -246,7 +246,7 @@ public HRESULT SelectParentalLevel([NativeTypeName("ULONG")] uint ulParentalLeve /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT SelectParentalCountry([NativeTypeName("BYTE [2]")] byte* bCountry) + public HRESULT SelectParentalCountry([NativeTypeName("BYTE[2]")] byte* bCountry) { return ((delegate* unmanaged)(lpVtbl[28]))((IDvdControl2*)Unsafe.AsPointer(ref this), bCountry); } @@ -441,7 +441,7 @@ public interface Interface : IUnknown.Interface HRESULT SelectParentalLevel([NativeTypeName("ULONG")] uint ulParentalLevel); [VtblIndex(28)] - HRESULT SelectParentalCountry([NativeTypeName("BYTE [2]")] byte* bCountry); + HRESULT SelectParentalCountry([NativeTypeName("BYTE[2]")] byte* bCountry); [VtblIndex(29)] HRESULT SelectKaraokeAudioPresentationMode([NativeTypeName("ULONG")] uint ulMode); diff --git a/sources/Interop/Windows/Windows/um/strmif/IDvdInfo2.cs b/sources/Interop/Windows/Windows/um/strmif/IDvdInfo2.cs index 9b9df0ed84..5069999ae6 100644 --- a/sources/Interop/Windows/Windows/um/strmif/IDvdInfo2.cs +++ b/sources/Interop/Windows/Windows/um/strmif/IDvdInfo2.cs @@ -230,7 +230,7 @@ public HRESULT GetDVDTextStringAsUnicode([NativeTypeName("ULONG")] uint ulLangIn /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT GetPlayerParentalLevel([NativeTypeName("ULONG *")] uint* pulParentalLevel, [NativeTypeName("BYTE [2]")] byte* pbCountryCode) + public HRESULT GetPlayerParentalLevel([NativeTypeName("ULONG *")] uint* pulParentalLevel, [NativeTypeName("BYTE[2]")] byte* pbCountryCode) { return ((delegate* unmanaged)(lpVtbl[26]))((IDvdInfo2*)Unsafe.AsPointer(ref this), pulParentalLevel, pbCountryCode); } @@ -427,7 +427,7 @@ public interface Interface : IUnknown.Interface HRESULT GetDVDTextStringAsUnicode([NativeTypeName("ULONG")] uint ulLangIndex, [NativeTypeName("ULONG")] uint ulStringIndex, [NativeTypeName("WCHAR *")] ushort* pchwBuffer, [NativeTypeName("ULONG")] uint ulMaxBufferSize, [NativeTypeName("ULONG *")] uint* pulActualSize, [NativeTypeName("enum DVD_TextStringType *")] DVD_TextStringType* pType); [VtblIndex(26)] - HRESULT GetPlayerParentalLevel([NativeTypeName("ULONG *")] uint* pulParentalLevel, [NativeTypeName("BYTE [2]")] byte* pbCountryCode); + HRESULT GetPlayerParentalLevel([NativeTypeName("ULONG *")] uint* pulParentalLevel, [NativeTypeName("BYTE[2]")] byte* pbCountryCode); [VtblIndex(27)] HRESULT GetNumberOfChapters([NativeTypeName("ULONG")] uint ulTitle, [NativeTypeName("ULONG *")] uint* pulNumOfChapters); diff --git a/sources/Interop/Windows/Windows/um/strmif/PIN_INFO.cs b/sources/Interop/Windows/Windows/um/strmif/PIN_INFO.cs index 02cbd28f80..3d6812d5d8 100644 --- a/sources/Interop/Windows/Windows/um/strmif/PIN_INFO.cs +++ b/sources/Interop/Windows/Windows/um/strmif/PIN_INFO.cs @@ -15,6 +15,6 @@ public unsafe partial struct PIN_INFO public PIN_DIRECTION dir; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort achName[128]; } diff --git a/sources/Interop/Windows/Windows/um/strmif/VMRMONITORINFO.cs b/sources/Interop/Windows/Windows/um/strmif/VMRMONITORINFO.cs index af688849c1..978bc46717 100644 --- a/sources/Interop/Windows/Windows/um/strmif/VMRMONITORINFO.cs +++ b/sources/Interop/Windows/Windows/um/strmif/VMRMONITORINFO.cs @@ -22,11 +22,11 @@ public unsafe partial struct VMRMONITORINFO public uint dwFlags; /// - [NativeTypeName("wchar_t [32]")] + [NativeTypeName("wchar_t[32]")] public fixed ushort szDevice[32]; /// - [NativeTypeName("wchar_t [256]")] + [NativeTypeName("wchar_t[256]")] public fixed ushort szDescription[256]; /// diff --git a/sources/Interop/Windows/Windows/um/sysinfoapi/Windows.cs b/sources/Interop/Windows/Windows/um/sysinfoapi/Windows.cs index 59f46d3437..47861813f9 100644 --- a/sources/Interop/Windows/Windows/um/sysinfoapi/Windows.cs +++ b/sources/Interop/Windows/Windows/um/sysinfoapi/Windows.cs @@ -3,6 +3,7 @@ // Ported from um/sysinfoapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; using System.Runtime.InteropServices; using System.Runtime.Versioning; @@ -43,6 +44,7 @@ public static unsafe partial class Windows /// [DllImport("kernel32", ExactSpelling = true)] [return: NativeTypeName("DWORD")] + [Obsolete] public static extern uint GetVersion(); /// @@ -124,11 +126,13 @@ public static unsafe partial class Windows /// [DllImport("kernel32", ExactSpelling = true)] [SetsLastSystemError] + [Obsolete] public static extern BOOL GetVersionExA([NativeTypeName("LPOSVERSIONINFOA")] OSVERSIONINFOA* lpVersionInformation); /// [DllImport("kernel32", ExactSpelling = true)] [SetsLastSystemError] + [Obsolete] public static extern BOOL GetVersionExW([NativeTypeName("LPOSVERSIONINFOW")] OSVERSIONINFOW* lpVersionInformation); /// @@ -260,6 +264,7 @@ public static unsafe partial class Windows public static delegate* SetComputerNameEx => &SetComputerNameExW; [NativeTypeName("#define GetVersionEx GetVersionExW")] + [Obsolete] public static delegate* GetVersionEx => &GetVersionExW; [NativeTypeName("#define SCEX2_ALT_NETBIOS_NAME 0x00000001")] diff --git a/sources/Interop/Windows/Windows/um/thumbcache/WTS_THUMBNAILID.cs b/sources/Interop/Windows/Windows/um/thumbcache/WTS_THUMBNAILID.cs index dd4767469b..05dce5eb49 100644 --- a/sources/Interop/Windows/Windows/um/thumbcache/WTS_THUMBNAILID.cs +++ b/sources/Interop/Windows/Windows/um/thumbcache/WTS_THUMBNAILID.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct WTS_THUMBNAILID { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte rgbKey[16]; } diff --git a/sources/Interop/Windows/Windows/um/timezoneapi/DYNAMIC_TIME_ZONE_INFORMATION.cs b/sources/Interop/Windows/Windows/um/timezoneapi/DYNAMIC_TIME_ZONE_INFORMATION.cs index 3dc44a99d6..ed80fc4a17 100644 --- a/sources/Interop/Windows/Windows/um/timezoneapi/DYNAMIC_TIME_ZONE_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/timezoneapi/DYNAMIC_TIME_ZONE_INFORMATION.cs @@ -13,7 +13,7 @@ public unsafe partial struct DYNAMIC_TIME_ZONE_INFORMATION public int Bias; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort StandardName[32]; /// @@ -24,7 +24,7 @@ public unsafe partial struct DYNAMIC_TIME_ZONE_INFORMATION public int StandardBias; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort DaylightName[32]; /// @@ -35,7 +35,7 @@ public unsafe partial struct DYNAMIC_TIME_ZONE_INFORMATION public int DaylightBias; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort TimeZoneKeyName[128]; /// diff --git a/sources/Interop/Windows/Windows/um/timezoneapi/TIME_ZONE_INFORMATION.cs b/sources/Interop/Windows/Windows/um/timezoneapi/TIME_ZONE_INFORMATION.cs index e3d90fd07b..00c7785dbd 100644 --- a/sources/Interop/Windows/Windows/um/timezoneapi/TIME_ZONE_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/timezoneapi/TIME_ZONE_INFORMATION.cs @@ -13,7 +13,7 @@ public unsafe partial struct TIME_ZONE_INFORMATION public int Bias; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort StandardName[32]; /// @@ -24,7 +24,7 @@ public unsafe partial struct TIME_ZONE_INFORMATION public int StandardBias; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort DaylightName[32]; /// diff --git a/sources/Interop/Windows/Windows/um/urlmon/ZONEATTRIBUTES.cs b/sources/Interop/Windows/Windows/um/urlmon/ZONEATTRIBUTES.cs index bbd5cba5c1..8e81ec16b3 100644 --- a/sources/Interop/Windows/Windows/um/urlmon/ZONEATTRIBUTES.cs +++ b/sources/Interop/Windows/Windows/um/urlmon/ZONEATTRIBUTES.cs @@ -13,15 +13,15 @@ public unsafe partial struct ZONEATTRIBUTES public uint cbSize; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szDisplayName[260]; /// - [NativeTypeName("WCHAR [200]")] + [NativeTypeName("WCHAR[200]")] public fixed ushort szDescription[200]; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort szIconPath[260]; /// diff --git a/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO.cs b/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO.cs index 1067d0c4a9..1a893ed95e 100644 --- a/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct WCM_PROFILE_INFO { /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort strProfileName[256]; /// diff --git a/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO_LIST.cs b/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO_LIST.cs index 2d61dcad33..64aa7f8c43 100644 --- a/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO_LIST.cs +++ b/sources/Interop/Windows/Windows/um/wcmapi/WCM_PROFILE_INFO_LIST.cs @@ -19,7 +19,7 @@ public partial struct WCM_PROFILE_INFO_LIST public uint dwNumberOfItems; /// - [NativeTypeName("WCM_PROFILE_INFO [1]")] + [NativeTypeName("WCM_PROFILE_INFO[1]")] public _ProfileInfo_e__FixedBuffer ProfileInfo; /// diff --git a/sources/Interop/Windows/Windows/um/wincodec/WICRawToneCurve.cs b/sources/Interop/Windows/Windows/um/wincodec/WICRawToneCurve.cs index f77ed714c6..0adb7c61dd 100644 --- a/sources/Interop/Windows/Windows/um/wincodec/WICRawToneCurve.cs +++ b/sources/Interop/Windows/Windows/um/wincodec/WICRawToneCurve.cs @@ -16,7 +16,7 @@ public partial struct WICRawToneCurve public uint cPoints; /// - [NativeTypeName("WICRawToneCurvePoint [1]")] + [NativeTypeName("WICRawToneCurvePoint[1]")] public _aPoints_e__FixedBuffer aPoints; /// diff --git a/sources/Interop/Windows/Windows/um/wincred/CERT_CREDENTIAL_INFO.cs b/sources/Interop/Windows/Windows/um/wincred/CERT_CREDENTIAL_INFO.cs index 07d8f527b9..b93b2dbc82 100644 --- a/sources/Interop/Windows/Windows/um/wincred/CERT_CREDENTIAL_INFO.cs +++ b/sources/Interop/Windows/Windows/um/wincred/CERT_CREDENTIAL_INFO.cs @@ -13,6 +13,6 @@ public unsafe partial struct CERT_CREDENTIAL_INFO public uint cbSize; /// - [NativeTypeName("UCHAR [20]")] + [NativeTypeName("UCHAR[20]")] public fixed byte rgbHashOfCert[20]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CERT_FORTEZZA_DATA_PROP.cs b/sources/Interop/Windows/Windows/um/wincrypt/CERT_FORTEZZA_DATA_PROP.cs index b715110ac6..db73faf349 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CERT_FORTEZZA_DATA_PROP.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CERT_FORTEZZA_DATA_PROP.cs @@ -9,13 +9,13 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CERT_FORTEZZA_DATA_PROP { /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte SerialNumber[8]; /// public int CertIndex; /// - [NativeTypeName("unsigned char [36]")] + [NativeTypeName("unsigned char[36]")] public fixed byte CertLabel[36]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_3DES_KEY_STATE.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_3DES_KEY_STATE.cs index 5b85ed83b4..e4f961d6aa 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_3DES_KEY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_3DES_KEY_STATE.cs @@ -9,14 +9,14 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_3DES_KEY_STATE { /// - [NativeTypeName("unsigned char [24]")] + [NativeTypeName("unsigned char[24]")] public fixed byte Key[24]; /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte IV[8]; /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte Feedback[8]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_128_KEY_STATE.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_128_KEY_STATE.cs index b442798dc4..f23eb6df47 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_128_KEY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_128_KEY_STATE.cs @@ -9,22 +9,22 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_AES_128_KEY_STATE { /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte Key[16]; /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte IV[16]; /// - [NativeTypeName("unsigned char [11][16]")] + [NativeTypeName("unsigned char[11][16]")] public fixed byte EncryptionState[11 * 16]; /// - [NativeTypeName("unsigned char [11][16]")] + [NativeTypeName("unsigned char[11][16]")] public fixed byte DecryptionState[11 * 16]; /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte Feedback[16]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_256_KEY_STATE.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_256_KEY_STATE.cs index ec0f4f400d..3c40717da0 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_256_KEY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_AES_256_KEY_STATE.cs @@ -9,22 +9,22 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_AES_256_KEY_STATE { /// - [NativeTypeName("unsigned char [32]")] + [NativeTypeName("unsigned char[32]")] public fixed byte Key[32]; /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte IV[16]; /// - [NativeTypeName("unsigned char [15][16]")] + [NativeTypeName("unsigned char[15][16]")] public fixed byte EncryptionState[15 * 16]; /// - [NativeTypeName("unsigned char [15][16]")] + [NativeTypeName("unsigned char[15][16]")] public fixed byte DecryptionState[15 * 16]; /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte Feedback[16]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_DES_KEY_STATE.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_DES_KEY_STATE.cs index 2ec1d97b60..80060cc17f 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_DES_KEY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_DES_KEY_STATE.cs @@ -9,14 +9,14 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_DES_KEY_STATE { /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte Key[8]; /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte IV[8]; /// - [NativeTypeName("unsigned char [8]")] + [NativeTypeName("unsigned char[8]")] public fixed byte Feedback[8]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_ECC_CMS_SHARED_INFO.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_ECC_CMS_SHARED_INFO.cs index a88d54331a..83a08f8866 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_ECC_CMS_SHARED_INFO.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_ECC_CMS_SHARED_INFO.cs @@ -15,6 +15,6 @@ public unsafe partial struct CRYPT_ECC_CMS_SHARED_INFO public CRYPT_DATA_BLOB EntityUInfo; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte rgbSuppPubInfo[4]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC2_CBC_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC2_CBC_PARAMETERS.cs index b6269e6c3b..f87223698f 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC2_CBC_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC2_CBC_PARAMETERS.cs @@ -16,6 +16,6 @@ public unsafe partial struct CRYPT_RC2_CBC_PARAMETERS public BOOL fIV; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte rgbIV[8]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC4_KEY_STATE.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC4_KEY_STATE.cs index 701e1d9918..d9d73141ef 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC4_KEY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_RC4_KEY_STATE.cs @@ -9,11 +9,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_RC4_KEY_STATE { /// - [NativeTypeName("unsigned char [16]")] + [NativeTypeName("unsigned char[16]")] public fixed byte Key[16]; /// - [NativeTypeName("unsigned char [256]")] + [NativeTypeName("unsigned char[256]")] public fixed byte SBox[256]; /// diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_SMART_CARD_ROOT_INFO.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_SMART_CARD_ROOT_INFO.cs index 913104d828..0c70be7d44 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_SMART_CARD_ROOT_INFO.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_SMART_CARD_ROOT_INFO.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CRYPT_SMART_CARD_ROOT_INFO { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte rgbCardID[16]; /// diff --git a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_X942_OTHER_INFO.cs b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_X942_OTHER_INFO.cs index ba4765816f..0977ea41ef 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_X942_OTHER_INFO.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/CRYPT_X942_OTHER_INFO.cs @@ -13,11 +13,11 @@ public unsafe partial struct CRYPT_X942_OTHER_INFO public sbyte* pszContentEncryptionObjId; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte rgbCounter[4]; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte rgbKeyLength[4]; /// diff --git a/sources/Interop/Windows/Windows/um/wincrypt/DSSSEED.cs b/sources/Interop/Windows/Windows/um/wincrypt/DSSSEED.cs index 1b76cd26b5..8aba5ac4f4 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/DSSSEED.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/DSSSEED.cs @@ -13,6 +13,6 @@ public unsafe partial struct DSSSEED public uint counter; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte seed[20]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS.cs b/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS.cs index b8a4d80aec..9e64ad2949 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS.cs @@ -21,6 +21,6 @@ public unsafe partial struct PROV_ENUMALGS public uint dwNameLen; /// - [NativeTypeName("CHAR [20]")] + [NativeTypeName("CHAR[20]")] public fixed sbyte szName[20]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS_EX.cs b/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS_EX.cs index d88ecc8166..775993ab91 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS_EX.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/PROV_ENUMALGS_EX.cs @@ -33,7 +33,7 @@ public unsafe partial struct PROV_ENUMALGS_EX public uint dwNameLen; /// - [NativeTypeName("CHAR [20]")] + [NativeTypeName("CHAR[20]")] public fixed sbyte szName[20]; /// @@ -41,6 +41,6 @@ public unsafe partial struct PROV_ENUMALGS_EX public uint dwLongNameLen; /// - [NativeTypeName("CHAR [40]")] + [NativeTypeName("CHAR[40]")] public fixed sbyte szLongName[40]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS.cs b/sources/Interop/Windows/Windows/um/wincrypt/SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS.cs index 432de502ab..f27ede12bc 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS.cs @@ -28,6 +28,6 @@ public unsafe partial struct SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS public uint dwReserved; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort wszErrorText[256]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA.cs b/sources/Interop/Windows/Windows/um/wincrypt/SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA.cs index 62fc24e7ce..3f58c77e4e 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA.cs @@ -23,7 +23,7 @@ public unsafe partial struct SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA public ushort* pwszServerName; /// - [NativeTypeName("LPSTR [2]")] + [NativeTypeName("LPSTR[2]")] public _rgpszHpkpValue_e__FixedBuffer rgpszHpkpValue; /// diff --git a/sources/Interop/Windows/Windows/um/wincrypt/SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS.cs b/sources/Interop/Windows/Windows/um/wincrypt/SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS.cs index a23ad65c58..098b8fed9d 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS.cs @@ -17,6 +17,6 @@ public unsafe partial struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS public int lError; /// - [NativeTypeName("WCHAR [512]")] + [NativeTypeName("WCHAR[512]")] public fixed ushort wszErrorText[512]; } diff --git a/sources/Interop/Windows/Windows/um/wincrypt/Windows.cs b/sources/Interop/Windows/Windows/um/wincrypt/Windows.cs index 00b61e3871..d886f6535b 100644 --- a/sources/Interop/Windows/Windows/um/wincrypt/Windows.cs +++ b/sources/Interop/Windows/Windows/um/wincrypt/Windows.cs @@ -233,7 +233,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] - public static extern BOOL CryptInstallOIDFunctionAddress(HMODULE hModule, [NativeTypeName("DWORD")] uint dwEncodingType, [NativeTypeName("LPCSTR")] sbyte* pszFuncName, [NativeTypeName("DWORD")] uint cFuncEntry, [NativeTypeName("const CRYPT_OID_FUNC_ENTRY []")] CRYPT_OID_FUNC_ENTRY* rgFuncEntry, [NativeTypeName("DWORD")] uint dwFlags); + public static extern BOOL CryptInstallOIDFunctionAddress(HMODULE hModule, [NativeTypeName("DWORD")] uint dwEncodingType, [NativeTypeName("LPCSTR")] sbyte* pszFuncName, [NativeTypeName("DWORD")] uint cFuncEntry, [NativeTypeName("const CRYPT_OID_FUNC_ENTRY[]")] CRYPT_OID_FUNC_ENTRY* rgFuncEntry, [NativeTypeName("DWORD")] uint dwFlags); /// [DllImport("crypt32", ExactSpelling = true)] @@ -753,7 +753,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CertVerifyRevocation([NativeTypeName("DWORD")] uint dwEncodingType, [NativeTypeName("DWORD")] uint dwRevType, [NativeTypeName("DWORD")] uint cContext, [NativeTypeName("PVOID []")] void** rgpvContext, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("PCERT_REVOCATION_PARA")] CERT_REVOCATION_PARA* pRevPara, [NativeTypeName("PCERT_REVOCATION_STATUS")] CERT_REVOCATION_STATUS* pRevStatus); + public static extern BOOL CertVerifyRevocation([NativeTypeName("DWORD")] uint dwEncodingType, [NativeTypeName("DWORD")] uint dwRevType, [NativeTypeName("DWORD")] uint cContext, [NativeTypeName("PVOID[]")] void** rgpvContext, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("PCERT_REVOCATION_PARA")] CERT_REVOCATION_PARA* pRevPara, [NativeTypeName("PCERT_REVOCATION_STATUS")] CERT_REVOCATION_STATUS* pRevStatus); /// [DllImport("crypt32", ExactSpelling = true)] @@ -840,7 +840,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] - public static extern BOOL CertVerifyCRLRevocation([NativeTypeName("DWORD")] uint dwCertEncodingType, [NativeTypeName("PCERT_INFO")] CERT_INFO* pCertId, [NativeTypeName("DWORD")] uint cCrlInfo, [NativeTypeName("PCRL_INFO []")] CRL_INFO** rgpCrlInfo); + public static extern BOOL CertVerifyCRLRevocation([NativeTypeName("DWORD")] uint dwCertEncodingType, [NativeTypeName("PCERT_INFO")] CERT_INFO* pCertId, [NativeTypeName("DWORD")] uint cCrlInfo, [NativeTypeName("PCRL_INFO[]")] CRL_INFO** rgpCrlInfo); /// [DllImport("crypt32", ExactSpelling = true)] @@ -855,12 +855,12 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [return: NativeTypeName("PCERT_EXTENSION")] - public static extern CERT_EXTENSION* CertFindExtension([NativeTypeName("LPCSTR")] sbyte* pszObjId, [NativeTypeName("DWORD")] uint cExtensions, [NativeTypeName("CERT_EXTENSION []")] CERT_EXTENSION* rgExtensions); + public static extern CERT_EXTENSION* CertFindExtension([NativeTypeName("LPCSTR")] sbyte* pszObjId, [NativeTypeName("DWORD")] uint cExtensions, [NativeTypeName("CERT_EXTENSION[]")] CERT_EXTENSION* rgExtensions); /// [DllImport("crypt32", ExactSpelling = true)] [return: NativeTypeName("PCRYPT_ATTRIBUTE")] - public static extern CRYPT_ATTRIBUTE* CertFindAttribute([NativeTypeName("LPCSTR")] sbyte* pszObjId, [NativeTypeName("DWORD")] uint cAttr, [NativeTypeName("CRYPT_ATTRIBUTE []")] CRYPT_ATTRIBUTE* rgAttr); + public static extern CRYPT_ATTRIBUTE* CertFindAttribute([NativeTypeName("LPCSTR")] sbyte* pszObjId, [NativeTypeName("DWORD")] uint cAttr, [NativeTypeName("CRYPT_ATTRIBUTE[]")] CRYPT_ATTRIBUTE* rgAttr); /// [DllImport("crypt32", ExactSpelling = true)] @@ -979,7 +979,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptSignMessage([NativeTypeName("PCRYPT_SIGN_MESSAGE_PARA")] CRYPT_SIGN_MESSAGE_PARA* pSignPara, BOOL fDetachedSignature, [NativeTypeName("DWORD")] uint cToBeSigned, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeSigned, [NativeTypeName("DWORD []")] uint* rgcbToBeSigned, byte* pbSignedBlob, [NativeTypeName("DWORD *")] uint* pcbSignedBlob); + public static extern BOOL CryptSignMessage([NativeTypeName("PCRYPT_SIGN_MESSAGE_PARA")] CRYPT_SIGN_MESSAGE_PARA* pSignPara, BOOL fDetachedSignature, [NativeTypeName("DWORD")] uint cToBeSigned, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeSigned, [NativeTypeName("DWORD[]")] uint* rgcbToBeSigned, byte* pbSignedBlob, [NativeTypeName("DWORD *")] uint* pcbSignedBlob); /// [DllImport("crypt32", ExactSpelling = true)] @@ -1000,12 +1000,12 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptVerifyDetachedMessageSignature([NativeTypeName("PCRYPT_VERIFY_MESSAGE_PARA")] CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, [NativeTypeName("DWORD")] uint dwSignerIndex, [NativeTypeName("const BYTE *")] byte* pbDetachedSignBlob, [NativeTypeName("DWORD")] uint cbDetachedSignBlob, [NativeTypeName("DWORD")] uint cToBeSigned, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeSigned, [NativeTypeName("DWORD []")] uint* rgcbToBeSigned, [NativeTypeName("PCCERT_CONTEXT *")] CERT_CONTEXT** ppSignerCert); + public static extern BOOL CryptVerifyDetachedMessageSignature([NativeTypeName("PCRYPT_VERIFY_MESSAGE_PARA")] CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, [NativeTypeName("DWORD")] uint dwSignerIndex, [NativeTypeName("const BYTE *")] byte* pbDetachedSignBlob, [NativeTypeName("DWORD")] uint cbDetachedSignBlob, [NativeTypeName("DWORD")] uint cToBeSigned, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeSigned, [NativeTypeName("DWORD[]")] uint* rgcbToBeSigned, [NativeTypeName("PCCERT_CONTEXT *")] CERT_CONTEXT** ppSignerCert); /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptEncryptMessage([NativeTypeName("PCRYPT_ENCRYPT_MESSAGE_PARA")] CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, [NativeTypeName("DWORD")] uint cRecipientCert, [NativeTypeName("PCCERT_CONTEXT []")] CERT_CONTEXT** rgpRecipientCert, [NativeTypeName("const BYTE *")] byte* pbToBeEncrypted, [NativeTypeName("DWORD")] uint cbToBeEncrypted, byte* pbEncryptedBlob, [NativeTypeName("DWORD *")] uint* pcbEncryptedBlob); + public static extern BOOL CryptEncryptMessage([NativeTypeName("PCRYPT_ENCRYPT_MESSAGE_PARA")] CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, [NativeTypeName("DWORD")] uint cRecipientCert, [NativeTypeName("PCCERT_CONTEXT[]")] CERT_CONTEXT** rgpRecipientCert, [NativeTypeName("const BYTE *")] byte* pbToBeEncrypted, [NativeTypeName("DWORD")] uint cbToBeEncrypted, byte* pbEncryptedBlob, [NativeTypeName("DWORD *")] uint* pcbEncryptedBlob); /// [DllImport("crypt32", ExactSpelling = true)] @@ -1015,7 +1015,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptSignAndEncryptMessage([NativeTypeName("PCRYPT_SIGN_MESSAGE_PARA")] CRYPT_SIGN_MESSAGE_PARA* pSignPara, [NativeTypeName("PCRYPT_ENCRYPT_MESSAGE_PARA")] CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, [NativeTypeName("DWORD")] uint cRecipientCert, [NativeTypeName("PCCERT_CONTEXT []")] CERT_CONTEXT** rgpRecipientCert, [NativeTypeName("const BYTE *")] byte* pbToBeSignedAndEncrypted, [NativeTypeName("DWORD")] uint cbToBeSignedAndEncrypted, byte* pbSignedAndEncryptedBlob, [NativeTypeName("DWORD *")] uint* pcbSignedAndEncryptedBlob); + public static extern BOOL CryptSignAndEncryptMessage([NativeTypeName("PCRYPT_SIGN_MESSAGE_PARA")] CRYPT_SIGN_MESSAGE_PARA* pSignPara, [NativeTypeName("PCRYPT_ENCRYPT_MESSAGE_PARA")] CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, [NativeTypeName("DWORD")] uint cRecipientCert, [NativeTypeName("PCCERT_CONTEXT[]")] CERT_CONTEXT** rgpRecipientCert, [NativeTypeName("const BYTE *")] byte* pbToBeSignedAndEncrypted, [NativeTypeName("DWORD")] uint cbToBeSignedAndEncrypted, byte* pbSignedAndEncryptedBlob, [NativeTypeName("DWORD *")] uint* pcbSignedAndEncryptedBlob); /// [DllImport("crypt32", ExactSpelling = true)] @@ -1030,7 +1030,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptHashMessage([NativeTypeName("PCRYPT_HASH_MESSAGE_PARA")] CRYPT_HASH_MESSAGE_PARA* pHashPara, BOOL fDetachedHash, [NativeTypeName("DWORD")] uint cToBeHashed, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeHashed, [NativeTypeName("DWORD []")] uint* rgcbToBeHashed, byte* pbHashedBlob, [NativeTypeName("DWORD *")] uint* pcbHashedBlob, byte* pbComputedHash, [NativeTypeName("DWORD *")] uint* pcbComputedHash); + public static extern BOOL CryptHashMessage([NativeTypeName("PCRYPT_HASH_MESSAGE_PARA")] CRYPT_HASH_MESSAGE_PARA* pHashPara, BOOL fDetachedHash, [NativeTypeName("DWORD")] uint cToBeHashed, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeHashed, [NativeTypeName("DWORD[]")] uint* rgcbToBeHashed, byte* pbHashedBlob, [NativeTypeName("DWORD *")] uint* pcbHashedBlob, byte* pbComputedHash, [NativeTypeName("DWORD *")] uint* pcbComputedHash); /// [DllImport("crypt32", ExactSpelling = true)] @@ -1040,7 +1040,7 @@ public static unsafe partial class Windows /// [DllImport("crypt32", ExactSpelling = true)] [SetsLastSystemError] - public static extern BOOL CryptVerifyDetachedMessageHash([NativeTypeName("PCRYPT_HASH_MESSAGE_PARA")] CRYPT_HASH_MESSAGE_PARA* pHashPara, byte* pbDetachedHashBlob, [NativeTypeName("DWORD")] uint cbDetachedHashBlob, [NativeTypeName("DWORD")] uint cToBeHashed, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeHashed, [NativeTypeName("DWORD []")] uint* rgcbToBeHashed, byte* pbComputedHash, [NativeTypeName("DWORD *")] uint* pcbComputedHash); + public static extern BOOL CryptVerifyDetachedMessageHash([NativeTypeName("PCRYPT_HASH_MESSAGE_PARA")] CRYPT_HASH_MESSAGE_PARA* pHashPara, byte* pbDetachedHashBlob, [NativeTypeName("DWORD")] uint cbDetachedHashBlob, [NativeTypeName("DWORD")] uint cToBeHashed, [NativeTypeName("const BYTE *[]")] byte** rgpbToBeHashed, [NativeTypeName("DWORD[]")] uint* rgcbToBeHashed, byte* pbComputedHash, [NativeTypeName("DWORD *")] uint* pcbComputedHash); /// [DllImport("crypt32", ExactSpelling = true)] diff --git a/sources/Interop/Windows/Windows/um/wingdi/AXESLISTA.cs b/sources/Interop/Windows/Windows/um/wingdi/AXESLISTA.cs index b8597f0598..7d21e4b933 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/AXESLISTA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/AXESLISTA.cs @@ -21,7 +21,7 @@ public partial struct AXESLISTA public uint axlNumAxes; /// - [NativeTypeName("AXISINFOA [16]")] + [NativeTypeName("AXISINFOA[16]")] public _axlAxisInfo_e__FixedBuffer axlAxisInfo; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/AXESLISTW.cs b/sources/Interop/Windows/Windows/um/wingdi/AXESLISTW.cs index 04803bd0b0..0dcb0177be 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/AXESLISTW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/AXESLISTW.cs @@ -21,7 +21,7 @@ public partial struct AXESLISTW public uint axlNumAxes; /// - [NativeTypeName("AXISINFOW [16]")] + [NativeTypeName("AXISINFOW[16]")] public _axlAxisInfo_e__FixedBuffer axlAxisInfo; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/AXISINFOA.cs b/sources/Interop/Windows/Windows/um/wingdi/AXISINFOA.cs index 8346279108..ecb46bccc5 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/AXISINFOA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/AXISINFOA.cs @@ -17,6 +17,6 @@ public unsafe partial struct AXISINFOA public int axMaxValue; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte axAxisName[16]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/AXISINFOW.cs b/sources/Interop/Windows/Windows/um/wingdi/AXISINFOW.cs index 4427199679..68a1cdaf14 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/AXISINFOW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/AXISINFOW.cs @@ -17,6 +17,6 @@ public unsafe partial struct AXISINFOW public int axMaxValue; /// - [NativeTypeName("WCHAR [16]")] + [NativeTypeName("WCHAR[16]")] public fixed ushort axAxisName[16]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/BITMAPCOREINFO.cs b/sources/Interop/Windows/Windows/um/wingdi/BITMAPCOREINFO.cs index ede0917a9f..e85fead687 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/BITMAPCOREINFO.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/BITMAPCOREINFO.cs @@ -16,7 +16,7 @@ public partial struct BITMAPCOREINFO public BITMAPCOREHEADER bmciHeader; /// - [NativeTypeName("RGBTRIPLE [1]")] + [NativeTypeName("RGBTRIPLE[1]")] public _bmciColors_e__FixedBuffer bmciColors; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/BITMAPINFO.cs b/sources/Interop/Windows/Windows/um/wingdi/BITMAPINFO.cs index 89692ca4da..be7012ff3f 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/BITMAPINFO.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/BITMAPINFO.cs @@ -16,7 +16,7 @@ public partial struct BITMAPINFO public BITMAPINFOHEADER bmiHeader; /// - [NativeTypeName("RGBQUAD [1]")] + [NativeTypeName("RGBQUAD[1]")] public _bmiColors_e__FixedBuffer bmiColors; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/DESIGNVECTOR.cs b/sources/Interop/Windows/Windows/um/wingdi/DESIGNVECTOR.cs index c6ee533d7e..ce14a018e2 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DESIGNVECTOR.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DESIGNVECTOR.cs @@ -17,6 +17,6 @@ public unsafe partial struct DESIGNVECTOR public uint dvNumAxes; /// - [NativeTypeName("LONG [16]")] + [NativeTypeName("LONG[16]")] public fixed int dvValues[16]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/DEVMODEA.cs b/sources/Interop/Windows/Windows/um/wingdi/DEVMODEA.cs index 1fcc637a8e..670cd82111 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DEVMODEA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DEVMODEA.cs @@ -12,7 +12,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct DEVMODEA { /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte dmDeviceName[32]; /// @@ -55,7 +55,7 @@ public unsafe partial struct DEVMODEA public short dmCollate; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte dmFormName[32]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/DEVMODEW.cs b/sources/Interop/Windows/Windows/um/wingdi/DEVMODEW.cs index 84dccf45ba..1a688dfff5 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DEVMODEW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DEVMODEW.cs @@ -12,7 +12,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct DEVMODEW { /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort dmDeviceName[32]; /// @@ -55,7 +55,7 @@ public unsafe partial struct DEVMODEW public short dmCollate; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort dmFormName[32]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/DIBSECTION.cs b/sources/Interop/Windows/Windows/um/wingdi/DIBSECTION.cs index 3e73ce58de..030f7bcfc9 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DIBSECTION.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DIBSECTION.cs @@ -15,7 +15,7 @@ public unsafe partial struct DIBSECTION public BITMAPINFOHEADER dsBmih; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint dsBitfields[3]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_ADAPTER_NAME.cs b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_ADAPTER_NAME.cs index 2e5a474f7c..092ed08b45 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_ADAPTER_NAME.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_ADAPTER_NAME.cs @@ -12,6 +12,6 @@ public unsafe partial struct DISPLAYCONFIG_ADAPTER_NAME public DISPLAYCONFIG_DEVICE_INFO_HEADER header; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort adapterDevicePath[128]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_SOURCE_DEVICE_NAME.cs b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_SOURCE_DEVICE_NAME.cs index 8b9cdb6bf2..53a962be7e 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_SOURCE_DEVICE_NAME.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_SOURCE_DEVICE_NAME.cs @@ -12,6 +12,6 @@ public unsafe partial struct DISPLAYCONFIG_SOURCE_DEVICE_NAME public DISPLAYCONFIG_DEVICE_INFO_HEADER header; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort viewGdiDeviceName[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_TARGET_DEVICE_NAME.cs b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_TARGET_DEVICE_NAME.cs index 4fa03eb155..1c8fc22edf 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_TARGET_DEVICE_NAME.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_TARGET_DEVICE_NAME.cs @@ -30,10 +30,10 @@ public unsafe partial struct DISPLAYCONFIG_TARGET_DEVICE_NAME public uint connectorInstance; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort monitorFriendlyDeviceName[64]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort monitorDevicePath[128]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEA.cs b/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEA.cs index 2c3cbf4e5b..ef65800cec 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEA.cs @@ -13,11 +13,11 @@ public unsafe partial struct DISPLAY_DEVICEA public uint cb; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte DeviceName[32]; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte DeviceString[128]; /// @@ -25,10 +25,10 @@ public unsafe partial struct DISPLAY_DEVICEA public uint StateFlags; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte DeviceID[128]; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte DeviceKey[128]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEW.cs b/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEW.cs index 703db7117d..0374d55334 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/DISPLAY_DEVICEW.cs @@ -13,11 +13,11 @@ public unsafe partial struct DISPLAY_DEVICEW public uint cb; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort DeviceName[32]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort DeviceString[128]; /// @@ -25,10 +25,10 @@ public unsafe partial struct DISPLAY_DEVICEW public uint StateFlags; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort DeviceID[128]; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort DeviceKey[128]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRCOLORMATCHTOTARGET.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRCOLORMATCHTOTARGET.cs index c67366d24e..a1b5e90806 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRCOLORMATCHTOTARGET.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRCOLORMATCHTOTARGET.cs @@ -28,6 +28,6 @@ public unsafe partial struct EMRCOLORMATCHTOTARGET public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRCREATECOLORSPACEW.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRCREATECOLORSPACEW.cs index 26e5e7ea00..40b4619dd6 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRCREATECOLORSPACEW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRCREATECOLORSPACEW.cs @@ -27,6 +27,6 @@ public unsafe partial struct EMRCREATECOLORSPACEW public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMREXTESCAPE.cs b/sources/Interop/Windows/Windows/um/wingdi/EMREXTESCAPE.cs index 5453e3f1fa..1f70ac3fd4 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMREXTESCAPE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMREXTESCAPE.cs @@ -18,6 +18,6 @@ public unsafe partial struct EMREXTESCAPE public int cbEscData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte EscData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMREXTSELECTCLIPRGN.cs b/sources/Interop/Windows/Windows/um/wingdi/EMREXTSELECTCLIPRGN.cs index 9c8b42d5c8..35202c058a 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMREXTSELECTCLIPRGN.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMREXTSELECTCLIPRGN.cs @@ -20,6 +20,6 @@ public unsafe partial struct EMREXTSELECTCLIPRGN public uint iMode; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte RgnData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRFILLRGN.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRFILLRGN.cs index c698b650e5..80eebfd3bf 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRFILLRGN.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRFILLRGN.cs @@ -23,6 +23,6 @@ public unsafe partial struct EMRFILLRGN public uint ihBrush; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte RgnData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRFRAMERGN.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRFRAMERGN.cs index 0a65103123..db437c3294 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRFRAMERGN.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRFRAMERGN.cs @@ -27,6 +27,6 @@ public unsafe partial struct EMRFRAMERGN public SIZE szlStroke; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte RgnData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRGDICOMMENT.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRGDICOMMENT.cs index c3ea06e18d..879ce50b1a 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRGDICOMMENT.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRGDICOMMENT.cs @@ -16,6 +16,6 @@ public unsafe partial struct EMRGDICOMMENT public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRGLSBOUNDEDRECORD.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRGLSBOUNDEDRECORD.cs index d073c9f18d..674cf25170 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRGLSBOUNDEDRECORD.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRGLSBOUNDEDRECORD.cs @@ -19,6 +19,6 @@ public unsafe partial struct EMRGLSBOUNDEDRECORD public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRGLSRECORD.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRGLSRECORD.cs index d7ff57f2f5..b548b7acac 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRGLSRECORD.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRGLSRECORD.cs @@ -16,6 +16,6 @@ public unsafe partial struct EMRGLSRECORD public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRGRADIENTFILL.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRGRADIENTFILL.cs index f40e1981f4..dd5e0fd2cf 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRGRADIENTFILL.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRGRADIENTFILL.cs @@ -31,7 +31,7 @@ public partial struct EMRGRADIENTFILL public uint ulMode; /// - [NativeTypeName("TRIVERTEX [1]")] + [NativeTypeName("TRIVERTEX[1]")] public _Ver_e__FixedBuffer Ver; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRINVERTRGN.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRINVERTRGN.cs index 0c1ce6b49a..985fc6ab95 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRINVERTRGN.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRINVERTRGN.cs @@ -19,6 +19,6 @@ public unsafe partial struct EMRINVERTRGN public uint cbRgnData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte RgnData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRNAMEDESCAPE.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRNAMEDESCAPE.cs index 024e6e12c8..eb46779776 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRNAMEDESCAPE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRNAMEDESCAPE.cs @@ -21,6 +21,6 @@ public unsafe partial struct EMRNAMEDESCAPE public int cbEscData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte EscData[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPLGBLT.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPLGBLT.cs index d11ebcc53d..40f08f2c73 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPLGBLT.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPLGBLT.cs @@ -19,7 +19,7 @@ public partial struct EMRPLGBLT public RECTL rclBounds; /// - [NativeTypeName("POINTL [3]")] + [NativeTypeName("POINTL[3]")] public _aptlDest_e__FixedBuffer aptlDest; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW.cs index cc96b4929a..518f42c3d5 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW.cs @@ -23,11 +23,11 @@ public unsafe partial struct EMRPOLYDRAW public uint cptl; /// - [NativeTypeName("POINTL [1]")] + [NativeTypeName("POINTL[1]")] public _aptl_e__FixedBuffer aptl; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte abTypes[1]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW16.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW16.cs index 6553dcd371..49079fe3ac 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW16.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYDRAW16.cs @@ -23,11 +23,11 @@ public unsafe partial struct EMRPOLYDRAW16 public uint cpts; /// - [NativeTypeName("POINTS [1]")] + [NativeTypeName("POINTS[1]")] public _apts_e__FixedBuffer apts; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte abTypes[1]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE.cs index c759dfda73..204def4ee6 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE.cs @@ -23,7 +23,7 @@ public partial struct EMRPOLYLINE public uint cptl; /// - [NativeTypeName("POINTL [1]")] + [NativeTypeName("POINTL[1]")] public _aptl_e__FixedBuffer aptl; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE16.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE16.cs index 697dd94f9d..7f756b7c39 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE16.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYLINE16.cs @@ -23,7 +23,7 @@ public partial struct EMRPOLYLINE16 public uint cpts; /// - [NativeTypeName("POINTS [1]")] + [NativeTypeName("POINTS[1]")] public _apts_e__FixedBuffer apts; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE.cs index bddaea9c96..f123bc9d34 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE.cs @@ -27,11 +27,11 @@ public unsafe partial struct EMRPOLYPOLYLINE public uint cptl; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint aPolyCounts[1]; /// - [NativeTypeName("POINTL [1]")] + [NativeTypeName("POINTL[1]")] public _aptl_e__FixedBuffer aptl; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE16.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE16.cs index 8296376bd6..38ebcd1250 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE16.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYPOLYLINE16.cs @@ -27,11 +27,11 @@ public unsafe partial struct EMRPOLYPOLYLINE16 public uint cpts; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint aPolyCounts[1]; /// - [NativeTypeName("POINTS [1]")] + [NativeTypeName("POINTS[1]")] public _apts_e__FixedBuffer apts; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYTEXTOUTA.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYTEXTOUTA.cs index 93ef673da6..29cca761fc 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYTEXTOUTA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRPOLYTEXTOUTA.cs @@ -33,7 +33,7 @@ public partial struct EMRPOLYTEXTOUTA public int cStrings; /// - [NativeTypeName("EMRTEXT [1]")] + [NativeTypeName("EMRTEXT[1]")] public _aemrtext_e__FixedBuffer aemrtext; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRSETICMPROFILE.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRSETICMPROFILE.cs index 752a76dc0f..f34b5f21c5 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRSETICMPROFILE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRSETICMPROFILE.cs @@ -24,6 +24,6 @@ public unsafe partial struct EMRSETICMPROFILE public uint cbData; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMRSETPALETTEENTRIES.cs b/sources/Interop/Windows/Windows/um/wingdi/EMRSETPALETTEENTRIES.cs index 2cff0d1249..c40b41c0d0 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EMRSETPALETTEENTRIES.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EMRSETPALETTEENTRIES.cs @@ -28,7 +28,7 @@ public partial struct EMRSETPALETTEENTRIES public uint cEntries; /// - [NativeTypeName("PALETTEENTRY [1]")] + [NativeTypeName("PALETTEENTRY[1]")] public _aPalEntries_e__FixedBuffer aPalEntries; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/ENHMETARECORD.cs b/sources/Interop/Windows/Windows/um/wingdi/ENHMETARECORD.cs index 8f42d3ec3c..060be7ea9d 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/ENHMETARECORD.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/ENHMETARECORD.cs @@ -17,6 +17,6 @@ public unsafe partial struct ENHMETARECORD public uint nSize; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint dParm[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTA.cs b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTA.cs index 326a4dec87..b3d04f918c 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTA.cs @@ -12,10 +12,10 @@ public unsafe partial struct ENUMLOGFONTA public LOGFONTA elfLogFont; /// - [NativeTypeName("BYTE [64]")] + [NativeTypeName("BYTE[64]")] public fixed byte elfFullName[64]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte elfStyle[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXA.cs b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXA.cs index 40c4ae5b11..09db03715e 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXA.cs @@ -12,14 +12,14 @@ public unsafe partial struct ENUMLOGFONTEXA public LOGFONTA elfLogFont; /// - [NativeTypeName("BYTE [64]")] + [NativeTypeName("BYTE[64]")] public fixed byte elfFullName[64]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte elfStyle[32]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte elfScript[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXW.cs b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXW.cs index c0379ea0f4..a2faca244c 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTEXW.cs @@ -12,14 +12,14 @@ public unsafe partial struct ENUMLOGFONTEXW public LOGFONTW elfLogFont; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort elfFullName[64]; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort elfStyle[32]; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort elfScript[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTW.cs b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTW.cs index 4142d91810..75dc0e4672 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/ENUMLOGFONTW.cs @@ -12,10 +12,10 @@ public unsafe partial struct ENUMLOGFONTW public LOGFONTW elfLogFont; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort elfFullName[64]; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort elfStyle[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTA.cs b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTA.cs index af5e3125e8..9f2db7bc65 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTA.cs @@ -12,11 +12,11 @@ public unsafe partial struct EXTLOGFONTA public LOGFONTA elfLogFont; /// - [NativeTypeName("BYTE [64]")] + [NativeTypeName("BYTE[64]")] public fixed byte elfFullName[64]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte elfStyle[32]; /// @@ -36,7 +36,7 @@ public unsafe partial struct EXTLOGFONTA public uint elfReserved; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte elfVendorId[4]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTW.cs b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTW.cs index b9b5aab64d..225fcf123f 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGFONTW.cs @@ -12,11 +12,11 @@ public unsafe partial struct EXTLOGFONTW public LOGFONTW elfLogFont; /// - [NativeTypeName("WCHAR [64]")] + [NativeTypeName("WCHAR[64]")] public fixed ushort elfFullName[64]; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort elfStyle[32]; /// @@ -36,7 +36,7 @@ public unsafe partial struct EXTLOGFONTW public uint elfReserved; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte elfVendorId[4]; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN.cs b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN.cs index cfcfd4b9b3..6b7df7e522 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN.cs @@ -31,6 +31,6 @@ public unsafe partial struct EXTLOGPEN public uint elpNumEntries; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint elpStyleEntry[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN32.cs b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN32.cs index 36aa46cb95..773aa2e3e6 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN32.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/EXTLOGPEN32.cs @@ -31,6 +31,6 @@ public unsafe partial struct EXTLOGPEN32 public uint elpNumEntries; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint elpStyleEntry[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/FONTSIGNATURE.cs b/sources/Interop/Windows/Windows/um/wingdi/FONTSIGNATURE.cs index c05358d240..5e34994eda 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/FONTSIGNATURE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/FONTSIGNATURE.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FONTSIGNATURE { /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint fsUsb[4]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint fsCsb[2]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/GLYPHSET.cs b/sources/Interop/Windows/Windows/um/wingdi/GLYPHSET.cs index 8149bd3344..7b79f1793a 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/GLYPHSET.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/GLYPHSET.cs @@ -29,7 +29,7 @@ public partial struct GLYPHSET public uint cRanges; /// - [NativeTypeName("WCRANGE [1]")] + [NativeTypeName("WCRANGE[1]")] public _ranges_e__FixedBuffer ranges; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/HANDLETABLE.cs b/sources/Interop/Windows/Windows/um/wingdi/HANDLETABLE.cs index f2cc030c73..b981f32cec 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/HANDLETABLE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/HANDLETABLE.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.Windows; public partial struct HANDLETABLE { /// - [NativeTypeName("HGDIOBJ [1]")] + [NativeTypeName("HGDIOBJ[1]")] public _objectHandle_e__FixedBuffer objectHandle; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOCALESIGNATURE.cs b/sources/Interop/Windows/Windows/um/wingdi/LOCALESIGNATURE.cs index 7df5c5f8ad..5dc1331c3d 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOCALESIGNATURE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOCALESIGNATURE.cs @@ -9,14 +9,14 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct LOCALESIGNATURE { /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint lsUsb[4]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint lsCsbDefault[2]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint lsCsbSupported[2]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEA.cs b/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEA.cs index 6dbba77910..d3ca8959c9 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEA.cs @@ -44,6 +44,6 @@ public unsafe partial struct LOGCOLORSPACEA public uint lcsGammaBlue; /// - [NativeTypeName("CHAR [260]")] + [NativeTypeName("CHAR[260]")] public fixed sbyte lcsFilename[260]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEW.cs b/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEW.cs index edc2bf29b1..b4be11d43b 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOGCOLORSPACEW.cs @@ -44,6 +44,6 @@ public unsafe partial struct LOGCOLORSPACEW public uint lcsGammaBlue; /// - [NativeTypeName("WCHAR [260]")] + [NativeTypeName("WCHAR[260]")] public fixed ushort lcsFilename[260]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOGFONTA.cs b/sources/Interop/Windows/Windows/um/wingdi/LOGFONTA.cs index c4841a042e..9aece05e4d 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOGFONTA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOGFONTA.cs @@ -53,6 +53,6 @@ public unsafe partial struct LOGFONTA public byte lfPitchAndFamily; /// - [NativeTypeName("CHAR [32]")] + [NativeTypeName("CHAR[32]")] public fixed sbyte lfFaceName[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOGFONTW.cs b/sources/Interop/Windows/Windows/um/wingdi/LOGFONTW.cs index 623e280c16..3fa81aa4a3 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOGFONTW.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOGFONTW.cs @@ -53,6 +53,6 @@ public unsafe partial struct LOGFONTW public byte lfPitchAndFamily; /// - [NativeTypeName("WCHAR [32]")] + [NativeTypeName("WCHAR[32]")] public fixed ushort lfFaceName[32]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/LOGPALETTE.cs b/sources/Interop/Windows/Windows/um/wingdi/LOGPALETTE.cs index 4e8664ed7d..36ed13ebda 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/LOGPALETTE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/LOGPALETTE.cs @@ -21,7 +21,7 @@ public partial struct LOGPALETTE public ushort palNumEntries; /// - [NativeTypeName("PALETTEENTRY [1]")] + [NativeTypeName("PALETTEENTRY[1]")] public _palPalEntry_e__FixedBuffer palPalEntry; /// diff --git a/sources/Interop/Windows/Windows/um/wingdi/METARECORD.cs b/sources/Interop/Windows/Windows/um/wingdi/METARECORD.cs index 1e7a98ec7f..03d80c4c34 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/METARECORD.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/METARECORD.cs @@ -17,6 +17,6 @@ public unsafe partial struct METARECORD public ushort rdFunction; /// - [NativeTypeName("WORD [1]")] + [NativeTypeName("WORD[1]")] public fixed ushort rdParm[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/RGNDATA.cs b/sources/Interop/Windows/Windows/um/wingdi/RGNDATA.cs index 978347bc30..909494d38e 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/RGNDATA.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/RGNDATA.cs @@ -12,6 +12,6 @@ public unsafe partial struct RGNDATA public RGNDATAHEADER rdh; /// - [NativeTypeName("char [1]")] + [NativeTypeName("char[1]")] public fixed sbyte Buffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/wingdi/TTPOLYCURVE.cs b/sources/Interop/Windows/Windows/um/wingdi/TTPOLYCURVE.cs index f5e4c5e004..a4376bd20d 100644 --- a/sources/Interop/Windows/Windows/um/wingdi/TTPOLYCURVE.cs +++ b/sources/Interop/Windows/Windows/um/wingdi/TTPOLYCURVE.cs @@ -21,7 +21,7 @@ public partial struct TTPOLYCURVE public ushort cpfx; /// - [NativeTypeName("POINTFX [1]")] + [NativeTypeName("POINTFX[1]")] public _apfx_e__FixedBuffer apfx; /// diff --git a/sources/Interop/Windows/Windows/um/winhttp/WINHTTP_PROXY_NETWORKING_KEY.cs b/sources/Interop/Windows/Windows/um/winhttp/WINHTTP_PROXY_NETWORKING_KEY.cs index eedf229fd5..a20590318d 100644 --- a/sources/Interop/Windows/Windows/um/winhttp/WINHTTP_PROXY_NETWORKING_KEY.cs +++ b/sources/Interop/Windows/Windows/um/winhttp/WINHTTP_PROXY_NETWORKING_KEY.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct WINHTTP_PROXY_NETWORKING_KEY { /// - [NativeTypeName("unsigned char [128]")] + [NativeTypeName("unsigned char[128]")] public fixed byte pbBuffer[128]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/BIN_RESULTS.cs b/sources/Interop/Windows/Windows/um/winioctl/BIN_RESULTS.cs index 24155781fc..567d6d5d18 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/BIN_RESULTS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/BIN_RESULTS.cs @@ -17,7 +17,7 @@ public partial struct BIN_RESULTS public uint NumberOfBins; /// - [NativeTypeName("BIN_COUNT [1]")] + [NativeTypeName("BIN_COUNT[1]")] public _BinCounts_e__FixedBuffer BinCounts; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/BOOT_AREA_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/BOOT_AREA_INFO.cs index 66a45385f3..3b128ec567 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/BOOT_AREA_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/BOOT_AREA_INFO.cs @@ -17,7 +17,7 @@ public partial struct BOOT_AREA_INFO public uint BootSectorCount; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:13756:5) [2]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:13756:5)[2]")] public _BootSectors_e__FixedBuffer BootSectors; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/BULK_SECURITY_TEST_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/BULK_SECURITY_TEST_DATA.cs index 88c9fc13ff..06cee5ddf6 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/BULK_SECURITY_TEST_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/BULK_SECURITY_TEST_DATA.cs @@ -13,6 +13,6 @@ public unsafe partial struct BULK_SECURITY_TEST_DATA public uint DesiredAccess; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint SecurityIds[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS.cs b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS.cs index d6bdf877d7..5123aaa540 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS.cs @@ -33,10 +33,10 @@ public unsafe partial struct CHANGER_ELEMENT_STATUS public ushort Reserved; /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte PrimaryVolumeID[36]; /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte AlternateVolumeID[36]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS_EX.cs index 483e725f9e..e88ad8c569 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_ELEMENT_STATUS_EX.cs @@ -33,22 +33,22 @@ public unsafe partial struct CHANGER_ELEMENT_STATUS_EX public ushort Reserved; /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte PrimaryVolumeID[36]; /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte AlternateVolumeID[36]; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte VendorIdentification[8]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ProductIdentification[16]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte SerialNumber[32]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_PRODUCT_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_PRODUCT_DATA.cs index 183efa2ad2..ea6d6976f6 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_PRODUCT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_PRODUCT_DATA.cs @@ -9,19 +9,19 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct CHANGER_PRODUCT_DATA { /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte VendorId[8]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ProductId[16]; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte Revision[4]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte SerialNumber[32]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_SEND_VOLUME_TAG_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_SEND_VOLUME_TAG_INFORMATION.cs index 1b554103e7..3099adf5c6 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CHANGER_SEND_VOLUME_TAG_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CHANGER_SEND_VOLUME_TAG_INFORMATION.cs @@ -16,6 +16,6 @@ public unsafe partial struct CHANGER_SEND_VOLUME_TAG_INFORMATION public uint ActionCode; /// - [NativeTypeName("BYTE [40]")] + [NativeTypeName("BYTE[40]")] public fixed byte VolumeIDTemplate[40]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CONTAINER_ROOT_INFO_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/CONTAINER_ROOT_INFO_OUTPUT.cs index 867897a83f..2651c61ee6 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CONTAINER_ROOT_INFO_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CONTAINER_ROOT_INFO_OUTPUT.cs @@ -13,6 +13,6 @@ public unsafe partial struct CONTAINER_ROOT_INFO_OUTPUT public ushort ContainerRootIdLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte ContainerRootId[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION.cs b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION.cs index 9dcc49ab41..90c36a714f 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION.cs @@ -13,6 +13,6 @@ public unsafe partial struct CSV_QUERY_FILE_REVISION public long FileId; /// - [NativeTypeName("LONGLONG [3]")] + [NativeTypeName("LONGLONG[3]")] public fixed long FileRevision[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION_FILE_ID_128.cs b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION_FILE_ID_128.cs index dc3ab9b118..cf74b1c4b7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION_FILE_ID_128.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_FILE_REVISION_FILE_ID_128.cs @@ -12,6 +12,6 @@ public unsafe partial struct CSV_QUERY_FILE_REVISION_FILE_ID_128 public FILE_ID_128 FileId; /// - [NativeTypeName("LONGLONG [3]")] + [NativeTypeName("LONGLONG[3]")] public fixed long FileRevision[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_MDS_PATH.cs b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_MDS_PATH.cs index 0358887d71..e062fbf9df 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_MDS_PATH.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_MDS_PATH.cs @@ -21,6 +21,6 @@ public unsafe partial struct CSV_QUERY_MDS_PATH public uint PathLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Path[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT.cs index 8535286ec7..a67c8822bf 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT.cs @@ -17,6 +17,6 @@ public unsafe partial struct CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT public ulong VetoedFromAltitudeDecimal; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Reason[256]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PRIVATE_SUBSECTION.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PRIVATE_SUBSECTION.cs index aa01f5b94d..0c5001c1ed 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PRIVATE_SUBSECTION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PRIVATE_SUBSECTION.cs @@ -19,6 +19,6 @@ public unsafe partial struct DEVICEDUMP_PRIVATE_SUBSECTION public GP_LOG_PAGE_DESCRIPTOR GPLogId; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bData[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PUBLIC_SUBSECTION.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PUBLIC_SUBSECTION.cs index 47784cded5..2c5b4c3492 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PUBLIC_SUBSECTION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_PUBLIC_SUBSECTION.cs @@ -18,15 +18,15 @@ public unsafe partial struct DEVICEDUMP_PUBLIC_SUBSECTION public uint dwFlags; /// - [NativeTypeName("GP_LOG_PAGE_DESCRIPTOR [16]")] + [NativeTypeName("GP_LOG_PAGE_DESCRIPTOR[16]")] public _GPLogTable_e__FixedBuffer GPLogTable; /// - [NativeTypeName("CHAR [16]")] + [NativeTypeName("CHAR[16]")] public fixed sbyte szDescription[16]; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bData[1]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_RESTRICTED_SUBSECTION.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_RESTRICTED_SUBSECTION.cs index edd9e38996..1fe70f513c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_RESTRICTED_SUBSECTION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_RESTRICTED_SUBSECTION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct DEVICEDUMP_RESTRICTED_SUBSECTION { /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bData[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_SECTION_HEADER.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_SECTION_HEADER.cs index f921bb4dbb..88516f0287 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_SECTION_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_SECTION_HEADER.cs @@ -16,7 +16,7 @@ public unsafe partial struct DEVICEDUMP_SECTION_HEADER public Guid guidDeviceDataId; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte sOrganizationID[16]; /// @@ -24,11 +24,11 @@ public unsafe partial struct DEVICEDUMP_SECTION_HEADER public uint dwFirmwareRevision; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte sModelNumber[32]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte szDeviceManufacturingID[32]; /// @@ -44,6 +44,6 @@ public unsafe partial struct DEVICEDUMP_SECTION_HEADER public uint dwFirmwareIssueId; /// - [NativeTypeName("BYTE [132]")] + [NativeTypeName("BYTE[132]")] public fixed byte szIssueDescriptionString[132]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP.cs index fa229bfd70..ca29c040a2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP.cs @@ -21,7 +21,7 @@ public unsafe partial struct DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP public uint dwReasonForCollection; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte cDriverName[16]; /// @@ -29,7 +29,7 @@ public unsafe partial struct DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP public uint uiNumRecords; /// - [NativeTypeName("DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD [1]")] + [NativeTypeName("DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD[1]")] public _RecordArray_e__FixedBuffer RecordArray; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD.cs index 229515a108..6680683755 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD.cs @@ -12,11 +12,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Cdb[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Command[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_COPY_OFFLOAD_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_COPY_OFFLOAD_DESCRIPTOR.cs index 81b6708154..7aa280cdce 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_COPY_OFFLOAD_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_COPY_OFFLOAD_DESCRIPTOR.cs @@ -52,6 +52,6 @@ public unsafe partial struct DEVICE_COPY_OFFLOAD_DESCRIPTOR public ushort OptimalTransferLengthGranularity; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE.cs index b4a30be1a7..55ee66e87d 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE.cs @@ -36,6 +36,6 @@ public unsafe partial struct DEVICE_DATA_SET_LB_PROVISIONING_STATE public uint SlabAllocationBitMapLength; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint SlabAllocationBitMap[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2.cs index 6d756240d0..0964cccf50 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2.cs @@ -33,6 +33,6 @@ public unsafe partial struct DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 public uint SlabAllocationBitMapLength; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint SlabAllocationBitMap[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_REPAIR_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_REPAIR_PARAMETERS.cs index 02545c7030..14f6ae6b52 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_REPAIR_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_REPAIR_PARAMETERS.cs @@ -20,6 +20,6 @@ public unsafe partial struct DEVICE_DATA_SET_REPAIR_PARAMETERS public uint SourceCopy; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint RepairCopies[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT.cs index 957c181a0f..2b7aa8a8f1 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT.cs @@ -13,6 +13,6 @@ public unsafe partial struct DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT public ulong TopologyRangeBytes; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte TopologyId[16]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_LOST_QUERY_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_LOST_QUERY_OUTPUT.cs index a9e88dc3f6..429ef4cc93 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_LOST_QUERY_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_LOST_QUERY_OUTPUT.cs @@ -25,6 +25,6 @@ public unsafe partial struct DEVICE_DSM_LOST_QUERY_OUTPUT public uint NumberOfBits; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint BitMap[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NOTIFICATION_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NOTIFICATION_PARAMETERS.cs index e46250c192..eafb8d2a3d 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NOTIFICATION_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NOTIFICATION_PARAMETERS.cs @@ -25,7 +25,7 @@ public partial struct DEVICE_DSM_NOTIFICATION_PARAMETERS public uint NumFileTypeIDs; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _FileTypeID_e__FixedBuffer FileTypeID; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS.cs index ef417ee9dc..0aaff4e8fc 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS.cs @@ -16,6 +16,6 @@ public unsafe partial struct DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS public byte TargetPriority; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_OFFLOAD_READ_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_OFFLOAD_READ_PARAMETERS.cs index e1b57917cf..438b063814 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_OFFLOAD_READ_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_OFFLOAD_READ_PARAMETERS.cs @@ -20,6 +20,6 @@ public unsafe partial struct DEVICE_DSM_OFFLOAD_READ_PARAMETERS public uint TimeToLive; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT.cs index 8d6f3d7865..514dd3e756 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT.cs @@ -29,7 +29,7 @@ public partial struct DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT public uint NumberOfRangesReturned; /// - [NativeTypeName("DEVICE_STORAGE_ADDRESS_RANGE [1]")] + [NativeTypeName("DEVICE_STORAGE_ADDRESS_RANGE[1]")] public _Ranges_e__FixedBuffer Ranges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_RANGE_ERROR_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_RANGE_ERROR_INFO.cs index 6d44650284..f9ba3da8f9 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_RANGE_ERROR_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_RANGE_ERROR_INFO.cs @@ -29,7 +29,7 @@ public partial struct DEVICE_DSM_RANGE_ERROR_INFO public uint NumberOfRangesReturned; /// - [NativeTypeName("DEVICE_STORAGE_RANGE_ATTRIBUTES [1]")] + [NativeTypeName("DEVICE_STORAGE_RANGE_ATTRIBUTES[1]")] public _Ranges_e__FixedBuffer Ranges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_DATA.cs index 879947fd2b..aad4c34770 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_DATA.cs @@ -28,7 +28,7 @@ public partial struct DEVICE_DSM_REPORT_ZONES_DATA public uint Reserved0; /// - [NativeTypeName("STORAGE_ZONE_DESCRIPTOR [1]")] + [NativeTypeName("STORAGE_ZONE_DESCRIPTOR[1]")] public _ZoneDescriptors_e__FixedBuffer ZoneDescriptors; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_PARAMETERS.cs index 3f67347008..5ccf6a0d1b 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_REPORT_ZONES_PARAMETERS.cs @@ -19,6 +19,6 @@ public unsafe partial struct DEVICE_DSM_REPORT_ZONES_PARAMETERS public byte Partial; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_INPUT.cs index fc774a9205..295af7ecf7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_INPUT.cs @@ -29,7 +29,7 @@ public partial struct DEVICE_DSM_TIERING_QUERY_INPUT public uint NumberOfTierIds; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _TierIds_e__FixedBuffer TierIds; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_OUTPUT.cs index a685862d14..1aabe5d2cf 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_DSM_TIERING_QUERY_OUTPUT.cs @@ -41,7 +41,7 @@ public partial struct DEVICE_DSM_TIERING_QUERY_OUTPUT public uint NumberOfRegionsReturned; /// - [NativeTypeName("STORAGE_TIER_REGION [1]")] + [NativeTypeName("STORAGE_TIER_REGION[1]")] public _Regions_e__FixedBuffer Regions; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA.cs index e2c8408795..fd4645200c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_INTERNAL_STATUS_DATA.cs @@ -40,11 +40,11 @@ public unsafe partial struct DEVICE_INTERNAL_STATUS_DATA public byte StatusDataVersion; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// - [NativeTypeName("BYTE [128]")] + [NativeTypeName("BYTE[128]")] public fixed byte ReasonIdentifier[128]; /// @@ -52,6 +52,6 @@ public unsafe partial struct DEVICE_INTERNAL_STATUS_DATA public uint StatusDataLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte StatusData[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_LB_PROVISIONING_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_LB_PROVISIONING_DESCRIPTOR.cs index cd3ead7b3e..cbef3ae5fa 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_LB_PROVISIONING_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_LB_PROVISIONING_DESCRIPTOR.cs @@ -125,7 +125,7 @@ public byte MapSupported } /// - [NativeTypeName("BYTE [7]")] + [NativeTypeName("BYTE[7]")] public fixed byte Reserved1[7]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_POWER_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_POWER_DESCRIPTOR.cs index 0048b4e28b..e81660353b 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DEVICE_POWER_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DEVICE_POWER_DESCRIPTOR.cs @@ -44,7 +44,7 @@ public unsafe partial struct DEVICE_POWER_DESCRIPTOR public byte NoVerifyDuringIdlePower; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DISK_GEOMETRY_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/DISK_GEOMETRY_EX.cs index a591514866..8e0b427d8e 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DISK_GEOMETRY_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DISK_GEOMETRY_EX.cs @@ -15,6 +15,6 @@ public unsafe partial struct DISK_GEOMETRY_EX public LARGE_INTEGER DiskSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DISK_PERFORMANCE.cs b/sources/Interop/Windows/Windows/um/winioctl/DISK_PERFORMANCE.cs index 7385d410c0..3f37dc51cc 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DISK_PERFORMANCE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DISK_PERFORMANCE.cs @@ -47,6 +47,6 @@ public unsafe partial struct DISK_PERFORMANCE public uint StorageDeviceNumber; /// - [NativeTypeName("WCHAR [8]")] + [NativeTypeName("WCHAR[8]")] public fixed ushort StorageManagerName[8]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DRIVERSTATUS.cs b/sources/Interop/Windows/Windows/um/winioctl/DRIVERSTATUS.cs index c4ce3c48af..278b950505 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DRIVERSTATUS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DRIVERSTATUS.cs @@ -18,10 +18,10 @@ public unsafe partial struct DRIVERSTATUS public byte bIDEError; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte bReserved[2]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint dwReserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION.cs index 3ef61b9092..d38208c40c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION.cs @@ -21,7 +21,7 @@ public partial struct DRIVE_LAYOUT_INFORMATION public uint Signature; /// - [NativeTypeName("PARTITION_INFORMATION [1]")] + [NativeTypeName("PARTITION_INFORMATION[1]")] public _PartitionEntry_e__FixedBuffer PartitionEntry; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION_EX.cs index b347600f7e..8f61477140 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/DRIVE_LAYOUT_INFORMATION_EX.cs @@ -25,7 +25,7 @@ public partial struct DRIVE_LAYOUT_INFORMATION_EX public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("PARTITION_INFORMATION_EX [1]")] + [NativeTypeName("PARTITION_INFORMATION_EX[1]")] public _PartitionEntry_e__FixedBuffer PartitionEntry; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTED_DATA_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTED_DATA_INFO.cs index 9edcc73e67..dc19622378 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTED_DATA_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTED_DATA_INFO.cs @@ -45,6 +45,6 @@ public unsafe partial struct ENCRYPTED_DATA_INFO public ushort NumberOfDataBlocks; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint DataBlockSize[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTION_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTION_BUFFER.cs index 7518a41fa0..0b3a94b242 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTION_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/ENCRYPTION_BUFFER.cs @@ -13,6 +13,6 @@ public unsafe partial struct ENCRYPTION_BUFFER public uint EncryptionOperation; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Private[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_LAYOUT_NAME_ENTRY.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_LAYOUT_NAME_ENTRY.cs index d6bc76fff5..21dfebdea1 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_LAYOUT_NAME_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_LAYOUT_NAME_ENTRY.cs @@ -29,6 +29,6 @@ public unsafe partial struct FILE_LAYOUT_NAME_ENTRY public uint Reserved; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_LEVEL_TRIM.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_LEVEL_TRIM.cs index a96e25908c..ffad90dd5a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_LEVEL_TRIM.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_LEVEL_TRIM.cs @@ -23,7 +23,7 @@ public partial struct FILE_LEVEL_TRIM public uint NumRanges; /// - [NativeTypeName("FILE_LEVEL_TRIM_RANGE [1]")] + [NativeTypeName("FILE_LEVEL_TRIM_RANGE[1]")] public _Ranges_e__FixedBuffer Ranges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_OBJECTID_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_OBJECTID_BUFFER.cs index d57acc5873..34405e0146 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_OBJECTID_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_OBJECTID_BUFFER.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FILE_OBJECTID_BUFFER { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ObjectId[16]; /// @@ -71,22 +71,22 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("BYTE [48]")] + [NativeTypeName("BYTE[48]")] public fixed byte ExtendedInfo[48]; /// public unsafe partial struct _Anonymous_e__Struct { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte BirthVolumeId[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte BirthObjectId[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte DomainId[16]; } } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH.cs index 4562c938f8..7829b150c8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH.cs @@ -17,6 +17,6 @@ public unsafe partial struct FILE_PREFETCH public uint Count; /// - [NativeTypeName("DWORDLONG [1]")] + [NativeTypeName("DWORDLONG[1]")] public fixed ulong Prefetch[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH_EX.cs index 0583b15806..de25895db8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_PREFETCH_EX.cs @@ -21,6 +21,6 @@ public unsafe partial struct FILE_PREFETCH_EX public void* Context; /// - [NativeTypeName("DWORDLONG [1]")] + [NativeTypeName("DWORDLONG[1]")] public fixed ulong Prefetch[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_QUERY_ON_DISK_VOL_INFO_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_QUERY_ON_DISK_VOL_INFO_BUFFER.cs index f80baefff6..f89b89e81c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_QUERY_ON_DISK_VOL_INFO_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_QUERY_ON_DISK_VOL_INFO_BUFFER.cs @@ -23,7 +23,7 @@ public unsafe partial struct FILE_QUERY_ON_DISK_VOL_INFO_BUFFER public ushort FsFormatMinVersion; /// - [NativeTypeName("WCHAR [12]")] + [NativeTypeName("WCHAR[12]")] public fixed ushort FsFormatName[12]; /// @@ -33,18 +33,18 @@ public unsafe partial struct FILE_QUERY_ON_DISK_VOL_INFO_BUFFER public LARGE_INTEGER LastUpdateTime; /// - [NativeTypeName("WCHAR [34]")] + [NativeTypeName("WCHAR[34]")] public fixed ushort CopyrightInfo[34]; /// - [NativeTypeName("WCHAR [34]")] + [NativeTypeName("WCHAR[34]")] public fixed ushort AbstractInfo[34]; /// - [NativeTypeName("WCHAR [34]")] + [NativeTypeName("WCHAR[34]")] public fixed ushort FormattingImplementationInfo[34]; /// - [NativeTypeName("WCHAR [34]")] + [NativeTypeName("WCHAR[34]")] public fixed ushort LastModifyingImplementationInfo[34]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_REGION_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_REGION_OUTPUT.cs index 28ed08c09f..96cec90b11 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_REGION_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_REGION_OUTPUT.cs @@ -29,7 +29,7 @@ public partial struct FILE_REGION_OUTPUT public uint Reserved; /// - [NativeTypeName("FILE_REGION_INFO [1]")] + [NativeTypeName("FILE_REGION_INFO[1]")] public _Region_e__FixedBuffer Region; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_STORAGE_TIER.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_STORAGE_TIER.cs index 77caf6bc61..aea15c6b6d 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_STORAGE_TIER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_STORAGE_TIER.cs @@ -14,11 +14,11 @@ public unsafe partial struct FILE_STORAGE_TIER public Guid Id; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Name[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Description[256]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_SYSTEM_RECOGNITION_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_SYSTEM_RECOGNITION_INFORMATION.cs index e6b1f62ac1..508aae0547 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_SYSTEM_RECOGNITION_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_SYSTEM_RECOGNITION_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FILE_SYSTEM_RECOGNITION_INFORMATION { /// - [NativeTypeName("CHAR [9]")] + [NativeTypeName("CHAR[9]")] public fixed sbyte FileSystem[9]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FILE_TYPE_NOTIFICATION_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FILE_TYPE_NOTIFICATION_INPUT.cs index 75b8c921cc..159e892b19 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FILE_TYPE_NOTIFICATION_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FILE_TYPE_NOTIFICATION_INPUT.cs @@ -21,7 +21,7 @@ public partial struct FILE_TYPE_NOTIFICATION_INPUT public uint NumFileTypeIDs; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _FileTypeID_e__FixedBuffer FileTypeID; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FIND_BY_SID_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FIND_BY_SID_OUTPUT.cs index 2c331c4887..ef13cf1843 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FIND_BY_SID_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FIND_BY_SID_OUTPUT.cs @@ -21,6 +21,6 @@ public unsafe partial struct FIND_BY_SID_OUTPUT public uint FileNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FORMAT_EX_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/FORMAT_EX_PARAMETERS.cs index 0d90804e95..2a204bda7a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FORMAT_EX_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FORMAT_EX_PARAMETERS.cs @@ -36,6 +36,6 @@ public unsafe partial struct FORMAT_EX_PARAMETERS public ushort SectorsPerTrack; /// - [NativeTypeName("WORD [1]")] + [NativeTypeName("WORD[1]")] public fixed ushort SectorNumber[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_READ_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_READ_OUTPUT.cs index 6eab719649..7fa5daf5d9 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_READ_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_READ_OUTPUT.cs @@ -21,6 +21,6 @@ public unsafe partial struct FSCTL_OFFLOAD_READ_OUTPUT public ulong TransferLength; /// - [NativeTypeName("BYTE [512]")] + [NativeTypeName("BYTE[512]")] public fixed byte Token[512]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_WRITE_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_WRITE_INPUT.cs index 2d10b6d6a6..6db0082c93 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_WRITE_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_OFFLOAD_WRITE_INPUT.cs @@ -29,6 +29,6 @@ public unsafe partial struct FSCTL_OFFLOAD_WRITE_INPUT public ulong TransferOffset; /// - [NativeTypeName("BYTE [512]")] + [NativeTypeName("BYTE[512]")] public fixed byte Token[512]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_FAT_BPB_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_FAT_BPB_BUFFER.cs index c0999eec35..eb221bf702 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_FAT_BPB_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_FAT_BPB_BUFFER.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FSCTL_QUERY_FAT_BPB_BUFFER { /// - [NativeTypeName("BYTE [36]")] + [NativeTypeName("BYTE[36]")] public fixed byte First0x24BytesOfBootSector[36]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_INPUT.cs index c075cb8b05..ede138743c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_INPUT.cs @@ -29,7 +29,7 @@ public partial struct FSCTL_QUERY_REGION_INFO_INPUT public uint NumberOfTierIds; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _TierIds_e__FixedBuffer TierIds; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_OUTPUT.cs index e80a846932..b8c2b0e868 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_REGION_INFO_OUTPUT.cs @@ -41,7 +41,7 @@ public partial struct FSCTL_QUERY_REGION_INFO_OUTPUT public uint NumberOfRegionsReturned; /// - [NativeTypeName("FILE_STORAGE_TIER_REGION [1]")] + [NativeTypeName("FILE_STORAGE_TIER_REGION[1]")] public _Regions_e__FixedBuffer Regions; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_STORAGE_CLASSES_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_STORAGE_CLASSES_OUTPUT.cs index 6f05c13151..0769ad1085 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_STORAGE_CLASSES_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_QUERY_STORAGE_CLASSES_OUTPUT.cs @@ -33,7 +33,7 @@ public partial struct FSCTL_QUERY_STORAGE_CLASSES_OUTPUT public uint NumberOfTiersReturned; /// - [NativeTypeName("FILE_STORAGE_TIER [1]")] + [NativeTypeName("FILE_STORAGE_TIER[1]")] public _Tiers_e__FixedBuffer Tiers; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX.cs index 6638d559b4..f0109f0ab2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX.cs @@ -26,6 +26,6 @@ public unsafe partial struct FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX public byte Version; /// - [NativeTypeName("BYTE [7]")] + [NativeTypeName("BYTE[7]")] public fixed byte Reserved2[7]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/GETVERSIONINPARAMS.cs b/sources/Interop/Windows/Windows/um/winioctl/GETVERSIONINPARAMS.cs index ba1039724a..de2cc43d3b 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/GETVERSIONINPARAMS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/GETVERSIONINPARAMS.cs @@ -28,6 +28,6 @@ public unsafe partial struct GETVERSIONINPARAMS public uint fCapabilities; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint dwReserved[4]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/GET_CHANGER_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/GET_CHANGER_PARAMETERS.cs index 6684dc534e..ffe4878569 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/GET_CHANGER_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/GET_CHANGER_PARAMETERS.cs @@ -103,10 +103,10 @@ public unsafe partial struct GET_CHANGER_PARAMETERS public byte PositionCapabilities; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved1[2]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Reserved2[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_INPUT.cs index ffa87787ab..97a35e35ec 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_INPUT.cs @@ -13,6 +13,6 @@ public unsafe partial struct GET_FILTER_FILE_IDENTIFIER_INPUT public ushort AltitudeLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Altitude[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_OUTPUT.cs index a3276271e7..d09db8ffa9 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/GET_FILTER_FILE_IDENTIFIER_OUTPUT.cs @@ -13,6 +13,6 @@ public unsafe partial struct GET_FILTER_FILE_IDENTIFIER_OUTPUT public ushort FilterFileIdentifierLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte FilterFileIdentifier[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/GET_MEDIA_TYPES.cs b/sources/Interop/Windows/Windows/um/winioctl/GET_MEDIA_TYPES.cs index a1bcd0618e..14f9d2e557 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/GET_MEDIA_TYPES.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/GET_MEDIA_TYPES.cs @@ -21,7 +21,7 @@ public partial struct GET_MEDIA_TYPES public uint MediaInfoCount; /// - [NativeTypeName("DEVICE_MEDIA_INFO [1]")] + [NativeTypeName("DEVICE_MEDIA_INFO[1]")] public _MediaInfo_e__FixedBuffer MediaInfo; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_ENTRY.cs b/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_ENTRY.cs index 26f826491d..81b2ca38ad 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_ENTRY.cs @@ -23,6 +23,6 @@ public unsafe partial struct LOOKUP_STREAM_FROM_CLUSTER_ENTRY public LARGE_INTEGER Cluster; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_INPUT.cs index cc851295b4..c68f868acb 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/LOOKUP_STREAM_FROM_CLUSTER_INPUT.cs @@ -21,7 +21,7 @@ public partial struct LOOKUP_STREAM_FROM_CLUSTER_INPUT public uint NumberOfClusters; /// - [NativeTypeName("LARGE_INTEGER [1]")] + [NativeTypeName("LARGE_INTEGER[1]")] public _Cluster_e__FixedBuffer Cluster; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/NTFS_FILE_RECORD_OUTPUT_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/NTFS_FILE_RECORD_OUTPUT_BUFFER.cs index 82cb7beb98..c5de1f5fce 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/NTFS_FILE_RECORD_OUTPUT_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/NTFS_FILE_RECORD_OUTPUT_BUFFER.cs @@ -16,6 +16,6 @@ public unsafe partial struct NTFS_FILE_RECORD_OUTPUT_BUFFER public uint FileRecordLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte FileRecordBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/PARTITION_INFORMATION_GPT.cs b/sources/Interop/Windows/Windows/um/winioctl/PARTITION_INFORMATION_GPT.cs index c08e49b73b..c0c1cbc1b7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PARTITION_INFORMATION_GPT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PARTITION_INFORMATION_GPT.cs @@ -21,6 +21,6 @@ public unsafe partial struct PARTITION_INFORMATION_GPT public ulong Attributes; /// - [NativeTypeName("WCHAR [36]")] + [NativeTypeName("WCHAR[36]")] public fixed ushort Name[36]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/PATHNAME_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/PATHNAME_BUFFER.cs index 549005324e..94173dcff9 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PATHNAME_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PATHNAME_BUFFER.cs @@ -13,6 +13,6 @@ public unsafe partial struct PATHNAME_BUFFER public uint PathNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/PERF_BIN.cs b/sources/Interop/Windows/Windows/um/winioctl/PERF_BIN.cs index e99f2d6a63..7050482bdd 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PERF_BIN.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PERF_BIN.cs @@ -21,7 +21,7 @@ public partial struct PERF_BIN public uint TypeOfBin; /// - [NativeTypeName("BIN_RANGE [1]")] + [NativeTypeName("BIN_RANGE[1]")] public _BinsRanges_e__FixedBuffer BinsRanges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/PERSISTENT_RESERVE_COMMAND.cs b/sources/Interop/Windows/Windows/um/winioctl/PERSISTENT_RESERVE_COMMAND.cs index 9079ed545a..bd92b789b5 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PERSISTENT_RESERVE_COMMAND.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PERSISTENT_RESERVE_COMMAND.cs @@ -177,7 +177,7 @@ public byte Scope } /// - [NativeTypeName("BYTE [0]")] + [NativeTypeName("BYTE[0]")] public fixed byte ParameterList[1]; } } diff --git a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS.cs b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS.cs index b1152efc53..797b24d4a8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS.cs @@ -37,7 +37,7 @@ public partial struct PHYSICAL_ELEMENT_STATUS public uint Reserved; /// - [NativeTypeName("PHYSICAL_ELEMENT_STATUS_DESCRIPTOR [1]")] + [NativeTypeName("PHYSICAL_ELEMENT_STATUS_DESCRIPTOR[1]")] public _Descriptors_e__FixedBuffer Descriptors; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_DESCRIPTOR.cs index ebdb59e7e4..368382734d 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_DESCRIPTOR.cs @@ -27,7 +27,7 @@ public unsafe partial struct PHYSICAL_ELEMENT_STATUS_DESCRIPTOR public byte PhysicalElementHealth; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved1[2]; /// @@ -35,6 +35,6 @@ public unsafe partial struct PHYSICAL_ELEMENT_STATUS_DESCRIPTOR public ulong AssociatedCapacity; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint Reserved2[4]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_REQUEST.cs b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_REQUEST.cs index fb961ce340..8a20bf7754 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_REQUEST.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/PHYSICAL_ELEMENT_STATUS_REQUEST.cs @@ -27,6 +27,6 @@ public unsafe partial struct PHYSICAL_ELEMENT_STATUS_REQUEST public byte ReportType; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_INPUT.cs index f2bdec73c9..a3341f1898 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_INPUT.cs @@ -21,7 +21,7 @@ public partial struct QUERY_BAD_RANGES_INPUT public uint NumRanges; /// - [NativeTypeName("QUERY_BAD_RANGES_INPUT_RANGE [1]")] + [NativeTypeName("QUERY_BAD_RANGES_INPUT_RANGE[1]")] public _Ranges_e__FixedBuffer Ranges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_OUTPUT.cs index 3d1830721b..53e363b8cc 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/QUERY_BAD_RANGES_OUTPUT.cs @@ -25,7 +25,7 @@ public partial struct QUERY_BAD_RANGES_OUTPUT public ulong NextOffsetToLookUp; /// - [NativeTypeName("QUERY_BAD_RANGES_OUTPUT_RANGE [1]")] + [NativeTypeName("QUERY_BAD_RANGES_OUTPUT_RANGE[1]")] public _BadRanges_e__FixedBuffer BadRanges; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/QUERY_FILE_LAYOUT_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/QUERY_FILE_LAYOUT_INPUT.cs index 76e5615879..63b723fa53 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/QUERY_FILE_LAYOUT_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/QUERY_FILE_LAYOUT_INPUT.cs @@ -72,17 +72,17 @@ public partial struct _Filter_e__Union { /// [FieldOffset(0)] - [NativeTypeName("CLUSTER_RANGE [1]")] + [NativeTypeName("CLUSTER_RANGE[1]")] public _ClusterRanges_e__FixedBuffer ClusterRanges; /// [FieldOffset(0)] - [NativeTypeName("FILE_REFERENCE_RANGE [1]")] + [NativeTypeName("FILE_REFERENCE_RANGE[1]")] public _FileReferenceRanges_e__FixedBuffer FileReferenceRanges; /// [FieldOffset(0)] - [NativeTypeName("STORAGE_RESERVE_ID [1]")] + [NativeTypeName("STORAGE_RESERVE_ID[1]")] public _StorageReserveIds_e__FixedBuffer StorageReserveIds; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/READ_ELEMENT_ADDRESS_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/READ_ELEMENT_ADDRESS_INFO.cs index 6da237314e..06643f6dd7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/READ_ELEMENT_ADDRESS_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/READ_ELEMENT_ADDRESS_INFO.cs @@ -17,7 +17,7 @@ public partial struct READ_ELEMENT_ADDRESS_INFO public uint NumberOfElements; /// - [NativeTypeName("CHANGER_ELEMENT_STATUS [1]")] + [NativeTypeName("CHANGER_ELEMENT_STATUS[1]")] public _ElementStatus_e__FixedBuffer ElementStatus; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS.cs b/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS.cs index 129f5a8832..39ddf27610 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS.cs @@ -17,6 +17,6 @@ public unsafe partial struct REASSIGN_BLOCKS public ushort Count; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint BlockNumber[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS_EX.cs b/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS_EX.cs index a5024d1b62..37b34fcc16 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS_EX.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REASSIGN_BLOCKS_EX.cs @@ -22,7 +22,7 @@ public partial struct REASSIGN_BLOCKS_EX public ushort Count; /// - [NativeTypeName("LARGE_INTEGER [1]")] + [NativeTypeName("LARGE_INTEGER[1]")] public _BlockNumber_e__FixedBuffer BlockNumber; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_GC_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_GC_PARAMETERS.cs index de50aa23d8..9aa505de12 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_GC_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_GC_PARAMETERS.cs @@ -31,6 +31,6 @@ public unsafe partial struct REFS_SMR_VOLUME_GC_PARAMETERS public uint CompressionFormat; /// - [NativeTypeName("DWORDLONG [8]")] + [NativeTypeName("DWORDLONG[8]")] public fixed ulong Unused[8]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_INFO_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_INFO_OUTPUT.cs index a722328173..29c829a7ab 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_INFO_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REFS_SMR_VOLUME_INFO_OUTPUT.cs @@ -43,6 +43,6 @@ public unsafe partial struct REFS_SMR_VOLUME_INFO_OUTPUT public uint CurrentGcBandFillPercentage; /// - [NativeTypeName("DWORDLONG [6]")] + [NativeTypeName("DWORDLONG[6]")] public fixed ulong Unused[6]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/REFS_VOLUME_DATA_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/REFS_VOLUME_DATA_BUFFER.cs index 2ab8904f2c..4d86c58a32 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REFS_VOLUME_DATA_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REFS_VOLUME_DATA_BUFFER.cs @@ -67,7 +67,7 @@ public partial struct REFS_VOLUME_DATA_BUFFER public uint DestagesFastTierToSlowTierRate; /// - [NativeTypeName("LARGE_INTEGER [9]")] + [NativeTypeName("LARGE_INTEGER[9]")] public _Reserved_e__FixedBuffer Reserved; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/REPAIR_COPIES_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/REPAIR_COPIES_INPUT.cs index c3e665408a..e49ae36133 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/REPAIR_COPIES_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/REPAIR_COPIES_INPUT.cs @@ -35,6 +35,6 @@ public unsafe partial struct REPAIR_COPIES_INPUT public uint NumberOfRepairCopies; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint RepairCopies[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER.cs index c7941a4bcb..bbbd6785ef 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER.cs @@ -20,7 +20,7 @@ public partial struct RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER public LARGE_INTEGER StartingVcn; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:11255:5) [1]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:11255:5)[1]")] public _Extents_e__FixedBuffer Extents; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_BUFFER.cs index 71ada71550..7aa783e8a7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/RETRIEVAL_POINTERS_BUFFER.cs @@ -20,7 +20,7 @@ public partial struct RETRIEVAL_POINTERS_BUFFER public LARGE_INTEGER StartingVcn; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:11232:5) [1]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winioctl.h:11232:5)[1]")] public _Extents_e__FixedBuffer Extents; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO.cs index 8be26c1d24..22fd8c1083 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO.cs @@ -25,7 +25,7 @@ public partial struct SCM_BUS_DEDICATED_MEMORY_DEVICES_INFO public uint DeviceCount; /// - [NativeTypeName("SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO [1]")] + [NativeTypeName("SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO[1]")] public _Devices_e__FixedBuffer Devices; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_QUERY.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_QUERY.cs index f18e42748c..9b5fa19bb7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_QUERY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_QUERY.cs @@ -23,6 +23,6 @@ public unsafe partial struct SCM_BUS_PROPERTY_QUERY public SCM_BUS_QUERY_TYPE QueryType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_SET.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_SET.cs index 47c2b78744..424f13af19 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_SET.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_BUS_PROPERTY_SET.cs @@ -23,6 +23,6 @@ public unsafe partial struct SCM_BUS_PROPERTY_SET public SCM_BUS_SET_TYPE SetType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_LD_INTERLEAVE_SET_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_LD_INTERLEAVE_SET_INFO.cs index e693d91b94..ebe6890488 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_LD_INTERLEAVE_SET_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_LD_INTERLEAVE_SET_INFO.cs @@ -25,7 +25,7 @@ public partial struct SCM_LD_INTERLEAVE_SET_INFO public uint InterleaveSetSize; /// - [NativeTypeName("SCM_INTERLEAVED_PD_INFO [1]")] + [NativeTypeName("SCM_INTERLEAVED_PD_INFO[1]")] public _InterleaveSet_e__FixedBuffer InterleaveSet; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICES.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICES.cs index a0a9ea190f..79a61db14f 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICES.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICES.cs @@ -25,7 +25,7 @@ public partial struct SCM_LOGICAL_DEVICES public uint DeviceCount; /// - [NativeTypeName("SCM_LOGICAL_DEVICE_INSTANCE [1]")] + [NativeTypeName("SCM_LOGICAL_DEVICE_INSTANCE[1]")] public _Devices_e__FixedBuffer Devices; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICE_INSTANCE.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICE_INSTANCE.cs index ea729fbd82..4c81bb38fc 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICE_INSTANCE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_LOGICAL_DEVICE_INSTANCE.cs @@ -22,6 +22,6 @@ public unsafe partial struct SCM_LOGICAL_DEVICE_INSTANCE public Guid DeviceGuid; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort SymbolicLink[256]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_INFO.cs index 510a188181..61c8a2c193 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_INFO.cs @@ -53,7 +53,7 @@ public unsafe partial struct SCM_PD_DEVICE_INFO public byte NumberOfFormatInterfaceCodes; /// - [NativeTypeName("WORD [8]")] + [NativeTypeName("WORD[8]")] public fixed ushort FormatInterfaceCodes[8]; /// @@ -90,6 +90,6 @@ public unsafe partial struct SCM_PD_DEVICE_INFO public uint SerialNumberLengthInChars; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte SerialNumber[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_INFO.cs index 30a792cc13..d55721bc9b 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_INFO.cs @@ -25,7 +25,7 @@ public partial struct SCM_PD_DEVICE_SPECIFIC_INFO public uint NumberOfProperties; /// - [NativeTypeName("SCM_PD_DEVICE_SPECIFIC_PROPERTY [1]")] + [NativeTypeName("SCM_PD_DEVICE_SPECIFIC_PROPERTY[1]")] public _DeviceSpecificProperties_e__FixedBuffer DeviceSpecificProperties; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_PROPERTY.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_PROPERTY.cs index 0e79d13f01..7b53653732 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_PROPERTY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_DEVICE_SPECIFIC_PROPERTY.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SCM_PD_DEVICE_SPECIFIC_PROPERTY { /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort Name[128]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_DOWNLOAD.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_DOWNLOAD.cs index 59b50598b1..12131643b8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_DOWNLOAD.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_DOWNLOAD.cs @@ -24,7 +24,7 @@ public unsafe partial struct SCM_PD_FIRMWARE_DOWNLOAD public byte Slot; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// @@ -36,6 +36,6 @@ public unsafe partial struct SCM_PD_FIRMWARE_DOWNLOAD public uint FirmwareImageSizeInBytes; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte FirmwareImage[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_INFO.cs index 1146ff9a33..61c41ca8ba 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_INFO.cs @@ -30,7 +30,7 @@ public partial struct SCM_PD_FIRMWARE_INFO public byte SlotCount; /// - [NativeTypeName("SCM_PD_FIRMWARE_SLOT_INFO [1]")] + [NativeTypeName("SCM_PD_FIRMWARE_SLOT_INFO[1]")] public _Slots_e__FixedBuffer Slots; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_SLOT_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_SLOT_INFO.cs index efad1d286c..6add1b52f8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_SLOT_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FIRMWARE_SLOT_INFO.cs @@ -58,10 +58,10 @@ public byte Reserved0 } /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte Reserved1[6]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte Revision[32]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FRU_ID_STRING.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FRU_ID_STRING.cs index 6b1795f7e3..dd27e43f3d 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FRU_ID_STRING.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_FRU_ID_STRING.cs @@ -21,6 +21,6 @@ public unsafe partial struct SCM_PD_FRU_ID_STRING public uint IdentifierSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Identifier[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_LOCATION_STRING.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_LOCATION_STRING.cs index e8a3756a04..5a50be63ba 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_LOCATION_STRING.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_LOCATION_STRING.cs @@ -17,6 +17,6 @@ public unsafe partial struct SCM_PD_LOCATION_STRING public uint Size; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Location[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_MANAGEMENT_STATUS.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_MANAGEMENT_STATUS.cs index f5e9cd6726..9af067736f 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_MANAGEMENT_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_MANAGEMENT_STATUS.cs @@ -32,11 +32,11 @@ public partial struct SCM_PD_MANAGEMENT_STATUS public uint NumberOfAdditionalReasons; /// - [NativeTypeName("SCM_PD_OPERATIONAL_STATUS [16]")] + [NativeTypeName("SCM_PD_OPERATIONAL_STATUS[16]")] public _OperationalStatus_e__FixedBuffer OperationalStatus; /// - [NativeTypeName("SCM_PD_OPERATIONAL_STATUS_REASON [1]")] + [NativeTypeName("SCM_PD_OPERATIONAL_STATUS_REASON[1]")] public _AdditionalReasons_e__FixedBuffer AdditionalReasons; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INPUT.cs index e88c58ab53..e864b0945a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INPUT.cs @@ -26,6 +26,6 @@ public unsafe partial struct SCM_PD_PASSTHROUGH_INPUT public uint DataSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_INPUT.cs index c23f3dab4f..a9e5fe45d4 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_INPUT.cs @@ -17,6 +17,6 @@ public unsafe partial struct SCM_PD_PASSTHROUGH_INVDIMM_INPUT public uint OpcodeParametersLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte OpcodeParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT.cs index 3a5a56cbb2..103c4adcb7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT.cs @@ -21,6 +21,6 @@ public unsafe partial struct SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT public uint OutputDataLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte OutputData[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_OUTPUT.cs index 15a40d749c..025d49730a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PASSTHROUGH_OUTPUT.cs @@ -26,6 +26,6 @@ public unsafe partial struct SCM_PD_PASSTHROUGH_OUTPUT public uint DataSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_QUERY.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_QUERY.cs index 282c56948b..bd08fb99a7 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_QUERY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_QUERY.cs @@ -23,6 +23,6 @@ public unsafe partial struct SCM_PD_PROPERTY_QUERY public SCM_PD_QUERY_TYPE QueryType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_SET.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_SET.cs index c83578c890..5d8be3d3c3 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_SET.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PD_PROPERTY_SET.cs @@ -23,6 +23,6 @@ public unsafe partial struct SCM_PD_PROPERTY_SET public SCM_PD_SET_TYPE SetType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICES.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICES.cs index 72cddbeb6e..5e7f168c1a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICES.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICES.cs @@ -25,7 +25,7 @@ public partial struct SCM_PHYSICAL_DEVICES public uint DeviceCount; /// - [NativeTypeName("SCM_PHYSICAL_DEVICE_INSTANCE [1]")] + [NativeTypeName("SCM_PHYSICAL_DEVICE_INSTANCE[1]")] public _Devices_e__FixedBuffer Devices; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICE_INSTANCE.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICE_INSTANCE.cs index 4f3438927c..9a35e5dd48 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICE_INSTANCE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_PHYSICAL_DEVICE_INSTANCE.cs @@ -21,6 +21,6 @@ public unsafe partial struct SCM_PHYSICAL_DEVICE_INSTANCE public uint NfitHandle; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort SymbolicLink[256]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SCM_REGIONS.cs b/sources/Interop/Windows/Windows/um/winioctl/SCM_REGIONS.cs index cc99e57c74..62531d1391 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SCM_REGIONS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SCM_REGIONS.cs @@ -25,7 +25,7 @@ public partial struct SCM_REGIONS public uint RegionCount; /// - [NativeTypeName("SCM_REGION [1]")] + [NativeTypeName("SCM_REGION[1]")] public _Regions_e__FixedBuffer Regions; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_ENTRY.cs b/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_ENTRY.cs index 73819c7a54..0b98dd9ed4 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_ENTRY.cs @@ -25,6 +25,6 @@ public unsafe partial struct SD_ENUM_SDS_ENTRY public uint Length; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Descriptor[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_OUTPUT.cs index 224ae53b0e..9d79aa25f8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SD_ENUM_SDS_OUTPUT.cs @@ -25,7 +25,7 @@ public partial struct SD_ENUM_SDS_OUTPUT public ulong NumSDBytesReturned; /// - [NativeTypeName("SD_ENUM_SDS_ENTRY [1]")] + [NativeTypeName("SD_ENUM_SDS_ENTRY[1]")] public _SDEntry_e__FixedBuffer SDEntry; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/SENDCMDINPARAMS.cs b/sources/Interop/Windows/Windows/um/winioctl/SENDCMDINPARAMS.cs index e586d8633b..e2806b562e 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SENDCMDINPARAMS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SENDCMDINPARAMS.cs @@ -22,14 +22,14 @@ public unsafe partial struct SENDCMDINPARAMS public byte bDriveNumber; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte bReserved[3]; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint dwReserved[4]; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SENDCMDOUTPARAMS.cs b/sources/Interop/Windows/Windows/um/winioctl/SENDCMDOUTPARAMS.cs index 3ca926d4ca..437d8478df 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SENDCMDOUTPARAMS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SENDCMDOUTPARAMS.cs @@ -19,6 +19,6 @@ public unsafe partial struct SENDCMDOUTPARAMS public DRIVERSTATUS DriverStatus; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte bBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SET_DISK_ATTRIBUTES.cs b/sources/Interop/Windows/Windows/um/winioctl/SET_DISK_ATTRIBUTES.cs index 9758748500..a0968989b1 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SET_DISK_ATTRIBUTES.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SET_DISK_ATTRIBUTES.cs @@ -17,7 +17,7 @@ public unsafe partial struct SET_DISK_ATTRIBUTES public byte Persist; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved1[3]; /// @@ -29,6 +29,6 @@ public unsafe partial struct SET_DISK_ATTRIBUTES public ulong AttributesMask; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint Reserved2[4]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/SI_COPYFILE.cs b/sources/Interop/Windows/Windows/um/winioctl/SI_COPYFILE.cs index 9064a41cc5..c6805d62a8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/SI_COPYFILE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/SI_COPYFILE.cs @@ -21,6 +21,6 @@ public unsafe partial struct SI_COPYFILE public uint Flags; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileNameBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ADAPTER_SERIAL_NUMBER.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ADAPTER_SERIAL_NUMBER.cs index c8c29aba8c..2faec453c1 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ADAPTER_SERIAL_NUMBER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ADAPTER_SERIAL_NUMBER.cs @@ -20,6 +20,6 @@ public unsafe partial struct STORAGE_ADAPTER_SERIAL_NUMBER public uint Size; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort SerialNumber[128]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ALLOCATE_BC_STREAM_INPUT.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ALLOCATE_BC_STREAM_INPUT.cs index 797911f48c..b84177973c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ALLOCATE_BC_STREAM_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ALLOCATE_BC_STREAM_INPUT.cs @@ -29,7 +29,7 @@ public unsafe partial struct STORAGE_ALLOCATE_BC_STREAM_INPUT public byte Discardable; /// - [NativeTypeName("BOOLEAN [2]")] + [NativeTypeName("BOOLEAN[2]")] public fixed byte Reserved1[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_COUNTERS.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_COUNTERS.cs index 28c6b89268..82fb5c52c3 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_COUNTERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_COUNTERS.cs @@ -25,7 +25,7 @@ public partial struct STORAGE_COUNTERS public uint NumberOfCounters; /// - [NativeTypeName("STORAGE_COUNTER [1]")] + [NativeTypeName("STORAGE_COUNTER[1]")] public _Counters_e__FixedBuffer Counters; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_CRYPTO_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_CRYPTO_DESCRIPTOR.cs index 91200801cc..9b092de1c0 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_CRYPTO_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_CRYPTO_DESCRIPTOR.cs @@ -29,7 +29,7 @@ public partial struct STORAGE_CRYPTO_DESCRIPTOR public uint NumCryptoCapabilities; /// - [NativeTypeName("STORAGE_CRYPTO_CAPABILITY [1]")] + [NativeTypeName("STORAGE_CRYPTO_CAPABILITY[1]")] public _CryptoCapabilities_e__FixedBuffer CryptoCapabilities; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_DESCRIPTOR.cs index 9f8d30804c..1e9c08c12c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_DESCRIPTOR.cs @@ -54,6 +54,6 @@ public unsafe partial struct STORAGE_DEVICE_DESCRIPTOR public uint RawPropertiesLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte RawDeviceProperties[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR.cs index 0ab33c7dde..8a84ea4894 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR.cs @@ -25,7 +25,7 @@ public partial struct STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR public uint NumberOfFaultDomains; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _FaultDomainIds_e__FixedBuffer FaultDomainIds; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_ID_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_ID_DESCRIPTOR.cs index 552e90551b..72ad09730f 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_ID_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_ID_DESCRIPTOR.cs @@ -21,6 +21,6 @@ public unsafe partial struct STORAGE_DEVICE_ID_DESCRIPTOR public uint NumberOfIdentifiers; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Identifiers[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_MANAGEMENT_STATUS.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_MANAGEMENT_STATUS.cs index 78b09096d0..80c1277ea2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_MANAGEMENT_STATUS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_MANAGEMENT_STATUS.cs @@ -32,11 +32,11 @@ public partial struct STORAGE_DEVICE_MANAGEMENT_STATUS public uint NumberOfAdditionalReasons; /// - [NativeTypeName("STORAGE_DISK_OPERATIONAL_STATUS [16]")] + [NativeTypeName("STORAGE_DISK_OPERATIONAL_STATUS[16]")] public _OperationalStatus_e__FixedBuffer OperationalStatus; /// - [NativeTypeName("STORAGE_OPERATIONAL_REASON [1]")] + [NativeTypeName("STORAGE_OPERATIONAL_REASON[1]")] public _AdditionalReasons_e__FixedBuffer AdditionalReasons; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_NUMBERS.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_NUMBERS.cs index 92a3966634..0232bc74d3 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_NUMBERS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_NUMBERS.cs @@ -25,7 +25,7 @@ public partial struct STORAGE_DEVICE_NUMBERS public uint NumberOfDevices; /// - [NativeTypeName("STORAGE_DEVICE_NUMBER [1]")] + [NativeTypeName("STORAGE_DEVICE_NUMBER[1]")] public _Devices_e__FixedBuffer Devices; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_TIERING_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_TIERING_DESCRIPTOR.cs index 836a92296f..548aa2e81a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_TIERING_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DEVICE_TIERING_DESCRIPTOR.cs @@ -33,7 +33,7 @@ public partial struct STORAGE_DEVICE_TIERING_DESCRIPTOR public uint NumberOfTiersReturned; /// - [NativeTypeName("STORAGE_TIER [1]")] + [NativeTypeName("STORAGE_TIER[1]")] public _Tiers_e__FixedBuffer Tiers; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DIAGNOSTIC_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DIAGNOSTIC_DATA.cs index 8dae5b5437..4a6fa74b70 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DIAGNOSTIC_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_DIAGNOSTIC_DATA.cs @@ -30,6 +30,6 @@ public unsafe partial struct STORAGE_DIAGNOSTIC_DATA public uint Reserved; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte DiagnosticDataBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_FRU_ID_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_FRU_ID_DESCRIPTOR.cs index 8818630233..360b5add2c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_FRU_ID_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_FRU_ID_DESCRIPTOR.cs @@ -21,6 +21,6 @@ public unsafe partial struct STORAGE_FRU_ID_DESCRIPTOR public uint IdentifierSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Identifier[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_ENDURANCE_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_ENDURANCE_INFO.cs index c13f17e0b9..d136910529 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_ENDURANCE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_ENDURANCE_INFO.cs @@ -27,11 +27,11 @@ public unsafe partial struct STORAGE_HW_ENDURANCE_INFO public uint LifePercentage; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte BytesReadCount[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ByteWriteCount[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_ACTIVATE.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_ACTIVATE.cs index bbcaabec5d..2a519a6003 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_ACTIVATE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_ACTIVATE.cs @@ -27,6 +27,6 @@ public unsafe partial struct STORAGE_HW_FIRMWARE_ACTIVATE public byte Slot; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved0[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD.cs index 06709b391d..cba42677f2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD.cs @@ -27,7 +27,7 @@ public unsafe partial struct STORAGE_HW_FIRMWARE_DOWNLOAD public byte Slot; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// @@ -39,6 +39,6 @@ public unsafe partial struct STORAGE_HW_FIRMWARE_DOWNLOAD public ulong BufferSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte ImageBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD_V2.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD_V2.cs index d50a7a8815..c5b299620e 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD_V2.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_DOWNLOAD_V2.cs @@ -24,7 +24,7 @@ public unsafe partial struct STORAGE_HW_FIRMWARE_DOWNLOAD_V2 public byte Slot; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// @@ -44,6 +44,6 @@ public unsafe partial struct STORAGE_HW_FIRMWARE_DOWNLOAD_V2 public uint Reserved2; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte ImageBuffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_INFO.cs index d3fdc2e791..af4fd0a5eb 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_INFO.cs @@ -70,7 +70,7 @@ public byte Reserved0 public byte FirmwareShared; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// @@ -82,7 +82,7 @@ public byte Reserved0 public uint ImagePayloadMaxSize; /// - [NativeTypeName("STORAGE_HW_FIRMWARE_SLOT_INFO [1]")] + [NativeTypeName("STORAGE_HW_FIRMWARE_SLOT_INFO[1]")] public _Slot_e__FixedBuffer Slot; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs index c7ac02416f..e487befece 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs @@ -58,10 +58,10 @@ public byte Reserved0 } /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte Reserved1[6]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Revision[16]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_IDENTIFIER.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_IDENTIFIER.cs index 511f01ad21..55a930b402 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_IDENTIFIER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_IDENTIFIER.cs @@ -26,6 +26,6 @@ public unsafe partial struct STORAGE_IDENTIFIER public STORAGE_ASSOCIATION_TYPE Association; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Identifier[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_LB_PROVISIONING_MAP_RESOURCES.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_LB_PROVISIONING_MAP_RESOURCES.cs index 075a4c5202..7541f65d61 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_LB_PROVISIONING_MAP_RESOURCES.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_LB_PROVISIONING_MAP_RESOURCES.cs @@ -72,7 +72,7 @@ public byte Reserved0 } /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved1[3]; public byte _bitfield2; @@ -129,7 +129,7 @@ public byte Reserved2 } /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved3[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MEDIA_SERIAL_NUMBER_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MEDIA_SERIAL_NUMBER_DATA.cs index 7094d5c639..3f37dd80c8 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MEDIA_SERIAL_NUMBER_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MEDIA_SERIAL_NUMBER_DATA.cs @@ -17,6 +17,6 @@ public unsafe partial struct STORAGE_MEDIA_SERIAL_NUMBER_DATA public ushort SerialNumberLength; /// - [NativeTypeName("BYTE [0]")] + [NativeTypeName("BYTE[0]")] public fixed byte SerialNumber[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MINIPORT_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MINIPORT_DESCRIPTOR.cs index 94cc23911f..df40b81290 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MINIPORT_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_MINIPORT_DESCRIPTOR.cs @@ -36,7 +36,7 @@ public unsafe partial struct STORAGE_MINIPORT_DESCRIPTOR public byte ExtraIoInfoSupported; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved0[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OFFLOAD_TOKEN.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OFFLOAD_TOKEN.cs index ace442a086..45746f06ed 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OFFLOAD_TOKEN.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OFFLOAD_TOKEN.cs @@ -15,15 +15,15 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct STORAGE_OFFLOAD_TOKEN { /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte TokenType[4]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved[2]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte TokenIdLength[2]; /// @@ -61,14 +61,14 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("BYTE [504]")] + [NativeTypeName("BYTE[504]")] public fixed byte Token[504]; /// public unsafe partial struct _StorageOffloadZeroDataToken_e__Struct { /// - [NativeTypeName("BYTE [504]")] + [NativeTypeName("BYTE[504]")] public fixed byte Reserved2[504]; } } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OPERATIONAL_REASON.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OPERATIONAL_REASON.cs index 7d64d47e8b..16be01b614 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OPERATIONAL_REASON.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_OPERATIONAL_REASON.cs @@ -67,7 +67,7 @@ public unsafe partial struct _NVDIMM_N_e__Struct public byte CriticalHealth; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte ModuleHealth[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_ADAPTER_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_ADAPTER_DATA.cs index 8adefc4fd5..039926c0ff 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_ADAPTER_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_ADAPTER_DATA.cs @@ -25,19 +25,19 @@ public unsafe partial struct STORAGE_PHYSICAL_ADAPTER_DATA public STORAGE_SPEC_VERSION SpecVersion; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Vendor[8]; /// - [NativeTypeName("BYTE [40]")] + [NativeTypeName("BYTE[40]")] public fixed byte Model[40]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FirmwareRevision[16]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte PhysicalLocation[32]; /// @@ -45,10 +45,10 @@ public unsafe partial struct STORAGE_PHYSICAL_ADAPTER_DATA public byte ExpanderConnected; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved0[3]; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint Reserved1[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_DEVICE_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_DEVICE_DATA.cs index 3e21df5240..8b4360f9e4 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_DEVICE_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_DEVICE_DATA.cs @@ -32,15 +32,15 @@ public unsafe partial struct STORAGE_PHYSICAL_DEVICE_DATA public STORAGE_DEVICE_FORM_FACTOR FormFactor; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Vendor[8]; /// - [NativeTypeName("BYTE [40]")] + [NativeTypeName("BYTE[40]")] public fixed byte Model[40]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FirmwareRevision[16]; /// @@ -48,10 +48,10 @@ public unsafe partial struct STORAGE_PHYSICAL_DEVICE_DATA public ulong Capacity; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte PhysicalLocation[32]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_NODE_DATA.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_NODE_DATA.cs index 8ca194a5da..db41d2a3c5 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_NODE_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_NODE_DATA.cs @@ -37,6 +37,6 @@ public unsafe partial struct STORAGE_PHYSICAL_NODE_DATA public uint DeviceDataOffset; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR.cs index 183fac66b9..13b4ad7404 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR.cs @@ -31,7 +31,7 @@ public partial struct STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR public uint Reserved; /// - [NativeTypeName("STORAGE_PHYSICAL_NODE_DATA [1]")] + [NativeTypeName("STORAGE_PHYSICAL_NODE_DATA[1]")] public _Node_e__FixedBuffer Node; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PREDICT_FAILURE.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PREDICT_FAILURE.cs index 61b3dab80a..f730737f37 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PREDICT_FAILURE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PREDICT_FAILURE.cs @@ -13,6 +13,6 @@ public unsafe partial struct STORAGE_PREDICT_FAILURE public uint PredictFailure; /// - [NativeTypeName("BYTE [512]")] + [NativeTypeName("BYTE[512]")] public fixed byte VendorSpecific[512]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_QUERY.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_QUERY.cs index c7d4d87fe5..bfe235b898 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_QUERY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_QUERY.cs @@ -15,6 +15,6 @@ public unsafe partial struct STORAGE_PROPERTY_QUERY public STORAGE_QUERY_TYPE QueryType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_SET.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_SET.cs index c8d4d89791..c3bbc3588e 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_SET.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROPERTY_SET.cs @@ -15,6 +15,6 @@ public unsafe partial struct STORAGE_PROPERTY_SET public STORAGE_SET_TYPE SetType; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte AdditionalParameters[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_COMMAND.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_COMMAND.cs index d93294fa65..f264c8ed76 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_COMMAND.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_COMMAND.cs @@ -79,10 +79,10 @@ public unsafe partial struct STORAGE_PROTOCOL_COMMAND public uint FixedProtocolReturnData; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint Reserved1[3]; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Command[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_SPECIFIC_DATA_EXT.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_SPECIFIC_DATA_EXT.cs index 419f7f671b..639031a790 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_SPECIFIC_DATA_EXT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_PROTOCOL_SPECIFIC_DATA_EXT.cs @@ -52,6 +52,6 @@ public unsafe partial struct STORAGE_PROTOCOL_SPECIFIC_DATA_EXT public uint ProtocolDataSubValue5; /// - [NativeTypeName("DWORD [5]")] + [NativeTypeName("DWORD[5]")] public fixed uint Reserved[5]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs index fed41bd46d..71f03cdcfc 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs @@ -49,12 +49,12 @@ public partial struct _Anonymous_e__Union { /// [FieldOffset(0)] - [NativeTypeName("STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY []")] + [NativeTypeName("STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY[]")] public STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY Lev1Depends; /// [FieldOffset(0)] - [NativeTypeName("STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY []")] + [NativeTypeName("STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY[]")] public STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY Lev2Depends; } } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_RPMB_DATA_FRAME.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_RPMB_DATA_FRAME.cs index 83f0f12548..a279be1e5c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_RPMB_DATA_FRAME.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_RPMB_DATA_FRAME.cs @@ -9,38 +9,38 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct STORAGE_RPMB_DATA_FRAME { /// - [NativeTypeName("BYTE [196]")] + [NativeTypeName("BYTE[196]")] public fixed byte Stuff[196]; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte KeyOrMAC[32]; /// - [NativeTypeName("BYTE [256]")] + [NativeTypeName("BYTE[256]")] public fixed byte Data[256]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Nonce[16]; /// - [NativeTypeName("BYTE [4]")] + [NativeTypeName("BYTE[4]")] public fixed byte WriteCounter[4]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Address[2]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte BlockCount[2]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte OperationResult[2]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte RequestOrResponseType[2]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TEMPERATURE_DATA_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TEMPERATURE_DATA_DESCRIPTOR.cs index 614f8d27e7..4ff9c152f1 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TEMPERATURE_DATA_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TEMPERATURE_DATA_DESCRIPTOR.cs @@ -33,15 +33,15 @@ public unsafe partial struct STORAGE_TEMPERATURE_DATA_DESCRIPTOR public ushort InfoCount; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved0[2]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Reserved1[2]; /// - [NativeTypeName("STORAGE_TEMPERATURE_INFO [1]")] + [NativeTypeName("STORAGE_TEMPERATURE_INFO[1]")] public _TemperatureInfo_e__FixedBuffer TemperatureInfo; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TIER.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TIER.cs index 70d08e6f84..fd4e36ec2a 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TIER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_TIER.cs @@ -14,11 +14,11 @@ public unsafe partial struct STORAGE_TIER public Guid Id; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Name[256]; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort Description[256]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONED_DEVICE_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONED_DEVICE_DESCRIPTOR.cs index 16fa591370..bf12c6ab21 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONED_DEVICE_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONED_DEVICE_DESCRIPTOR.cs @@ -36,7 +36,7 @@ public partial struct STORAGE_ZONED_DEVICE_DESCRIPTOR public uint ZoneGroupCount; /// - [NativeTypeName("STORAGE_ZONE_GROUP [1]")] + [NativeTypeName("STORAGE_ZONE_GROUP[1]")] public _ZoneGroup_e__FixedBuffer ZoneGroup; /// @@ -65,7 +65,7 @@ public unsafe partial struct _SequentialRequiredZone_e__Struct public byte UnrestrictedRead; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONE_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONE_DESCRIPTOR.cs index db340cdb8f..5b8ecd11f2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONE_DESCRIPTOR.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STORAGE_ZONE_DESCRIPTOR.cs @@ -23,7 +23,7 @@ public unsafe partial struct STORAGE_ZONE_DESCRIPTOR public byte ResetWritePointerRecommend; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved0[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/STREAM_LAYOUT_ENTRY.cs b/sources/Interop/Windows/Windows/um/winioctl/STREAM_LAYOUT_ENTRY.cs index 060f29357f..43dadd8181 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/STREAM_LAYOUT_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/STREAM_LAYOUT_ENTRY.cs @@ -47,6 +47,6 @@ public unsafe partial struct STREAM_LAYOUT_ENTRY public uint StreamIdentifierLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort StreamIdentifier[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY.cs b/sources/Interop/Windows/Windows/um/winioctl/TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY.cs index 9f934b1698..639c228db2 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY.cs @@ -33,6 +33,6 @@ public unsafe partial struct TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY public long Reserved3; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs b/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs index 50d43c0bb9..cae34baeab 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs @@ -47,7 +47,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Buffer[1]; } } diff --git a/sources/Interop/Windows/Windows/um/winioctl/TXFS_START_RM_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winioctl/TXFS_START_RM_INFORMATION.cs index 4c1f84a264..484c102a8c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/TXFS_START_RM_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/TXFS_START_RM_INFORMATION.cs @@ -53,6 +53,6 @@ public unsafe partial struct TXFS_START_RM_INFORMATION public ushort Reserved; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort LogPath[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/TXFS_WRITE_BACKUP_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winioctl/TXFS_WRITE_BACKUP_INFORMATION.cs index 35f0b6adba..c9bf166be4 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/TXFS_WRITE_BACKUP_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/TXFS_WRITE_BACKUP_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct TXFS_WRITE_BACKUP_INFORMATION { /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Buffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD.cs b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD.cs index aa647147e3..7b2e880221 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD.cs @@ -60,6 +60,6 @@ public unsafe partial struct USN_RECORD public ushort FileNameOffset; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V3.cs b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V3.cs index 201ad34a8c..0c91f38183 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V3.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V3.cs @@ -61,6 +61,6 @@ public unsafe partial struct USN_RECORD_V3 public ushort FileNameOffset; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V4.cs b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V4.cs index 516e6620cb..2d820eb150 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V4.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/USN_RECORD_V4.cs @@ -48,7 +48,7 @@ public partial struct USN_RECORD_V4 public ushort ExtentSize; /// - [NativeTypeName("USN_RECORD_EXTENT [1]")] + [NativeTypeName("USN_RECORD_EXTENT[1]")] public _Extents_e__FixedBuffer Extents; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/VOLUME_BITMAP_BUFFER.cs b/sources/Interop/Windows/Windows/um/winioctl/VOLUME_BITMAP_BUFFER.cs index ef43b8cc0e..4df41c112f 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/VOLUME_BITMAP_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/VOLUME_BITMAP_BUFFER.cs @@ -15,6 +15,6 @@ public unsafe partial struct VOLUME_BITMAP_BUFFER public LARGE_INTEGER BitmapSize; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Buffer[1]; } diff --git a/sources/Interop/Windows/Windows/um/winioctl/VOLUME_DISK_EXTENTS.cs b/sources/Interop/Windows/Windows/um/winioctl/VOLUME_DISK_EXTENTS.cs index 1fd75368f5..e03141446c 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/VOLUME_DISK_EXTENTS.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/VOLUME_DISK_EXTENTS.cs @@ -17,7 +17,7 @@ public partial struct VOLUME_DISK_EXTENTS public uint NumberOfDiskExtents; /// - [NativeTypeName("DISK_EXTENT [1]")] + [NativeTypeName("DISK_EXTENT[1]")] public _Extents_e__FixedBuffer Extents; /// diff --git a/sources/Interop/Windows/Windows/um/winioctl/WIM_PROVIDER_EXTERNAL_INFO.cs b/sources/Interop/Windows/Windows/um/winioctl/WIM_PROVIDER_EXTERNAL_INFO.cs index 2f892620a1..851a74f5de 100644 --- a/sources/Interop/Windows/Windows/um/winioctl/WIM_PROVIDER_EXTERNAL_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winioctl/WIM_PROVIDER_EXTERNAL_INFO.cs @@ -20,6 +20,6 @@ public unsafe partial struct WIM_PROVIDER_EXTERNAL_INFO public LARGE_INTEGER DataSourceId; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte ResourceHash[20]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ACCESS_REASONS.cs b/sources/Interop/Windows/Windows/um/winnt/ACCESS_REASONS.cs index 0d51d77df4..c4a3947dd3 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ACCESS_REASONS.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ACCESS_REASONS.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct ACCESS_REASONS { /// - [NativeTypeName("ACCESS_REASON [32]")] + [NativeTypeName("ACCESS_REASON[32]")] public fixed uint Data[32]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION.cs index 10fb9a8e09..a851327e15 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION.cs @@ -13,6 +13,6 @@ public partial struct ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION public uint ElementCount; /// - [NativeTypeName("COMPATIBILITY_CONTEXT_ELEMENT []")] + [NativeTypeName("COMPATIBILITY_CONTEXT_ELEMENT[]")] public COMPATIBILITY_CONTEXT_ELEMENT Elements; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_CONTEXT.cs b/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_CONTEXT.cs index cdf3283140..1b3c38c0a8 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_CONTEXT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_CONTEXT.cs @@ -33,7 +33,7 @@ public unsafe partial struct ARM64_NT_CONTEXT public ulong Pc; /// - [NativeTypeName("ARM64_NT_NEON128 [32]")] + [NativeTypeName("ARM64_NT_NEON128[32]")] public _V_e__FixedBuffer V; /// @@ -45,19 +45,19 @@ public unsafe partial struct ARM64_NT_CONTEXT public uint Fpsr; /// - [NativeTypeName("DWORD [8]")] + [NativeTypeName("DWORD[8]")] public fixed uint Bcr[8]; /// - [NativeTypeName("DWORD64 [8]")] + [NativeTypeName("DWORD64[8]")] public fixed ulong Bvr[8]; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Wcr[2]; /// - [NativeTypeName("DWORD64 [2]")] + [NativeTypeName("DWORD64[2]")] public fixed ulong Wvr[2]; /// @@ -391,7 +391,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD64 [31]")] + [NativeTypeName("DWORD64[31]")] public fixed ulong X[31]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_NEON128.cs b/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_NEON128.cs index ed8c8d551a..0ff3ad48cf 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_NEON128.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ARM64_NT_NEON128.cs @@ -19,22 +19,22 @@ public unsafe partial struct ARM64_NT_NEON128 /// [FieldOffset(0)] - [NativeTypeName("double [2]")] + [NativeTypeName("double[2]")] public fixed double D[2]; /// [FieldOffset(0)] - [NativeTypeName("float [4]")] + [NativeTypeName("float[4]")] public fixed float S[4]; /// [FieldOffset(0)] - [NativeTypeName("WORD [8]")] + [NativeTypeName("WORD[8]")] public fixed ushort H[8]; /// [FieldOffset(0)] - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte B[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/CACHE_RELATIONSHIP.cs b/sources/Interop/Windows/Windows/um/winnt/CACHE_RELATIONSHIP.cs index 182ec60ecb..365eb29a16 100644 --- a/sources/Interop/Windows/Windows/um/winnt/CACHE_RELATIONSHIP.cs +++ b/sources/Interop/Windows/Windows/um/winnt/CACHE_RELATIONSHIP.cs @@ -30,7 +30,7 @@ public unsafe partial struct CACHE_RELATIONSHIP public PROCESSOR_CACHE_TYPE Type; /// - [NativeTypeName("BYTE [18]")] + [NativeTypeName("BYTE[18]")] public fixed byte Reserved[18]; /// @@ -61,7 +61,7 @@ public partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("GROUP_AFFINITY [1]")] + [NativeTypeName("GROUP_AFFINITY[1]")] public _GroupMasks_e__FixedBuffer GroupMasks; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.cs b/sources/Interop/Windows/Windows/um/winnt/CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.cs index 7b457519bb..b32f975439 100644 --- a/sources/Interop/Windows/Windows/um/winnt/CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.cs +++ b/sources/Interop/Windows/Windows/um/winnt/CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.cs @@ -42,27 +42,27 @@ public unsafe partial struct _Values_e__Union { /// [FieldOffset(0)] - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint pInt64[1]; /// [FieldOffset(0)] - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint pUint64[1]; /// [FieldOffset(0)] - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint ppString[1]; /// [FieldOffset(0)] - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint pFqbn[1]; /// [FieldOffset(0)] - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint pOctetString[1]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/CM_POWER_DATA.cs b/sources/Interop/Windows/Windows/um/winnt/CM_POWER_DATA.cs index 91f38c52c4..af87b0a3c5 100644 --- a/sources/Interop/Windows/Windows/um/winnt/CM_POWER_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/CM_POWER_DATA.cs @@ -36,7 +36,7 @@ public partial struct CM_POWER_DATA public uint PD_D3Latency; /// - [NativeTypeName("DEVICE_POWER_STATE [7]")] + [NativeTypeName("DEVICE_POWER_STATE[7]")] public _PD_PowerStateMapping_e__FixedBuffer PD_PowerStateMapping; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/CORRELATION_VECTOR.cs b/sources/Interop/Windows/Windows/um/winnt/CORRELATION_VECTOR.cs index 74b4520ec7..1ed99a8ce0 100644 --- a/sources/Interop/Windows/Windows/um/winnt/CORRELATION_VECTOR.cs +++ b/sources/Interop/Windows/Windows/um/winnt/CORRELATION_VECTOR.cs @@ -13,6 +13,6 @@ public unsafe partial struct CORRELATION_VECTOR public sbyte Version; /// - [NativeTypeName("CHAR [129]")] + [NativeTypeName("CHAR[129]")] public fixed sbyte Vector[129]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/DISPATCHER_CONTEXT_NONVOLREG_ARM64.cs b/sources/Interop/Windows/Windows/um/winnt/DISPATCHER_CONTEXT_NONVOLREG_ARM64.cs index 4661b980ba..320f3023bd 100644 --- a/sources/Interop/Windows/Windows/um/winnt/DISPATCHER_CONTEXT_NONVOLREG_ARM64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/DISPATCHER_CONTEXT_NONVOLREG_ARM64.cs @@ -15,7 +15,7 @@ public unsafe partial struct DISPATCHER_CONTEXT_NONVOLREG_ARM64 { /// [FieldOffset(0)] - [NativeTypeName("BYTE [152]")] + [NativeTypeName("BYTE[152]")] public fixed byte Buffer[152]; /// @@ -47,11 +47,11 @@ public Span FpNvRegs public unsafe partial struct _Anonymous_e__Struct { /// - [NativeTypeName("DWORD64 [11]")] + [NativeTypeName("DWORD64[11]")] public fixed ulong GpNvRegs[11]; /// - [NativeTypeName("double [8]")] + [NativeTypeName("double[8]")] public fixed double FpNvRegs[8]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_SGX.cs b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_SGX.cs index c91f034e09..454e91b7c4 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_SGX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_SGX.cs @@ -12,6 +12,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct ENCLAVE_CREATE_INFO_SGX { /// - [NativeTypeName("BYTE [4096]")] + [NativeTypeName("BYTE[4096]")] public fixed byte Secs[4096]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS.cs b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS.cs index c0508f05fa..08f2685bfd 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS.cs @@ -16,6 +16,6 @@ public unsafe partial struct ENCLAVE_CREATE_INFO_VBS public uint Flags; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte OwnerID[32]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS_BASIC.cs b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS_BASIC.cs index ff2e24f63a..4219c41838 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS_BASIC.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_CREATE_INFO_VBS_BASIC.cs @@ -13,6 +13,6 @@ public unsafe partial struct ENCLAVE_CREATE_INFO_VBS_BASIC public uint Flags; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte OwnerID[32]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_SGX.cs b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_SGX.cs index 7b71ab6f73..3b7e16db62 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_SGX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_SGX.cs @@ -12,18 +12,18 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct ENCLAVE_INIT_INFO_SGX { /// - [NativeTypeName("BYTE [1808]")] + [NativeTypeName("BYTE[1808]")] public fixed byte SigStruct[1808]; /// - [NativeTypeName("BYTE [240]")] + [NativeTypeName("BYTE[240]")] public fixed byte Reserved1[240]; /// - [NativeTypeName("BYTE [304]")] + [NativeTypeName("BYTE[304]")] public fixed byte EInitToken[304]; /// - [NativeTypeName("BYTE [1744]")] + [NativeTypeName("BYTE[1744]")] public fixed byte Reserved2[1744]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_VBS_BASIC.cs b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_VBS_BASIC.cs index bae65d7419..a1d9ada65b 100644 --- a/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_VBS_BASIC.cs +++ b/sources/Interop/Windows/Windows/um/winnt/ENCLAVE_INIT_INFO_VBS_BASIC.cs @@ -12,11 +12,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct ENCLAVE_INIT_INFO_VBS_BASIC { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FamilyId[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ImageId[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/EVENTSFORLOGFILE.cs b/sources/Interop/Windows/Windows/um/winnt/EVENTSFORLOGFILE.cs index d7a1c05319..a6854945da 100644 --- a/sources/Interop/Windows/Windows/um/winnt/EVENTSFORLOGFILE.cs +++ b/sources/Interop/Windows/Windows/um/winnt/EVENTSFORLOGFILE.cs @@ -13,7 +13,7 @@ public unsafe partial struct EVENTSFORLOGFILE public uint ulSize; /// - [NativeTypeName("WCHAR [256]")] + [NativeTypeName("WCHAR[256]")] public fixed ushort szLogicalLogFile[256]; /// @@ -21,6 +21,6 @@ public unsafe partial struct EVENTSFORLOGFILE public uint ulNumRecords; /// - [NativeTypeName("EVENTLOGRECORD []")] + [NativeTypeName("EVENTLOGRECORD[]")] public EVENTLOGRECORD pEventLogRecords; } diff --git a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD.cs b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD.cs index b5fee5a55b..49d81354ff 100644 --- a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD.cs +++ b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD.cs @@ -33,7 +33,7 @@ public unsafe partial struct EXCEPTION_RECORD public uint NumberParameters; /// - [NativeTypeName("ULONG_PTR [15]")] + [NativeTypeName("ULONG_PTR[15]")] public _ExceptionInformation_e__FixedBuffer ExceptionInformation; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD32.cs b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD32.cs index 6f51665147..67cd23dba4 100644 --- a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD32.cs +++ b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD32.cs @@ -29,6 +29,6 @@ public unsafe partial struct EXCEPTION_RECORD32 public uint NumberParameters; /// - [NativeTypeName("DWORD [15]")] + [NativeTypeName("DWORD[15]")] public fixed uint ExceptionInformation[15]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD64.cs b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD64.cs index 8e2c81a942..274f6ee5f9 100644 --- a/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/EXCEPTION_RECORD64.cs @@ -33,6 +33,6 @@ public unsafe partial struct EXCEPTION_RECORD64 public uint __unusedAlignment; /// - [NativeTypeName("DWORD64 [15]")] + [NativeTypeName("DWORD64[15]")] public fixed ulong ExceptionInformation[15]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/FILE_ID_128.cs b/sources/Interop/Windows/Windows/um/winnt/FILE_ID_128.cs index 5e1e0453df..0941099fef 100644 --- a/sources/Interop/Windows/Windows/um/winnt/FILE_ID_128.cs +++ b/sources/Interop/Windows/Windows/um/winnt/FILE_ID_128.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct FILE_ID_128 { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Identifier[16]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_EXTENDED_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_EXTENDED_INFORMATION.cs index 9585dfe9a9..6bf8252866 100644 --- a/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_EXTENDED_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_EXTENDED_INFORMATION.cs @@ -56,6 +56,6 @@ public unsafe partial struct FILE_NOTIFY_EXTENDED_INFORMATION public uint FileNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_INFORMATION.cs index a4f94510dd..57cf5276bb 100644 --- a/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/FILE_NOTIFY_INFORMATION.cs @@ -21,6 +21,6 @@ public unsafe partial struct FILE_NOTIFY_INFORMATION public uint FileNameLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort FileName[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/GROUP_AFFINITY.cs b/sources/Interop/Windows/Windows/um/winnt/GROUP_AFFINITY.cs index b20c8ce9aa..2904b220ca 100644 --- a/sources/Interop/Windows/Windows/um/winnt/GROUP_AFFINITY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/GROUP_AFFINITY.cs @@ -17,6 +17,6 @@ public unsafe partial struct GROUP_AFFINITY public ushort Group; /// - [NativeTypeName("WORD [3]")] + [NativeTypeName("WORD[3]")] public fixed ushort Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/GROUP_RELATIONSHIP.cs b/sources/Interop/Windows/Windows/um/winnt/GROUP_RELATIONSHIP.cs index 0cf76fb24b..92007bc24b 100644 --- a/sources/Interop/Windows/Windows/um/winnt/GROUP_RELATIONSHIP.cs +++ b/sources/Interop/Windows/Windows/um/winnt/GROUP_RELATIONSHIP.cs @@ -21,11 +21,11 @@ public unsafe partial struct GROUP_RELATIONSHIP public ushort ActiveGroupCount; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte Reserved[20]; /// - [NativeTypeName("PROCESSOR_GROUP_INFO [1]")] + [NativeTypeName("PROCESSOR_GROUP_INFO[1]")] public _GroupInfo_e__FixedBuffer GroupInfo; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/HIBERFILE_BUCKET.cs b/sources/Interop/Windows/Windows/um/winnt/HIBERFILE_BUCKET.cs index 2e2e7cebb9..2d9b4d093a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/HIBERFILE_BUCKET.cs +++ b/sources/Interop/Windows/Windows/um/winnt/HIBERFILE_BUCKET.cs @@ -13,6 +13,6 @@ public unsafe partial struct HIBERFILE_BUCKET public ulong MaxPhysicalMemory; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint PhysicalMemoryPercent[3]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ARCHIVE_MEMBER_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ARCHIVE_MEMBER_HEADER.cs index 3274734239..09a03bd36b 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ARCHIVE_MEMBER_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ARCHIVE_MEMBER_HEADER.cs @@ -9,30 +9,30 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct IMAGE_ARCHIVE_MEMBER_HEADER { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Name[16]; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte Date[12]; /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte UserID[6]; /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte GroupID[6]; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Mode[8]; /// - [NativeTypeName("BYTE [10]")] + [NativeTypeName("BYTE[10]")] public fixed byte Size[10]; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte EndHeader[2]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL.cs index eefd0ac14f..1b48613217 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL.cs @@ -113,7 +113,7 @@ public partial struct _Function_e__Struct public unsafe partial struct _Array_e__Struct { /// - [NativeTypeName("WORD [4]")] + [NativeTypeName("WORD[4]")] public fixed ushort Dimension[4]; } } @@ -123,7 +123,7 @@ public unsafe partial struct _Array_e__Struct public unsafe partial struct _File_e__Struct { /// - [NativeTypeName("BYTE [18]")] + [NativeTypeName("BYTE[18]")] public fixed byte Name[18]; } @@ -169,7 +169,7 @@ public unsafe partial struct _CRC_e__Struct public uint crc; /// - [NativeTypeName("BYTE [14]")] + [NativeTypeName("BYTE[14]")] public fixed byte rgbReserved[14]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_EX.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_EX.cs index 1fe87d77db..7a76e1601a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_EX.cs @@ -71,7 +71,7 @@ public unsafe partial struct _Sym_e__Struct public uint WeakSearchType; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte rgbReserved[12]; } @@ -79,7 +79,7 @@ public unsafe partial struct _Sym_e__Struct public unsafe partial struct _File_e__Struct { /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte Name[20]; } @@ -116,7 +116,7 @@ public unsafe partial struct _Section_e__Struct public short HighNumber; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte rgbReserved[2]; } @@ -127,7 +127,7 @@ public unsafe partial struct _Anonymous_e__Struct public IMAGE_AUX_SYMBOL_TOKEN_DEF TokenDef; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte rgbReserved[2]; } @@ -140,7 +140,7 @@ public unsafe partial struct _CRC_e__Struct public uint crc; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte rgbReserved[16]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_TOKEN_DEF.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_TOKEN_DEF.cs index c4e233a435..771a71767f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_TOKEN_DEF.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_AUX_SYMBOL_TOKEN_DEF.cs @@ -22,6 +22,6 @@ public unsafe partial struct IMAGE_AUX_SYMBOL_TOKEN_DEF public uint SymbolTableIndex; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte rgbReserved[12]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_DEBUG_MISC.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_DEBUG_MISC.cs index e3f4cc03a7..d65c84cc29 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_DEBUG_MISC.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_DEBUG_MISC.cs @@ -21,10 +21,10 @@ public unsafe partial struct IMAGE_DEBUG_MISC public byte Unicode; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_DOS_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_DOS_HEADER.cs index a512aa711b..fdd6f11b4f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_DOS_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_DOS_HEADER.cs @@ -68,7 +68,7 @@ public unsafe partial struct IMAGE_DOS_HEADER public ushort e_ovno; /// - [NativeTypeName("WORD [4]")] + [NativeTypeName("WORD[4]")] public fixed ushort e_res[4]; /// @@ -80,7 +80,7 @@ public unsafe partial struct IMAGE_DOS_HEADER public ushort e_oeminfo; /// - [NativeTypeName("WORD [10]")] + [NativeTypeName("WORD[10]")] public fixed ushort e_res2[10]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG32.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG32.cs index eeb82a414b..9818ce010a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG32.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG32.cs @@ -36,11 +36,11 @@ public unsafe partial struct IMAGE_ENCLAVE_CONFIG32 public uint ImportEntrySize; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FamilyID[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ImageID[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG64.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG64.cs index b07d42d42a..e26ae8db8f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_CONFIG64.cs @@ -36,11 +36,11 @@ public unsafe partial struct IMAGE_ENCLAVE_CONFIG64 public uint ImportEntrySize; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FamilyID[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ImageID[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_IMPORT.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_IMPORT.cs index ef36bbf342..3d1751e1a1 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_IMPORT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ENCLAVE_IMPORT.cs @@ -20,15 +20,15 @@ public unsafe partial struct IMAGE_ENCLAVE_IMPORT public uint MinimumSecurityVersion; /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte UniqueOrAuthorID[32]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte FamilyID[16]; /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte ImageID[16]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_HOT_PATCH_HASHES.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_HOT_PATCH_HASHES.cs index a11795f23f..02a89a930e 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_HOT_PATCH_HASHES.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_HOT_PATCH_HASHES.cs @@ -9,10 +9,10 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct IMAGE_HOT_PATCH_HASHES { /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte SHA256[32]; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte SHA1[20]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_IMPORT_BY_NAME.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_IMPORT_BY_NAME.cs index e44ebd8f1c..233283c65a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_IMPORT_BY_NAME.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_IMPORT_BY_NAME.cs @@ -13,6 +13,6 @@ public unsafe partial struct IMAGE_IMPORT_BY_NAME public ushort Hint; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte Name[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER32.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER32.cs index ea36a547b0..675aca5be1 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER32.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER32.cs @@ -131,7 +131,7 @@ public partial struct IMAGE_OPTIONAL_HEADER32 public uint NumberOfRvaAndSizes; /// - [NativeTypeName("IMAGE_DATA_DIRECTORY [16]")] + [NativeTypeName("IMAGE_DATA_DIRECTORY[16]")] public _DataDirectory_e__FixedBuffer DataDirectory; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER64.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER64.cs index 390de8267b..7ddf33fa2e 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_OPTIONAL_HEADER64.cs @@ -128,7 +128,7 @@ public partial struct IMAGE_OPTIONAL_HEADER64 public uint NumberOfRvaAndSizes; /// - [NativeTypeName("IMAGE_DATA_DIRECTORY [16]")] + [NativeTypeName("IMAGE_DATA_DIRECTORY[16]")] public _DataDirectory_e__FixedBuffer DataDirectory; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_POLICY_METADATA.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_POLICY_METADATA.cs index 589241dc81..8f6beb4936 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_POLICY_METADATA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_POLICY_METADATA.cs @@ -12,7 +12,7 @@ public unsafe partial struct IMAGE_POLICY_METADATA public byte Version; /// - [NativeTypeName("BYTE [7]")] + [NativeTypeName("BYTE[7]")] public fixed byte Reserved0[7]; /// @@ -20,6 +20,6 @@ public unsafe partial struct IMAGE_POLICY_METADATA public ulong ApplicationId; /// - [NativeTypeName("IMAGE_POLICY_ENTRY []")] + [NativeTypeName("IMAGE_POLICY_ENTRY[]")] public IMAGE_POLICY_ENTRY Policies; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIRECTORY_STRING.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIRECTORY_STRING.cs index 0689abc51a..679ffdc9fa 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIRECTORY_STRING.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIRECTORY_STRING.cs @@ -13,6 +13,6 @@ public unsafe partial struct IMAGE_RESOURCE_DIRECTORY_STRING public ushort Length; /// - [NativeTypeName("CHAR [1]")] + [NativeTypeName("CHAR[1]")] public fixed sbyte NameString[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIR_STRING_U.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIR_STRING_U.cs index 5fa2f31b15..3e204027f9 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIR_STRING_U.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_RESOURCE_DIR_STRING_U.cs @@ -13,6 +13,6 @@ public unsafe partial struct IMAGE_RESOURCE_DIR_STRING_U public ushort Length; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort NameString[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ROM_OPTIONAL_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ROM_OPTIONAL_HEADER.cs index a9a44c9f0d..78e483d314 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_ROM_OPTIONAL_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_ROM_OPTIONAL_HEADER.cs @@ -51,7 +51,7 @@ public unsafe partial struct IMAGE_ROM_OPTIONAL_HEADER public uint GprMask; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint CprMask[4]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SECTION_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SECTION_HEADER.cs index 4f26b1d6ab..c7155423a8 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SECTION_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SECTION_HEADER.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct IMAGE_SECTION_HEADER { /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Name[8]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SEPARATE_DEBUG_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SEPARATE_DEBUG_HEADER.cs index 40c5747f0b..3d51dc419e 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SEPARATE_DEBUG_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SEPARATE_DEBUG_HEADER.cs @@ -57,6 +57,6 @@ public unsafe partial struct IMAGE_SEPARATE_DEBUG_HEADER public uint SectionAlignment; /// - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint Reserved[2]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL.cs index d1914ca349..cb14e5ab5c 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL.cs @@ -38,7 +38,7 @@ public unsafe partial struct _N_e__Union { /// [FieldOffset(0)] - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte ShortName[8]; /// @@ -48,7 +48,7 @@ public unsafe partial struct _N_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint LongName[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL_EX.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL_EX.cs index be0f665563..42d74390d1 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_SYMBOL_EX.cs @@ -39,7 +39,7 @@ public unsafe partial struct _N_e__Union { /// [FieldOffset(0)] - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte ShortName[8]; /// @@ -49,7 +49,7 @@ public unsafe partial struct _N_e__Union /// [FieldOffset(0)] - [NativeTypeName("DWORD [2]")] + [NativeTypeName("DWORD[2]")] public fixed uint LongName[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/IMAGE_VXD_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/IMAGE_VXD_HEADER.cs index 7ffcc03d0f..80035f74b7 100644 --- a/sources/Interop/Windows/Windows/um/winnt/IMAGE_VXD_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/IMAGE_VXD_HEADER.cs @@ -194,7 +194,7 @@ public unsafe partial struct IMAGE_VXD_HEADER public uint e32_heapsize; /// - [NativeTypeName("BYTE [12]")] + [NativeTypeName("BYTE[12]")] public fixed byte e32_res3[12]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/JOBOBJECT_BASIC_PROCESS_ID_LIST.cs b/sources/Interop/Windows/Windows/um/winnt/JOBOBJECT_BASIC_PROCESS_ID_LIST.cs index 1486a0b327..6303823879 100644 --- a/sources/Interop/Windows/Windows/um/winnt/JOBOBJECT_BASIC_PROCESS_ID_LIST.cs +++ b/sources/Interop/Windows/Windows/um/winnt/JOBOBJECT_BASIC_PROCESS_ID_LIST.cs @@ -21,7 +21,7 @@ public partial struct JOBOBJECT_BASIC_PROCESS_ID_LIST public uint NumberOfProcessIdsInList; /// - [NativeTypeName("ULONG_PTR [1]")] + [NativeTypeName("ULONG_PTR[1]")] public _ProcessIdList_e__FixedBuffer ProcessIdList; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/KERNEL_CET_CONTEXT.cs b/sources/Interop/Windows/Windows/um/winnt/KERNEL_CET_CONTEXT.cs index 5e4e5a6492..5da0abf33a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/KERNEL_CET_CONTEXT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/KERNEL_CET_CONTEXT.cs @@ -21,6 +21,6 @@ public unsafe partial struct KERNEL_CET_CONTEXT public ushort SegCs; /// - [NativeTypeName("WORD [3]")] + [NativeTypeName("WORD[3]")] public fixed ushort Fill[3]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/KTMOBJECT_CURSOR.cs b/sources/Interop/Windows/Windows/um/winnt/KTMOBJECT_CURSOR.cs index ad8e66d154..9e739c2b2b 100644 --- a/sources/Interop/Windows/Windows/um/winnt/KTMOBJECT_CURSOR.cs +++ b/sources/Interop/Windows/Windows/um/winnt/KTMOBJECT_CURSOR.cs @@ -20,7 +20,7 @@ public partial struct KTMOBJECT_CURSOR public uint ObjectIdCount; /// - [NativeTypeName("GUID [1]")] + [NativeTypeName("GUID[1]")] public _ObjectIds_e__FixedBuffer ObjectIds; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_DATA.cs b/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_DATA.cs index af93ce435c..ecc5f06619 100644 --- a/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_DATA.cs @@ -17,7 +17,7 @@ public partial struct MESSAGE_RESOURCE_DATA public uint NumberOfBlocks; /// - [NativeTypeName("MESSAGE_RESOURCE_BLOCK [1]")] + [NativeTypeName("MESSAGE_RESOURCE_BLOCK[1]")] public _Blocks_e__FixedBuffer Blocks; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_ENTRY.cs b/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_ENTRY.cs index cc025c4e04..1c5108da2f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/MESSAGE_RESOURCE_ENTRY.cs @@ -17,6 +17,6 @@ public unsafe partial struct MESSAGE_RESOURCE_ENTRY public ushort Flags; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Text[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/NUMA_NODE_RELATIONSHIP.cs b/sources/Interop/Windows/Windows/um/winnt/NUMA_NODE_RELATIONSHIP.cs index 0d7200d284..743ad1a1da 100644 --- a/sources/Interop/Windows/Windows/um/winnt/NUMA_NODE_RELATIONSHIP.cs +++ b/sources/Interop/Windows/Windows/um/winnt/NUMA_NODE_RELATIONSHIP.cs @@ -17,7 +17,7 @@ public unsafe partial struct NUMA_NODE_RELATIONSHIP public uint NodeNumber; /// - [NativeTypeName("BYTE [18]")] + [NativeTypeName("BYTE[18]")] public fixed byte Reserved[18]; /// @@ -48,7 +48,7 @@ public partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("GROUP_AFFINITY [1]")] + [NativeTypeName("GROUP_AFFINITY[1]")] public _GroupMasks_e__FixedBuffer GroupMasks; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOA.cs b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOA.cs index e103bf8984..4ecf256893 100644 --- a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOA.cs @@ -29,6 +29,6 @@ public unsafe partial struct OSVERSIONINFOA public uint dwPlatformId; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte szCSDVersion[128]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXA.cs b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXA.cs index 7d22ac0f34..a4b0bea514 100644 --- a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXA.cs @@ -29,7 +29,7 @@ public unsafe partial struct OSVERSIONINFOEXA public uint dwPlatformId; /// - [NativeTypeName("CHAR [128]")] + [NativeTypeName("CHAR[128]")] public fixed sbyte szCSDVersion[128]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXW.cs b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXW.cs index 808feff3d6..d9787fd92d 100644 --- a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXW.cs +++ b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOEXW.cs @@ -29,7 +29,7 @@ public unsafe partial struct OSVERSIONINFOEXW public uint dwPlatformId; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort szCSDVersion[128]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOW.cs b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOW.cs index 96f151a9c9..4f532f4a11 100644 --- a/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOW.cs +++ b/sources/Interop/Windows/Windows/um/winnt/OSVERSIONINFOW.cs @@ -29,6 +29,6 @@ public unsafe partial struct OSVERSIONINFOW public uint dwPlatformId; /// - [NativeTypeName("WCHAR [128]")] + [NativeTypeName("WCHAR[128]")] public fixed ushort szCSDVersion[128]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/PACKEDEVENTINFO.cs b/sources/Interop/Windows/Windows/um/winnt/PACKEDEVENTINFO.cs index 80a569d38f..eac9c1e4d2 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PACKEDEVENTINFO.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PACKEDEVENTINFO.cs @@ -17,6 +17,6 @@ public partial struct PACKEDEVENTINFO public uint ulNumEventsForLogFile; /// - [NativeTypeName("DWORD []")] + [NativeTypeName("DWORD[]")] public uint ulOffsets; } diff --git a/sources/Interop/Windows/Windows/um/winnt/PERFORMANCE_DATA.cs b/sources/Interop/Windows/Windows/um/winnt/PERFORMANCE_DATA.cs index ceb89e0400..6e924521ec 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PERFORMANCE_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PERFORMANCE_DATA.cs @@ -43,7 +43,7 @@ public partial struct PERFORMANCE_DATA public uint Reserved; /// - [NativeTypeName("HARDWARE_COUNTER_DATA [16]")] + [NativeTypeName("HARDWARE_COUNTER_DATA[16]")] public _HwCounters_e__FixedBuffer HwCounters; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING.cs index 3f5188a029..7e8bad0dcd 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING.cs @@ -29,7 +29,7 @@ public partial struct PPM_IDLE_ACCOUNTING public ulong StartTime; /// - [NativeTypeName("PPM_IDLE_STATE_ACCOUNTING [1]")] + [NativeTypeName("PPM_IDLE_STATE_ACCOUNTING[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING_EX.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING_EX.cs index d8fba267a3..78c90a3c21 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_ACCOUNTING_EX.cs @@ -33,7 +33,7 @@ public partial struct PPM_IDLE_ACCOUNTING_EX public ulong StartTime; /// - [NativeTypeName("PPM_IDLE_STATE_ACCOUNTING_EX [1]")] + [NativeTypeName("PPM_IDLE_STATE_ACCOUNTING_EX[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING.cs index 5613096eeb..8336aa4130 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING.cs @@ -25,6 +25,6 @@ public unsafe partial struct PPM_IDLE_STATE_ACCOUNTING public ulong TotalTime; /// - [NativeTypeName("DWORD [6]")] + [NativeTypeName("DWORD[6]")] public fixed uint IdleTimeBuckets[6]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING_EX.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING_EX.cs index 709d854e24..8c666e8e82 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_IDLE_STATE_ACCOUNTING_EX.cs @@ -41,7 +41,7 @@ public partial struct PPM_IDLE_STATE_ACCOUNTING_EX public uint CancelledTransitions; /// - [NativeTypeName("PPM_IDLE_STATE_BUCKET_EX [16]")] + [NativeTypeName("PPM_IDLE_STATE_BUCKET_EX[16]")] public _IdleTimeBuckets_e__FixedBuffer IdleTimeBuckets; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES.cs index ebce8870dd..184bc55006 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES.cs @@ -33,7 +33,7 @@ public partial struct PPM_WMI_IDLE_STATES public ulong TargetProcessors; /// - [NativeTypeName("PPM_WMI_IDLE_STATE [1]")] + [NativeTypeName("PPM_WMI_IDLE_STATE[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES_EX.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES_EX.cs index 6afaa0ab38..f0daf24cbd 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_IDLE_STATES_EX.cs @@ -33,7 +33,7 @@ public unsafe partial struct PPM_WMI_IDLE_STATES_EX public void* TargetProcessors; /// - [NativeTypeName("PPM_WMI_IDLE_STATE [1]")] + [NativeTypeName("PPM_WMI_IDLE_STATE[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES.cs index d866ac5a0b..498fe57dc0 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES.cs @@ -89,7 +89,7 @@ public partial struct PPM_WMI_PERF_STATES public ulong Reserved2; /// - [NativeTypeName("PPM_WMI_PERF_STATE [1]")] + [NativeTypeName("PPM_WMI_PERF_STATE[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES_EX.cs b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES_EX.cs index 1bfd7da0a6..0f60e26c86 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES_EX.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PPM_WMI_PERF_STATES_EX.cs @@ -89,7 +89,7 @@ public unsafe partial struct PPM_WMI_PERF_STATES_EX public ulong Reserved2; /// - [NativeTypeName("PPM_WMI_PERF_STATE [1]")] + [NativeTypeName("PPM_WMI_PERF_STATE[1]")] public _State_e__FixedBuffer State; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PRIVILEGE_SET.cs b/sources/Interop/Windows/Windows/um/winnt/PRIVILEGE_SET.cs index f91b17c97b..b272661ac6 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PRIVILEGE_SET.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PRIVILEGE_SET.cs @@ -21,7 +21,7 @@ public partial struct PRIVILEGE_SET public uint Control; /// - [NativeTypeName("LUID_AND_ATTRIBUTES [1]")] + [NativeTypeName("LUID_AND_ATTRIBUTES[1]")] public _Privilege_e__FixedBuffer Privilege; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_GROUP_INFO.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_GROUP_INFO.cs index be8ea9b1a2..eb604dff63 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_GROUP_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_GROUP_INFO.cs @@ -15,7 +15,7 @@ public unsafe partial struct PROCESSOR_GROUP_INFO public byte ActiveProcessorCount; /// - [NativeTypeName("BYTE [38]")] + [NativeTypeName("BYTE[38]")] public fixed byte Reserved[38]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_INFO.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_INFO.cs index 0200028aed..33beb431ae 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_INFO.cs @@ -19,6 +19,6 @@ public unsafe partial struct PROCESSOR_IDLESTATE_INFO public byte PromotePercent; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Spare[2]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_POLICY.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_POLICY.cs index eea59b0074..ff045e1fb9 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_POLICY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_IDLESTATE_POLICY.cs @@ -25,7 +25,7 @@ public partial struct PROCESSOR_IDLESTATE_POLICY public uint PolicyCount; /// - [NativeTypeName("PROCESSOR_IDLESTATE_INFO [3]")] + [NativeTypeName("PROCESSOR_IDLESTATE_INFO[3]")] public _Policy_e__FixedBuffer Policy; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY.cs index bb97c374e0..7eafa7daf2 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY.cs @@ -20,7 +20,7 @@ public unsafe partial struct PROCESSOR_POWER_POLICY public byte DynamicThrottle; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Spare[3]; public uint _bitfield; @@ -64,7 +64,7 @@ public uint Reserved public uint PolicyCount; /// - [NativeTypeName("PROCESSOR_POWER_POLICY_INFO [3]")] + [NativeTypeName("PROCESSOR_POWER_POLICY_INFO[3]")] public _Policy_e__FixedBuffer Policy; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY_INFO.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY_INFO.cs index 93d2ebfe22..e6d8a4b700 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY_INFO.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_POWER_POLICY_INFO.cs @@ -29,7 +29,7 @@ public unsafe partial struct PROCESSOR_POWER_POLICY_INFO public byte PromotePercent; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Spare[2]; public uint _bitfield; diff --git a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_RELATIONSHIP.cs b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_RELATIONSHIP.cs index 9bbb62bdf5..958ab6734e 100644 --- a/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_RELATIONSHIP.cs +++ b/sources/Interop/Windows/Windows/um/winnt/PROCESSOR_RELATIONSHIP.cs @@ -19,7 +19,7 @@ public unsafe partial struct PROCESSOR_RELATIONSHIP public byte EfficiencyClass; /// - [NativeTypeName("BYTE [20]")] + [NativeTypeName("BYTE[20]")] public fixed byte Reserved[20]; /// @@ -27,7 +27,7 @@ public unsafe partial struct PROCESSOR_RELATIONSHIP public ushort GroupCount; /// - [NativeTypeName("GROUP_AFFINITY [1]")] + [NativeTypeName("GROUP_AFFINITY[1]")] public _GroupMask_e__FixedBuffer GroupMask; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/REPARSE_GUID_DATA_BUFFER.cs b/sources/Interop/Windows/Windows/um/winnt/REPARSE_GUID_DATA_BUFFER.cs index 47267aba00..32d7f6be2f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/REPARSE_GUID_DATA_BUFFER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/REPARSE_GUID_DATA_BUFFER.cs @@ -33,7 +33,7 @@ public partial struct REPARSE_GUID_DATA_BUFFER public unsafe partial struct _GenericReparseBuffer_e__Struct { /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte DataBuffer[1]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/RESOURCEMANAGER_BASIC_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/RESOURCEMANAGER_BASIC_INFORMATION.cs index 84a6374038..c87fcd9b11 100644 --- a/sources/Interop/Windows/Windows/um/winnt/RESOURCEMANAGER_BASIC_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/RESOURCEMANAGER_BASIC_INFORMATION.cs @@ -18,6 +18,6 @@ public unsafe partial struct RESOURCEMANAGER_BASIC_INFORMATION public uint DescriptionLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Description[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_AMD64.cs b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_AMD64.cs index 5752c4e3f6..ec065ec9e6 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_AMD64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_AMD64.cs @@ -17,7 +17,7 @@ public partial struct SCOPE_TABLE_AMD64 public uint Count; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:2710:5) [1]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:2710:5)[1]")] public _ScopeRecord_e__FixedBuffer ScopeRecord; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM.cs b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM.cs index d6d47a16bd..5e059f58bc 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM.cs @@ -17,7 +17,7 @@ public partial struct SCOPE_TABLE_ARM public uint Count; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:4455:5) [1]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:4455:5)[1]")] public _ScopeRecord_e__FixedBuffer ScopeRecord; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM64.cs b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM64.cs index bed59c8520..36541146bb 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM64.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCOPE_TABLE_ARM64.cs @@ -17,7 +17,7 @@ public partial struct SCOPE_TABLE_ARM64 public uint Count; /// - [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:5430:5) [1]")] + [NativeTypeName("struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winnt.h:5430:5)[1]")] public _ScopeRecord_e__FixedBuffer ScopeRecord; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_INPUT.cs b/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_INPUT.cs index 4f214e7fce..f7b20f89ce 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_INPUT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_INPUT.cs @@ -21,14 +21,14 @@ public unsafe partial struct SCRUB_DATA_INPUT public uint MaximumIos; /// - [NativeTypeName("DWORD [4]")] + [NativeTypeName("DWORD[4]")] public fixed uint ObjectId[4]; /// - [NativeTypeName("DWORD [41]")] + [NativeTypeName("DWORD[41]")] public fixed uint Reserved[41]; /// - [NativeTypeName("BYTE [1040]")] + [NativeTypeName("BYTE[1040]")] public fixed byte ResumeContext[1040]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_OUTPUT.cs b/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_OUTPUT.cs index 9825a1b7e4..f875670dcd 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_OUTPUT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCRUB_DATA_OUTPUT.cs @@ -49,7 +49,7 @@ public unsafe partial struct SCRUB_DATA_OUTPUT public ushort ParityExtentDataOffset; /// - [NativeTypeName("DWORD [9]")] + [NativeTypeName("DWORD[9]")] public fixed uint Reserved[9]; /// @@ -101,6 +101,6 @@ public unsafe partial struct SCRUB_DATA_OUTPUT public ulong DataBytesScrubbed; /// - [NativeTypeName("BYTE [1040]")] + [NativeTypeName("BYTE[1040]")] public fixed byte ResumeContext[1040]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SCRUB_PARITY_EXTENT_DATA.cs b/sources/Interop/Windows/Windows/um/winnt/SCRUB_PARITY_EXTENT_DATA.cs index 9991f96f40..70d6110e13 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SCRUB_PARITY_EXTENT_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SCRUB_PARITY_EXTENT_DATA.cs @@ -29,7 +29,7 @@ public partial struct SCRUB_PARITY_EXTENT_DATA public ushort MaximumNumberOfParityExtents; /// - [NativeTypeName("SCRUB_PARITY_EXTENT [1]")] + [NativeTypeName("SCRUB_PARITY_EXTENT[1]")] public _ParityExtents_e__FixedBuffer ParityExtents; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SET_POWER_SETTING_VALUE.cs b/sources/Interop/Windows/Windows/um/winnt/SET_POWER_SETTING_VALUE.cs index ad9394d6d2..772c64f80c 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SET_POWER_SETTING_VALUE.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SET_POWER_SETTING_VALUE.cs @@ -25,6 +25,6 @@ public unsafe partial struct SET_POWER_SETTING_VALUE public uint DataLength; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Data[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SE_SID.cs b/sources/Interop/Windows/Windows/um/winnt/SE_SID.cs index 62268c6158..44030ab491 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SE_SID.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SE_SID.cs @@ -17,6 +17,6 @@ public unsafe partial struct SE_SID /// [FieldOffset(0)] - [NativeTypeName("BYTE [68]")] + [NativeTypeName("BYTE[68]")] public fixed byte Buffer[68]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SE_TOKEN_USER.cs b/sources/Interop/Windows/Windows/um/winnt/SE_TOKEN_USER.cs index 1be802220b..a12a2c9af5 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SE_TOKEN_USER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SE_TOKEN_USER.cs @@ -83,7 +83,7 @@ public unsafe partial struct _Anonymous2_e__Union /// [FieldOffset(0)] - [NativeTypeName("BYTE [68]")] + [NativeTypeName("BYTE[68]")] public fixed byte Buffer[68]; } } diff --git a/sources/Interop/Windows/Windows/um/winnt/SID.cs b/sources/Interop/Windows/Windows/um/winnt/SID.cs index 5a9ca7c425..6bcb684411 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SID.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SID.cs @@ -17,7 +17,7 @@ public unsafe partial struct SID public SID_IDENTIFIER_AUTHORITY IdentifierAuthority; /// - [NativeTypeName("DWORD [1]")] + [NativeTypeName("DWORD[1]")] public fixed uint SubAuthority[1]; [NativeTypeName("#define SID_REVISION (1)")] diff --git a/sources/Interop/Windows/Windows/um/winnt/SID_AND_ATTRIBUTES_HASH.cs b/sources/Interop/Windows/Windows/um/winnt/SID_AND_ATTRIBUTES_HASH.cs index 4e0ee04041..d163f9e10a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SID_AND_ATTRIBUTES_HASH.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SID_AND_ATTRIBUTES_HASH.cs @@ -21,7 +21,7 @@ public unsafe partial struct SID_AND_ATTRIBUTES_HASH public SID_AND_ATTRIBUTES* SidAttr; /// - [NativeTypeName("SID_HASH_ENTRY [32]")] + [NativeTypeName("SID_HASH_ENTRY[32]")] public _Hash_e__FixedBuffer Hash; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SID_IDENTIFIER_AUTHORITY.cs b/sources/Interop/Windows/Windows/um/winnt/SID_IDENTIFIER_AUTHORITY.cs index 04140ed7c3..365fc9ab1d 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SID_IDENTIFIER_AUTHORITY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SID_IDENTIFIER_AUTHORITY.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SID_IDENTIFIER_AUTHORITY { /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte Value[6]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SILOOBJECT_BASIC_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/SILOOBJECT_BASIC_INFORMATION.cs index 2be2b0515f..c2a3a9b77a 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SILOOBJECT_BASIC_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SILOOBJECT_BASIC_INFORMATION.cs @@ -25,6 +25,6 @@ public unsafe partial struct SILOOBJECT_BASIC_INFORMATION public byte IsInServerSilo; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Reserved[3]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/SYNCHRONIZATION_BARRIER.cs b/sources/Interop/Windows/Windows/um/winnt/SYNCHRONIZATION_BARRIER.cs index 455206c8db..0c24775f0f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYNCHRONIZATION_BARRIER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYNCHRONIZATION_BARRIER.cs @@ -21,7 +21,7 @@ public partial struct SYNCHRONIZATION_BARRIER public uint Reserved2; /// - [NativeTypeName("ULONG_PTR [2]")] + [NativeTypeName("ULONG_PTR[2]")] public _Reserved3_e__FixedBuffer Reserved3; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_BATTERY_STATE.cs b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_BATTERY_STATE.cs index 3ca73c02e1..a37412a1f8 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_BATTERY_STATE.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_BATTERY_STATE.cs @@ -25,7 +25,7 @@ public unsafe partial struct SYSTEM_BATTERY_STATE public byte Discharging; /// - [NativeTypeName("BOOLEAN [3]")] + [NativeTypeName("BOOLEAN[3]")] public fixed byte Spare1[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_LOGICAL_PROCESSOR_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_LOGICAL_PROCESSOR_INFORMATION.cs index 1fd275f666..d1ad185d09 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_LOGICAL_PROCESSOR_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_LOGICAL_PROCESSOR_INFORMATION.cs @@ -83,7 +83,7 @@ public unsafe partial struct _Anonymous_e__Union /// [FieldOffset(0)] - [NativeTypeName("ULONGLONG [2]")] + [NativeTypeName("ULONGLONG[2]")] public fixed ulong Reserved[2]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_CAPABILITIES.cs b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_CAPABILITIES.cs index 660ec010f2..8451612977 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_CAPABILITIES.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_CAPABILITIES.cs @@ -106,7 +106,7 @@ public unsafe partial struct SYSTEM_POWER_CAPABILITIES public byte AoAcConnectivitySupported; /// - [NativeTypeName("BYTE [6]")] + [NativeTypeName("BYTE[6]")] public fixed byte spare3[6]; /// @@ -118,7 +118,7 @@ public unsafe partial struct SYSTEM_POWER_CAPABILITIES public byte BatteriesAreShortTerm; /// - [NativeTypeName("BATTERY_REPORTING_SCALE [3]")] + [NativeTypeName("BATTERY_REPORTING_SCALE[3]")] public _BatteryScale_e__FixedBuffer BatteryScale; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_LEVEL.cs b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_LEVEL.cs index f9719f79eb..539537748c 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_LEVEL.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_LEVEL.cs @@ -13,7 +13,7 @@ public unsafe partial struct SYSTEM_POWER_LEVEL public byte Enable; /// - [NativeTypeName("BYTE [3]")] + [NativeTypeName("BYTE[3]")] public fixed byte Spare[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_POLICY.cs b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_POLICY.cs index 5f52df7881..dac6227980 100644 --- a/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_POLICY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/SYSTEM_POWER_POLICY.cs @@ -46,7 +46,7 @@ public unsafe partial struct SYSTEM_POWER_POLICY public byte DynamicThrottle; /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Spare2[2]; /// @@ -75,7 +75,7 @@ public unsafe partial struct SYSTEM_POWER_POLICY public uint BroadcastCapacityResolution; /// - [NativeTypeName("SYSTEM_POWER_LEVEL [4]")] + [NativeTypeName("SYSTEM_POWER_LEVEL[4]")] public _DischargePolicy_e__FixedBuffer DischargePolicy; /// @@ -87,7 +87,7 @@ public unsafe partial struct SYSTEM_POWER_POLICY public byte VideoDimDisplay; /// - [NativeTypeName("DWORD [3]")] + [NativeTypeName("DWORD[3]")] public fixed uint VideoReserved[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TOKEN_AUDIT_POLICY.cs b/sources/Interop/Windows/Windows/um/winnt/TOKEN_AUDIT_POLICY.cs index a94ab07027..c8a83bd779 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TOKEN_AUDIT_POLICY.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TOKEN_AUDIT_POLICY.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct TOKEN_AUDIT_POLICY { /// - [NativeTypeName("BYTE [30]")] + [NativeTypeName("BYTE[30]")] public fixed byte PerUserPolicy[30]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/TOKEN_GROUPS.cs b/sources/Interop/Windows/Windows/um/winnt/TOKEN_GROUPS.cs index b6ef4ccf3c..e04fe9f50d 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TOKEN_GROUPS.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TOKEN_GROUPS.cs @@ -17,7 +17,7 @@ public partial struct TOKEN_GROUPS public uint GroupCount; /// - [NativeTypeName("SID_AND_ATTRIBUTES [1]")] + [NativeTypeName("SID_AND_ATTRIBUTES[1]")] public _Groups_e__FixedBuffer Groups; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TOKEN_PRIVILEGES.cs b/sources/Interop/Windows/Windows/um/winnt/TOKEN_PRIVILEGES.cs index 9d2a1a5531..6564b40734 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TOKEN_PRIVILEGES.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TOKEN_PRIVILEGES.cs @@ -17,7 +17,7 @@ public partial struct TOKEN_PRIVILEGES public uint PrivilegeCount; /// - [NativeTypeName("LUID_AND_ATTRIBUTES [1]")] + [NativeTypeName("LUID_AND_ATTRIBUTES[1]")] public _Privileges_e__FixedBuffer Privileges; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TOKEN_SOURCE.cs b/sources/Interop/Windows/Windows/um/winnt/TOKEN_SOURCE.cs index b7391faec8..06f54dacf4 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TOKEN_SOURCE.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TOKEN_SOURCE.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct TOKEN_SOURCE { /// - [NativeTypeName("CHAR [8]")] + [NativeTypeName("CHAR[8]")] public fixed sbyte SourceName[8]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TRANSACTIONMANAGER_LOGPATH_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/TRANSACTIONMANAGER_LOGPATH_INFORMATION.cs index de5daaba0b..9fd5572abf 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TRANSACTIONMANAGER_LOGPATH_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TRANSACTIONMANAGER_LOGPATH_INFORMATION.cs @@ -13,6 +13,6 @@ public unsafe partial struct TRANSACTIONMANAGER_LOGPATH_INFORMATION public uint LogPathLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort LogPath[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_ENLISTMENTS_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_ENLISTMENTS_INFORMATION.cs index cd1830f642..5b3b48d0a9 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_ENLISTMENTS_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_ENLISTMENTS_INFORMATION.cs @@ -17,7 +17,7 @@ public partial struct TRANSACTION_ENLISTMENTS_INFORMATION public uint NumberOfEnlistments; /// - [NativeTypeName("TRANSACTION_ENLISTMENT_PAIR [1]")] + [NativeTypeName("TRANSACTION_ENLISTMENT_PAIR[1]")] public _EnlistmentPair_e__FixedBuffer EnlistmentPair; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_LIST_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_LIST_INFORMATION.cs index 0ac9a21336..511e0cf1c4 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_LIST_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_LIST_INFORMATION.cs @@ -17,7 +17,7 @@ public partial struct TRANSACTION_LIST_INFORMATION public uint NumberOfTransactions; /// - [NativeTypeName("TRANSACTION_LIST_ENTRY [1]")] + [NativeTypeName("TRANSACTION_LIST_ENTRY[1]")] public _TransactionInformation_e__FixedBuffer TransactionInformation; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_PROPERTIES_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_PROPERTIES_INFORMATION.cs index 7106a581c4..7b08204056 100644 --- a/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_PROPERTIES_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/TRANSACTION_PROPERTIES_INFORMATION.cs @@ -28,6 +28,6 @@ public unsafe partial struct TRANSACTION_PROPERTIES_INFORMATION public uint DescriptionLength; /// - [NativeTypeName("WCHAR [1]")] + [NativeTypeName("WCHAR[1]")] public fixed ushort Description[1]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/UNWIND_HISTORY_TABLE.cs b/sources/Interop/Windows/Windows/um/winnt/UNWIND_HISTORY_TABLE.cs index 60cdf4e821..91881b1b4d 100644 --- a/sources/Interop/Windows/Windows/um/winnt/UNWIND_HISTORY_TABLE.cs +++ b/sources/Interop/Windows/Windows/um/winnt/UNWIND_HISTORY_TABLE.cs @@ -37,7 +37,7 @@ public partial struct UNWIND_HISTORY_TABLE public nuint HighAddress; /// - [NativeTypeName("UNWIND_HISTORY_TABLE_ENTRY [12]")] + [NativeTypeName("UNWIND_HISTORY_TABLE_ENTRY[12]")] public _Entry_e__FixedBuffer Entry; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/WOW64_CONTEXT.cs b/sources/Interop/Windows/Windows/um/winnt/WOW64_CONTEXT.cs index 20ee2083e6..05f14b6ea6 100644 --- a/sources/Interop/Windows/Windows/um/winnt/WOW64_CONTEXT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/WOW64_CONTEXT.cs @@ -104,6 +104,6 @@ public unsafe partial struct WOW64_CONTEXT public uint SegSs; /// - [NativeTypeName("BYTE [512]")] + [NativeTypeName("BYTE[512]")] public fixed byte ExtendedRegisters[512]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/WOW64_FLOATING_SAVE_AREA.cs b/sources/Interop/Windows/Windows/um/winnt/WOW64_FLOATING_SAVE_AREA.cs index 1343a5adc3..2e0e7e950f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/WOW64_FLOATING_SAVE_AREA.cs +++ b/sources/Interop/Windows/Windows/um/winnt/WOW64_FLOATING_SAVE_AREA.cs @@ -37,7 +37,7 @@ public unsafe partial struct WOW64_FLOATING_SAVE_AREA public uint DataSelector; /// - [NativeTypeName("BYTE [80]")] + [NativeTypeName("BYTE[80]")] public fixed byte RegisterArea[80]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/XSAVE_AREA_HEADER.cs b/sources/Interop/Windows/Windows/um/winnt/XSAVE_AREA_HEADER.cs index 9294d42f45..a06b21a03f 100644 --- a/sources/Interop/Windows/Windows/um/winnt/XSAVE_AREA_HEADER.cs +++ b/sources/Interop/Windows/Windows/um/winnt/XSAVE_AREA_HEADER.cs @@ -17,6 +17,6 @@ public unsafe partial struct XSAVE_AREA_HEADER public ulong CompactionMask; /// - [NativeTypeName("DWORD64 [6]")] + [NativeTypeName("DWORD64[6]")] public fixed ulong Reserved2[6]; } diff --git a/sources/Interop/Windows/Windows/um/winnt/XSAVE_FORMAT.cs b/sources/Interop/Windows/Windows/um/winnt/XSAVE_FORMAT.cs index de25077717..b198a4a32b 100644 --- a/sources/Interop/Windows/Windows/um/winnt/XSAVE_FORMAT.cs +++ b/sources/Interop/Windows/Windows/um/winnt/XSAVE_FORMAT.cs @@ -63,15 +63,15 @@ public unsafe partial struct XSAVE_FORMAT public uint MxCsr_Mask; /// - [NativeTypeName("M128A [8]")] + [NativeTypeName("M128A[8]")] public _FloatRegisters_e__FixedBuffer FloatRegisters; /// - [NativeTypeName("M128A [16]")] + [NativeTypeName("M128A[16]")] public _XmmRegisters_e__FixedBuffer XmmRegisters; /// - [NativeTypeName("BYTE [96]")] + [NativeTypeName("BYTE[96]")] public fixed byte Reserved4[96]; /// diff --git a/sources/Interop/Windows/Windows/um/winnt/XSTATE_CONFIGURATION.cs b/sources/Interop/Windows/Windows/um/winnt/XSTATE_CONFIGURATION.cs index cb900baf49..fd912ca4da 100644 --- a/sources/Interop/Windows/Windows/um/winnt/XSTATE_CONFIGURATION.cs +++ b/sources/Interop/Windows/Windows/um/winnt/XSTATE_CONFIGURATION.cs @@ -29,7 +29,7 @@ public unsafe partial struct XSTATE_CONFIGURATION public _Anonymous_e__Union Anonymous; /// - [NativeTypeName("XSTATE_FEATURE [64]")] + [NativeTypeName("XSTATE_FEATURE[64]")] public _Features_e__FixedBuffer Features; /// @@ -45,7 +45,7 @@ public unsafe partial struct XSTATE_CONFIGURATION public uint AllFeatureSize; /// - [NativeTypeName("DWORD [64]")] + [NativeTypeName("DWORD[64]")] public fixed uint AllFeatures[64]; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/LDR_DATA_TABLE_ENTRY.cs b/sources/Interop/Windows/Windows/um/winternl/LDR_DATA_TABLE_ENTRY.cs index e6d912873b..34019a12ef 100644 --- a/sources/Interop/Windows/Windows/um/winternl/LDR_DATA_TABLE_ENTRY.cs +++ b/sources/Interop/Windows/Windows/um/winternl/LDR_DATA_TABLE_ENTRY.cs @@ -12,14 +12,14 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct LDR_DATA_TABLE_ENTRY { /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved1_e__FixedBuffer Reserved1; /// public LIST_ENTRY InMemoryOrderLinks; /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved2_e__FixedBuffer Reserved2; /// @@ -27,18 +27,18 @@ public unsafe partial struct LDR_DATA_TABLE_ENTRY public void* DllBase; /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved3_e__FixedBuffer Reserved3; /// public UNICODE_STRING FullDllName; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Reserved4[8]; /// - [NativeTypeName("PVOID [3]")] + [NativeTypeName("PVOID[3]")] public _Reserved5_e__FixedBuffer Reserved5; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/PEB.cs b/sources/Interop/Windows/Windows/um/winternl/PEB.cs index cee1e5ecb2..c75445b04e 100644 --- a/sources/Interop/Windows/Windows/um/winternl/PEB.cs +++ b/sources/Interop/Windows/Windows/um/winternl/PEB.cs @@ -11,18 +11,18 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct PEB { /// - [NativeTypeName("BYTE [2]")] + [NativeTypeName("BYTE[2]")] public fixed byte Reserved1[2]; /// public byte BeingDebugged; /// - [NativeTypeName("BYTE [1]")] + [NativeTypeName("BYTE[1]")] public fixed byte Reserved2[1]; /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved3_e__FixedBuffer Reserved3; /// @@ -34,7 +34,7 @@ public unsafe partial struct PEB public RTL_USER_PROCESS_PARAMETERS* ProcessParameters; /// - [NativeTypeName("PVOID [3]")] + [NativeTypeName("PVOID[3]")] public _Reserved4_e__FixedBuffer Reserved4; /// @@ -62,11 +62,11 @@ public unsafe partial struct PEB public uint AtlThunkSListPtr32; /// - [NativeTypeName("PVOID [45]")] + [NativeTypeName("PVOID[45]")] public _Reserved9_e__FixedBuffer Reserved9; /// - [NativeTypeName("BYTE [96]")] + [NativeTypeName("BYTE[96]")] public fixed byte Reserved10[96]; /// @@ -74,11 +74,11 @@ public unsafe partial struct PEB public delegate* unmanaged PostProcessInitRoutine; /// - [NativeTypeName("BYTE [128]")] + [NativeTypeName("BYTE[128]")] public fixed byte Reserved11[128]; /// - [NativeTypeName("PVOID [1]")] + [NativeTypeName("PVOID[1]")] public _Reserved12_e__FixedBuffer Reserved12; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/PEB_LDR_DATA.cs b/sources/Interop/Windows/Windows/um/winternl/PEB_LDR_DATA.cs index bf36860915..070e4cce0d 100644 --- a/sources/Interop/Windows/Windows/um/winternl/PEB_LDR_DATA.cs +++ b/sources/Interop/Windows/Windows/um/winternl/PEB_LDR_DATA.cs @@ -11,11 +11,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct PEB_LDR_DATA { /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Reserved1[8]; /// - [NativeTypeName("PVOID [3]")] + [NativeTypeName("PVOID[3]")] public _Reserved2_e__FixedBuffer Reserved2; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/PROCESS_BASIC_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/PROCESS_BASIC_INFORMATION.cs index d6cf7ace3f..df51936e5a 100644 --- a/sources/Interop/Windows/Windows/um/winternl/PROCESS_BASIC_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/PROCESS_BASIC_INFORMATION.cs @@ -19,7 +19,7 @@ public unsafe partial struct PROCESS_BASIC_INFORMATION public PEB* PebBaseAddress; /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved2_e__FixedBuffer Reserved2; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_BASIC_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_BASIC_INFORMATION.cs index 49985049c4..1835d7d1b5 100644 --- a/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_BASIC_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_BASIC_INFORMATION.cs @@ -25,6 +25,6 @@ public unsafe partial struct PUBLIC_OBJECT_BASIC_INFORMATION public uint PointerCount; /// - [NativeTypeName("ULONG [10]")] + [NativeTypeName("ULONG[10]")] public fixed uint Reserved[10]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIO.cs b/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIO.cs new file mode 100644 index 0000000000..a6f6a586af --- /dev/null +++ b/sources/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIO.cs @@ -0,0 +1,17 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +/// +public unsafe partial struct PUBLIC_OBJECT_TYPE_INFORMATIO +{ + /// + public UNICODE_STRING TypeName; + + /// + [NativeTypeName("ULONG[22]")] + public fixed uint Reserved[22]; +} diff --git a/sources/Interop/Windows/Windows/um/winternl/RTL_USER_PROCESS_PARAMETERS.cs b/sources/Interop/Windows/Windows/um/winternl/RTL_USER_PROCESS_PARAMETERS.cs index 14b442cf17..c9ffef0549 100644 --- a/sources/Interop/Windows/Windows/um/winternl/RTL_USER_PROCESS_PARAMETERS.cs +++ b/sources/Interop/Windows/Windows/um/winternl/RTL_USER_PROCESS_PARAMETERS.cs @@ -11,11 +11,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct RTL_USER_PROCESS_PARAMETERS { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Reserved1[16]; /// - [NativeTypeName("PVOID [10]")] + [NativeTypeName("PVOID[10]")] public _Reserved2_e__FixedBuffer Reserved2; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_BASIC_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_BASIC_INFORMATION.cs index bd69f96ca3..f41a98d100 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_BASIC_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_BASIC_INFORMATION.cs @@ -11,11 +11,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_BASIC_INFORMATION { /// - [NativeTypeName("BYTE [24]")] + [NativeTypeName("BYTE[24]")] public fixed byte Reserved1[24]; /// - [NativeTypeName("PVOID [4]")] + [NativeTypeName("PVOID[4]")] public _Reserved2_e__FixedBuffer Reserved2; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_EXCEPTION_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_EXCEPTION_INFORMATION.cs index 33143dbd5a..5f44a0cfce 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_EXCEPTION_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_EXCEPTION_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_EXCEPTION_INFORMATION { /// - [NativeTypeName("BYTE [16]")] + [NativeTypeName("BYTE[16]")] public fixed byte Reserved1[16]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_INTERRUPT_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_INTERRUPT_INFORMATION.cs index 3633077870..e0b357ed45 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_INTERRUPT_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_INTERRUPT_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_INTERRUPT_INFORMATION { /// - [NativeTypeName("BYTE [24]")] + [NativeTypeName("BYTE[24]")] public fixed byte Reserved1[24]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_LOOKASIDE_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_LOOKASIDE_INFORMATION.cs index 2545bf3221..c713520333 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_LOOKASIDE_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_LOOKASIDE_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_LOOKASIDE_INFORMATION { /// - [NativeTypeName("BYTE [32]")] + [NativeTypeName("BYTE[32]")] public fixed byte Reserved1[32]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PERFORMANCE_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PERFORMANCE_INFORMATION.cs index 906b072bdc..e91529316b 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PERFORMANCE_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PERFORMANCE_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_PERFORMANCE_INFORMATION { /// - [NativeTypeName("BYTE [312]")] + [NativeTypeName("BYTE[312]")] public fixed byte Reserved1[312]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_POLICY_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_POLICY_INFORMATION.cs index c7416aa303..a777ffbaa2 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_POLICY_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_POLICY_INFORMATION.cs @@ -11,11 +11,11 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_POLICY_INFORMATION { /// - [NativeTypeName("PVOID [2]")] + [NativeTypeName("PVOID[2]")] public _Reserved1_e__FixedBuffer Reserved1; /// - [NativeTypeName("ULONG [3]")] + [NativeTypeName("ULONG[3]")] public fixed uint Reserved2[3]; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION.cs index 2c49c2d927..4a84d7827e 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION.cs @@ -22,7 +22,7 @@ public partial struct SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION public LARGE_INTEGER UserTime; /// - [NativeTypeName("LARGE_INTEGER [2]")] + [NativeTypeName("LARGE_INTEGER[2]")] public _Reserved1_e__FixedBuffer Reserved1; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESS_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESS_INFORMATION.cs index fa708d323a..693609a4b5 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESS_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_PROCESS_INFORMATION.cs @@ -21,7 +21,7 @@ public unsafe partial struct SYSTEM_PROCESS_INFORMATION public uint NumberOfThreads; /// - [NativeTypeName("BYTE [48]")] + [NativeTypeName("BYTE[48]")] public fixed byte Reserved1[48]; /// @@ -99,7 +99,7 @@ public unsafe partial struct SYSTEM_PROCESS_INFORMATION public nuint PrivatePageCount; /// - [NativeTypeName("LARGE_INTEGER [6]")] + [NativeTypeName("LARGE_INTEGER[6]")] public _Reserved7_e__FixedBuffer Reserved7; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_THREAD_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_THREAD_INFORMATION.cs index 76d59a6ae2..eb3ac5b8b3 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_THREAD_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_THREAD_INFORMATION.cs @@ -13,7 +13,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_THREAD_INFORMATION { /// - [NativeTypeName("LARGE_INTEGER [3]")] + [NativeTypeName("LARGE_INTEGER[3]")] public _Reserved1_e__FixedBuffer Reserved1; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_TIMEOFDAY_INFORMATION.cs b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_TIMEOFDAY_INFORMATION.cs index 872ecf0aae..679ea19bff 100644 --- a/sources/Interop/Windows/Windows/um/winternl/SYSTEM_TIMEOFDAY_INFORMATION.cs +++ b/sources/Interop/Windows/Windows/um/winternl/SYSTEM_TIMEOFDAY_INFORMATION.cs @@ -9,6 +9,6 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct SYSTEM_TIMEOFDAY_INFORMATION { /// - [NativeTypeName("BYTE [48]")] + [NativeTypeName("BYTE[48]")] public fixed byte Reserved1[48]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/TEB.cs b/sources/Interop/Windows/Windows/um/winternl/TEB.cs index fb58ff8db8..5040038812 100644 --- a/sources/Interop/Windows/Windows/um/winternl/TEB.cs +++ b/sources/Interop/Windows/Windows/um/winternl/TEB.cs @@ -11,7 +11,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct TEB { /// - [NativeTypeName("PVOID [12]")] + [NativeTypeName("PVOID[12]")] public _Reserved1_e__FixedBuffer Reserved1; /// @@ -19,23 +19,23 @@ public unsafe partial struct TEB public PEB* ProcessEnvironmentBlock; /// - [NativeTypeName("PVOID [399]")] + [NativeTypeName("PVOID[399]")] public _Reserved2_e__FixedBuffer Reserved2; /// - [NativeTypeName("BYTE [1952]")] + [NativeTypeName("BYTE[1952]")] public fixed byte Reserved3[1952]; /// - [NativeTypeName("PVOID [64]")] + [NativeTypeName("PVOID[64]")] public _TlsSlots_e__FixedBuffer TlsSlots; /// - [NativeTypeName("BYTE [8]")] + [NativeTypeName("BYTE[8]")] public fixed byte Reserved4[8]; /// - [NativeTypeName("PVOID [26]")] + [NativeTypeName("PVOID[26]")] public _Reserved5_e__FixedBuffer Reserved5; /// @@ -43,7 +43,7 @@ public unsafe partial struct TEB public void* ReservedForOle; /// - [NativeTypeName("PVOID [4]")] + [NativeTypeName("PVOID[4]")] public _Reserved6_e__FixedBuffer Reserved6; /// diff --git a/sources/Interop/Windows/Windows/um/winternl/WINSTATIONINFORMATIONW.cs b/sources/Interop/Windows/Windows/um/winternl/WINSTATIONINFORMATIONW.cs index d137862577..078a1f27c1 100644 --- a/sources/Interop/Windows/Windows/um/winternl/WINSTATIONINFORMATIONW.cs +++ b/sources/Interop/Windows/Windows/um/winternl/WINSTATIONINFORMATIONW.cs @@ -9,7 +9,7 @@ namespace TerraFX.Interop.Windows; public unsafe partial struct WINSTATIONINFORMATIONW { /// - [NativeTypeName("BYTE [70]")] + [NativeTypeName("BYTE[70]")] public fixed byte Reserved2[70]; /// @@ -17,6 +17,6 @@ public unsafe partial struct WINSTATIONINFORMATIONW public uint LogonId; /// - [NativeTypeName("BYTE [1140]")] + [NativeTypeName("BYTE[1140]")] public fixed byte Reserved3[1140]; } diff --git a/sources/Interop/Windows/Windows/um/winternl/Windows.cs b/sources/Interop/Windows/Windows/um/winternl/Windows.cs index e418dd8a57..733a61b138 100644 --- a/sources/Interop/Windows/Windows/um/winternl/Windows.cs +++ b/sources/Interop/Windows/Windows/um/winternl/Windows.cs @@ -32,7 +32,7 @@ public static unsafe partial class Windows /// [DllImport("ntdll", ExactSpelling = true)] [return: NativeTypeName("NTSTATUS")] - public static extern int NtNotifyChangeMultipleKeys(HANDLE MasterKeyHandle, [NativeTypeName("ULONG")] uint Count, [NativeTypeName("OBJECT_ATTRIBUTES []")] OBJECT_ATTRIBUTES* SubordinateObjects, HANDLE Event, [NativeTypeName("PIO_APC_ROUTINE")] delegate* unmanaged ApcRoutine, [NativeTypeName("PVOID")] void* ApcContext, [NativeTypeName("PIO_STATUS_BLOCK")] IO_STATUS_BLOCK* IoStatusBlock, [NativeTypeName("ULONG")] uint CompletionFilter, [NativeTypeName("BOOLEAN")] byte WatchTree, [NativeTypeName("PVOID")] void* Buffer, [NativeTypeName("ULONG")] uint BufferSize, [NativeTypeName("BOOLEAN")] byte Asynchronous); + public static extern int NtNotifyChangeMultipleKeys(HANDLE MasterKeyHandle, [NativeTypeName("ULONG")] uint Count, [NativeTypeName("OBJECT_ATTRIBUTES[]")] OBJECT_ATTRIBUTES* SubordinateObjects, HANDLE Event, [NativeTypeName("PIO_APC_ROUTINE")] delegate* unmanaged ApcRoutine, [NativeTypeName("PVOID")] void* ApcContext, [NativeTypeName("PIO_STATUS_BLOCK")] IO_STATUS_BLOCK* IoStatusBlock, [NativeTypeName("ULONG")] uint CompletionFilter, [NativeTypeName("BOOLEAN")] byte WatchTree, [NativeTypeName("PVOID")] void* Buffer, [NativeTypeName("ULONG")] uint BufferSize, [NativeTypeName("BOOLEAN")] byte Asynchronous); /// [DllImport("ntdll", ExactSpelling = true)] diff --git a/tests/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1Tests.cs b/tests/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1Tests.cs index e3c80707e5..0cede6ac4b 100644 --- a/tests/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1Tests.cs +++ b/tests/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D10ShaderReflection1Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ID3D10ShaderReflection1).GUID, Is.EqualTo(IID_ID3D10ShaderReflection1)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPoolTests.cs b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPoolTests.cs index 5a39b04af9..96b9a7a9d9 100644 --- a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPoolTests.cs +++ b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPoolTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D10EffectPoolTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ID3D10EffectPool).GUID, Is.EqualTo(IID_ID3D10EffectPool)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectTests.cs b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectTests.cs index 4941e90cdc..ee0213c3e7 100644 --- a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectTests.cs +++ b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D10EffectTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ID3D10Effect).GUID, Is.EqualTo(IID_ID3D10Effect)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlockTests.cs b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlockTests.cs index fc25da8a54..2272655a7b 100644 --- a/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlockTests.cs +++ b/tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlockTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D10StateBlockTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ID3D10StateBlock).GUID, Is.EqualTo(IID_ID3D10StateBlock)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw2Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw2Tests.cs index eaf2e4a1ce..cc55726a14 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw2Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw2Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDraw2Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDraw2).GUID, Is.EqualTo(IID_IDirectDraw2)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw4Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw4Tests.cs index 8956cff067..abf9350355 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw4Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw4Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDraw4Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDraw4).GUID, Is.EqualTo(IID_IDirectDraw4)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw7Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw7Tests.cs index 0877f8daac..39f53a807a 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw7Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDraw7Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDraw7Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDraw7).GUID, Is.EqualTo(IID_IDirectDraw7)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipperTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipperTests.cs index e4d1f8536b..25287b0c9e 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipperTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipperTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawClipperTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawClipper).GUID, Is.EqualTo(IID_IDirectDrawClipper)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControlTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControlTests.cs index 932156d1b7..91b824dd1f 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControlTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControlTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawColorControlTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawColorControl).GUID, Is.EqualTo(IID_IDirectDrawColorControl)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControlTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControlTests.cs index 91264a87d1..276f6a1d71 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControlTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControlTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawGammaControlTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawGammaControl).GUID, Is.EqualTo(IID_IDirectDrawGammaControl)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawPaletteTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawPaletteTests.cs index 500b67ddf8..267a96ca17 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawPaletteTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawPaletteTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawPaletteTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawPalette).GUID, Is.EqualTo(IID_IDirectDrawPalette)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2Tests.cs index 70034f714d..9ea62287d9 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawSurface2Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawSurface2).GUID, Is.EqualTo(IID_IDirectDrawSurface2)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3Tests.cs index a1d2664b25..5ec76aa837 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawSurface3Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawSurface3).GUID, Is.EqualTo(IID_IDirectDrawSurface3)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4Tests.cs index e483b509df..d4e2bfd67f 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawSurface4Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawSurface4).GUID, Is.EqualTo(IID_IDirectDrawSurface4)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7Tests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7Tests.cs index 73609ee71c..3eb55a9729 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7Tests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawSurface7Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawSurface7).GUID, Is.EqualTo(IID_IDirectDrawSurface7)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurfaceTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurfaceTests.cs index 3aa5ef6be6..d0f8907280 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurfaceTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurfaceTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawSurfaceTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawSurface).GUID, Is.EqualTo(IID_IDirectDrawSurface)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawTests.cs b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawTests.cs index 0b90d00deb..cc83b448ab 100644 --- a/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawTests.cs +++ b/tests/Interop/Windows/DirectX/um/ddraw/IDirectDrawTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDraw).GUID, Is.EqualTo(IID_IDirectDraw)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainerTests.cs b/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainerTests.cs index a2ea87c396..d7b69acc5a 100644 --- a/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainerTests.cs +++ b/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainerTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDxDiagContainerTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDxDiagContainer).GUID, Is.EqualTo(IID_IDxDiagContainer)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagProviderTests.cs b/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagProviderTests.cs index 35ed565bf4..89095d931a 100644 --- a/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagProviderTests.cs +++ b/tests/Interop/Windows/DirectX/um/dxdiag/IDxDiagProviderTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDxDiagProviderTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDxDiagProvider).GUID, Is.EqualTo(IID_IDxDiagProvider)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/ResolveDllImportTests.cs b/tests/Interop/Windows/ResolveDllImportTests.cs index 44ef396176..10dadafce8 100644 --- a/tests/Interop/Windows/ResolveDllImportTests.cs +++ b/tests/Interop/Windows/ResolveDllImportTests.cs @@ -6,6 +6,7 @@ using System.Runtime.InteropServices; #pragma warning disable IL2026 +#pragma warning disable IL2070 namespace TerraFX.Interop.Windows.UnitTests; diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTORTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTORTests.cs new file mode 100644 index 0000000000..1ed0d81fd1 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTORTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_DATA_DESCRIPTORTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_DATA_DESCRIPTOR))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_DATA_DESCRIPTOR).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_DATA_DESCRIPTOR), Is.EqualTo(16)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTORTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTORTests.cs new file mode 100644 index 0000000000..77ce8fe604 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_DESCRIPTORTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_DESCRIPTORTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_DESCRIPTOR))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_DESCRIPTOR).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_DESCRIPTOR), Is.EqualTo(16)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTORTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTORTests.cs new file mode 100644 index 0000000000..a52e5ca2ac --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_DESCRIPTORTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_FILTER_DESCRIPTORTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_FILTER_DESCRIPTOR))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_FILTER_DESCRIPTOR).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_FILTER_DESCRIPTOR), Is.EqualTo(16)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_IDTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_IDTests.cs new file mode 100644 index 0000000000..8c969c8836 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_IDTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_FILTER_EVENT_IDTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_FILTER_EVENT_ID))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_FILTER_EVENT_ID).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_FILTER_EVENT_ID), Is.EqualTo(6)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAMETests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAMETests.cs new file mode 100644 index 0000000000..99c7e52793 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_EVENT_NAMETests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_FILTER_EVENT_NAMETests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_FILTER_EVENT_NAME))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_FILTER_EVENT_NAME).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_FILTER_EVENT_NAME), Is.EqualTo(24)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADERTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADERTests.cs new file mode 100644 index 0000000000..35a4a39812 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_HEADERTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_FILTER_HEADERTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_FILTER_HEADER))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_FILTER_HEADER).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_FILTER_HEADER), Is.EqualTo(24)); + } +} diff --git a/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KWTests.cs b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KWTests.cs new file mode 100644 index 0000000000..37cda89c01 --- /dev/null +++ b/tests/Interop/Windows/Windows/shared/evntprov/EVENT_FILTER_LEVEL_KWTests.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class EVENT_FILTER_LEVEL_KWTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(EVENT_FILTER_LEVEL_KW))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(EVENT_FILTER_LEVEL_KW).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + Assert.That(sizeof(EVENT_FILTER_LEVEL_KW), Is.EqualTo(24)); + } +} diff --git a/tests/Interop/Windows/Windows/um/amvideo/IBaseVideoMixerTests.cs b/tests/Interop/Windows/Windows/um/amvideo/IBaseVideoMixerTests.cs index a461bcd57f..0d351467ae 100644 --- a/tests/Interop/Windows/Windows/um/amvideo/IBaseVideoMixerTests.cs +++ b/tests/Interop/Windows/Windows/um/amvideo/IBaseVideoMixerTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IBaseVideoMixerTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IBaseVideoMixer).GUID, Is.EqualTo(IID_IBaseVideoMixer)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/amvideo/IDirectDrawVideoTests.cs b/tests/Interop/Windows/Windows/um/amvideo/IDirectDrawVideoTests.cs index fa8ef7731f..8000af1724 100644 --- a/tests/Interop/Windows/Windows/um/amvideo/IDirectDrawVideoTests.cs +++ b/tests/Interop/Windows/Windows/um/amvideo/IDirectDrawVideoTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IDirectDrawVideoTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDirectDrawVideo).GUID, Is.EqualTo(IID_IDirectDrawVideo)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoExTests.cs b/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoExTests.cs index 9ef0a327f4..2eddc2d246 100644 --- a/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoExTests.cs +++ b/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoExTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IFullScreenVideoExTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFullScreenVideoEx).GUID, Is.EqualTo(IID_IFullScreenVideoEx)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoTests.cs b/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoTests.cs index 01dbd74303..3295706738 100644 --- a/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoTests.cs +++ b/tests/Interop/Windows/Windows/um/amvideo/IFullScreenVideoTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IFullScreenVideoTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFullScreenVideo).GUID, Is.EqualTo(IID_IFullScreenVideo)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/amvideo/IQualPropTests.cs b/tests/Interop/Windows/Windows/um/amvideo/IQualPropTests.cs index 87351d56f8..216132fd0d 100644 --- a/tests/Interop/Windows/Windows/um/amvideo/IQualPropTests.cs +++ b/tests/Interop/Windows/Windows/um/amvideo/IQualPropTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IQualPropTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IQualProp).GUID, Is.EqualTo(IID_IQualProp)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs b/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs index 7d39d04551..a93463df3d 100644 --- a/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs +++ b/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class MFASYNCRESULTTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(MFASYNCRESULT).GUID, Is.EqualTo(IID_tagMFASYNCRESULT)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs b/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs index 6369d238fc..7c96568f1f 100644 --- a/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs +++ b/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class CIE4ConnectionPointTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(CIE4ConnectionPoint).GUID, Is.EqualTo(IID_CIE4ConnectionPoint)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallbackTests.cs b/tests/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallbackTests.cs index 37ec48460f..a11203e2ad 100644 --- a/tests/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallbackTests.cs +++ b/tests/Interop/Windows/Windows/um/strmif/IAMFilterGraphCallbackTests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class IAMFilterGraphCallbackTests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IAMFilterGraphCallback).GUID, Is.EqualTo(IID_IAMFilterGraphCallback)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIOTests.cs b/tests/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIOTests.cs new file mode 100644 index 0000000000..24329c2c43 --- /dev/null +++ b/tests/Interop/Windows/Windows/um/winternl/PUBLIC_OBJECT_TYPE_INFORMATIOTests.cs @@ -0,0 +1,42 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class PUBLIC_OBJECT_TYPE_INFORMATIOTests +{ + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(PUBLIC_OBJECT_TYPE_INFORMATIO))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(PUBLIC_OBJECT_TYPE_INFORMATIO).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + if (Environment.Is64BitProcess) + { + Assert.That(sizeof(PUBLIC_OBJECT_TYPE_INFORMATIO), Is.EqualTo(104)); + } + else + { + Assert.That(sizeof(PUBLIC_OBJECT_TYPE_INFORMATIO), Is.EqualTo(96)); + } + } +} From 6bf56b1e7e9890c715cf0bdd927f032890ac2a57 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 10:39:36 -0700 Subject: [PATCH 07/12] Removing potentially incorrect SuppressGCTransition annotations --- generation/Windows/um/Shlwapi/generate.rsp | 1 - generation/Windows/um/WinUser/generate.rsp | 1 + generation/remap-suppressgctransition.rsp | 205 ------------------ .../DirectX/shared/dxgi/IDXGIAdapter.cs | 4 +- .../DirectX/shared/dxgi/IDXGIAdapter1.cs | 8 +- .../DirectX/shared/dxgi/IDXGIOutput.cs | 4 +- .../DirectX/shared/dxgi1_2/IDXGIAdapter2.cs | 12 +- .../DirectX/shared/dxgi1_2/IDXGIOutput1.cs | 4 +- .../shared/dxgi1_2/IDXGIOutputDuplication.cs | 4 +- .../DirectX/shared/dxgi1_3/IDXGIOutput2.cs | 4 +- .../DirectX/shared/dxgi1_3/IDXGIOutput3.cs | 4 +- .../DirectX/shared/dxgi1_4/IDXGIAdapter3.cs | 12 +- .../DirectX/shared/dxgi1_4/IDXGIOutput4.cs | 4 +- .../DirectX/shared/dxgi1_5/IDXGIOutput5.cs | 4 +- .../DirectX/shared/dxgi1_6/IDXGIAdapter4.cs | 16 +- .../DirectX/shared/dxgi1_6/IDXGIOutput6.cs | 8 +- .../Windows/DirectX/um/d2d1/ID2D1Bitmap.cs | 16 +- .../DirectX/um/d2d1/ID2D1BitmapBrush.cs | 20 +- .../um/d2d1/ID2D1BitmapRenderTarget.cs | 16 +- .../Windows/DirectX/um/d2d1/ID2D1Brush.cs | 8 +- .../DirectX/um/d2d1/ID2D1DCRenderTarget.cs | 16 +- .../DirectX/um/d2d1/ID2D1EllipseGeometry.cs | 4 +- .../DirectX/um/d2d1/ID2D1GeometryGroup.cs | 8 +- .../um/d2d1/ID2D1GradientStopCollection.cs | 12 +- .../DirectX/um/d2d1/ID2D1HwndRenderTarget.cs | 16 +- .../Windows/DirectX/um/d2d1/ID2D1Layer.cs | 4 +- .../um/d2d1/ID2D1LinearGradientBrush.cs | 16 +- .../DirectX/um/d2d1/ID2D1PathGeometry.cs | 8 +- .../um/d2d1/ID2D1RadialGradientBrush.cs | 24 +- .../DirectX/um/d2d1/ID2D1RectangleGeometry.cs | 4 +- .../DirectX/um/d2d1/ID2D1RenderTarget.cs | 16 +- .../um/d2d1/ID2D1RoundedRectangleGeometry.cs | 4 +- .../DirectX/um/d2d1/ID2D1SolidColorBrush.cs | 12 +- .../DirectX/um/d2d1/ID2D1StrokeStyle.cs | 28 +-- .../um/d2d1/ID2D1TransformedGeometry.cs | 4 +- .../Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs | 20 +- .../DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs | 24 +- .../DirectX/um/d2d1_1/ID2D1ColorContext.cs | 8 +- .../DirectX/um/d2d1_1/ID2D1DeviceContext.cs | 24 +- .../um/d2d1_1/ID2D1DrawingStateBlock1.cs | 4 +- .../um/d2d1_1/ID2D1GradientStopCollection1.cs | 28 +-- .../DirectX/um/d2d1_1/ID2D1ImageBrush.cs | 24 +- .../DirectX/um/d2d1_1/ID2D1Multithread.cs | 4 +- .../DirectX/um/d2d1_1/ID2D1PathGeometry1.cs | 8 +- .../DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs | 28 +-- .../Windows/DirectX/um/d2d1_2/ID2D1Device1.cs | 4 +- .../DirectX/um/d2d1_2/ID2D1DeviceContext1.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1ColorContext1.cs | 20 +- .../Windows/DirectX/um/d2d1_3/ID2D1Device2.cs | 4 +- .../Windows/DirectX/um/d2d1_3/ID2D1Device3.cs | 4 +- .../Windows/DirectX/um/d2d1_3/ID2D1Device4.cs | 8 +- .../Windows/DirectX/um/d2d1_3/ID2D1Device5.cs | 8 +- .../Windows/DirectX/um/d2d1_3/ID2D1Device6.cs | 8 +- .../DirectX/um/d2d1_3/ID2D1DeviceContext2.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1DeviceContext3.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1DeviceContext4.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1DeviceContext5.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1DeviceContext6.cs | 24 +- .../DirectX/um/d2d1_3/ID2D1GradientMesh.cs | 4 +- .../Windows/DirectX/um/d2d1_3/ID2D1Ink.cs | 8 +- .../DirectX/um/d2d1_3/ID2D1InkStyle.cs | 8 +- .../DirectX/um/d2d1_3/ID2D1SpriteBatch.cs | 4 +- .../DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs | 4 +- .../d2d1effectauthor/ID2D1BlendTransform.cs | 4 +- .../d2d1effectauthor/ID2D1BorderTransform.cs | 8 +- .../ID2D1BoundsAdjustmentTransform.cs | 4 +- .../d2d1effectauthor/ID2D1OffsetTransform.cs | 4 +- .../DirectX/um/d2d1svg/ID2D1SvgDocument.cs | 4 +- .../DirectX/um/d2d1svg/ID2D1SvgElement.cs | 8 +- .../DirectX/um/d2d1svg/ID2D1SvgPaint.cs | 8 +- .../DirectX/um/d2d1svg/ID2D1SvgPathData.cs | 8 +- .../um/d2d1svg/ID2D1SvgPointCollection.cs | 4 +- .../um/d2d1svg/ID2D1SvgStrokeDashArray.cs | 4 +- .../DirectX/um/d3d12/ID3D12CommandList.cs | 4 +- .../DirectX/um/d3d12/ID3D12CommandQueue.cs | 4 +- .../DirectX/um/d3d12/ID3D12DescriptorHeap.cs | 12 +- .../Windows/DirectX/um/d3d12/ID3D12Device.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device1.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device2.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device3.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device4.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device5.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device6.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device7.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device8.cs | 8 +- .../Windows/DirectX/um/d3d12/ID3D12Device9.cs | 8 +- .../um/d3d12/ID3D12GraphicsCommandList.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList1.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList2.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList3.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList4.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList5.cs | 4 +- .../um/d3d12/ID3D12GraphicsCommandList6.cs | 4 +- .../Windows/DirectX/um/d3d12/ID3D12Heap.cs | 4 +- .../Windows/DirectX/um/d3d12/ID3D12Heap1.cs | 4 +- .../d3d12/ID3D12ProtectedResourceSession.cs | 4 +- .../d3d12/ID3D12ProtectedResourceSession1.cs | 8 +- .../DirectX/um/d3d12/ID3D12Resource.cs | 8 +- .../DirectX/um/d3d12/ID3D12Resource1.cs | 8 +- .../DirectX/um/d3d12/ID3D12Resource2.cs | 12 +- .../d3d12/ID3D12RootSignatureDeserializer.cs | 4 +- ...D3D12VersionedRootSignatureDeserializer.cs | 4 +- .../ID3D12FunctionParameterReflection.cs | 4 +- .../d3d12shader/ID3D12FunctionReflection.cs | 4 +- .../um/d3d12shader/ID3D12LibraryReflection.cs | 4 +- .../um/d3d12shader/ID3D12ShaderReflection.cs | 40 ++-- .../ID3D12ShaderReflectionConstantBuffer.cs | 4 +- .../d3d12shader/ID3D12ShaderReflectionType.cs | 8 +- .../ID3D12ShaderReflectionVariable.cs | 8 +- .../ID3D12VideoDecodeCommandList.cs | 4 +- .../ID3D12VideoDecodeCommandList1.cs | 4 +- .../ID3D12VideoDecodeCommandList2.cs | 4 +- .../ID3D12VideoEncodeCommandList.cs | 4 +- .../ID3D12VideoEncodeCommandList1.cs | 4 +- .../ID3D12VideoProcessCommandList.cs | 4 +- .../ID3D12VideoProcessCommandList1.cs | 4 +- .../ID3D12VideoProcessCommandList2.cs | 4 +- .../um/dwrite/IDWriteBitmapRenderTarget.cs | 12 +- .../Windows/DirectX/um/dwrite/IDWriteFont.cs | 24 +- .../um/dwrite/IDWriteFontCollection.cs | 4 +- .../DirectX/um/dwrite/IDWriteFontFace.cs | 24 +- .../DirectX/um/dwrite/IDWriteFontFamily.cs | 4 +- .../DirectX/um/dwrite/IDWriteFontList.cs | 4 +- .../DirectX/um/dwrite/IDWriteInlineObject.cs | 8 +- .../um/dwrite/IDWriteRenderingParams.cs | 20 +- .../um/dwrite/IDWriteTextAnalysisSource.cs | 4 +- .../DirectX/um/dwrite/IDWriteTextFormat.cs | 44 ++-- .../DirectX/um/dwrite/IDWriteTextLayout.cs | 52 ++--- .../DirectX/um/dwrite/IDWriteTypography.cs | 4 +- .../um/dwrite_1/IDWriteBitmapRenderTarget1.cs | 16 +- .../DirectX/um/dwrite_1/IDWriteFont1.cs | 32 +-- .../DirectX/um/dwrite_1/IDWriteFontFace1.cs | 44 ++-- .../um/dwrite_1/IDWriteRenderingParams1.cs | 24 +- .../um/dwrite_1/IDWriteTextAnalysisSource1.cs | 4 +- .../DirectX/um/dwrite_1/IDWriteTextLayout1.cs | 52 ++--- .../IDWriteColorGlyphRunEnumerator.cs | 4 +- .../DirectX/um/dwrite_2/IDWriteFont2.cs | 36 +-- .../DirectX/um/dwrite_2/IDWriteFontFace2.cs | 56 ++--- .../um/dwrite_2/IDWriteRenderingParams2.cs | 28 +-- .../DirectX/um/dwrite_2/IDWriteTextFormat1.cs | 56 ++--- .../DirectX/um/dwrite_2/IDWriteTextLayout2.cs | 64 +++--- .../IDWriteColorGlyphRunEnumerator1.cs | 8 +- .../DirectX/um/dwrite_3/IDWriteFont3.cs | 36 +-- .../um/dwrite_3/IDWriteFontCollection1.cs | 4 +- .../um/dwrite_3/IDWriteFontCollection2.cs | 8 +- .../um/dwrite_3/IDWriteFontCollection3.cs | 8 +- .../DirectX/um/dwrite_3/IDWriteFontFace3.cs | 72 +++--- .../DirectX/um/dwrite_3/IDWriteFontFace4.cs | 80 +++---- .../DirectX/um/dwrite_3/IDWriteFontFace5.cs | 84 +++---- .../DirectX/um/dwrite_3/IDWriteFontFace6.cs | 84 +++---- .../um/dwrite_3/IDWriteFontFaceReference.cs | 8 +- .../um/dwrite_3/IDWriteFontFaceReference1.cs | 8 +- .../DirectX/um/dwrite_3/IDWriteFontFamily1.cs | 4 +- .../DirectX/um/dwrite_3/IDWriteFontFamily2.cs | 4 +- .../DirectX/um/dwrite_3/IDWriteFontList1.cs | 4 +- .../DirectX/um/dwrite_3/IDWriteFontList2.cs | 4 +- .../um/dwrite_3/IDWriteRenderingParams3.cs | 28 +-- .../DirectX/um/dwrite_3/IDWriteTextFormat2.cs | 60 ++--- .../DirectX/um/dwrite_3/IDWriteTextFormat3.cs | 68 +++--- .../DirectX/um/dwrite_3/IDWriteTextLayout3.cs | 68 +++--- .../DirectX/um/dwrite_3/IDWriteTextLayout4.cs | 72 +++--- .../um/dxcore_interface/IDXCoreAdapter.cs | 16 +- .../dxcore_interface/IDXCoreAdapterFactory.cs | 4 +- .../um/dxcore_interface/IDXCoreAdapterList.cs | 8 +- .../Windows/um/Shlwapi/Windows.Manual.cs | 5 - .../Windows/um/WinUser/Windows.Manual.cs | 5 + .../other/D3D11On12On7/ID3D11On12On7Tests.cs | 8 + 167 files changed, 1228 insertions(+), 1425 deletions(-) diff --git a/generation/Windows/um/Shlwapi/generate.rsp b/generation/Windows/um/Shlwapi/generate.rsp index 4ef47b795e..beaa94dbfd 100644 --- a/generation/Windows/um/Shlwapi/generate.rsp +++ b/generation/Windows/um/Shlwapi/generate.rsp @@ -35,7 +35,6 @@ UrlIsFileUrlA UrlIsFileUrlW UrlUnescapeInPlace wnsprintf -wsprintf --file um-Shlwapi.h --methodClassName diff --git a/generation/Windows/um/WinUser/generate.rsp b/generation/Windows/um/WinUser/generate.rsp index 5ee6949596..d73fbc1141 100644 --- a/generation/Windows/um/WinUser/generate.rsp +++ b/generation/Windows/um/WinUser/generate.rsp @@ -102,6 +102,7 @@ TOUCH_COORD_TO_PIXEL WINSTAENUMPROC WINSTAENUMPROCA WINSTAENUMPROCW +wsprintf _Inout_grows_updates_bypassable_or_z_ _In_bypassable_reads_or_z_ --file diff --git a/generation/remap-suppressgctransition.rsp b/generation/remap-suppressgctransition.rsp index 7c97c557a5..da94d0e0cb 100644 --- a/generation/remap-suppressgctransition.rsp +++ b/generation/remap-suppressgctransition.rsp @@ -7,208 +7,3 @@ D2D1MakeSkewMatrix D2D1SinCos D2D1Tan D2D1Vec3Length -ID2D1Bitmap.GetDpi -ID2D1Bitmap.GetPixelFormat -ID2D1Bitmap.GetPixelSize -ID2D1Bitmap.GetSize -ID2D1Bitmap1.GetOptions -ID2D1BitmapBrush.GetExtendModeX -ID2D1BitmapBrush.GetExtendModeY -ID2D1BitmapBrush.GetInterpolationMode -ID2D1BitmapBrush1.GetInterpolationMode1 -ID2D1BlendTransform.GetDescription -ID2D1BorderTransform.GetExtendModeX -ID2D1BorderTransform.GetExtendModeY -ID2D1BoundsAdjustmentTransform.GetOutputBounds -ID2D1Brush.GetOpacity -ID2D1Brush.GetTransform -ID2D1ColorContext.GetColorSpace -ID2D1ColorContext.GetProfileSize -ID2D1ColorContext1.GetColorContextType -ID2D1ColorContext1.GetDXGIColorSpace -ID2D1ColorContext1.GetSimpleColorProfile -ID2D1Device1.GetRenderingPriority -ID2D1Device4.GetMaximumColorGlyphCacheMemory -ID2D1DeviceContext.GetPrimitiveBlend -ID2D1DeviceContext.GetUnitMode -ID2D1DrawingStateBlock1.GetDescription -ID2D1EllipseGeometry.GetEllipse -ID2D1GeometryGroup.GetFillMode -ID2D1GeometryGroup.GetSourceGeometryCount -ID2D1GradientMesh.GetPatchCount -ID2D1GradientStopCollection.GetColorInterpolationGamma -ID2D1GradientStopCollection.GetExtendMode -ID2D1GradientStopCollection.GetGradientStopCount -ID2D1GradientStopCollection1.GetBufferPrecision -ID2D1GradientStopCollection1.GetColorInterpolationMode -ID2D1GradientStopCollection1.GetPostInterpolationSpace -ID2D1GradientStopCollection1.GetPreInterpolationSpace -ID2D1ImageBrush.GetExtendModeX -ID2D1ImageBrush.GetExtendModeY -ID2D1ImageBrush.GetInterpolationMode -ID2D1ImageBrush.GetSourceRectangle -ID2D1Ink.GetSegmentCount -ID2D1Ink.GetStartPoint -ID2D1InkStyle.GetNibShape -ID2D1InkStyle.GetNibTransform -ID2D1Layer.GetSize -ID2D1LinearGradientBrush.GetEndPoint -ID2D1LinearGradientBrush.GetStartPoint -ID2D1Multithread.GetMultithreadProtected -ID2D1OffsetTransform.GetOffset -ID2D1PathGeometry.GetFigureCount -ID2D1PathGeometry.GetSegmentCount -ID2D1RadialGradientBrush.GetCenter -ID2D1RadialGradientBrush.GetGradientOriginOffset -ID2D1RadialGradientBrush.GetRadiusX -ID2D1RadialGradientBrush.GetRadiusY -ID2D1RectangleGeometry.GetRect -ID2D1RenderTarget.GetAntialiasMode -ID2D1RenderTarget.GetDpi -ID2D1RenderTarget.GetTextAntialiasMode -ID2D1RenderTarget.GetTransform -ID2D1RoundedRectangleGeometry.GetRoundedRect -ID2D1SolidColorBrush.GetColor -ID2D1SpriteBatch.GetSpriteCount -ID2D1StrokeStyle.GetDashCap -ID2D1StrokeStyle.GetDashOffset -ID2D1StrokeStyle.GetDashStyle -ID2D1StrokeStyle.GetEndCap -ID2D1StrokeStyle.GetLineJoin -ID2D1StrokeStyle.GetMiterLimit -ID2D1StrokeStyle.GetStartCap -ID2D1StrokeStyle.GetStrokeTransformType -ID2D1SvgDocument.GetViewportSize -ID2D1SvgElement.HasChildren -ID2D1SvgElement.IsTextContent -ID2D1SvgGlyphStyle.GetStrokeDashesCount -ID2D1SvgPaint.GetColor -ID2D1SvgPaint.GetPaintType -ID2D1SvgPathData.GetCommandsCount -ID2D1SvgPathData.GetSegmentDataCount -ID2D1SvgPointCollection.GetPointsCount -ID2D1SvgStrokeDashArray.GetDashesCount -ID2D1TransformedGeometry.GetTransform -ID3D12CommandList.GetType -ID3D12CommandQueue.GetDesc -ID3D12DescriptorHeap.GetCPUDescriptorHandleForHeapStart -ID3D12DescriptorHeap.GetDesc -ID3D12DescriptorHeap.GetGPUDescriptorHandleForHeapStart -ID3D12Device.GetAdapterLuid -ID3D12Device.GetNodeCount -ID3D12FunctionParameterReflection.GetDesc -ID3D12FunctionReflection.GetDesc -ID3D12Heap.GetDesc -ID3D12LibraryReflection.GetDesc -ID3D12ProtectedResourceSession.GetDesc -ID3D12ProtectedResourceSession1.GetDesc1 -ID3D12Resource.GetDesc -ID3D12Resource.GetGPUVirtualAddress -ID3D12Resource2.GetDesc1 -ID3D12RootSignatureDeserializer.GetRootSignatureDesc -ID3D12ShaderReflection.GetBitwiseInstructionCount -ID3D12ShaderReflection.GetConversionInstructionCount -ID3D12ShaderReflection.GetDesc -ID3D12ShaderReflection.GetGSInputPrimitive -ID3D12ShaderReflection.GetMovcInstructionCount -ID3D12ShaderReflection.GetMovInstructionCount -ID3D12ShaderReflection.GetNumInterfaceSlots -ID3D12ShaderReflection.GetRequiresFlags -ID3D12ShaderReflection.GetThreadGroupSize -ID3D12ShaderReflection.IsSampleFrequencyShader -ID3D12ShaderReflectionConstantBuffer.GetDesc -ID3D12ShaderReflectionType.GetDesc -ID3D12ShaderReflectionType.GetNumInterfaces -ID3D12ShaderReflectionVariable.GetDesc -ID3D12ShaderReflectionVariable.GetInterfaceSlot -ID3D12VersionedRootSignatureDeserializer.GetUnconvertedRootSignatureDesc -IDWriteBitmapRenderTarget.GetCurrentTransform -IDWriteBitmapRenderTarget.GetPixelsPerDip -IDWriteBitmapRenderTarget.GetSize -IDWriteBitmapRenderTarget1.GetTextAntialiasMode -IDWriteColorGlyphRunEnumerator.GetCurrentRun -IDWriteColorGlyphRunEnumerator1.GetCurrentRun -IDWriteFont.GetMetrics -IDWriteFont.GetSimulations -IDWriteFont.GetStretch -IDWriteFont.GetStyle -IDWriteFont.GetWeight -IDWriteFont.IsSymbolFont -IDWriteFont1.GetIsMonospacedFont -IDWriteFont1.GetMetrics -IDWriteFont1.GetPanose -IDWriteFont2.IsColorFont -IDWriteFontCollection.GetFontFamilyCount -IDWriteFontCollection2.GetFontFamilyModel -IDWriteFontFace.GetGlyphCount -IDWriteFontFace.GetIndex -IDWriteFontFace.GetMetrics -IDWriteFontFace.GetSimulations -IDWriteFontFace.GetType -IDWriteFontFace.IsSymbolFont -IDWriteFontFace1.GetCaretMetrics -IDWriteFontFace1.GetMetrics -IDWriteFontFace1.HasKerningPairs -IDWriteFontFace1.HasVerticalGlyphVariants -IDWriteFontFace1.IsMonospacedFont -IDWriteFontFace2.GetColorPaletteCount -IDWriteFontFace2.GetPaletteEntryCount -IDWriteFontFace2.IsColorFont -IDWriteFontFace3.GetPanose -IDWriteFontFace3.GetStretch -IDWriteFontFace3.GetStyle -IDWriteFontFace3.GetWeight -IDWriteFontFace4.GetGlyphImageFormats -IDWriteFontFace5.HasVariations -IDWriteFontFaceReference.GetFontFaceIndex -IDWriteFontFaceReference.GetSimulations -IDWriteFontList.GetFontCount -IDWriteInlineObject.GetBreakConditions -IDWriteInlineObject.GetMetrics -IDWriteRenderingParams.GetClearTypeLevel -IDWriteRenderingParams.GetEnhancedContrast -IDWriteRenderingParams.GetGamma -IDWriteRenderingParams.GetPixelGeometry -IDWriteRenderingParams.GetRenderingMode -IDWriteRenderingParams1.GetGrayscaleEnhancedContrast -IDWriteRenderingParams2.GetGridFitMode -IDWriteTextAnalysisSource.GetParagraphReadingDirection -IDWriteTextFormat.GetFlowDirection -IDWriteTextFormat.GetFontSize -IDWriteTextFormat.GetFontStretch -IDWriteTextFormat.GetFontStyle -IDWriteTextFormat.GetFontWeight -IDWriteTextFormat.GetIncrementalTabStop -IDWriteTextFormat.GetLineSpacing -IDWriteTextFormat.GetParagraphAlignment -IDWriteTextFormat.GetReadingDirection -IDWriteTextFormat.GetTextAlignment -IDWriteTextFormat.GetWordWrapping -IDWriteTextFormat1.GetLastLineWrapping -IDWriteTextFormat1.GetOpticalAlignment -IDWriteTextFormat1.GetVerticalGlyphOrientation -IDWriteTextFormat2.GetLineSpacing -IDWriteTextFormat3.GetAutomaticFontAxes -IDWriteTextFormat3.GetFontAxisValueCount -IDWriteTextLayout.GetMaxHeight -IDWriteTextLayout.GetMaxWidth -IDWriteTextLayout2.GetLastLineWrapping -IDWriteTextLayout2.GetOpticalAlignment -IDWriteTextLayout2.GetVerticalGlyphOrientation -IDWriteTextLayout3.GetLineSpacing -IDWriteTextLayout4.GetAutomaticFontAxes -IDWriteTypography.GetFontFeatureCount -IDXCoreAdapter.IsPropertySupported -IDXCoreAdapter.IsQueryStateSupported -IDXCoreAdapter.IsSetStateSupported -IDXCoreAdapter.IsValid -IDXCoreAdapterFactory.IsNotificationTypeSupported -IDXCoreAdapterList.GetAdapterCount -IDXCoreAdapterList.IsAdapterPreferenceSupported -IDXGIAdapter.GetDesc -IDXGIAdapter1.GetDesc1 -IDXGIAdapter2.GetDesc2 -IDXGIAdapter4.GetDesc3 -IDXGIOutput.GetDesc -IDXGIOutput6.GetDesc1 -IDXGIOutputDuplication.GetDesc diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs index 6b3d9bf3be..712d83fb63 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -89,7 +89,7 @@ public HRESULT EnumOutputs(uint Output, IDXGIOutput** ppOutput) [VtblIndex(8)] public HRESULT GetDesc(DXGI_ADAPTER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged EnumOutputs; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] public delegate* unmanaged CheckInterfaceSupport; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs index 8b916b9f2e..0d77532081 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -89,7 +89,7 @@ public HRESULT EnumOutputs(uint Output, IDXGIOutput** ppOutput) [VtblIndex(8)] public HRESULT GetDesc(DXGI_ADAPTER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -105,7 +105,7 @@ public HRESULT CheckInterfaceSupport([NativeTypeName("const GUID &")] Guid* Inte [VtblIndex(10)] public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); } public interface Interface : IDXGIAdapter.Interface @@ -142,12 +142,12 @@ public partial struct Vtbl public delegate* unmanaged EnumOutputs; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] public delegate* unmanaged CheckInterfaceSupport; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; } } diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs index 8ab3a1ea87..62b2ab821e 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs @@ -81,7 +81,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -236,7 +236,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs index 5a0e35b547..09331730e3 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs @@ -89,7 +89,7 @@ public HRESULT EnumOutputs(uint Output, IDXGIOutput** ppOutput) [VtblIndex(8)] public HRESULT GetDesc(DXGI_ADAPTER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -105,7 +105,7 @@ public HRESULT CheckInterfaceSupport([NativeTypeName("const GUID &")] Guid* Inte [VtblIndex(10)] public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -113,7 +113,7 @@ public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) [VtblIndex(11)] public HRESULT GetDesc2(DXGI_ADAPTER_DESC2* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); } public interface Interface : IDXGIAdapter1.Interface @@ -150,15 +150,15 @@ public partial struct Vtbl public delegate* unmanaged EnumOutputs; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] public delegate* unmanaged CheckInterfaceSupport; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC2 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc2; + public delegate* unmanaged GetDesc2; } } diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs index 8d9ecf7acd..b9f0c482d1 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs @@ -81,7 +81,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -244,7 +244,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs index 14cc610a37..1237ea3da7 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public void GetDesc(DXGI_OUTDUPL_DESC* pDesc) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc); + ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -194,7 +194,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("void (DXGI_OUTDUPL_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (UINT, DXGI_OUTDUPL_FRAME_INFO *, IDXGIResource **) __attribute__((stdcall))")] public delegate* unmanaged AcquireNextFrame; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs index 5176915fc5..939dcb5b3d 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -245,7 +245,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs index 84303722ac..c93d26dabd 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -253,7 +253,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs index 63ae353332..6827a3c9a6 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs @@ -89,7 +89,7 @@ public HRESULT EnumOutputs(uint Output, IDXGIOutput** ppOutput) [VtblIndex(8)] public HRESULT GetDesc(DXGI_ADAPTER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -105,7 +105,7 @@ public HRESULT CheckInterfaceSupport([NativeTypeName("const GUID &")] Guid* Inte [VtblIndex(10)] public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -113,7 +113,7 @@ public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) [VtblIndex(11)] public HRESULT GetDesc2(DXGI_ADAPTER_DESC2* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -213,16 +213,16 @@ public partial struct Vtbl public delegate* unmanaged EnumOutputs; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] public delegate* unmanaged CheckInterfaceSupport; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC2 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc2; + public delegate* unmanaged GetDesc2; [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] public delegate* unmanaged RegisterHardwareContentProtectionTeardownStatusEvent; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs index 69b172479a..55db7f013d 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -261,7 +261,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs index 567589e677..66742575b2 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -269,7 +269,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs index f7ede067e0..1022b21c81 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs @@ -89,7 +89,7 @@ public HRESULT EnumOutputs(uint Output, IDXGIOutput** ppOutput) [VtblIndex(8)] public HRESULT GetDesc(DXGI_ADAPTER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -105,7 +105,7 @@ public HRESULT CheckInterfaceSupport([NativeTypeName("const GUID &")] Guid* Inte [VtblIndex(10)] public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -113,7 +113,7 @@ public HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc) [VtblIndex(11)] public HRESULT GetDesc2(DXGI_ADAPTER_DESC2* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -169,7 +169,7 @@ public void UnregisterVideoMemoryBudgetChangeNotification([NativeTypeName("DWORD [VtblIndex(18)] public HRESULT GetDesc3(DXGI_ADAPTER_DESC3* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), pDesc); } public interface Interface : IDXGIAdapter3.Interface @@ -206,16 +206,16 @@ public partial struct Vtbl public delegate* unmanaged EnumOutputs; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] public delegate* unmanaged CheckInterfaceSupport; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC2 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc2; + public delegate* unmanaged GetDesc2; [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] public delegate* unmanaged RegisterHardwareContentProtectionTeardownStatusEvent; @@ -236,6 +236,6 @@ public partial struct Vtbl public delegate* unmanaged UnregisterVideoMemoryBudgetChangeNotification; [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC3 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc3; + public delegate* unmanaged GetDesc3; } } diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs index 8afa15c86e..ef6be17997 100644 --- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs +++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs @@ -83,7 +83,7 @@ public HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppPa [VtblIndex(7)] public HRESULT GetDesc(DXGI_OUTPUT_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -243,7 +243,7 @@ public HRESULT DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFor [VtblIndex(27)] public HRESULT GetDesc1(DXGI_OUTPUT_DESC1* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -288,7 +288,7 @@ public partial struct Vtbl public delegate* unmanaged GetParent; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] public delegate* unmanaged GetDisplayModeList; @@ -348,7 +348,7 @@ public partial struct Vtbl public delegate* unmanaged DuplicateOutput1; [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] public delegate* unmanaged CheckHardwareCompositionSupport; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs index bfce47db80..292835c767 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs @@ -59,7 +59,7 @@ public void GetFactory(ID2D1Factory** factory) public D2D_SIZE_F GetSize() { D2D_SIZE_F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } /// @@ -69,7 +69,7 @@ public D2D_SIZE_F GetSize() public D2D_SIZE_U GetPixelSize() { D2D_SIZE_U result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } /// @@ -78,7 +78,7 @@ public D2D_SIZE_U GetPixelSize() public D2D1_PIXEL_FORMAT GetPixelFormat() { D2D1_PIXEL_FORMAT result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } /// @@ -86,7 +86,7 @@ public D2D1_PIXEL_FORMAT GetPixelFormat() [VtblIndex(7)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -155,16 +155,16 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSize; + public delegate* unmanaged GetSize; [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelSize; + public delegate* unmanaged GetPixelSize; [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelFormat; + public delegate* unmanaged GetPixelFormat; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1Bitmap *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CopyFromBitmap; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs index 727fe1f231..ef6e018dd4 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); } /// @@ -121,7 +121,7 @@ public void SetBitmap(ID2D1Bitmap* bitmap) [VtblIndex(12)] public D2D1_EXTEND_MODE GetExtendModeX() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public D2D1_EXTEND_MODE GetExtendModeX() [VtblIndex(13)] public D2D1_EXTEND_MODE GetExtendModeY() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public D2D1_EXTEND_MODE GetExtendModeY() [VtblIndex(14)] public D2D1_BITMAP_INTERPOLATION_MODE GetInterpolationMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// @@ -197,10 +197,10 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetExtendModeX; @@ -215,13 +215,13 @@ public partial struct Vtbl public delegate* unmanaged SetBitmap; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeX; + public delegate* unmanaged GetExtendModeX; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeY; + public delegate* unmanaged GetExtendModeY; [NativeTypeName("D2D1_BITMAP_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetInterpolationMode; + public delegate* unmanaged GetInterpolationMode; [NativeTypeName("void (ID2D1Bitmap **) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetBitmap; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs index edb633f401..ed06ac1f40 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs @@ -354,7 +354,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// @@ -370,7 +370,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -386,7 +386,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -523,7 +523,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -674,19 +674,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -737,7 +737,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs index 1d9a542e9b..1ea08b6f04 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); } public interface Interface : ID2D1Resource.Interface @@ -121,9 +121,9 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs index 52abf3827b..107f42d1f0 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs @@ -354,7 +354,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// @@ -370,7 +370,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -386,7 +386,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -523,7 +523,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -674,19 +674,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -737,7 +737,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs index e1943230f4..2e48a05669 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs @@ -221,7 +221,7 @@ public HRESULT Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTy [VtblIndex(17)] public void GetEllipse(D2D1_ELLIPSE* ellipse) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse); + ((delegate* unmanaged)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse); } public interface Interface : ID2D1Geometry.Interface @@ -285,6 +285,6 @@ public partial struct Vtbl public delegate* unmanaged Widen1; [NativeTypeName("void (D2D1_ELLIPSE *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEllipse; + public delegate* unmanaged GetEllipse; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs index ec11686e09..356e8e072b 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs @@ -221,7 +221,7 @@ public HRESULT Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTy [VtblIndex(17)] public D2D1_FILL_MODE GetFillMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); } /// @@ -230,7 +230,7 @@ public D2D1_FILL_MODE GetFillMode() [return: NativeTypeName("UINT32")] public uint GetSourceGeometryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); } /// @@ -309,10 +309,10 @@ public partial struct Vtbl public delegate* unmanaged Widen1; [NativeTypeName("D2D1_FILL_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFillMode; + public delegate* unmanaged GetFillMode; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSourceGeometryCount; + public delegate* unmanaged GetSourceGeometryCount; [NativeTypeName("void (ID2D1Geometry **, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSourceGeometries; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs index 0370884bda..cf0a518322 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs @@ -58,7 +58,7 @@ public void GetFactory(ID2D1Factory** factory) [return: NativeTypeName("UINT32")] public uint GetGradientStopCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public void GetGradientStops(D2D1_GRADIENT_STOP* gradientStops, [NativeTypeName( [VtblIndex(6)] public D2D1_GAMMA GetColorInterpolationGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public D2D1_GAMMA GetColorInterpolationGamma() [VtblIndex(7)] public D2D1_EXTEND_MODE GetExtendMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1Resource.Interface @@ -117,15 +117,15 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGradientStopCount; + public delegate* unmanaged GetGradientStopCount; [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGradientStops; [NativeTypeName("D2D1_GAMMA () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorInterpolationGamma; + public delegate* unmanaged GetColorInterpolationGamma; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendMode; + public delegate* unmanaged GetExtendMode; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs index 1f7c1543e2..25f009e647 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs @@ -354,7 +354,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// @@ -370,7 +370,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -386,7 +386,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -523,7 +523,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -696,19 +696,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -759,7 +759,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs index 2ba9d6f7e6..958bac53a5 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs @@ -59,7 +59,7 @@ public void GetFactory(ID2D1Factory** factory) public D2D_SIZE_F GetSize() { D2D_SIZE_F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID2D1Resource.Interface @@ -85,6 +85,6 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSize; + public delegate* unmanaged GetSize; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs index 488c4e92c5..0204774e78 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); } /// @@ -107,7 +107,7 @@ public void SetEndPoint([NativeTypeName("D2D1_POINT_2F")] D2D_POINT_2F endPoint) public D2D_POINT_2F GetStartPoint() { D2D_POINT_2F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -117,7 +117,7 @@ public D2D_POINT_2F GetStartPoint() public D2D_POINT_2F GetEndPoint() { D2D_POINT_2F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -170,10 +170,10 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetStartPoint; @@ -182,10 +182,10 @@ public partial struct Vtbl public delegate* unmanaged SetEndPoint; [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStartPoint; + public delegate* unmanaged GetStartPoint; [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEndPoint; + public delegate* unmanaged GetEndPoint; [NativeTypeName("void (ID2D1GradientStopCollection **) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGradientStopCollection; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs index f6d7b01823..a74d3abd01 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs @@ -237,7 +237,7 @@ public HRESULT Stream(ID2D1GeometrySink* geometrySink) [VtblIndex(19)] public HRESULT GetSegmentCount([NativeTypeName("UINT32 *")] uint* count) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); + return ((delegate* unmanaged)(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); } /// @@ -245,7 +245,7 @@ public HRESULT GetSegmentCount([NativeTypeName("UINT32 *")] uint* count) [VtblIndex(20)] public HRESULT GetFigureCount([NativeTypeName("UINT32 *")] uint* count) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); + return ((delegate* unmanaged)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); } public interface Interface : ID2D1Geometry.Interface @@ -324,9 +324,9 @@ public partial struct Vtbl public delegate* unmanaged Stream; [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSegmentCount; + public delegate* unmanaged GetSegmentCount; [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFigureCount; + public delegate* unmanaged GetFigureCount; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs index 0ae9465f21..6251130c93 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); } /// @@ -123,7 +123,7 @@ public void SetRadiusY(float radiusY) public D2D_POINT_2F GetCenter() { D2D_POINT_2F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -133,7 +133,7 @@ public D2D_POINT_2F GetCenter() public D2D_POINT_2F GetGradientOriginOffset() { D2D_POINT_2F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -141,7 +141,7 @@ public D2D_POINT_2F GetGradientOriginOffset() [VtblIndex(14)] public float GetRadiusX() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -149,7 +149,7 @@ public float GetRadiusX() [VtblIndex(15)] public float GetRadiusY() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -214,10 +214,10 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetCenter; @@ -232,16 +232,16 @@ public partial struct Vtbl public delegate* unmanaged SetRadiusY; [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCenter; + public delegate* unmanaged GetCenter; [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGradientOriginOffset; + public delegate* unmanaged GetGradientOriginOffset; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRadiusX; + public delegate* unmanaged GetRadiusX; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRadiusY; + public delegate* unmanaged GetRadiusY; [NativeTypeName("void (ID2D1GradientStopCollection **) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGradientStopCollection; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs index d5b09d5e8c..71a14e5dce 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs @@ -221,7 +221,7 @@ public HRESULT Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTy [VtblIndex(17)] public void GetRect([NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* rect) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect); + ((delegate* unmanaged)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect); } public interface Interface : ID2D1Geometry.Interface @@ -285,6 +285,6 @@ public partial struct Vtbl public delegate* unmanaged Widen1; [NativeTypeName("void (D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRect; + public delegate* unmanaged GetRect; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs index 4d8f507f42..d1b898988c 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs @@ -354,7 +354,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); } /// @@ -370,7 +370,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -386,7 +386,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -523,7 +523,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -825,19 +825,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -888,7 +888,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs index 2d77a7ab70..752a61cc88 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs @@ -221,7 +221,7 @@ public HRESULT Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTy [VtblIndex(17)] public void GetRoundedRect(D2D1_ROUNDED_RECT* roundedRect) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), roundedRect); + ((delegate* unmanaged)(lpVtbl[17]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), roundedRect); } public interface Interface : ID2D1Geometry.Interface @@ -285,6 +285,6 @@ public partial struct Vtbl public delegate* unmanaged Widen1; [NativeTypeName("void (D2D1_ROUNDED_RECT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRoundedRect; + public delegate* unmanaged GetRoundedRect; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs index 6ccbf31a8e..2a2ad9a739 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); } /// @@ -99,7 +99,7 @@ public void SetColor([NativeTypeName("const D2D1_COLOR_F *")] DXGI_RGBA* color) public DXGI_RGBA GetColor() { DXGI_RGBA result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID2D1Brush.Interface @@ -134,15 +134,15 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetColor; [NativeTypeName("D2D1_COLOR_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColor; + public delegate* unmanaged GetColor; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs index e85291c162..32e927797a 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs @@ -57,7 +57,7 @@ public void GetFactory(ID2D1Factory** factory) [VtblIndex(4)] public D2D1_CAP_STYLE GetStartCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public D2D1_CAP_STYLE GetStartCap() [VtblIndex(5)] public D2D1_CAP_STYLE GetEndCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public D2D1_CAP_STYLE GetEndCap() [VtblIndex(6)] public D2D1_CAP_STYLE GetDashCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public D2D1_CAP_STYLE GetDashCap() [VtblIndex(7)] public float GetMiterLimit() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -89,7 +89,7 @@ public float GetMiterLimit() [VtblIndex(8)] public D2D1_LINE_JOIN GetLineJoin() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -97,7 +97,7 @@ public D2D1_LINE_JOIN GetLineJoin() [VtblIndex(9)] public float GetDashOffset() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -105,7 +105,7 @@ public float GetDashOffset() [VtblIndex(10)] public D2D1_DASH_STYLE GetDashStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -172,25 +172,25 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStartCap; + public delegate* unmanaged GetStartCap; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEndCap; + public delegate* unmanaged GetEndCap; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashCap; + public delegate* unmanaged GetDashCap; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMiterLimit; + public delegate* unmanaged GetMiterLimit; [NativeTypeName("D2D1_LINE_JOIN () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineJoin; + public delegate* unmanaged GetLineJoin; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashOffset; + public delegate* unmanaged GetDashOffset; [NativeTypeName("D2D1_DASH_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashStyle; + public delegate* unmanaged GetDashStyle; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDashesCount; diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs index 5b6938fbdf..f4f2233f4e 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs @@ -229,7 +229,7 @@ public void GetSourceGeometry(ID2D1Geometry** sourceGeometry) [VtblIndex(18)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform); } public interface Interface : ID2D1Geometry.Interface @@ -299,6 +299,6 @@ public partial struct Vtbl public delegate* unmanaged GetSourceGeometry; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs index 5fdb7f9a12..a7348da7b0 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs @@ -59,7 +59,7 @@ public void GetFactory(ID2D1Factory** factory) public D2D_SIZE_F GetSize() { D2D_SIZE_F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[4]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -69,7 +69,7 @@ public D2D_SIZE_F GetSize() public D2D_SIZE_U GetPixelSize() { D2D_SIZE_U result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -78,7 +78,7 @@ public D2D_SIZE_U GetPixelSize() public D2D1_PIXEL_FORMAT GetPixelFormat() { D2D1_PIXEL_FORMAT result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[6]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -86,7 +86,7 @@ public D2D1_PIXEL_FORMAT GetPixelFormat() [VtblIndex(7)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -126,7 +126,7 @@ public void GetColorContext(ID2D1ColorContext** colorContext) [VtblIndex(12)] public D2D1_BITMAP_OPTIONS GetOptions() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); } /// @@ -187,16 +187,16 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSize; + public delegate* unmanaged GetSize; [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelSize; + public delegate* unmanaged GetPixelSize; [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelFormat; + public delegate* unmanaged GetPixelFormat; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1Bitmap *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CopyFromBitmap; @@ -211,7 +211,7 @@ public partial struct Vtbl public delegate* unmanaged GetColorContext; [NativeTypeName("D2D1_BITMAP_OPTIONS () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOptions; + public delegate* unmanaged GetOptions; [NativeTypeName("HRESULT (IDXGISurface **) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSurface; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs index 1faf1e39bb..0e703756b7 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform); } /// @@ -121,7 +121,7 @@ public void SetBitmap(ID2D1Bitmap* bitmap) [VtblIndex(12)] public D2D1_EXTEND_MODE GetExtendModeX() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public D2D1_EXTEND_MODE GetExtendModeX() [VtblIndex(13)] public D2D1_EXTEND_MODE GetExtendModeY() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public D2D1_EXTEND_MODE GetExtendModeY() [VtblIndex(14)] public D2D1_BITMAP_INTERPOLATION_MODE GetInterpolationMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// @@ -161,7 +161,7 @@ public void SetInterpolationMode1(D2D1_INTERPOLATION_MODE interpolationMode) [VtblIndex(17)] public D2D1_INTERPOLATION_MODE GetInterpolationMode1() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1BitmapBrush.Interface @@ -195,10 +195,10 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetExtendModeX; @@ -213,13 +213,13 @@ public partial struct Vtbl public delegate* unmanaged SetBitmap; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeX; + public delegate* unmanaged GetExtendModeX; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeY; + public delegate* unmanaged GetExtendModeY; [NativeTypeName("D2D1_BITMAP_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetInterpolationMode; + public delegate* unmanaged GetInterpolationMode; [NativeTypeName("void (ID2D1Bitmap **) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetBitmap; @@ -228,6 +228,6 @@ public partial struct Vtbl public delegate* unmanaged SetInterpolationMode1; [NativeTypeName("D2D1_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetInterpolationMode1; + public delegate* unmanaged GetInterpolationMode1; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs index 1c4ed51bef..5d18967363 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs @@ -57,7 +57,7 @@ public void GetFactory(ID2D1Factory** factory) [VtblIndex(4)] public D2D1_COLOR_SPACE GetColorSpace() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public D2D1_COLOR_SPACE GetColorSpace() [return: NativeTypeName("UINT32")] public uint GetProfileSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); } /// @@ -106,10 +106,10 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorSpace; + public delegate* unmanaged GetColorSpace; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetProfileSize; + public delegate* unmanaged GetProfileSize; [NativeTypeName("HRESULT (BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetProfile; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index d97429f473..f6367bc6a3 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -420,7 +420,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform); } /// @@ -436,7 +436,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -452,7 +452,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -589,7 +589,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -810,7 +810,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -826,7 +826,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -1114,19 +1114,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1177,7 +1177,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1258,13 +1258,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs index 5255360f16..0a502e6229 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs @@ -89,7 +89,7 @@ public void GetTextRenderingParams(IDWriteRenderingParams** textRenderingParams) [VtblIndex(8)] public void GetDescription(D2D1_DRAWING_STATE_DESCRIPTION1* stateDescription) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription); + ((delegate* unmanaged)(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription); } /// @@ -137,7 +137,7 @@ public partial struct Vtbl public delegate* unmanaged GetTextRenderingParams; [NativeTypeName("void (D2D1_DRAWING_STATE_DESCRIPTION1 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDescription1; + public delegate* unmanaged GetDescription1; [NativeTypeName("void (const D2D1_DRAWING_STATE_DESCRIPTION1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetDescription1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs index f4af453fa2..ecd9c4bc9f 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs @@ -58,7 +58,7 @@ public void GetFactory(ID2D1Factory** factory) [return: NativeTypeName("UINT32")] public uint GetGradientStopCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public void GetGradientStops(D2D1_GRADIENT_STOP* gradientStops, [NativeTypeName( [VtblIndex(6)] public D2D1_GAMMA GetColorInterpolationGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public D2D1_GAMMA GetColorInterpolationGamma() [VtblIndex(7)] public D2D1_EXTEND_MODE GetExtendMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -98,7 +98,7 @@ public void GetGradientStops1(D2D1_GRADIENT_STOP* gradientStops, [NativeTypeName [VtblIndex(9)] public D2D1_COLOR_SPACE GetPreInterpolationSpace() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -106,7 +106,7 @@ public D2D1_COLOR_SPACE GetPreInterpolationSpace() [VtblIndex(10)] public D2D1_COLOR_SPACE GetPostInterpolationSpace() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -114,7 +114,7 @@ public D2D1_COLOR_SPACE GetPostInterpolationSpace() [VtblIndex(11)] public D2D1_BUFFER_PRECISION GetBufferPrecision() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -122,7 +122,7 @@ public D2D1_BUFFER_PRECISION GetBufferPrecision() [VtblIndex(12)] public D2D1_COLOR_INTERPOLATION_MODE GetColorInterpolationMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1GradientStopCollection.Interface @@ -159,30 +159,30 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGradientStopCount; + public delegate* unmanaged GetGradientStopCount; [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGradientStops; [NativeTypeName("D2D1_GAMMA () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorInterpolationGamma; + public delegate* unmanaged GetColorInterpolationGamma; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendMode; + public delegate* unmanaged GetExtendMode; [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGradientStops1; [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPreInterpolationSpace; + public delegate* unmanaged GetPreInterpolationSpace; [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPostInterpolationSpace; + public delegate* unmanaged GetPostInterpolationSpace; [NativeTypeName("D2D1_BUFFER_PRECISION () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetBufferPrecision; + public delegate* unmanaged GetBufferPrecision; [NativeTypeName("D2D1_COLOR_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorInterpolationMode; + public delegate* unmanaged GetColorInterpolationMode; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs index 005031fe09..9d4ef39076 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs @@ -73,7 +73,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(6)] public float GetOpacity() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public float GetOpacity() [VtblIndex(7)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); } /// @@ -137,7 +137,7 @@ public void GetImage(ID2D1Image** image) [VtblIndex(14)] public D2D1_EXTEND_MODE GetExtendModeX() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public D2D1_EXTEND_MODE GetExtendModeX() [VtblIndex(15)] public D2D1_EXTEND_MODE GetExtendModeY() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public D2D1_EXTEND_MODE GetExtendModeY() [VtblIndex(16)] public D2D1_INTERPOLATION_MODE GetInterpolationMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// @@ -161,7 +161,7 @@ public D2D1_INTERPOLATION_MODE GetInterpolationMode() [VtblIndex(17)] public void GetSourceRectangle([NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* sourceRectangle) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle); + ((delegate* unmanaged)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle); } public interface Interface : ID2D1Brush.Interface @@ -219,10 +219,10 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpacity; + public delegate* unmanaged GetOpacity; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (ID2D1Image *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetImage; @@ -243,15 +243,15 @@ public partial struct Vtbl public delegate* unmanaged GetImage; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeX; + public delegate* unmanaged GetExtendModeX; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeY; + public delegate* unmanaged GetExtendModeY; [NativeTypeName("D2D1_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetInterpolationMode; + public delegate* unmanaged GetInterpolationMode; [NativeTypeName("void (D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSourceRectangle; + public delegate* unmanaged GetSourceRectangle; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs index ce0162597f..827434e95d 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public BOOL GetMultithreadProtected() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this)); } /// @@ -93,7 +93,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("BOOL () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMultithreadProtected; + public delegate* unmanaged GetMultithreadProtected; [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged Enter; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs index 1a6cb160ad..442007beef 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs @@ -242,7 +242,7 @@ public HRESULT Stream(ID2D1GeometrySink* geometrySink) [VtblIndex(19)] public HRESULT GetSegmentCount([NativeTypeName("UINT32 *")] uint* count) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[19]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count); + return ((delegate* unmanaged)(lpVtbl[19]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count); } /// @@ -250,7 +250,7 @@ public HRESULT GetSegmentCount([NativeTypeName("UINT32 *")] uint* count) [VtblIndex(20)] public HRESULT GetFigureCount([NativeTypeName("UINT32 *")] uint* count) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count); + return ((delegate* unmanaged)(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count); } /// @@ -328,10 +328,10 @@ public partial struct Vtbl public delegate* unmanaged Stream; [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSegmentCount; + public delegate* unmanaged GetSegmentCount; [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFigureCount; + public delegate* unmanaged GetFigureCount; [NativeTypeName("HRESULT (FLOAT, UINT32, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_DESCRIPTION *) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged ComputePointAndSegmentAtLength1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs index 2969db798b..d306e30815 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs @@ -57,7 +57,7 @@ public void GetFactory(ID2D1Factory** factory) [VtblIndex(4)] public D2D1_CAP_STYLE GetStartCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public D2D1_CAP_STYLE GetStartCap() [VtblIndex(5)] public D2D1_CAP_STYLE GetEndCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public D2D1_CAP_STYLE GetEndCap() [VtblIndex(6)] public D2D1_CAP_STYLE GetDashCap() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public D2D1_CAP_STYLE GetDashCap() [VtblIndex(7)] public float GetMiterLimit() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -89,7 +89,7 @@ public float GetMiterLimit() [VtblIndex(8)] public D2D1_LINE_JOIN GetLineJoin() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -97,7 +97,7 @@ public D2D1_LINE_JOIN GetLineJoin() [VtblIndex(9)] public float GetDashOffset() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -105,7 +105,7 @@ public float GetDashOffset() [VtblIndex(10)] public D2D1_DASH_STYLE GetDashStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -155,25 +155,25 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStartCap; + public delegate* unmanaged GetStartCap; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEndCap; + public delegate* unmanaged GetEndCap; [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashCap; + public delegate* unmanaged GetDashCap; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMiterLimit; + public delegate* unmanaged GetMiterLimit; [NativeTypeName("D2D1_LINE_JOIN () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineJoin; + public delegate* unmanaged GetLineJoin; [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashOffset; + public delegate* unmanaged GetDashOffset; [NativeTypeName("D2D1_DASH_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashStyle; + public delegate* unmanaged GetDashStyle; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDashesCount; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs index 4a7ddffa4d..f6ddd8d2de 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs @@ -100,7 +100,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this)); } /// @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs index 9e80cd813a..4b6d8bda38 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs @@ -422,7 +422,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform); } /// @@ -438,7 +438,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -454,7 +454,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -591,7 +591,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -812,7 +812,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -828,7 +828,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -1044,19 +1044,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1107,7 +1107,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1188,13 +1188,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs index e2f3512da3..d53e857df4 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs @@ -57,7 +57,7 @@ public void GetFactory(ID2D1Factory** factory) [VtblIndex(4)] public D2D1_COLOR_SPACE GetColorSpace() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public D2D1_COLOR_SPACE GetColorSpace() [return: NativeTypeName("UINT32")] public uint GetProfileSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public HRESULT GetProfile(byte* profile, [NativeTypeName("UINT32")] uint profile [VtblIndex(7)] public D2D1_COLOR_CONTEXT_TYPE GetColorContextType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public D2D1_COLOR_CONTEXT_TYPE GetColorContextType() [VtblIndex(8)] public DXGI_COLOR_SPACE_TYPE GetDXGIColorSpace() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -98,7 +98,7 @@ public DXGI_COLOR_SPACE_TYPE GetDXGIColorSpace() [VtblIndex(9)] public HRESULT GetSimpleColorProfile(D2D1_SIMPLE_COLOR_PROFILE* simpleProfile) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile); } public interface Interface : ID2D1ColorContext.Interface @@ -129,21 +129,21 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorSpace; + public delegate* unmanaged GetColorSpace; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetProfileSize; + public delegate* unmanaged GetProfileSize; [NativeTypeName("HRESULT (BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetProfile; [NativeTypeName("D2D1_COLOR_CONTEXT_TYPE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorContextType; + public delegate* unmanaged GetColorContextType; [NativeTypeName("DXGI_COLOR_SPACE_TYPE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDXGIColorSpace; + public delegate* unmanaged GetDXGIColorSpace; [NativeTypeName("HRESULT (D2D1_SIMPLE_COLOR_PROFILE *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimpleColorProfile; + public delegate* unmanaged GetSimpleColorProfile; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs index 3b1c58e467..20e9254336 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs @@ -98,7 +98,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device2*)Unsafe.AsPointer(ref this)); } /// @@ -184,7 +184,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs index d40bb56e05..941af7e6d8 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs @@ -98,7 +98,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device3*)Unsafe.AsPointer(ref this)); } /// @@ -186,7 +186,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs index d65a9275f2..47bdd650cb 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs @@ -98,7 +98,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public void SetMaximumColorGlyphCacheMemory([NativeTypeName("UINT64")] ulong max [return: NativeTypeName("UINT64")] public ulong GetMaximumColorGlyphCacheMemory() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1Device3.Interface @@ -218,7 +218,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; @@ -245,6 +245,6 @@ public partial struct Vtbl public delegate* unmanaged SetMaximumColorGlyphCacheMemory; [NativeTypeName("UINT64 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaximumColorGlyphCacheMemory; + public delegate* unmanaged GetMaximumColorGlyphCacheMemory; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs index 993f21bf49..a435171317 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs @@ -98,7 +98,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public void SetMaximumColorGlyphCacheMemory([NativeTypeName("UINT64")] ulong max [return: NativeTypeName("UINT64")] public ulong GetMaximumColorGlyphCacheMemory() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); } /// @@ -219,7 +219,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; @@ -246,7 +246,7 @@ public partial struct Vtbl public delegate* unmanaged SetMaximumColorGlyphCacheMemory; [NativeTypeName("UINT64 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaximumColorGlyphCacheMemory; + public delegate* unmanaged GetMaximumColorGlyphCacheMemory; [NativeTypeName("HRESULT (D2D1_DEVICE_CONTEXT_OPTIONS, ID2D1DeviceContext5 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CreateDeviceContext5; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs index d6495a0c09..495bb19e0b 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs @@ -98,7 +98,7 @@ public void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse [VtblIndex(9)] public D2D1_RENDERING_PRIORITY GetRenderingPriority() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public void SetMaximumColorGlyphCacheMemory([NativeTypeName("UINT64")] ulong max [return: NativeTypeName("UINT64")] public ulong GetMaximumColorGlyphCacheMemory() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); } /// @@ -227,7 +227,7 @@ public partial struct Vtbl public delegate* unmanaged ClearResources; [NativeTypeName("D2D1_RENDERING_PRIORITY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingPriority; + public delegate* unmanaged GetRenderingPriority; [NativeTypeName("void (D2D1_RENDERING_PRIORITY) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRenderingPriority; @@ -254,7 +254,7 @@ public partial struct Vtbl public delegate* unmanaged SetMaximumColorGlyphCacheMemory; [NativeTypeName("UINT64 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaximumColorGlyphCacheMemory; + public delegate* unmanaged GetMaximumColorGlyphCacheMemory; [NativeTypeName("HRESULT (D2D1_DEVICE_CONTEXT_OPTIONS, ID2D1DeviceContext5 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CreateDeviceContext5; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs index 0309b2856f..9ad3df590c 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs @@ -434,7 +434,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform); } /// @@ -450,7 +450,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -466,7 +466,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -603,7 +603,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -824,7 +824,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -840,7 +840,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -1168,19 +1168,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1231,7 +1231,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1312,13 +1312,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs index fdbaec10e8..444c57c296 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs @@ -440,7 +440,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform); } /// @@ -456,7 +456,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -472,7 +472,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -609,7 +609,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -830,7 +830,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -846,7 +846,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -1163,19 +1163,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1226,7 +1226,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1307,13 +1307,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs index ff65e6fbb3..40f9ba043a 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs @@ -441,7 +441,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform); } /// @@ -457,7 +457,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -473,7 +473,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -610,7 +610,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -831,7 +831,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -847,7 +847,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -1235,19 +1235,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1298,7 +1298,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1379,13 +1379,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs index 52f32c72f8..f0edc1f360 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs @@ -441,7 +441,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform); } /// @@ -457,7 +457,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -473,7 +473,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -610,7 +610,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -831,7 +831,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -847,7 +847,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -1258,19 +1258,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1321,7 +1321,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1402,13 +1402,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs index e2044cfd06..209feb7209 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs @@ -441,7 +441,7 @@ public void SetTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRI [VtblIndex(31)] public void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform); } /// @@ -457,7 +457,7 @@ public void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) [VtblIndex(33)] public D2D1_ANTIALIAS_MODE GetAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -473,7 +473,7 @@ public void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) [VtblIndex(35)] public D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[35]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -610,7 +610,7 @@ public void SetDpi(float dpiX, float dpiY) [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY); + ((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY); } /// @@ -831,7 +831,7 @@ public void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) [VtblIndex(79)] public D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[79]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -847,7 +847,7 @@ public void SetUnitMode(D2D1_UNIT_MODE unitMode) [VtblIndex(81)] public D2D1_UNIT_MODE GetUnitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[81]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -1257,19 +1257,19 @@ public partial struct Vtbl public delegate* unmanaged SetTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTransform; + public delegate* unmanaged GetTransform; [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAntialiasMode; [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAntialiasMode; + public delegate* unmanaged GetAntialiasMode; [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextRenderingParams; @@ -1320,7 +1320,7 @@ public partial struct Vtbl public delegate* unmanaged SetDpi; [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDpi; + public delegate* unmanaged GetDpi; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSize; @@ -1401,13 +1401,13 @@ public partial struct Vtbl public delegate* unmanaged SetPrimitiveBlend; [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPrimitiveBlend; + public delegate* unmanaged GetPrimitiveBlend; [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetUnitMode; [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnitMode; + public delegate* unmanaged GetUnitMode; [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged DrawGlyphRun1; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs index f3888cc8c4..c98e9b5279 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs @@ -60,7 +60,7 @@ public void GetFactory(ID2D1Factory** factory) [return: NativeTypeName("UINT32")] public uint GetPatchCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this)); } /// @@ -97,7 +97,7 @@ public partial struct Vtbl public delegate* unmanaged GetFactory; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPatchCount; + public delegate* unmanaged GetPatchCount; [NativeTypeName("HRESULT (UINT32, D2D1_GRADIENT_MESH_PATCH *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPatches; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs index 6bf0f20446..a6f13486b5 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs @@ -71,7 +71,7 @@ public void SetStartPoint([NativeTypeName("const D2D1_INK_POINT *")] D2D1_INK_PO public D2D1_INK_POINT GetStartPoint() { D2D1_INK_POINT result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result); } /// @@ -112,7 +112,7 @@ public HRESULT SetSegmentAtEnd([NativeTypeName("const D2D1_INK_BEZIER_SEGMENT *" [return: NativeTypeName("UINT32")] public uint GetSegmentCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this)); } /// @@ -192,7 +192,7 @@ public partial struct Vtbl public delegate* unmanaged SetStartPoint; [NativeTypeName("D2D1_INK_POINT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStartPoint; + public delegate* unmanaged GetStartPoint; [NativeTypeName("HRESULT (const D2D1_INK_BEZIER_SEGMENT *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged AddSegments; @@ -207,7 +207,7 @@ public partial struct Vtbl public delegate* unmanaged SetSegmentAtEnd; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSegmentCount; + public delegate* unmanaged GetSegmentCount; [NativeTypeName("HRESULT (UINT32, D2D1_INK_BEZIER_SEGMENT *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetSegments; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs index 8ac67f65b8..ef383a75c2 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs @@ -65,7 +65,7 @@ public void SetNibTransform([NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MA [VtblIndex(5)] public void GetNibTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); } /// @@ -81,7 +81,7 @@ public void SetNibShape(D2D1_INK_NIB_SHAPE nibShape) [VtblIndex(7)] public D2D1_INK_NIB_SHAPE GetNibShape() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1Resource.Interface @@ -118,12 +118,12 @@ public partial struct Vtbl public delegate* unmanaged SetNibTransform; [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNibTransform; + public delegate* unmanaged GetNibTransform; [NativeTypeName("void (D2D1_INK_NIB_SHAPE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetNibShape; [NativeTypeName("D2D1_INK_NIB_SHAPE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNibShape; + public delegate* unmanaged GetNibShape; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs index cf79c390ba..7c98127a4e 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs @@ -82,7 +82,7 @@ public HRESULT GetSprites([NativeTypeName("UINT32")] uint startIndex, [NativeTyp [return: NativeTypeName("UINT32")] public uint GetSpriteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public partial struct Vtbl public delegate* unmanaged GetSprites; [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSpriteCount; + public delegate* unmanaged GetSpriteCount; [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged Clear; diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs index 3528a34f3c..e32ce52346 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs @@ -82,7 +82,7 @@ public HRESULT SetStroke(ID2D1Brush* brush, float strokeWidth = 1.0f, [NativeTyp [return: NativeTypeName("UINT32")] public uint GetStrokeDashesCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public partial struct Vtbl public delegate* unmanaged SetStroke; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStrokeDashesCount; + public delegate* unmanaged GetStrokeDashesCount; [NativeTypeName("void (ID2D1Brush **, FLOAT *, FLOAT *, UINT32, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetStroke; diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs index 12ac83242d..84ffc7be97 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs @@ -82,7 +82,7 @@ public void SetDescription([NativeTypeName("const D2D1_BLEND_DESCRIPTION *")] D2 [VtblIndex(7)] public void GetDescription(D2D1_BLEND_DESCRIPTION* description) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description); + ((delegate* unmanaged)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description); } public interface Interface : ID2D1ConcreteTransform.Interface @@ -119,6 +119,6 @@ public partial struct Vtbl public delegate* unmanaged SetDescription; [NativeTypeName("void (D2D1_BLEND_DESCRIPTION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDescription; + public delegate* unmanaged GetDescription; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs index ad37203b0a..e03c39c90a 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs @@ -90,7 +90,7 @@ public void SetExtendModeY(D2D1_EXTEND_MODE extendMode) [VtblIndex(8)] public D2D1_EXTEND_MODE GetExtendModeX() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); } /// @@ -98,7 +98,7 @@ public D2D1_EXTEND_MODE GetExtendModeX() [VtblIndex(9)] public D2D1_EXTEND_MODE GetExtendModeY() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1ConcreteTransform.Interface @@ -144,9 +144,9 @@ public partial struct Vtbl public delegate* unmanaged SetExtendModeY; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeX; + public delegate* unmanaged GetExtendModeX; [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetExtendModeY; + public delegate* unmanaged GetExtendModeY; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs index 9ec87b0616..935b1d4309 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs @@ -66,7 +66,7 @@ public void SetOutputBounds([NativeTypeName("const D2D1_RECT_L *")] RECT* output [VtblIndex(5)] public void GetOutputBounds([NativeTypeName("D2D1_RECT_L *")] RECT* outputBounds) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); + ((delegate* unmanaged)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); } public interface Interface : ID2D1TransformNode.Interface @@ -97,6 +97,6 @@ public partial struct Vtbl public delegate* unmanaged SetOutputBounds; [NativeTypeName("void (D2D1_RECT_L *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOutputBounds; + public delegate* unmanaged GetOutputBounds; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs index 9d69751c45..f8591b96f8 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs @@ -68,7 +68,7 @@ public void SetOffset([NativeTypeName("D2D1_POINT_2L")] POINT offset) public POINT GetOffset() { POINT result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID2D1TransformNode.Interface @@ -100,6 +100,6 @@ public partial struct Vtbl public delegate* unmanaged SetOffset; [NativeTypeName("D2D1_POINT_2L () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOffset; + public delegate* unmanaged GetOffset; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs index 85ee9f3b6e..9260aa508d 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs @@ -67,7 +67,7 @@ public HRESULT SetViewportSize([NativeTypeName("D2D1_SIZE_F")] D2D_SIZE_F viewpo public D2D_SIZE_F GetViewportSize() { D2D_SIZE_F result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[5]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), &result); } /// @@ -198,7 +198,7 @@ public partial struct Vtbl public delegate* unmanaged SetViewportSize; [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetViewportSize; + public delegate* unmanaged GetViewportSize; [NativeTypeName("HRESULT (ID2D1SvgElement *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetRoot; diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs index 58e7c378d3..d9f1769fb5 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs @@ -213,7 +213,7 @@ public uint GetTagNameLength() [VtblIndex(7)] public BOOL IsTextContent() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } /// @@ -229,7 +229,7 @@ public void GetParent(ID2D1SvgElement** parent) [VtblIndex(9)] public BOOL HasChildren() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } /// @@ -547,13 +547,13 @@ public partial struct Vtbl public delegate* unmanaged GetTagNameLength; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsTextContent; + public delegate* unmanaged IsTextContent; [NativeTypeName("void (ID2D1SvgElement **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetParent; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasChildren; + public delegate* unmanaged HasChildren; [NativeTypeName("void (ID2D1SvgElement **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFirstChild; diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs index 4657c0b249..2cc87ca876 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs @@ -81,7 +81,7 @@ public HRESULT SetPaintType(D2D1_SVG_PAINT_TYPE paintType) [VtblIndex(7)] public D2D1_SVG_PAINT_TYPE GetPaintType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this)); } /// @@ -97,7 +97,7 @@ public HRESULT SetColor([NativeTypeName("const D2D1_COLOR_F *")] DXGI_RGBA* colo [VtblIndex(9)] public void GetColor([NativeTypeName("D2D1_COLOR_F *")] DXGI_RGBA* color) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), color); + ((delegate* unmanaged)(lpVtbl[9]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), color); } /// @@ -175,13 +175,13 @@ public partial struct Vtbl public delegate* unmanaged SetPaintType; [NativeTypeName("D2D1_SVG_PAINT_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaintType; + public delegate* unmanaged GetPaintType; [NativeTypeName("HRESULT (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetColor; [NativeTypeName("void (D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColor; + public delegate* unmanaged GetColor; [NativeTypeName("HRESULT (PCWSTR) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetId; diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs index d34a2546a9..faab20753b 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs @@ -98,7 +98,7 @@ public HRESULT GetSegmentData(float* data, [NativeTypeName("UINT32")] uint dataC [return: NativeTypeName("UINT32")] public uint GetSegmentDataCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); } /// @@ -131,7 +131,7 @@ public HRESULT GetCommands(D2D1_SVG_PATH_COMMAND* commands, [NativeTypeName("UIN [return: NativeTypeName("UINT32")] public uint GetCommandsCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); } /// @@ -205,7 +205,7 @@ public partial struct Vtbl public delegate* unmanaged GetSegmentData; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSegmentDataCount; + public delegate* unmanaged GetSegmentDataCount; [NativeTypeName("HRESULT (UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged RemoveCommandsAtEnd; @@ -217,7 +217,7 @@ public partial struct Vtbl public delegate* unmanaged GetCommands; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCommandsCount; + public delegate* unmanaged GetCommandsCount; [NativeTypeName("HRESULT (D2D1_FILL_MODE, ID2D1PathGeometry1 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CreatePathGeometry; diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs index 983d69ba69..5aff496712 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs @@ -98,7 +98,7 @@ public HRESULT GetPoints([NativeTypeName("D2D1_POINT_2F *")] D2D_POINT_2F* point [return: NativeTypeName("UINT32")] public uint GetPointsCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1SvgAttribute.Interface @@ -148,6 +148,6 @@ public partial struct Vtbl public delegate* unmanaged GetPoints; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPointsCount; + public delegate* unmanaged GetPointsCount; } } diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs index 9b6c618233..f404eedf25 100644 --- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs +++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs @@ -114,7 +114,7 @@ public HRESULT GetDashes(float* dashes, [NativeTypeName("UINT32")] uint dashesCo [return: NativeTypeName("UINT32")] public uint GetDashesCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this)); } public interface Interface : ID2D1SvgAttribute.Interface @@ -176,6 +176,6 @@ public partial struct Vtbl public delegate* unmanaged GetDashes1; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDashesCount; + public delegate* unmanaged GetDashesCount; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs index 5030b3ad8c..051a59f39c 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); } public interface Interface : ID3D12DeviceChild.Interface @@ -126,6 +126,6 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs index 8be05f3644..89d1bb92c2 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -170,7 +170,7 @@ public HRESULT GetClockCalibration([NativeTypeName("UINT64 *")] ulong* pGpuTimes public D3D12_COMMAND_QUEUE_DESC GetDesc() { D3D12_COMMAND_QUEUE_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12Pageable.Interface @@ -267,6 +267,6 @@ public partial struct Vtbl public delegate* unmanaged GetClockCalibration; [NativeTypeName("D3D12_COMMAND_QUEUE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index d5240f2bb2..d7d64aa0d4 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -90,7 +90,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD public D3D12_DESCRIPTOR_HEAP_DESC GetDesc() { D3D12_DESCRIPTOR_HEAP_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } /// @@ -99,7 +99,7 @@ public D3D12_DESCRIPTOR_HEAP_DESC GetDesc() public D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandleForHeapStart() { D3D12_CPU_DESCRIPTOR_HANDLE result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } /// @@ -108,7 +108,7 @@ public D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandleForHeapStart() public D3D12_GPU_DESCRIPTOR_HANDLE GetGPUDescriptorHandleForHeapStart() { D3D12_GPU_DESCRIPTOR_HANDLE result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12Pageable.Interface @@ -151,12 +151,12 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_DESCRIPTOR_HEAP_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("D3D12_CPU_DESCRIPTOR_HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCPUDescriptorHandleForHeapStart; + public delegate* unmanaged GetCPUDescriptorHandleForHeapStart; [NativeTypeName("D3D12_GPU_DESCRIPTOR_HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGPUDescriptorHandleForHeapStart; + public delegate* unmanaged GetGPUDescriptorHandleForHeapStart; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs index 27904e81be..7a0dce28b5 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12Object.Interface @@ -514,7 +514,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -622,6 +622,6 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs index c46f4d1f66..b43f5bca04 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device1*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device1*)Unsafe.AsPointer(ref this), &result); } /// @@ -436,7 +436,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -544,7 +544,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs index 13096adf9c..32ee8b6c12 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device2*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device2*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device2*)Unsafe.AsPointer(ref this), &result); } /// @@ -438,7 +438,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -546,7 +546,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs index efbaa4b1eb..f6310640e7 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device3*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device3*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device3*)Unsafe.AsPointer(ref this), &result); } /// @@ -468,7 +468,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -576,7 +576,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs index de28e766d2..9cdadfa69c 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device4*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device4*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device4*)Unsafe.AsPointer(ref this), &result); } /// @@ -526,7 +526,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -634,7 +634,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs index d63486f9fb..e793455e6e 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs @@ -83,7 +83,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device5*)Unsafe.AsPointer(ref this)); } /// @@ -374,7 +374,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device5*)Unsafe.AsPointer(ref this), &result); } /// @@ -598,7 +598,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -706,7 +706,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs index 17efef06b2..0e91e0cd34 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device6*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), &result); } /// @@ -583,7 +583,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -691,7 +691,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs index 845f6f0e12..fb35ba0b40 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device7*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), &result); } /// @@ -602,7 +602,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -710,7 +710,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs index c8ad99a274..094ed632af 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device8*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result); } /// @@ -652,7 +652,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -760,7 +760,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs index 9dd84fa369..f4e56c0f62 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs @@ -81,7 +81,7 @@ public HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name) [VtblIndex(7)] public uint GetNodeCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12Device9*)Unsafe.AsPointer(ref this)); } /// @@ -372,7 +372,7 @@ public void GetResourceTiling(ID3D12Resource* pTiledResource, uint* pNumTilesFor public LUID GetAdapterLuid() { LUID result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[43]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result); } /// @@ -670,7 +670,7 @@ public partial struct Vtbl public delegate* unmanaged SetName; [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNodeCount; + public delegate* unmanaged GetNodeCount; [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreateCommandQueue; @@ -778,7 +778,7 @@ public partial struct Vtbl public delegate* unmanaged GetResourceTiling; [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterLuid; + public delegate* unmanaged GetAdapterLuid; [NativeTypeName("HRESULT (const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged CreatePipelineLibrary; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 2ff59f3675..9ff02a3ab1 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); } /// @@ -684,7 +684,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs index 3f345e78b4..afc3592ce7 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); } /// @@ -597,7 +597,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs index 398f6ae7d7..7cff7df91b 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); } /// @@ -592,7 +592,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs index c713781bcf..1707f118af 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); } /// @@ -600,7 +600,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs index 419ccbefed..89d09535de 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); } /// @@ -696,7 +696,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs index ce003f8277..299b36ea34 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); } /// @@ -689,7 +689,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs index 33ac98bd5c..af65dfa796 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); } /// @@ -694,7 +694,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs index b98d6d62f0..daa4335de2 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs @@ -90,7 +90,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD public D3D12_HEAP_DESC GetDesc() { D3D12_HEAP_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12Pageable.Interface @@ -127,6 +127,6 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_HEAP_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs index b736d1fb25..fa93ae42b9 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs @@ -90,7 +90,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD public D3D12_HEAP_DESC GetDesc() { D3D12_HEAP_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[8]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -135,7 +135,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_HEAP_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] public delegate* unmanaged GetProtectedResourceSession; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs index 18e7a6363a..26656c9064 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs @@ -108,7 +108,7 @@ public D3D12_PROTECTED_SESSION_STATUS GetSessionStatus() public D3D12_PROTECTED_RESOURCE_SESSION_DESC GetDesc() { D3D12_PROTECTED_RESOURCE_SESSION_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12ProtectedSession.Interface @@ -151,6 +151,6 @@ public partial struct Vtbl public delegate* unmanaged GetSessionStatus; [NativeTypeName("D3D12_PROTECTED_RESOURCE_SESSION_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs index 1ffa3c6b1c..6dff37eb77 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs @@ -106,7 +106,7 @@ public D3D12_PROTECTED_SESSION_STATUS GetSessionStatus() public D3D12_PROTECTED_RESOURCE_SESSION_DESC GetDesc() { D3D12_PROTECTED_RESOURCE_SESSION_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); } /// @@ -115,7 +115,7 @@ public D3D12_PROTECTED_RESOURCE_SESSION_DESC GetDesc() public D3D12_PROTECTED_RESOURCE_SESSION_DESC1 GetDesc1() { D3D12_PROTECTED_RESOURCE_SESSION_DESC1 result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12ProtectedResourceSession.Interface @@ -158,9 +158,9 @@ public partial struct Vtbl public delegate* unmanaged GetSessionStatus; [NativeTypeName("D3D12_PROTECTED_RESOURCE_SESSION_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("D3D12_PROTECTED_RESOURCE_SESSION_DESC1 () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs index a134ea2859..4698f3f59f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs @@ -106,7 +106,7 @@ public void Unmap(uint Subresource, [NativeTypeName("const D3D12_RANGE *")] D3D1 public D3D12_RESOURCE_DESC GetDesc() { D3D12_RESOURCE_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this), &result); } /// @@ -115,7 +115,7 @@ public D3D12_RESOURCE_DESC GetDesc() [return: NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS")] public ulong GetGPUVirtualAddress() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); } /// @@ -201,10 +201,10 @@ public partial struct Vtbl public delegate* unmanaged Unmap; [NativeTypeName("D3D12_RESOURCE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGPUVirtualAddress; + public delegate* unmanaged GetGPUVirtualAddress; [NativeTypeName("HRESULT (UINT, const D3D12_BOX *, const void *, UINT, UINT) __attribute__((stdcall))")] public delegate* unmanaged WriteToSubresource; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs index 430c2aefa2..5880a9c05a 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs @@ -106,7 +106,7 @@ public void Unmap(uint Subresource, [NativeTypeName("const D3D12_RANGE *")] D3D1 public D3D12_RESOURCE_DESC GetDesc() { D3D12_RESOURCE_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), &result); } /// @@ -115,7 +115,7 @@ public D3D12_RESOURCE_DESC GetDesc() [return: NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS")] public ulong GetGPUVirtualAddress() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); } /// @@ -190,10 +190,10 @@ public partial struct Vtbl public delegate* unmanaged Unmap; [NativeTypeName("D3D12_RESOURCE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGPUVirtualAddress; + public delegate* unmanaged GetGPUVirtualAddress; [NativeTypeName("HRESULT (UINT, const D3D12_BOX *, const void *, UINT, UINT) __attribute__((stdcall))")] public delegate* unmanaged WriteToSubresource; diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs index 0681d15850..d85a35faf5 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs @@ -106,7 +106,7 @@ public void Unmap(uint Subresource, [NativeTypeName("const D3D12_RANGE *")] D3D1 public D3D12_RESOURCE_DESC GetDesc() { D3D12_RESOURCE_DESC result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[10]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); } /// @@ -115,7 +115,7 @@ public D3D12_RESOURCE_DESC GetDesc() [return: NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS")] public ulong GetGPUVirtualAddress() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); } /// @@ -156,7 +156,7 @@ public HRESULT GetProtectedResourceSession([NativeTypeName("const IID &")] Guid* public D3D12_RESOURCE_DESC1 GetDesc1() { D3D12_RESOURCE_DESC1 result; - return *((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); + return *((delegate* unmanaged)(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); } public interface Interface : ID3D12Resource1.Interface @@ -199,10 +199,10 @@ public partial struct Vtbl public delegate* unmanaged Unmap; [NativeTypeName("D3D12_RESOURCE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGPUVirtualAddress; + public delegate* unmanaged GetGPUVirtualAddress; [NativeTypeName("HRESULT (UINT, const D3D12_BOX *, const void *, UINT, UINT) __attribute__((stdcall))")] public delegate* unmanaged WriteToSubresource; @@ -217,6 +217,6 @@ public partial struct Vtbl public delegate* unmanaged GetProtectedResourceSession; [NativeTypeName("D3D12_RESOURCE_DESC1 () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc1; + public delegate* unmanaged GetDesc1; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs index 0cce66f903..8c6c271284 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs @@ -50,7 +50,7 @@ public uint Release() [return: NativeTypeName("const D3D12_ROOT_SIGNATURE_DESC *")] public D3D12_ROOT_SIGNATURE_DESC* GetRootSignatureDesc() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); } public interface Interface : IUnknown.Interface @@ -73,6 +73,6 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("const D3D12_ROOT_SIGNATURE_DESC *() __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRootSignatureDesc; + public delegate* unmanaged GetRootSignatureDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs index 9d294aeefc..9690b9956f 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs @@ -58,7 +58,7 @@ public HRESULT GetRootSignatureDescAtVersion(D3D_ROOT_SIGNATURE_VERSION convertT [return: NativeTypeName("const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *")] public D3D12_VERSIONED_ROOT_SIGNATURE_DESC* GetUnconvertedRootSignatureDesc() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); } public interface Interface : IUnknown.Interface @@ -87,6 +87,6 @@ public partial struct Vtbl public delegate* unmanaged GetRootSignatureDescAtVersion; [NativeTypeName("const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *() __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetUnconvertedRootSignatureDesc; + public delegate* unmanaged GetUnconvertedRootSignatureDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs index ed8c7c6ea3..de5a84fe03 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs @@ -20,7 +20,7 @@ public unsafe partial struct ID3D12FunctionParameterReflection : ID3D12FunctionP [VtblIndex(0)] public HRESULT GetDesc(D3D12_PARAMETER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[0]))((ID3D12FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); } public interface Interface @@ -33,6 +33,6 @@ public partial struct Vtbl where TSelf : unmanaged, Interface { [NativeTypeName("HRESULT (D3D12_PARAMETER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs index 4bd315da06..74a29ab3ce 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs @@ -20,7 +20,7 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection [VtblIndex(0)] public HRESULT GetDesc(D3D12_FUNCTION_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[0]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -99,7 +99,7 @@ public partial struct Vtbl where TSelf : unmanaged, Interface { [NativeTypeName("HRESULT (D3D12_FUNCTION_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12ShaderReflectionConstantBuffer *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetConstantBufferByIndex; diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs index 53e38752a6..488e07d94e 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public HRESULT GetDesc(D3D12_LIBRARY_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -82,7 +82,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("HRESULT (D3D12_LIBRARY_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12FunctionReflection *(INT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFunctionByIndex; diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index be0e48ad74..901affc681 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public HRESULT GetDesc(D3D12_SHADER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -121,7 +121,7 @@ public HRESULT GetResourceBindingDescByName([NativeTypeName("LPCSTR")] sbyte* Na [VtblIndex(12)] public uint GetMovInstructionCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public uint GetMovInstructionCount() [VtblIndex(13)] public uint GetMovcInstructionCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public uint GetMovcInstructionCount() [VtblIndex(14)] public uint GetConversionInstructionCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public uint GetConversionInstructionCount() [VtblIndex(15)] public uint GetBitwiseInstructionCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public uint GetBitwiseInstructionCount() [VtblIndex(16)] public D3D_PRIMITIVE GetGSInputPrimitive() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -161,7 +161,7 @@ public D3D_PRIMITIVE GetGSInputPrimitive() [VtblIndex(17)] public BOOL IsSampleFrequencyShader() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[17]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[17]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public BOOL IsSampleFrequencyShader() [VtblIndex(18)] public uint GetNumInterfaceSlots() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } /// @@ -185,7 +185,7 @@ public HRESULT GetMinFeatureLevel([NativeTypeName("enum D3D_FEATURE_LEVEL *")] D [VtblIndex(20)] public uint GetThreadGroupSize(uint* pSizeX, uint* pSizeY, uint* pSizeZ) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); + return ((delegate* unmanaged)(lpVtbl[20]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), pSizeX, pSizeY, pSizeZ); } /// @@ -194,7 +194,7 @@ public uint GetThreadGroupSize(uint* pSizeX, uint* pSizeY, uint* pSizeZ) [return: NativeTypeName("UINT64")] public ulong GetRequiresFlags() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[21]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[21]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } public interface Interface : IUnknown.Interface @@ -271,7 +271,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("HRESULT (D3D12_SHADER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12ShaderReflectionConstantBuffer *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetConstantBufferByIndex; @@ -298,33 +298,33 @@ public partial struct Vtbl public delegate* unmanaged GetResourceBindingDescByName; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMovInstructionCount; + public delegate* unmanaged GetMovInstructionCount; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMovcInstructionCount; + public delegate* unmanaged GetMovcInstructionCount; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetConversionInstructionCount; + public delegate* unmanaged GetConversionInstructionCount; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetBitwiseInstructionCount; + public delegate* unmanaged GetBitwiseInstructionCount; [NativeTypeName("D3D_PRIMITIVE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGSInputPrimitive; + public delegate* unmanaged GetGSInputPrimitive; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSampleFrequencyShader; + public delegate* unmanaged IsSampleFrequencyShader; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNumInterfaceSlots; + public delegate* unmanaged GetNumInterfaceSlots; [NativeTypeName("HRESULT (enum D3D_FEATURE_LEVEL *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetMinFeatureLevel; [NativeTypeName("UINT (UINT *, UINT *, UINT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetThreadGroupSize; + public delegate* unmanaged GetThreadGroupSize; [NativeTypeName("UINT64 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRequiresFlags; + public delegate* unmanaged GetRequiresFlags; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs index e4467bda13..efa09b8693 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs @@ -20,7 +20,7 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader [VtblIndex(0)] public HRESULT GetDesc(D3D12_SHADER_BUFFER_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[0]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -55,7 +55,7 @@ public partial struct Vtbl where TSelf : unmanaged, Interface { [NativeTypeName("HRESULT (D3D12_SHADER_BUFFER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12ShaderReflectionVariable *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetVariableByIndex; diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs index b4b5b1d7e3..c6d0fac09e 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs @@ -20,7 +20,7 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection [VtblIndex(0)] public HRESULT GetDesc(D3D12_SHADER_TYPE_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[0]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -77,7 +77,7 @@ public HRESULT IsEqual(ID3D12ShaderReflectionType* pType) [VtblIndex(7)] public uint GetNumInterfaces() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public partial struct Vtbl where TSelf : unmanaged, Interface { [NativeTypeName("HRESULT (D3D12_SHADER_TYPE_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12ShaderReflectionType *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetMemberTypeByIndex; @@ -166,7 +166,7 @@ public partial struct Vtbl public delegate* unmanaged GetBaseClass; [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetNumInterfaces; + public delegate* unmanaged GetNumInterfaces; [NativeTypeName("ID3D12ShaderReflectionType *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetInterfaceByIndex; diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs index 02875c3e90..662d9d0ecd 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs @@ -20,7 +20,7 @@ public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflec [VtblIndex(0)] public HRESULT GetDesc(D3D12_SHADER_VARIABLE_DESC* pDesc) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[0]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); + return ((delegate* unmanaged)(lpVtbl[0]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), pDesc); } /// @@ -44,7 +44,7 @@ public HRESULT GetDesc(D3D12_SHADER_VARIABLE_DESC* pDesc) [VtblIndex(3)] public uint GetInterfaceSlot(uint uArrayIndex) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this), uArrayIndex); } public interface Interface @@ -66,7 +66,7 @@ public partial struct Vtbl where TSelf : unmanaged, Interface { [NativeTypeName("HRESULT (D3D12_SHADER_VARIABLE_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetDesc; + public delegate* unmanaged GetDesc; [NativeTypeName("ID3D12ShaderReflectionType *() __attribute__((nothrow)) __attribute__((stdcall))")] public new delegate* unmanaged GetType; @@ -75,6 +75,6 @@ public partial struct Vtbl public delegate* unmanaged GetBuffer; [NativeTypeName("UINT (UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetInterfaceSlot; + public delegate* unmanaged GetInterfaceSlot; } } diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs index 4436f63400..38a1411f3e 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoDecodeCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoDecodeCommandList*)Unsafe.AsPointer(ref this)); } /// @@ -277,7 +277,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs index 807dc9b801..9b4fb1c386 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoDecodeCommandList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoDecodeCommandList1*)Unsafe.AsPointer(ref this)); } /// @@ -246,7 +246,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs index de2f3fe663..25837d3586 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoDecodeCommandList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoDecodeCommandList2*)Unsafe.AsPointer(ref this)); } /// @@ -278,7 +278,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs index 1b7a2b3a49..bc4a821ce2 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoEncodeCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoEncodeCommandList*)Unsafe.AsPointer(ref this)); } /// @@ -301,7 +301,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs index d98548d183..899f8a6488 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoEncodeCommandList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoEncodeCommandList1*)Unsafe.AsPointer(ref this)); } /// @@ -273,7 +273,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs index b248a4b970..721437de9e 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoProcessCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoProcessCommandList*)Unsafe.AsPointer(ref this)); } /// @@ -277,7 +277,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs index c95cf78cad..b9b923f393 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs @@ -89,7 +89,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoProcessCommandList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoProcessCommandList1*)Unsafe.AsPointer(ref this)); } /// @@ -246,7 +246,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs index 3c16e5edad..b9d9550537 100644 --- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs +++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs @@ -91,7 +91,7 @@ public HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvD [VtblIndex(8)] public new D3D12_COMMAND_LIST_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((ID3D12VideoProcessCommandList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D12VideoProcessCommandList2*)Unsafe.AsPointer(ref this)); } /// @@ -278,7 +278,7 @@ public partial struct Vtbl public delegate* unmanaged GetDevice; [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged Close; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs index c9090e68da..60f47b0bac 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs @@ -65,7 +65,7 @@ public HDC GetMemoryDC() [VtblIndex(5)] public float GetPixelsPerDip() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public HRESULT SetPixelsPerDip(float pixelsPerDip) [VtblIndex(7)] public HRESULT GetCurrentTransform(DWRITE_MATRIX* transform) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// @@ -97,7 +97,7 @@ public HRESULT SetCurrentTransform([NativeTypeName("const DWRITE_MATRIX *")] DWR [VtblIndex(9)] public HRESULT GetSize(SIZE* size) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), size); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), size); } /// @@ -154,19 +154,19 @@ public partial struct Vtbl public delegate* unmanaged GetMemoryDC; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelsPerDip; + public delegate* unmanaged GetPixelsPerDip; [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetPixelsPerDip; [NativeTypeName("HRESULT (DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCurrentTransform; + public delegate* unmanaged GetCurrentTransform; [NativeTypeName("HRESULT (const DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetCurrentTransform; [NativeTypeName("HRESULT (SIZE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSize; + public delegate* unmanaged GetSize; [NativeTypeName("HRESULT (UINT32, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged Resize; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs index 973d238baa..0c76623011 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs @@ -57,7 +57,7 @@ public HRESULT GetFontFamily(IDWriteFontFamily** fontFamily) [VtblIndex(4)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(5)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(6)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public DWRITE_FONT_STYLE GetStyle() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -105,7 +105,7 @@ public HRESULT GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_ID informatio [VtblIndex(10)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -113,7 +113,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(11)] public void GetMetrics(DWRITE_FONT_METRICS* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFont*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFont*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -184,16 +184,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamily; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFaceNames; @@ -202,10 +202,10 @@ public partial struct Vtbl public delegate* unmanaged GetInformationalStrings; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("HRESULT (UINT32, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged HasCharacter; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs index cc3538d0b8..74f09b7b05 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs @@ -50,7 +50,7 @@ public uint Release() [return: NativeTypeName("UINT32")] public uint GetFontFamilyCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontCollection*)Unsafe.AsPointer(ref this)); } /// @@ -106,7 +106,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyCount; + public delegate* unmanaged GetFontFamilyCount; [NativeTypeName("HRESULT (UINT32, IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFamily; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs index 829a92ab33..76a97a655e 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -99,7 +99,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -229,25 +229,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs index 62d39020a1..5091b1bca3 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs @@ -58,7 +58,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs index b39cae018e..9d98d0633d 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs @@ -58,7 +58,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontList*)Unsafe.AsPointer(ref this)); } /// @@ -98,7 +98,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs index e38226f327..f4813c56ca 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs @@ -57,7 +57,7 @@ public HRESULT Draw(void* clientDrawingContext, IDWriteTextRenderer* renderer, f [VtblIndex(4)] public HRESULT GetMetrics(DWRITE_INLINE_OBJECT_METRICS* metrics) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), metrics); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), metrics); } /// @@ -73,7 +73,7 @@ public HRESULT GetOverhangMetrics(DWRITE_OVERHANG_METRICS* overhangs) [VtblIndex(6)] public HRESULT GetBreakConditions(DWRITE_BREAK_CONDITION* breakConditionBefore, DWRITE_BREAK_CONDITION* breakConditionAfter) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), breakConditionBefore, breakConditionAfter); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), breakConditionBefore, breakConditionAfter); } public interface Interface : IUnknown.Interface @@ -107,12 +107,12 @@ public partial struct Vtbl public delegate* unmanaged Draw; [NativeTypeName("HRESULT (DWRITE_INLINE_OBJECT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("HRESULT (DWRITE_OVERHANG_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetOverhangMetrics; [NativeTypeName("HRESULT (DWRITE_BREAK_CONDITION *, DWRITE_BREAK_CONDITION *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetBreakConditions; + public delegate* unmanaged GetBreakConditions; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs index 316b7ab2cd..b70e345bc6 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public float GetGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } /// @@ -57,7 +57,7 @@ public float GetGamma() [VtblIndex(4)] public float GetEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public float GetEnhancedContrast() [VtblIndex(5)] public float GetClearTypeLevel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public float GetClearTypeLevel() [VtblIndex(6)] public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() [VtblIndex(7)] public DWRITE_RENDERING_MODE GetRenderingMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } public interface Interface : IUnknown.Interface @@ -115,18 +115,18 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGamma; + public delegate* unmanaged GetGamma; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEnhancedContrast; + public delegate* unmanaged GetEnhancedContrast; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetClearTypeLevel; + public delegate* unmanaged GetClearTypeLevel; [NativeTypeName("DWRITE_PIXEL_GEOMETRY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelGeometry; + public delegate* unmanaged GetPixelGeometry; [NativeTypeName("DWRITE_RENDERING_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingMode; + public delegate* unmanaged GetRenderingMode; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs index 56dd46c8c3..bba090f58f 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs @@ -65,7 +65,7 @@ public HRESULT GetTextBeforePosition([NativeTypeName("UINT32")] uint textPositio [VtblIndex(5)] public DWRITE_READING_DIRECTION GetParagraphReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public partial struct Vtbl public delegate* unmanaged GetTextBeforePosition; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphReadingDirection; + public delegate* unmanaged GetParagraphReadingDirection; [NativeTypeName("HRESULT (UINT32, UINT32 *, const WCHAR **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleName; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs index 5c43181fc5..5acdd30217 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs @@ -113,7 +113,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -202,7 +202,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -210,7 +210,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -218,7 +218,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -226,7 +226,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -363,28 +363,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -396,16 +396,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs index 6af36e98f6..cc1e90eec7 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs @@ -113,7 +113,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -202,7 +202,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -210,7 +210,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -218,7 +218,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -226,7 +226,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -363,7 +363,7 @@ public HRESULT SetLocaleName([NativeTypeName("const WCHAR *")] ushort* localeNam [VtblIndex(42)] public float GetMaxWidth() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[42]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[42]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -371,7 +371,7 @@ public float GetMaxWidth() [VtblIndex(43)] public float GetMaxHeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[43]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -715,28 +715,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -748,16 +748,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -808,10 +808,10 @@ public partial struct Vtbl public delegate* unmanaged SetLocaleName; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxWidth; + public delegate* unmanaged GetMaxWidth; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxHeight; + public delegate* unmanaged GetMaxHeight; [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs index c270c84a85..471905d316 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs @@ -58,7 +58,7 @@ public HRESULT AddFontFeature(DWRITE_FONT_FEATURE fontFeature) [return: NativeTypeName("UINT32")] public uint GetFontFeatureCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteTypography*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteTypography*)Unsafe.AsPointer(ref this)); } /// @@ -98,7 +98,7 @@ public partial struct Vtbl public delegate* unmanaged AddFontFeature; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFeatureCount; + public delegate* unmanaged GetFontFeatureCount; [NativeTypeName("HRESULT (UINT32, DWRITE_FONT_FEATURE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFeature; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs index b31ff71a10..e0dd536e15 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs @@ -65,7 +65,7 @@ public HDC GetMemoryDC() [VtblIndex(5)] public float GetPixelsPerDip() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public HRESULT SetPixelsPerDip(float pixelsPerDip) [VtblIndex(7)] public HRESULT GetCurrentTransform(DWRITE_MATRIX* transform) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this), transform); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this), transform); } /// @@ -97,7 +97,7 @@ public HRESULT SetCurrentTransform([NativeTypeName("const DWRITE_MATRIX *")] DWR [VtblIndex(9)] public HRESULT GetSize(SIZE* size) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this), size); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this), size); } /// @@ -113,7 +113,7 @@ public HRESULT Resize([NativeTypeName("UINT32")] uint width, [NativeTypeName("UI [VtblIndex(11)] public DWRITE_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); } /// @@ -152,25 +152,25 @@ public partial struct Vtbl public delegate* unmanaged GetMemoryDC; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelsPerDip; + public delegate* unmanaged GetPixelsPerDip; [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetPixelsPerDip; [NativeTypeName("HRESULT (DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCurrentTransform; + public delegate* unmanaged GetCurrentTransform; [NativeTypeName("HRESULT (const DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetCurrentTransform; [NativeTypeName("HRESULT (SIZE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSize; + public delegate* unmanaged GetSize; [NativeTypeName("HRESULT (UINT32, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged Resize; [NativeTypeName("DWRITE_TEXT_ANTIALIAS_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAntialiasMode; + public delegate* unmanaged GetTextAntialiasMode; [NativeTypeName("HRESULT (DWRITE_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetTextAntialiasMode; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs index 5bcb6ea02f..d76d78a36a 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs @@ -57,7 +57,7 @@ public HRESULT GetFontFamily(IDWriteFontFamily** fontFamily) [VtblIndex(4)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(5)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(6)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public DWRITE_FONT_STYLE GetStyle() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -105,7 +105,7 @@ public HRESULT GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_ID informatio [VtblIndex(10)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -113,7 +113,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(11)] public void GetMetrics(DWRITE_FONT_METRICS* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -137,7 +137,7 @@ public HRESULT CreateFontFace(IDWriteFontFace** fontFace) [VtblIndex(14)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[14]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -145,7 +145,7 @@ public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) [VtblIndex(15)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteFont1*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[15]))((IDWriteFont1*)Unsafe.AsPointer(ref this), panose); } /// @@ -195,16 +195,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamily; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFaceNames; @@ -213,10 +213,10 @@ public partial struct Vtbl public delegate* unmanaged GetInformationalStrings; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("HRESULT (UINT32, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged HasCharacter; @@ -225,10 +225,10 @@ public partial struct Vtbl public delegate* unmanaged CreateFontFace; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs index 7b758f8428..e0777d3ff5 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -99,7 +99,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -187,7 +187,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -203,7 +203,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -235,7 +235,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -259,7 +259,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } public interface Interface : IDWriteFontFace.Interface @@ -314,25 +314,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -359,19 +359,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -383,7 +383,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -392,6 +392,6 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs index 9695d43ec5..ddb06ff654 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public float GetGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -57,7 +57,7 @@ public float GetGamma() [VtblIndex(4)] public float GetEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -65,7 +65,7 @@ public float GetEnhancedContrast() [VtblIndex(5)] public float GetClearTypeLevel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -73,7 +73,7 @@ public float GetClearTypeLevel() [VtblIndex(6)] public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -81,7 +81,7 @@ public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() [VtblIndex(7)] public DWRITE_RENDERING_MODE GetRenderingMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -89,7 +89,7 @@ public DWRITE_RENDERING_MODE GetRenderingMode() [VtblIndex(8)] public float GetGrayscaleEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } public interface Interface : IDWriteRenderingParams.Interface @@ -111,21 +111,21 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGamma; + public delegate* unmanaged GetGamma; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEnhancedContrast; + public delegate* unmanaged GetEnhancedContrast; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetClearTypeLevel; + public delegate* unmanaged GetClearTypeLevel; [NativeTypeName("DWRITE_PIXEL_GEOMETRY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelGeometry; + public delegate* unmanaged GetPixelGeometry; [NativeTypeName("DWRITE_RENDERING_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingMode; + public delegate* unmanaged GetRenderingMode; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGrayscaleEnhancedContrast; + public delegate* unmanaged GetGrayscaleEnhancedContrast; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs index 559435e5fa..9952f40d64 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs @@ -65,7 +65,7 @@ public HRESULT GetTextBeforePosition([NativeTypeName("UINT32")] uint textPositio [VtblIndex(5)] public DWRITE_READING_DIRECTION GetParagraphReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteTextAnalysisSource1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteTextAnalysisSource1*)Unsafe.AsPointer(ref this)); } /// @@ -117,7 +117,7 @@ public partial struct Vtbl public delegate* unmanaged GetTextBeforePosition; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphReadingDirection; + public delegate* unmanaged GetParagraphReadingDirection; [NativeTypeName("HRESULT (UINT32, UINT32 *, const WCHAR **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleName; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs index 357d5f01ba..0e25391fc7 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs @@ -113,7 +113,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -202,7 +202,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -210,7 +210,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -218,7 +218,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -226,7 +226,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -363,7 +363,7 @@ public HRESULT SetLocaleName([NativeTypeName("const WCHAR *")] ushort* localeNam [VtblIndex(42)] public float GetMaxWidth() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[42]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[42]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -371,7 +371,7 @@ public float GetMaxWidth() [VtblIndex(43)] public float GetMaxHeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[43]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -642,28 +642,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -675,16 +675,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -735,10 +735,10 @@ public partial struct Vtbl public delegate* unmanaged SetLocaleName; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxWidth; + public delegate* unmanaged GetMaxWidth; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxHeight; + public delegate* unmanaged GetMaxHeight; [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs index a72d34d394..67c8899183 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs @@ -59,7 +59,7 @@ public HRESULT MoveNext(BOOL* hasRun) [VtblIndex(4)] public HRESULT GetCurrentRun([NativeTypeName("const DWRITE_COLOR_GLYPH_RUN **")] DWRITE_COLOR_GLYPH_RUN** colorGlyphRun) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteColorGlyphRunEnumerator*)Unsafe.AsPointer(ref this), colorGlyphRun); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteColorGlyphRunEnumerator*)Unsafe.AsPointer(ref this), colorGlyphRun); } public interface Interface : IUnknown.Interface @@ -87,6 +87,6 @@ public partial struct Vtbl public delegate* unmanaged MoveNext; [NativeTypeName("HRESULT (const DWRITE_COLOR_GLYPH_RUN **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCurrentRun; + public delegate* unmanaged GetCurrentRun; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs index 9f23276922..3a405991b9 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs @@ -59,7 +59,7 @@ public HRESULT GetFontFamily(IDWriteFontFamily** fontFamily) [VtblIndex(4)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -67,7 +67,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(5)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -75,7 +75,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(6)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -83,7 +83,7 @@ public DWRITE_FONT_STYLE GetStyle() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -107,7 +107,7 @@ public HRESULT GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_ID informatio [VtblIndex(10)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -115,7 +115,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(11)] public void GetMetrics(DWRITE_FONT_METRICS* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFont2*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFont2*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -139,7 +139,7 @@ public HRESULT CreateFontFace(IDWriteFontFace** fontFace) [VtblIndex(14)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteFont2*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[14]))((IDWriteFont2*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -147,7 +147,7 @@ public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) [VtblIndex(15)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteFont2*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[15]))((IDWriteFont2*)Unsafe.AsPointer(ref this), panose); } /// @@ -171,7 +171,7 @@ public BOOL IsMonospacedFont() [VtblIndex(18)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } public interface Interface : IDWriteFont1.Interface @@ -196,16 +196,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamily; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFaceNames; @@ -214,10 +214,10 @@ public partial struct Vtbl public delegate* unmanaged GetInformationalStrings; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("HRESULT (UINT32, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged HasCharacter; @@ -226,10 +226,10 @@ public partial struct Vtbl public delegate* unmanaged CreateFontFace; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; @@ -238,6 +238,6 @@ public partial struct Vtbl public delegate* unmanaged IsMonospacedFont; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs index ce15677e3b..aa35c004a4 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs @@ -51,7 +51,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -68,7 +68,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -76,7 +76,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -84,7 +84,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -92,7 +92,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -101,7 +101,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -173,7 +173,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -189,7 +189,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -205,7 +205,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -237,7 +237,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -261,7 +261,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -269,7 +269,7 @@ public BOOL HasVerticalGlyphVariants() [VtblIndex(30)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[30]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[30]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -278,7 +278,7 @@ public BOOL IsColorFont() [return: NativeTypeName("UINT32")] public uint GetColorPaletteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -287,7 +287,7 @@ public uint GetColorPaletteCount() [return: NativeTypeName("UINT32")] public uint GetPaletteEntryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[32]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[32]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -339,25 +339,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -384,19 +384,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -408,7 +408,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -417,16 +417,16 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorPaletteCount; + public delegate* unmanaged GetColorPaletteCount; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaletteEntryCount; + public delegate* unmanaged GetPaletteEntryCount; [NativeTypeName("HRESULT (UINT32, UINT32, UINT32, DWRITE_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPaletteEntries; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs index ebe0c7f6c3..edee7bb446 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs @@ -51,7 +51,7 @@ public uint Release() [VtblIndex(3)] public float GetGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -59,7 +59,7 @@ public float GetGamma() [VtblIndex(4)] public float GetEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -67,7 +67,7 @@ public float GetEnhancedContrast() [VtblIndex(5)] public float GetClearTypeLevel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -75,7 +75,7 @@ public float GetClearTypeLevel() [VtblIndex(6)] public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -83,7 +83,7 @@ public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() [VtblIndex(7)] public DWRITE_RENDERING_MODE GetRenderingMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -91,7 +91,7 @@ public DWRITE_RENDERING_MODE GetRenderingMode() [VtblIndex(8)] public float GetGrayscaleEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// @@ -99,7 +99,7 @@ public float GetGrayscaleEnhancedContrast() [VtblIndex(9)] public DWRITE_GRID_FIT_MODE GetGridFitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } public interface Interface : IDWriteRenderingParams1.Interface @@ -121,24 +121,24 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGamma; + public delegate* unmanaged GetGamma; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEnhancedContrast; + public delegate* unmanaged GetEnhancedContrast; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetClearTypeLevel; + public delegate* unmanaged GetClearTypeLevel; [NativeTypeName("DWRITE_PIXEL_GEOMETRY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelGeometry; + public delegate* unmanaged GetPixelGeometry; [NativeTypeName("DWRITE_RENDERING_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingMode; + public delegate* unmanaged GetRenderingMode; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGrayscaleEnhancedContrast; + public delegate* unmanaged GetGrayscaleEnhancedContrast; [NativeTypeName("DWRITE_GRID_FIT_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGridFitMode; + public delegate* unmanaged GetGridFitMode; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs index 1e223481c4..08e7805977 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs @@ -115,7 +115,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -131,7 +131,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -139,7 +139,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -147,7 +147,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -155,7 +155,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -204,7 +204,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -212,7 +212,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -220,7 +220,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -228,7 +228,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -261,7 +261,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(29)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -277,7 +277,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(31)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -293,7 +293,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(33)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -376,28 +376,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -409,16 +409,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -430,19 +430,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs index e1d0f27d72..849c6c63c1 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs @@ -115,7 +115,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -131,7 +131,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -139,7 +139,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -147,7 +147,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -155,7 +155,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -204,7 +204,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -212,7 +212,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -220,7 +220,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -228,7 +228,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -365,7 +365,7 @@ public HRESULT SetLocaleName([NativeTypeName("const WCHAR *")] ushort* localeNam [VtblIndex(42)] public float GetMaxWidth() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[42]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[42]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -373,7 +373,7 @@ public float GetMaxWidth() [VtblIndex(43)] public float GetMaxHeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[43]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -613,7 +613,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(73)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[73]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[73]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -629,7 +629,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(75)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[75]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[75]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -645,7 +645,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(77)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[77]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[77]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -731,28 +731,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -764,16 +764,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -824,10 +824,10 @@ public partial struct Vtbl public delegate* unmanaged SetLocaleName; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxWidth; + public delegate* unmanaged GetMaxWidth; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxHeight; + public delegate* unmanaged GetMaxHeight; [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection1; @@ -917,19 +917,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs index 30c5de9308..44ded5811e 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs @@ -57,7 +57,7 @@ public HRESULT MoveNext(BOOL* hasRun) [VtblIndex(4)] public HRESULT GetCurrentRun([NativeTypeName("const DWRITE_COLOR_GLYPH_RUN **")] DWRITE_COLOR_GLYPH_RUN** colorGlyphRun) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteColorGlyphRunEnumerator1*)Unsafe.AsPointer(ref this), colorGlyphRun); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteColorGlyphRunEnumerator1*)Unsafe.AsPointer(ref this), colorGlyphRun); } /// @@ -65,7 +65,7 @@ public HRESULT GetCurrentRun([NativeTypeName("const DWRITE_COLOR_GLYPH_RUN **")] [VtblIndex(5)] public HRESULT GetCurrentRun([NativeTypeName("const DWRITE_COLOR_GLYPH_RUN1 **")] DWRITE_COLOR_GLYPH_RUN1** colorGlyphRun) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteColorGlyphRunEnumerator1*)Unsafe.AsPointer(ref this), colorGlyphRun); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteColorGlyphRunEnumerator1*)Unsafe.AsPointer(ref this), colorGlyphRun); } public interface Interface : IDWriteColorGlyphRunEnumerator.Interface @@ -90,9 +90,9 @@ public partial struct Vtbl public delegate* unmanaged MoveNext; [NativeTypeName("HRESULT (const DWRITE_COLOR_GLYPH_RUN **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCurrentRun; + public delegate* unmanaged GetCurrentRun; [NativeTypeName("HRESULT (const DWRITE_COLOR_GLYPH_RUN1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCurrentRun1; + public delegate* unmanaged GetCurrentRun1; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs index 5acc418c10..04397615b5 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs @@ -59,7 +59,7 @@ public HRESULT GetFontFamily(IDWriteFontFamily** fontFamily) [VtblIndex(4)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -67,7 +67,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(5)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -75,7 +75,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(6)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -83,7 +83,7 @@ public DWRITE_FONT_STYLE GetStyle() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -107,7 +107,7 @@ public HRESULT GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_ID informatio [VtblIndex(10)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[10]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -115,7 +115,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(11)] public void GetMetrics(DWRITE_FONT_METRICS* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -139,7 +139,7 @@ public HRESULT CreateFontFace(IDWriteFontFace** fontFace) [VtblIndex(14)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[14]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -147,7 +147,7 @@ public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) [VtblIndex(15)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteFont3*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[15]))((IDWriteFont3*)Unsafe.AsPointer(ref this), panose); } /// @@ -171,7 +171,7 @@ public BOOL IsMonospacedFont() [VtblIndex(18)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -248,16 +248,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamily; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFaceNames; @@ -266,10 +266,10 @@ public partial struct Vtbl public delegate* unmanaged GetInformationalStrings; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("HRESULT (UINT32, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged HasCharacter; @@ -278,10 +278,10 @@ public partial struct Vtbl public delegate* unmanaged CreateFontFace; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; @@ -290,7 +290,7 @@ public partial struct Vtbl public delegate* unmanaged IsMonospacedFont; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("HRESULT (IDWriteFontFace3 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged CreateFontFace1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs index 0619f1c79b..0d54973b10 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs @@ -50,7 +50,7 @@ public uint Release() [return: NativeTypeName("UINT32")] public uint GetFontFamilyCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -115,7 +115,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyCount; + public delegate* unmanaged GetFontFamilyCount; [NativeTypeName("HRESULT (UINT32, IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFamily; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs index cf200e38cb..2a4773e01d 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs @@ -50,7 +50,7 @@ public uint Release() [return: NativeTypeName("UINT32")] public uint GetFontFamilyCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); } /// @@ -114,7 +114,7 @@ public HRESULT GetMatchingFonts([NativeTypeName("const WCHAR *")] ushort* family [VtblIndex(11)] public DWRITE_FONT_FAMILY_MODEL GetFontFamilyModel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyCount; + public delegate* unmanaged GetFontFamilyCount; [NativeTypeName("HRESULT (UINT32, IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFamily; @@ -177,7 +177,7 @@ public partial struct Vtbl public delegate* unmanaged GetMatchingFonts; [NativeTypeName("DWRITE_FONT_FAMILY_MODEL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyModel; + public delegate* unmanaged GetFontFamilyModel; [NativeTypeName("HRESULT (IDWriteFontSet1 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontSet1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs index 861800513d..d82ae185cb 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs @@ -50,7 +50,7 @@ public uint Release() [return: NativeTypeName("UINT32")] public uint GetFontFamilyCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); } /// @@ -114,7 +114,7 @@ public HRESULT GetMatchingFonts([NativeTypeName("const WCHAR *")] ushort* family [VtblIndex(11)] public DWRITE_FONT_FAMILY_MODEL GetFontFamilyModel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); } /// @@ -152,7 +152,7 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyCount; + public delegate* unmanaged GetFontFamilyCount; [NativeTypeName("HRESULT (UINT32, IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFamily; @@ -176,7 +176,7 @@ public partial struct Vtbl public delegate* unmanaged GetMatchingFonts; [NativeTypeName("DWRITE_FONT_FAMILY_MODEL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFamilyModel; + public delegate* unmanaged GetFontFamilyModel; [NativeTypeName("HRESULT (IDWriteFontSet1 **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontSet1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs index f6937432d1..4e1e4157d2 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs @@ -51,7 +51,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -68,7 +68,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -76,7 +76,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -84,7 +84,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -92,7 +92,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -101,7 +101,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -173,7 +173,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -189,7 +189,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -205,7 +205,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -237,7 +237,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -261,7 +261,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -269,7 +269,7 @@ public BOOL HasVerticalGlyphVariants() [VtblIndex(30)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[30]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[30]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -278,7 +278,7 @@ public BOOL IsColorFont() [return: NativeTypeName("UINT32")] public uint GetColorPaletteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -287,7 +287,7 @@ public uint GetColorPaletteCount() [return: NativeTypeName("UINT32")] public uint GetPaletteEntryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[32]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[32]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -319,7 +319,7 @@ public HRESULT GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference [VtblIndex(36)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[36]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[36]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), panose); } /// @@ -327,7 +327,7 @@ public void GetPanose(DWRITE_PANOSE* panose) [VtblIndex(37)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -335,7 +335,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(38)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[38]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[38]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -343,7 +343,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(39)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[39]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[39]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -476,25 +476,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -521,19 +521,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -545,7 +545,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -554,16 +554,16 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorPaletteCount; + public delegate* unmanaged GetColorPaletteCount; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaletteEntryCount; + public delegate* unmanaged GetPaletteEntryCount; [NativeTypeName("HRESULT (UINT32, UINT32, UINT32, DWRITE_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPaletteEntries; @@ -575,16 +575,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFaceReference; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFamilyNames; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs index 98bac6dcb2..b8af4b4bdb 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -99,7 +99,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -187,7 +187,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -203,7 +203,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -235,7 +235,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -259,7 +259,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -267,7 +267,7 @@ public BOOL HasVerticalGlyphVariants() [VtblIndex(30)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[30]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[30]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -276,7 +276,7 @@ public BOOL IsColorFont() [return: NativeTypeName("UINT32")] public uint GetColorPaletteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -285,7 +285,7 @@ public uint GetColorPaletteCount() [return: NativeTypeName("UINT32")] public uint GetPaletteEntryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[32]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[32]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -317,7 +317,7 @@ public HRESULT GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference [VtblIndex(36)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[36]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[36]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), panose); } /// @@ -325,7 +325,7 @@ public void GetPanose(DWRITE_PANOSE* panose) [VtblIndex(37)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -333,7 +333,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(38)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[38]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[38]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -341,7 +341,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(39)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[39]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[39]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -421,7 +421,7 @@ public HRESULT AreGlyphsLocal([NativeTypeName("const UINT16 *")] ushort* glyphIn [VtblIndex(49)] public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [NativeTypeName("UINT32")] uint pixelsPerEmFirst, [NativeTypeName("UINT32")] uint pixelsPerEmLast, DWRITE_GLYPH_IMAGE_FORMATS* glyphImageFormats) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[49]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); + return ((delegate* unmanaged)(lpVtbl[49]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); } /// @@ -429,7 +429,7 @@ public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [ [VtblIndex(50)] public DWRITE_GLYPH_IMAGE_FORMATS GetGlyphImageFormats() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[50]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[50]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -476,25 +476,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -521,19 +521,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -545,7 +545,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -554,16 +554,16 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorPaletteCount; + public delegate* unmanaged GetColorPaletteCount; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaletteEntryCount; + public delegate* unmanaged GetPaletteEntryCount; [NativeTypeName("HRESULT (UINT32, UINT32, UINT32, DWRITE_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPaletteEntries; @@ -575,16 +575,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFaceReference; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFamilyNames; @@ -614,10 +614,10 @@ public partial struct Vtbl public delegate* unmanaged AreGlyphsLocal; [NativeTypeName("HRESULT (UINT16, UINT32, UINT32, DWRITE_GLYPH_IMAGE_FORMATS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats; + public delegate* unmanaged GetGlyphImageFormats; [NativeTypeName("DWRITE_GLYPH_IMAGE_FORMATS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats1; + public delegate* unmanaged GetGlyphImageFormats1; [NativeTypeName("HRESULT (UINT16, UINT32, DWRITE_GLYPH_IMAGE_FORMATS, DWRITE_GLYPH_IMAGE_DATA *, void **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGlyphImageData; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs index 2fb562ec6e..531f5fd9fd 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -99,7 +99,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -187,7 +187,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -203,7 +203,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -235,7 +235,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -259,7 +259,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -267,7 +267,7 @@ public BOOL HasVerticalGlyphVariants() [VtblIndex(30)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[30]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[30]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -276,7 +276,7 @@ public BOOL IsColorFont() [return: NativeTypeName("UINT32")] public uint GetColorPaletteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -285,7 +285,7 @@ public uint GetColorPaletteCount() [return: NativeTypeName("UINT32")] public uint GetPaletteEntryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[32]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[32]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -317,7 +317,7 @@ public HRESULT GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference [VtblIndex(36)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[36]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[36]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), panose); } /// @@ -325,7 +325,7 @@ public void GetPanose(DWRITE_PANOSE* panose) [VtblIndex(37)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -333,7 +333,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(38)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[38]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[38]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -341,7 +341,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(39)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[39]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[39]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -421,7 +421,7 @@ public HRESULT AreGlyphsLocal([NativeTypeName("const UINT16 *")] ushort* glyphIn [VtblIndex(49)] public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [NativeTypeName("UINT32")] uint pixelsPerEmFirst, [NativeTypeName("UINT32")] uint pixelsPerEmLast, DWRITE_GLYPH_IMAGE_FORMATS* glyphImageFormats) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[49]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); + return ((delegate* unmanaged)(lpVtbl[49]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); } /// @@ -429,7 +429,7 @@ public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [ [VtblIndex(50)] public DWRITE_GLYPH_IMAGE_FORMATS GetGlyphImageFormats() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[50]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[50]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -470,7 +470,7 @@ public HRESULT GetFontAxisValues(DWRITE_FONT_AXIS_VALUE* fontAxisValues, [Native [VtblIndex(55)] public BOOL HasVariations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[55]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[55]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -521,25 +521,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -566,19 +566,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -590,7 +590,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -599,16 +599,16 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorPaletteCount; + public delegate* unmanaged GetColorPaletteCount; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaletteEntryCount; + public delegate* unmanaged GetPaletteEntryCount; [NativeTypeName("HRESULT (UINT32, UINT32, UINT32, DWRITE_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPaletteEntries; @@ -620,16 +620,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFaceReference; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFamilyNames; @@ -659,10 +659,10 @@ public partial struct Vtbl public delegate* unmanaged AreGlyphsLocal; [NativeTypeName("HRESULT (UINT16, UINT32, UINT32, DWRITE_GLYPH_IMAGE_FORMATS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats; + public delegate* unmanaged GetGlyphImageFormats; [NativeTypeName("DWRITE_GLYPH_IMAGE_FORMATS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats1; + public delegate* unmanaged GetGlyphImageFormats1; [NativeTypeName("HRESULT (UINT16, UINT32, DWRITE_GLYPH_IMAGE_FORMATS, DWRITE_GLYPH_IMAGE_DATA *, void **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGlyphImageData; @@ -677,7 +677,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontAxisValues; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVariations; + public delegate* unmanaged HasVariations; [NativeTypeName("HRESULT (IDWriteFontResource **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontResource; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs index a094d76863..c7e8bfc4e7 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs @@ -49,7 +49,7 @@ public uint Release() [VtblIndex(3)] public new DWRITE_FONT_FACE_TYPE GetType() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -66,7 +66,7 @@ public HRESULT GetFiles([NativeTypeName("UINT32 *")] uint* numberOfFiles, IDWrit [return: NativeTypeName("UINT32")] public uint GetIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -74,7 +74,7 @@ public uint GetIndex() [VtblIndex(6)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public DWRITE_FONT_SIMULATIONS GetSimulations() [VtblIndex(7)] public BOOL IsSymbolFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -90,7 +90,7 @@ public BOOL IsSymbolFont() [VtblIndex(8)] public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontFaceMetrics); + ((delegate* unmanaged)(lpVtbl[8]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontFaceMetrics); } /// @@ -99,7 +99,7 @@ public void GetMetrics(DWRITE_FONT_METRICS* fontFaceMetrics) [return: NativeTypeName("UINT16")] public ushort GetGlyphCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [N [VtblIndex(18)] public void GetMetrics(DWRITE_FONT_METRICS1* fontMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontMetrics); + ((delegate* unmanaged)(lpVtbl[18]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontMetrics); } /// @@ -187,7 +187,7 @@ public HRESULT GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, [Native [VtblIndex(20)] public void GetCaretMetrics(DWRITE_CARET_METRICS* caretMetrics) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[20]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), caretMetrics); + ((delegate* unmanaged)(lpVtbl[20]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), caretMetrics); } /// @@ -203,7 +203,7 @@ public HRESULT GetUnicodeRanges([NativeTypeName("UINT32")] uint maxRangeCount, D [VtblIndex(22)] public BOOL IsMonospacedFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -235,7 +235,7 @@ public HRESULT GetKerningPairAdjustments([NativeTypeName("UINT32")] uint glyphCo [VtblIndex(26)] public BOOL HasKerningPairs() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[26]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[26]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -259,7 +259,7 @@ public HRESULT GetVerticalGlyphVariants([NativeTypeName("UINT32")] uint glyphCou [VtblIndex(29)] public BOOL HasVerticalGlyphVariants() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -267,7 +267,7 @@ public BOOL HasVerticalGlyphVariants() [VtblIndex(30)] public BOOL IsColorFont() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[30]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[30]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -276,7 +276,7 @@ public BOOL IsColorFont() [return: NativeTypeName("UINT32")] public uint GetColorPaletteCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -285,7 +285,7 @@ public uint GetColorPaletteCount() [return: NativeTypeName("UINT32")] public uint GetPaletteEntryCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[32]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[32]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -317,7 +317,7 @@ public HRESULT GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference [VtblIndex(36)] public void GetPanose(DWRITE_PANOSE* panose) { - ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[36]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), panose); + ((delegate* unmanaged)(lpVtbl[36]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), panose); } /// @@ -325,7 +325,7 @@ public void GetPanose(DWRITE_PANOSE* panose) [VtblIndex(37)] public DWRITE_FONT_WEIGHT GetWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -333,7 +333,7 @@ public DWRITE_FONT_WEIGHT GetWeight() [VtblIndex(38)] public DWRITE_FONT_STRETCH GetStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[38]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[38]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -341,7 +341,7 @@ public DWRITE_FONT_STRETCH GetStretch() [VtblIndex(39)] public DWRITE_FONT_STYLE GetStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[39]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[39]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -421,7 +421,7 @@ public HRESULT AreGlyphsLocal([NativeTypeName("const UINT16 *")] ushort* glyphIn [VtblIndex(49)] public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [NativeTypeName("UINT32")] uint pixelsPerEmFirst, [NativeTypeName("UINT32")] uint pixelsPerEmLast, DWRITE_GLYPH_IMAGE_FORMATS* glyphImageFormats) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[49]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); + return ((delegate* unmanaged)(lpVtbl[49]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); } /// @@ -429,7 +429,7 @@ public HRESULT GetGlyphImageFormats([NativeTypeName("UINT16")] ushort glyphId, [ [VtblIndex(50)] public DWRITE_GLYPH_IMAGE_FORMATS GetGlyphImageFormats() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[50]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[50]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -470,7 +470,7 @@ public HRESULT GetFontAxisValues(DWRITE_FONT_AXIS_VALUE* fontAxisValues, [Native [VtblIndex(55)] public BOOL HasVariations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[55]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[55]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -527,25 +527,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[SuppressGCTransition] GetType; + public new delegate* unmanaged GetType; [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFiles; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIndex; + public delegate* unmanaged GetIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSymbolFont; + public delegate* unmanaged IsSymbolFont; [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics; + public delegate* unmanaged GetMetrics; [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphCount; + public delegate* unmanaged GetGlyphCount; [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphMetrics; @@ -572,19 +572,19 @@ public partial struct Vtbl public delegate* unmanaged GetGdiCompatibleGlyphMetrics; [NativeTypeName("void (DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMetrics1; + public delegate* unmanaged GetMetrics1; [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGdiCompatibleMetrics1; [NativeTypeName("void (DWRITE_CARET_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetCaretMetrics; + public delegate* unmanaged GetCaretMetrics; [NativeTypeName("HRESULT (UINT32, DWRITE_UNICODE_RANGE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetUnicodeRanges; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsMonospacedFont; + public delegate* unmanaged IsMonospacedFont; [NativeTypeName("HRESULT (UINT32, const UINT16 *, INT32 *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetDesignGlyphAdvances; @@ -596,7 +596,7 @@ public partial struct Vtbl public delegate* unmanaged GetKerningPairAdjustments; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasKerningPairs; + public delegate* unmanaged HasKerningPairs; [NativeTypeName("HRESULT (FLOAT, FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRecommendedRenderingMode1; @@ -605,16 +605,16 @@ public partial struct Vtbl public delegate* unmanaged GetVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVerticalGlyphVariants; + public delegate* unmanaged HasVerticalGlyphVariants; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsColorFont; + public delegate* unmanaged IsColorFont; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetColorPaletteCount; + public delegate* unmanaged GetColorPaletteCount; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPaletteEntryCount; + public delegate* unmanaged GetPaletteEntryCount; [NativeTypeName("HRESULT (UINT32, UINT32, UINT32, DWRITE_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetPaletteEntries; @@ -626,16 +626,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFaceReference; [NativeTypeName("void (DWRITE_PANOSE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPanose; + public delegate* unmanaged GetPanose; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWeight; + public delegate* unmanaged GetWeight; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStretch; + public delegate* unmanaged GetStretch; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetStyle; + public delegate* unmanaged GetStyle; [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFamilyNames; @@ -665,10 +665,10 @@ public partial struct Vtbl public delegate* unmanaged AreGlyphsLocal; [NativeTypeName("HRESULT (UINT16, UINT32, UINT32, DWRITE_GLYPH_IMAGE_FORMATS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats; + public delegate* unmanaged GetGlyphImageFormats; [NativeTypeName("DWRITE_GLYPH_IMAGE_FORMATS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGlyphImageFormats1; + public delegate* unmanaged GetGlyphImageFormats1; [NativeTypeName("HRESULT (UINT16, UINT32, DWRITE_GLYPH_IMAGE_FORMATS, DWRITE_GLYPH_IMAGE_DATA *, void **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetGlyphImageData; @@ -683,7 +683,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontAxisValues; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] HasVariations; + public delegate* unmanaged HasVariations; [NativeTypeName("HRESULT (IDWriteFontResource **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontResource; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs index 1e32be8f3f..836b801305 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs @@ -76,7 +76,7 @@ public BOOL Equals(IDWriteFontFaceReference* fontFaceReference) [return: NativeTypeName("UINT32")] public uint GetFontFaceIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } /// @@ -84,7 +84,7 @@ public uint GetFontFaceIndex() [VtblIndex(7)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } /// @@ -231,10 +231,10 @@ public partial struct Vtbl public new delegate* unmanaged Equals; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFaceIndex; + public delegate* unmanaged GetFontFaceIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("HRESULT (IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFile; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs index a765282926..38395bf044 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs @@ -74,7 +74,7 @@ public BOOL Equals(IDWriteFontFaceReference* fontFaceReference) [return: NativeTypeName("UINT32")] public uint GetFontFaceIndex() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); } /// @@ -82,7 +82,7 @@ public uint GetFontFaceIndex() [VtblIndex(7)] public DWRITE_FONT_SIMULATIONS GetSimulations() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); } /// @@ -219,10 +219,10 @@ public partial struct Vtbl public new delegate* unmanaged Equals; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontFaceIndex; + public delegate* unmanaged GetFontFaceIndex; [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetSimulations; + public delegate* unmanaged GetSimulations; [NativeTypeName("HRESULT (IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontFile; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs index ebbb804d12..da908a28c4 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs @@ -60,7 +60,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this)); } /// @@ -147,7 +147,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs index c313ea3e9e..2ad89ac0be 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs @@ -58,7 +58,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this)); } /// @@ -158,7 +158,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs index 07a36057b7..36d03f43b1 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs @@ -60,7 +60,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontList1*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs index 73bded3f1b..77e8d3f9bc 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs @@ -58,7 +58,7 @@ public HRESULT GetFontCollection(IDWriteFontCollection** fontCollection) [return: NativeTypeName("UINT32")] public uint GetFontCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteFontList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteFontList2*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontCollection; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontCount; + public delegate* unmanaged GetFontCount; [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFont; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs index 901063a0db..64e997ad8a 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs @@ -51,7 +51,7 @@ public uint Release() [VtblIndex(3)] public float GetGamma() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[3]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -59,7 +59,7 @@ public float GetGamma() [VtblIndex(4)] public float GetEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -67,7 +67,7 @@ public float GetEnhancedContrast() [VtblIndex(5)] public float GetClearTypeLevel() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[5]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -75,7 +75,7 @@ public float GetClearTypeLevel() [VtblIndex(6)] public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[6]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[6]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -83,7 +83,7 @@ public DWRITE_PIXEL_GEOMETRY GetPixelGeometry() [VtblIndex(7)] public DWRITE_RENDERING_MODE GetRenderingMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[7]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[7]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -91,7 +91,7 @@ public DWRITE_RENDERING_MODE GetRenderingMode() [VtblIndex(8)] public float GetGrayscaleEnhancedContrast() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[8]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -99,7 +99,7 @@ public float GetGrayscaleEnhancedContrast() [VtblIndex(9)] public DWRITE_GRID_FIT_MODE GetGridFitMode() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[9]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[9]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -129,25 +129,25 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGamma; + public delegate* unmanaged GetGamma; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetEnhancedContrast; + public delegate* unmanaged GetEnhancedContrast; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetClearTypeLevel; + public delegate* unmanaged GetClearTypeLevel; [NativeTypeName("DWRITE_PIXEL_GEOMETRY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetPixelGeometry; + public delegate* unmanaged GetPixelGeometry; [NativeTypeName("DWRITE_RENDERING_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetRenderingMode; + public delegate* unmanaged GetRenderingMode; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGrayscaleEnhancedContrast; + public delegate* unmanaged GetGrayscaleEnhancedContrast; [NativeTypeName("DWRITE_GRID_FIT_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetGridFitMode; + public delegate* unmanaged GetGridFitMode; [NativeTypeName("DWRITE_RENDERING_MODE1 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetRenderingMode1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs index eb50fb555e..c9ca57981d 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs @@ -115,7 +115,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -131,7 +131,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -139,7 +139,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -147,7 +147,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -155,7 +155,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -204,7 +204,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -212,7 +212,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -220,7 +220,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -228,7 +228,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -261,7 +261,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(29)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -277,7 +277,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(31)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -293,7 +293,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(33)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -325,7 +325,7 @@ public HRESULT SetLineSpacing([NativeTypeName("const DWRITE_LINE_SPACING *")] DW [VtblIndex(37)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING* lineSpacingOptions) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), lineSpacingOptions); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), lineSpacingOptions); } public interface Interface : IDWriteTextFormat1.Interface @@ -374,28 +374,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -407,16 +407,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -428,19 +428,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; @@ -452,6 +452,6 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing1; + public delegate* unmanaged GetLineSpacing1; } } diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs index a2d442bd51..40e6ff04ea 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs @@ -113,7 +113,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -202,7 +202,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -210,7 +210,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -218,7 +218,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -226,7 +226,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -259,7 +259,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(29)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[29]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[29]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -275,7 +275,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(31)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[31]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[31]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -291,7 +291,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(33)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[33]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[33]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -323,7 +323,7 @@ public HRESULT SetLineSpacing([NativeTypeName("const DWRITE_LINE_SPACING *")] DW [VtblIndex(37)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING* lineSpacingOptions) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[37]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), lineSpacingOptions); + return ((delegate* unmanaged)(lpVtbl[37]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), lineSpacingOptions); } /// @@ -340,7 +340,7 @@ public HRESULT SetFontAxisValues([NativeTypeName("const DWRITE_FONT_AXIS_VALUE * [return: NativeTypeName("UINT32")] public uint GetFontAxisValueCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[39]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[39]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -356,7 +356,7 @@ public HRESULT GetFontAxisValues(DWRITE_FONT_AXIS_VALUE* fontAxisValues, [Native [VtblIndex(41)] public DWRITE_AUTOMATIC_FONT_AXES GetAutomaticFontAxes() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[41]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[41]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -423,28 +423,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -456,16 +456,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -477,19 +477,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; @@ -501,19 +501,19 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing1; + public delegate* unmanaged GetLineSpacing1; [NativeTypeName("HRESULT (const DWRITE_FONT_AXIS_VALUE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontAxisValues; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontAxisValueCount; + public delegate* unmanaged GetFontAxisValueCount; [NativeTypeName("HRESULT (DWRITE_FONT_AXIS_VALUE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontAxisValues; [NativeTypeName("DWRITE_AUTOMATIC_FONT_AXES () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAutomaticFontAxes; + public delegate* unmanaged GetAutomaticFontAxes; [NativeTypeName("HRESULT (DWRITE_AUTOMATIC_FONT_AXES) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAutomaticFontAxes; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs index 810b335800..8eb8079cc3 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs @@ -115,7 +115,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -123,7 +123,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -131,7 +131,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -139,7 +139,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -147,7 +147,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -155,7 +155,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -171,7 +171,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -204,7 +204,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -212,7 +212,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -220,7 +220,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -228,7 +228,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -365,7 +365,7 @@ public HRESULT SetLocaleName([NativeTypeName("const WCHAR *")] ushort* localeNam [VtblIndex(42)] public float GetMaxWidth() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[42]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[42]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -373,7 +373,7 @@ public float GetMaxWidth() [VtblIndex(43)] public float GetMaxHeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[43]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -613,7 +613,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(73)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[73]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[73]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -629,7 +629,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(75)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[75]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[75]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -645,7 +645,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(77)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[77]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[77]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -685,7 +685,7 @@ public HRESULT SetLineSpacing([NativeTypeName("const DWRITE_LINE_SPACING *")] DW [VtblIndex(82)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING* lineSpacingOptions) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[82]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingOptions); + return ((delegate* unmanaged)(lpVtbl[82]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingOptions); } /// @@ -748,28 +748,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -781,16 +781,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -841,10 +841,10 @@ public partial struct Vtbl public delegate* unmanaged SetLocaleName; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxWidth; + public delegate* unmanaged GetMaxWidth; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxHeight; + public delegate* unmanaged GetMaxHeight; [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection1; @@ -934,19 +934,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; @@ -961,7 +961,7 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing1; + public delegate* unmanaged GetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_METRICS1 *, UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLineMetrics1; diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs index 40a03ade2d..771a518c61 100644 --- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs +++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs @@ -113,7 +113,7 @@ public HRESULT SetLineSpacing(DWRITE_LINE_SPACING_METHOD lineSpacingMethod, floa [VtblIndex(11)] public DWRITE_TEXT_ALIGNMENT GetTextAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[11]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[11]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -121,7 +121,7 @@ public DWRITE_TEXT_ALIGNMENT GetTextAlignment() [VtblIndex(12)] public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[12]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[12]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -129,7 +129,7 @@ public DWRITE_PARAGRAPH_ALIGNMENT GetParagraphAlignment() [VtblIndex(13)] public DWRITE_WORD_WRAPPING GetWordWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[13]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[13]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -137,7 +137,7 @@ public DWRITE_WORD_WRAPPING GetWordWrapping() [VtblIndex(14)] public DWRITE_READING_DIRECTION GetReadingDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[14]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[14]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -145,7 +145,7 @@ public DWRITE_READING_DIRECTION GetReadingDirection() [VtblIndex(15)] public DWRITE_FLOW_DIRECTION GetFlowDirection() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[15]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[15]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -153,7 +153,7 @@ public DWRITE_FLOW_DIRECTION GetFlowDirection() [VtblIndex(16)] public float GetIncrementalTabStop() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[16]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[16]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -169,7 +169,7 @@ public HRESULT GetTrimming(DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject [VtblIndex(18)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[18]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); + return ((delegate* unmanaged)(lpVtbl[18]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } /// @@ -202,7 +202,7 @@ public HRESULT GetFontFamilyName([NativeTypeName("WCHAR *")] ushort* fontFamilyN [VtblIndex(22)] public DWRITE_FONT_WEIGHT GetFontWeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[22]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[22]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -210,7 +210,7 @@ public DWRITE_FONT_WEIGHT GetFontWeight() [VtblIndex(23)] public DWRITE_FONT_STYLE GetFontStyle() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[23]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[23]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -218,7 +218,7 @@ public DWRITE_FONT_STYLE GetFontStyle() [VtblIndex(24)] public DWRITE_FONT_STRETCH GetFontStretch() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[24]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[24]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -226,7 +226,7 @@ public DWRITE_FONT_STRETCH GetFontStretch() [VtblIndex(25)] public float GetFontSize() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[25]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[25]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -363,7 +363,7 @@ public HRESULT SetLocaleName([NativeTypeName("const WCHAR *")] ushort* localeNam [VtblIndex(42)] public float GetMaxWidth() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[42]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[42]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -371,7 +371,7 @@ public float GetMaxWidth() [VtblIndex(43)] public float GetMaxHeight() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[43]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[43]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -611,7 +611,7 @@ public HRESULT SetVerticalGlyphOrientation(DWRITE_VERTICAL_GLYPH_ORIENTATION gly [VtblIndex(73)] public DWRITE_VERTICAL_GLYPH_ORIENTATION GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[73]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[73]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -627,7 +627,7 @@ public HRESULT SetLastLineWrapping(BOOL isLastLineWrappingEnabled) [VtblIndex(75)] public BOOL GetLastLineWrapping() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[75]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[75]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -643,7 +643,7 @@ public HRESULT SetOpticalAlignment(DWRITE_OPTICAL_ALIGNMENT opticalAlignment) [VtblIndex(77)] public DWRITE_OPTICAL_ALIGNMENT GetOpticalAlignment() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[77]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[77]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -683,7 +683,7 @@ public HRESULT SetLineSpacing([NativeTypeName("const DWRITE_LINE_SPACING *")] DW [VtblIndex(82)] public HRESULT GetLineSpacing(DWRITE_LINE_SPACING* lineSpacingOptions) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[82]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), lineSpacingOptions); + return ((delegate* unmanaged)(lpVtbl[82]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), lineSpacingOptions); } /// @@ -724,7 +724,7 @@ public HRESULT GetFontAxisValues([NativeTypeName("UINT32")] uint currentPosition [VtblIndex(87)] public DWRITE_AUTOMATIC_FONT_AXES GetAutomaticFontAxes() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[87]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[87]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -791,28 +791,28 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing; [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetTextAlignment; + public delegate* unmanaged GetTextAlignment; [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetParagraphAlignment; + public delegate* unmanaged GetParagraphAlignment; [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetWordWrapping; + public delegate* unmanaged GetWordWrapping; [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetReadingDirection; + public delegate* unmanaged GetReadingDirection; [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFlowDirection; + public delegate* unmanaged GetFlowDirection; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetIncrementalTabStop; + public delegate* unmanaged GetIncrementalTabStop; [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetTrimming; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing; + public delegate* unmanaged GetLineSpacing; [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection; @@ -824,16 +824,16 @@ public partial struct Vtbl public delegate* unmanaged GetFontFamilyName; [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontWeight; + public delegate* unmanaged GetFontWeight; [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStyle; + public delegate* unmanaged GetFontStyle; [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontStretch; + public delegate* unmanaged GetFontStretch; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetFontSize; + public delegate* unmanaged GetFontSize; [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLocaleNameLength; @@ -884,10 +884,10 @@ public partial struct Vtbl public delegate* unmanaged SetLocaleName; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxWidth; + public delegate* unmanaged GetMaxWidth; [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetMaxHeight; + public delegate* unmanaged GetMaxHeight; [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetFontCollection1; @@ -977,19 +977,19 @@ public partial struct Vtbl public delegate* unmanaged SetVerticalGlyphOrientation; [NativeTypeName("DWRITE_VERTICAL_GLYPH_ORIENTATION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetVerticalGlyphOrientation; + public delegate* unmanaged GetVerticalGlyphOrientation; [NativeTypeName("HRESULT (BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetLastLineWrapping; [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLastLineWrapping; + public delegate* unmanaged GetLastLineWrapping; [NativeTypeName("HRESULT (DWRITE_OPTICAL_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetOpticalAlignment; [NativeTypeName("DWRITE_OPTICAL_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetOpticalAlignment; + public delegate* unmanaged GetOpticalAlignment; [NativeTypeName("HRESULT (IDWriteFontFallback *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetFontFallback; @@ -1004,7 +1004,7 @@ public partial struct Vtbl public delegate* unmanaged SetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_SPACING *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetLineSpacing1; + public delegate* unmanaged GetLineSpacing1; [NativeTypeName("HRESULT (DWRITE_LINE_METRICS1 *, UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged GetLineMetrics1; @@ -1019,7 +1019,7 @@ public partial struct Vtbl public delegate* unmanaged GetFontAxisValues; [NativeTypeName("DWRITE_AUTOMATIC_FONT_AXES () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAutomaticFontAxes; + public delegate* unmanaged GetAutomaticFontAxes; [NativeTypeName("HRESULT (DWRITE_AUTOMATIC_FONT_AXES) __attribute__((nothrow)) __attribute__((stdcall))")] public delegate* unmanaged SetAutomaticFontAxes; diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs index 9e181131b9..2ba90dbdaf 100644 --- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs +++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs @@ -51,7 +51,7 @@ public uint Release() [VtblIndex(3)] public bool IsValid() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[3]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this)) != 0; + return ((delegate* unmanaged)(lpVtbl[3]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this)) != 0; } /// @@ -67,7 +67,7 @@ public bool IsAttributeSupported([NativeTypeName("const GUID &")] Guid* attribut [VtblIndex(5)] public bool IsPropertySupported(DXCoreAdapterProperty property) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; + return ((delegate* unmanaged)(lpVtbl[5]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; } /// @@ -91,7 +91,7 @@ public HRESULT GetPropertySize(DXCoreAdapterProperty property, [NativeTypeName(" [VtblIndex(8)] public bool IsQueryStateSupported(DXCoreAdapterState property) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; + return ((delegate* unmanaged)(lpVtbl[8]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; } /// @@ -107,7 +107,7 @@ public HRESULT QueryState(DXCoreAdapterState state, [NativeTypeName("size_t")] n [VtblIndex(10)] public bool IsSetStateSupported(DXCoreAdapterState property) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[10]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; + return ((delegate* unmanaged)(lpVtbl[10]))((IDXCoreAdapter*)Unsafe.AsPointer(ref this), property) != 0; } /// @@ -172,13 +172,13 @@ public partial struct Vtbl public delegate* unmanaged Release; [NativeTypeName("bool () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsValid; + public delegate* unmanaged IsValid; [NativeTypeName("bool (const GUID &) __attribute__((stdcall))")] public delegate* unmanaged IsAttributeSupported; [NativeTypeName("bool (DXCoreAdapterProperty) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsPropertySupported; + public delegate* unmanaged IsPropertySupported; [NativeTypeName("HRESULT (DXCoreAdapterProperty, size_t, void *) __attribute__((stdcall))")] public delegate* unmanaged GetProperty; @@ -187,13 +187,13 @@ public partial struct Vtbl public delegate* unmanaged GetPropertySize; [NativeTypeName("bool (DXCoreAdapterState) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsQueryStateSupported; + public delegate* unmanaged IsQueryStateSupported; [NativeTypeName("HRESULT (DXCoreAdapterState, size_t, const void *, size_t, void *) __attribute__((stdcall))")] public delegate* unmanaged QueryState; [NativeTypeName("bool (DXCoreAdapterState) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsSetStateSupported; + public delegate* unmanaged IsSetStateSupported; [NativeTypeName("HRESULT (DXCoreAdapterState, size_t, const void *, size_t, const void *) __attribute__((stdcall))")] public delegate* unmanaged SetState; diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs index 128a3b7be3..74724a2e64 100644 --- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs +++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs @@ -67,7 +67,7 @@ public HRESULT GetAdapterByLuid([NativeTypeName("const LUID &")] LUID* adapterLU [VtblIndex(5)] public bool IsNotificationTypeSupported(DXCoreNotificationType notificationType) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[5]))((IDXCoreAdapterFactory*)Unsafe.AsPointer(ref this), notificationType) != 0; + return ((delegate* unmanaged)(lpVtbl[5]))((IDXCoreAdapterFactory*)Unsafe.AsPointer(ref this), notificationType) != 0; } /// @@ -120,7 +120,7 @@ public partial struct Vtbl public delegate* unmanaged GetAdapterByLuid; [NativeTypeName("bool (DXCoreNotificationType) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsNotificationTypeSupported; + public delegate* unmanaged IsNotificationTypeSupported; [NativeTypeName("HRESULT (IUnknown *, DXCoreNotificationType, PFN_DXCORE_NOTIFICATION_CALLBACK, void *, uint32_t *) __attribute__((stdcall))")] public delegate* unmanaged, void*, uint*, int> RegisterEventNotification; diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs index bc828439da..408d362cde 100644 --- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs +++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs @@ -60,7 +60,7 @@ public HRESULT GetAdapter([NativeTypeName("uint32_t")] uint index, [NativeTypeNa [return: NativeTypeName("uint32_t")] public uint GetAdapterCount() { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[4]))((IDXCoreAdapterList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged)(lpVtbl[4]))((IDXCoreAdapterList*)Unsafe.AsPointer(ref this)); } /// @@ -92,7 +92,7 @@ public HRESULT Sort([NativeTypeName("uint32_t")] uint numPreferences, [NativeTyp [VtblIndex(8)] public bool IsAdapterPreferenceSupported(DXCoreAdapterPreference preference) { - return ((delegate* unmanaged[SuppressGCTransition])(lpVtbl[8]))((IDXCoreAdapterList*)Unsafe.AsPointer(ref this), preference) != 0; + return ((delegate* unmanaged)(lpVtbl[8]))((IDXCoreAdapterList*)Unsafe.AsPointer(ref this), preference) != 0; } public interface Interface : IUnknown.Interface @@ -133,7 +133,7 @@ public partial struct Vtbl public delegate* unmanaged GetAdapter; [NativeTypeName("uint32_t () __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] GetAdapterCount; + public delegate* unmanaged GetAdapterCount; [NativeTypeName("bool () __attribute__((stdcall))")] public delegate* unmanaged IsStale; @@ -145,6 +145,6 @@ public partial struct Vtbl public delegate* unmanaged Sort; [NativeTypeName("bool (DXCoreAdapterPreference) __attribute__((stdcall))")] - public delegate* unmanaged[SuppressGCTransition] IsAdapterPreferenceSupported; + public delegate* unmanaged IsAdapterPreferenceSupported; } } diff --git a/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs index f11f0872c9..07281c7b4e 100644 --- a/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs +++ b/sources/Interop/Windows/Windows/um/Shlwapi/Windows.Manual.cs @@ -14,9 +14,4 @@ public static unsafe partial class Windows /// [DllImport("shlwapi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "wnsprintfW", ExactSpelling = true)] public static extern int wnsprintf([NativeTypeName("PWSTR")] ushort* pszDest, int cchDest, [NativeTypeName("PCWSTR")] ushort* pszFmt, __arglist); - - /// - [DllImport("user32", CallingConvention = CallingConvention.Cdecl, EntryPoint = "wsprintfW", ExactSpelling = true)] - [SetsLastSystemError] - public static extern int wsprintf([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1, __arglist); } diff --git a/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs b/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs index cfb65c5c3d..444e565549 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs @@ -376,4 +376,9 @@ public static nuint SetClassLongPtrW(HWND hWnd, int nIndex, [NativeTypeName("LON [NativeTypeName("#define GR_GLOBAL ((HANDLE)-2)")] public static HANDLE GR_GLOBAL => ((HANDLE)(-2)); + + /// + [DllImport("user32", CallingConvention = CallingConvention.Cdecl, EntryPoint = "wsprintfW", ExactSpelling = true)] + [SetsLastSystemError] + public static extern int wsprintf([NativeTypeName("LPWSTR")] ushort* param0, [NativeTypeName("LPCWSTR")] ushort* param1, __arglist); } diff --git a/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs b/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs index 81c87a354d..ef9e5c9bcf 100644 --- a/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs +++ b/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs @@ -6,12 +6,20 @@ using NUnit.Framework; using System; using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D11On12On7Tests { + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ID3D11On12On7).GUID, Is.EqualTo(IID_ID3D11On12On7)); + } + /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() From b8e6285d80ed535b71659f7117b8e9016622bda0 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 11:39:55 -0700 Subject: [PATCH 08/12] Manually define missing EMR definitions --- .../Windows/Windows/um/wingdi/EMR.Manual.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sources/Interop/Windows/Windows/um/wingdi/EMR.Manual.cs diff --git a/sources/Interop/Windows/Windows/um/wingdi/EMR.Manual.cs b/sources/Interop/Windows/Windows/um/wingdi/EMR.Manual.cs new file mode 100644 index 0000000000..b924ee00d7 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/wingdi/EMR.Manual.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/wingdi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public partial struct EMR +{ + public const int EMR_COMMENT = EMR_GDICOMMENT; + + public const int EMR_DRAWESCAPE = EMR_RESERVED_105; + + public const int EMR_EXTESCAPE = EMR_RESERVED_106; + + public const int EMR_SMALLTEXTOUT = EMR_RESERVED_108; + + public const int EMR_FORCEUFIMAPPING = EMR_RESERVED_109; + + public const int EMR_NAMEDESCAPE = EMR_RESERVED_110; + + public const int EMR_SETLINKEDUFIS = EMR_RESERVED_119; + + public const int EMR_SETTEXTJUSTIFICATION = EMR_RESERVED_120; +} From a9b57790f594dfa26e3a770f97d0996c56f25de4 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 11:42:21 -0700 Subject: [PATCH 09/12] Generating bindings for um/propkey.h --- TerraFX.Interop.Windows.sln | 8 + generation/Windows/um/propkey/generate.rsp | 2 + generation/Windows/um/propkey/header.txt | 2 +- generation/Windows/um/propkey/um-propkey.h | 2 +- .../Windows/Windows/um/propkey/IMAGE.cs | 36 + .../Windows/Windows/um/propkey/PKEY.cs | 26998 ++++++++++++++++ .../Windows/Windows/um/propkey/STORAGE.cs | 48 + .../Windows/Windows/um/propkey/Windows.cs | 756 + .../Windows/Windows/um/propkey/PKEYTests.cs | 8302 +++++ 9 files changed, 36152 insertions(+), 2 deletions(-) create mode 100644 sources/Interop/Windows/Windows/um/propkey/IMAGE.cs create mode 100644 sources/Interop/Windows/Windows/um/propkey/PKEY.cs create mode 100644 sources/Interop/Windows/Windows/um/propkey/STORAGE.cs create mode 100644 sources/Interop/Windows/Windows/um/propkey/Windows.cs create mode 100644 tests/Interop/Windows/Windows/um/propkey/PKEYTests.cs diff --git a/TerraFX.Interop.Windows.sln b/TerraFX.Interop.Windows.sln index 25e0b06cf4..03ef195b58 100644 --- a/TerraFX.Interop.Windows.sln +++ b/TerraFX.Interop.Windows.sln @@ -3007,6 +3007,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "evntprov", "evntprov", "{7A generation\Windows\shared\evntprov\shared-evntprov.h = generation\Windows\shared\evntprov\shared-evntprov.h EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "propkey", "propkey", "{21B748B3-53EF-42AD-B5F3-A5215C5AE574}" + ProjectSection(SolutionItems) = preProject + generation\Windows\um\propkey\generate.rsp = generation\Windows\um\propkey\generate.rsp + generation\Windows\um\propkey\header.txt = generation\Windows\um\propkey\header.txt + generation\Windows\um\propkey\um-propkey.h = generation\Windows\um\propkey\um-propkey.h + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -3470,6 +3477,7 @@ Global {9C6E88A3-997E-4F11-AF25-18A54B110404} = {7C1DE5D1-1575-4443-8415-E7F70A687F4F} {8891C297-49D7-495C-B66E-2A77C3D5F50D} = {3BDDFFAD-B31F-4930-B557-E8486D23C67A} {7ADEB031-2298-4F79-8103-79CFF01CA00C} = {F9716DD9-2967-4295-AC71-F1FD5A9EEFEF} + {21B748B3-53EF-42AD-B5F3-A5215C5AE574} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461} diff --git a/generation/Windows/um/propkey/generate.rsp b/generation/Windows/um/propkey/generate.rsp index db66300344..981b5c62a4 100644 --- a/generation/Windows/um/propkey/generate.rsp +++ b/generation/Windows/um/propkey/generate.rsp @@ -1,5 +1,7 @@ @../../../settings.rsp @../../../remap.rsp +--exclude +DEFINE_API_PKEY --file um-propkey.h --methodClassName diff --git a/generation/Windows/um/propkey/header.txt b/generation/Windows/um/propkey/header.txt index 6ad6f1bc57..8c68ea63ac 100644 --- a/generation/Windows/um/propkey/header.txt +++ b/generation/Windows/um/propkey/header.txt @@ -1,4 +1,4 @@ // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from um/propkeydef.h in the Windows SDK for Windows 10.0.20348.0 +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/Windows/um/propkey/um-propkey.h b/generation/Windows/um/propkey/um-propkey.h index f3e7fd1d99..449a194e84 100644 --- a/generation/Windows/um/propkey/um-propkey.h +++ b/generation/Windows/um/propkey/um-propkey.h @@ -1,2 +1,2 @@ #include "..\..\..\TerraFX.h" -#include +#include diff --git a/sources/Interop/Windows/Windows/um/propkey/IMAGE.cs b/sources/Interop/Windows/Windows/um/propkey/IMAGE.cs new file mode 100644 index 0000000000..3ac0a8e9ca --- /dev/null +++ b/sources/Interop/Windows/Windows/um/propkey/IMAGE.cs @@ -0,0 +1,36 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public static partial class IMAGE +{ + [NativeTypeName("#define IMAGE_COLORSPACE_SRGB 1u")] + public const uint IMAGE_COLORSPACE_SRGB = 1U; + + [NativeTypeName("#define IMAGE_COLORSPACE_UNCALIBRATED 0xFFFFu")] + public const uint IMAGE_COLORSPACE_UNCALIBRATED = 0xFFFFU; + + [NativeTypeName("#define IMAGE_COMPRESSION_UNCOMPRESSED 1u")] + public const uint IMAGE_COMPRESSION_UNCOMPRESSED = 1U; + + [NativeTypeName("#define IMAGE_COMPRESSION_CCITT_T3 2u")] + public const uint IMAGE_COMPRESSION_CCITT_T3 = 2U; + + [NativeTypeName("#define IMAGE_COMPRESSION_CCITT_T4 3u")] + public const uint IMAGE_COMPRESSION_CCITT_T4 = 3U; + + [NativeTypeName("#define IMAGE_COMPRESSION_CCITT_T6 4u")] + public const uint IMAGE_COMPRESSION_CCITT_T6 = 4U; + + [NativeTypeName("#define IMAGE_COMPRESSION_LZW 5u")] + public const uint IMAGE_COMPRESSION_LZW = 5U; + + [NativeTypeName("#define IMAGE_COMPRESSION_JPEG 6u")] + public const uint IMAGE_COMPRESSION_JPEG = 6U; + + [NativeTypeName("#define IMAGE_COMPRESSION_PACKBITS 32773u")] + public const uint IMAGE_COMPRESSION_PACKBITS = 32773U; +} diff --git a/sources/Interop/Windows/Windows/um/propkey/PKEY.cs b/sources/Interop/Windows/Windows/um/propkey/PKEY.cs new file mode 100644 index 0000000000..965c799b77 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/propkey/PKEY.cs @@ -0,0 +1,26998 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static partial class PKEY +{ + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Address_Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x41, 0x7B, 0xC0, + 0xDF, 0xE1, + 0x93, 0x44, + 0xB1, + 0xE1, + 0xDE, + 0x59, + 0x46, + 0xFB, + 0x58, + 0xF8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Address_CountryCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x41, 0x7B, 0xC0, + 0xDF, 0xE1, + 0x93, 0x44, + 0xB1, + 0xE1, + 0xDE, + 0x59, + 0x46, + 0xFB, + 0x58, + 0xF8, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Address_Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x41, 0x7B, 0xC0, + 0xDF, 0xE1, + 0x93, 0x44, + 0xB1, + 0xE1, + 0xDE, + 0x59, + 0x46, + 0xFB, + 0x58, + 0xF8, + 0x66, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Address_RegionCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x41, 0x7B, 0xC0, + 0xDF, 0xE1, + 0x93, 0x44, + 0xB1, + 0xE1, + 0xDE, + 0x59, + 0x46, + 0xFB, + 0x58, + 0xF8, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Address_Town + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x41, 0x7B, 0xC0, + 0xDF, 0xE1, + 0x93, 0x44, + 0xB1, + 0xE1, + 0xDE, + 0x59, + 0x46, + 0xFB, + 0x58, + 0xF8, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_ChannelCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_Compression + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_EncodingBitrate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_Format + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_IsVariableBitRate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEE, 0x2F, 0x82, 0xE6, + 0x17, 0x8C, + 0x62, 0x4D, + 0x82, + 0x3C, + 0x8E, + 0x9C, + 0xFC, + 0xBD, + 0x1D, + 0x5C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_PeakValue + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0xE5, 0x79, 0x25, + 0x16, 0x11, + 0x84, 0x40, + 0xBD, + 0x9A, + 0x9B, + 0x4F, + 0x7C, + 0xB4, + 0xDF, + 0x5E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_SampleRate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_SampleSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_StreamName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Audio_StreamNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_Duration + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0xA3, 0x3C, 0x29, + 0xAA, 0x09, + 0xD2, 0x4D, + 0xB1, + 0x80, + 0x1F, + 0xE2, + 0x45, + 0x72, + 0x8A, + 0x52, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_IsOnline + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x49, 0x91, 0xEE, 0xBF, + 0xE2, 0xE3, + 0xA7, 0x49, + 0xA8, + 0x62, + 0xC0, + 0x59, + 0x88, + 0x14, + 0x5C, + 0xEC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_IsRecurring + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8D, 0x9C, 0x5B, 0x31, + 0xA9, 0x80, + 0xF9, 0x4E, + 0xAE, + 0x16, + 0x8E, + 0x74, + 0x6D, + 0xA5, + 0x1D, + 0x70, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_Location + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x18, 0x2D, 0x27, 0xF6, + 0xCC, 0xCE, + 0xB1, 0x40, + 0xB2, + 0x6A, + 0x39, + 0x11, + 0x71, + 0x7A, + 0xA7, + 0xBD, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_OptionalAttendeeAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0xAE, 0x5B, 0xD5, + 0x92, 0x38, + 0x7A, 0x41, + 0xA6, + 0x49, + 0xC6, + 0xAC, + 0x5A, + 0xAA, + 0xEA, + 0xB3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_OptionalAttendeeNames + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x07, 0x96, 0x42, 0x09, + 0x2D, 0x58, + 0x7F, 0x43, + 0x84, + 0xC3, + 0xDE, + 0x93, + 0xA2, + 0xB2, + 0x4C, + 0x3C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_OrganizerAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x42, 0x82, 0x4C, 0x74, + 0xF5, 0x4D, + 0x6C, 0x45, + 0xAB, + 0x9E, + 0x01, + 0x4E, + 0xFB, + 0x90, + 0x21, + 0xE3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_OrganizerName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF9, 0x60, 0xA6, 0xAA, + 0x65, 0x98, + 0x8E, 0x45, + 0xB4, + 0x84, + 0x01, + 0xBC, + 0x7F, + 0xE3, + 0x97, + 0x3E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_ReminderTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0x5B, 0xFC, 0x72, + 0xF9, 0x24, + 0x11, 0x40, + 0x9F, + 0x3F, + 0xAD, + 0xD2, + 0x7A, + 0xFA, + 0xD8, + 0x18, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_RequiredAttendeeAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0xD6, 0xA7, 0x0B, + 0x8D, 0x56, + 0x59, 0x41, + 0xAB, + 0x91, + 0x78, + 0x1A, + 0x91, + 0xFB, + 0x71, + 0xE5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_RequiredAttendeeNames + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0B, 0xF3, 0x3A, 0xB3, + 0x52, 0xF5, + 0x84, 0x45, + 0x93, + 0x6C, + 0xCB, + 0x93, + 0xE5, + 0xCD, + 0xA2, + 0x9F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_Resources + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x38, 0x8A, 0xF5, 0x00, + 0x4B, 0xC5, + 0x40, 0x4C, + 0x86, + 0x96, + 0x97, + 0x23, + 0x59, + 0x80, + 0xEA, + 0xE1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_ResponseStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x1F, 0x8C, 0x18, + 0x40, 0x3C, + 0x32, 0x41, + 0x9E, + 0xC5, + 0xD8, + 0xB0, + 0x3B, + 0x72, + 0xA8, + 0xA2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_ShowTimeAs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD4, 0x96, 0xF3, 0x5B, + 0xB2, 0x5E, + 0x6F, 0x46, + 0xBD, + 0xE9, + 0x2F, + 0xB3, + 0xF2, + 0x36, + 0x1D, + 0x6E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Calendar_ShowTimeAsText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCF, 0x57, 0xDA, 0x53, + 0xC0, 0x62, + 0xC4, 0x45, + 0x81, + 0xDE, + 0x76, + 0x10, + 0xBC, + 0xEF, + 0xD7, + 0xF5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_AccountName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_DateItemExpires + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAC, 0x40, 0x80, 0x42, + 0x77, 0xA1, + 0x8A, 0x4C, + 0x97, + 0x60, + 0xF6, + 0xF7, + 0x61, + 0x22, + 0x7F, + 0x9A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_Direction + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0x10, 0x53, 0x8E, + 0x60, 0xB9, + 0x46, 0x43, + 0xAE, + 0x0D, + 0x66, + 0xBC, + 0x9A, + 0x86, + 0xFB, + 0x94, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_FollowupIconIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0x34, 0xA6, 0x83, + 0xE4, 0x6F, + 0x40, 0x4F, + 0xBA, + 0x9C, + 0xC4, + 0x86, + 0x52, + 0x40, + 0xD1, + 0xF4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_HeaderItem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0x4F, 0xC3, 0xC9, + 0x41, 0x22, + 0x01, 0x44, + 0xB6, + 0x07, + 0xBD, + 0x20, + 0xED, + 0x75, + 0xAE, + 0x7F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_PolicyTag + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x41, 0x0B, 0xEC, + 0x0B, 0xAB, + 0x66, 0x4C, + 0x90, + 0xB6, + 0xC6, + 0x63, + 0x7C, + 0xDE, + 0xBB, + 0xAB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_SecurityFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0xA4, 0x19, 0x86, + 0x4D, 0x9F, + 0x29, 0x44, + 0x8C, + 0x0F, + 0xB9, + 0x96, + 0xCA, + 0x59, + 0xE3, + 0x35, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_Suffix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3A, 0x65, 0x7B, 0x80, + 0x91, 0x9E, + 0xEF, 0x43, + 0x8F, + 0x97, + 0x11, + 0xCE, + 0x04, + 0xEE, + 0x20, + 0xC5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_TaskStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC6, 0x72, 0x1A, 0xBE, + 0x1D, 0x9A, + 0xB7, 0x46, + 0xAF, + 0xE7, + 0xAF, + 0xAF, + 0x8C, + 0xEF, + 0x49, + 0x99, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Communication_TaskStatusText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x77, 0x44, 0x74, 0xA6, + 0x37, 0xC2, + 0x5B, 0x47, + 0xA0, + 0x75, + 0x54, + 0xF3, + 0x44, + 0x98, + 0x29, + 0x2A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Computer_DecoratedFreeSpace + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_AccountPictureDynamicVideo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x18, 0xB0, 0x8B, 0x0B, + 0x25, 0x27, + 0x44, 0x4B, + 0x92, + 0xBA, + 0x79, + 0x33, + 0xAE, + 0xB2, + 0xDD, + 0xE7, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_AccountPictureLarge + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x18, 0xB0, 0x8B, 0x0B, + 0x25, 0x27, + 0x44, 0x4B, + 0x92, + 0xBA, + 0x79, + 0x33, + 0xAE, + 0xB2, + 0xDD, + 0xE7, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_AccountPictureSmall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x18, 0xB0, 0x8B, 0x0B, + 0x25, 0x27, + 0x44, 0x4B, + 0x92, + 0xBA, + 0x79, + 0x33, + 0xAE, + 0xB2, + 0xDD, + 0xE7, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Anniversary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0xBA, 0xD5, 0x9A, + 0xA7, 0xCE, + 0x70, 0x44, + 0xA0, + 0x3D, + 0xB8, + 0x4E, + 0x51, + 0xB9, + 0x94, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_AssistantName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9C, 0x2C, 0x10, 0xCD, + 0x40, 0x55, + 0x88, 0x4A, + 0xA6, + 0xF6, + 0x64, + 0xE4, + 0x98, + 0x1C, + 0x8C, + 0xD1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_AssistantTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4D, 0x24, 0x93, 0x9A, + 0xAD, 0xA7, + 0xF8, 0x4F, + 0x9B, + 0x99, + 0x45, + 0xEE, + 0x4C, + 0xC0, + 0x9A, + 0xF6, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Birthday + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x2F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDD, 0xB6, 0x0F, 0x73, + 0x7C, 0xCF, + 0x6B, 0x42, + 0xA0, + 0x3F, + 0xBD, + 0x16, + 0x6C, + 0xC9, + 0xEE, + 0x24, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress1Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x77, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress1Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x75, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress1PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x78, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress1Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x76, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress1Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x74, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress2Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress2Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress2PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress2Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress2Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x79, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress3Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x81, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress3Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress3PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x82, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress3Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x80, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddress3Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x7E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressCity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x34, 0x59, 0x2B, 0x40, + 0x5A, 0xEC, + 0xC3, 0x48, + 0x93, + 0xE6, + 0x85, + 0xE8, + 0x6A, + 0x2D, + 0x93, + 0x4E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressCountry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x14, 0x73, 0xB8, 0xB0, + 0xF6, 0xFC, + 0xEB, 0x4F, + 0x8D, + 0xFF, + 0xA5, + 0x0D, + 0xA6, + 0xAF, + 0x56, + 0x1C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressPostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9E, 0xA0, 0xD4, 0xE1, + 0x58, 0xD7, + 0xD1, 0x4C, + 0xB6, + 0xEC, + 0x34, + 0xA8, + 0xB5, + 0xA7, + 0x3F, + 0x80, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressPostOfficeBox + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCE, 0x71, 0x4E, 0xBC, + 0xF9, 0x17, + 0xD5, 0x48, + 0xBE, + 0xE9, + 0x02, + 0x1D, + 0xF0, + 0xEA, + 0x54, + 0x09, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0x78, 0x6F, 0x44, + 0xC4, 0x10, + 0xCB, 0x41, + 0xA6, + 0xC4, + 0x4D, + 0x03, + 0x43, + 0x55, + 0x15, + 0x97, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessAddressStreet + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0F, 0x46, 0xD1, 0xDD, + 0xBF, 0xC0, + 0x53, 0x45, + 0x8C, + 0xE4, + 0x10, + 0x43, + 0x3C, + 0x90, + 0x8F, + 0xB0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessEmailAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC6, 0x71, 0xF2, + 0x5E, 0x7E, + 0x1F, 0x47, + 0xBA, + 0x25, + 0x7F, + 0x77, + 0xB2, + 0x86, + 0xF8, + 0x36, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessFaxNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF3, 0xF6, 0xEF, 0x91, + 0x27, 0x2E, + 0xCA, 0x42, + 0x93, + 0x3E, + 0x7C, + 0x99, + 0x9F, + 0xBE, + 0x31, + 0x0B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessHomePage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x20, 0x09, 0x31, 0x56, + 0x91, 0x24, + 0x19, 0x49, + 0x99, + 0xCE, + 0xEA, + 0xDB, + 0x06, + 0xFA, + 0xFD, + 0xB2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_BusinessTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA0, 0xE5, 0x15, 0x6A, + 0x1E, 0x0A, + 0xD7, 0x4C, + 0xBB, + 0x8C, + 0xD2, + 0xF1, + 0xB0, + 0xC9, + 0x29, + 0xBC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_CallbackTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0xD1, 0x53, 0xBF, + 0xE0, 0x49, + 0x7F, 0x4F, + 0x85, + 0x67, + 0x5A, + 0x82, + 0x1D, + 0x8A, + 0xC5, + 0x42, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_CarTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEA, 0x6D, 0xDC, 0x8F, + 0x29, 0xB9, + 0x2B, 0x41, + 0xBA, + 0x90, + 0x39, + 0x7A, + 0x25, + 0x74, + 0x65, + 0xFE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Children + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x04, 0x97, 0x72, 0xD4, + 0xF1, 0x8E, + 0xEF, 0x43, + 0x90, + 0x24, + 0x2B, + 0xD3, + 0x81, + 0x18, + 0x7F, + 0xD5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_CompanyMainTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0xE4, 0x89, 0x85, + 0x40, 0x60, + 0x3D, 0x47, + 0xB1, + 0x71, + 0x7F, + 0xA8, + 0x9C, + 0x27, + 0x08, + 0xED, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_ConnectedServiceDisplayName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4F, 0x7F, 0xB7, 0x39, + 0x04, 0xA1, + 0x63, 0x48, + 0xB3, + 0x95, + 0x2D, + 0xB2, + 0xAD, + 0x8F, + 0x7B, + 0xC1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_ConnectedServiceIdentities + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB8, 0x1E, 0xF4, 0x80, + 0xC4, 0xAF, + 0x08, 0x42, + 0xAA, + 0x5F, + 0xCC, + 0xE2, + 0x1A, + 0x62, + 0x72, + 0x81, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_ConnectedServiceName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9E, 0x4C, 0xC8, 0xB5, + 0x27, 0x59, + 0xB5, 0x46, + 0xA3, + 0xCC, + 0x93, + 0x3C, + 0x21, + 0xB7, + 0x84, + 0x69, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_ConnectedServiceSupportedActions + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0xB7, 0x9F, 0xA1, + 0x4B, 0x02, + 0x71, 0x43, + 0xA8, + 0xBF, + 0x4D, + 0x29, + 0xC3, + 0xE4, + 0xE9, + 0xC9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_DataSuppliers + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0xC2, 0x60, 0x96, + 0x3A, 0xFC, + 0x08, 0x4A, + 0xA0, + 0x96, + 0xEE, + 0xD3, + 0xAA, + 0xC4, + 0x6D, + 0xA2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Department + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x06, 0x73, 0x9F, 0xFC, + 0x8F, 0xFF, + 0x49, 0x4D, + 0x9F, + 0xB6, + 0x3F, + 0xFE, + 0x5C, + 0x09, + 0x51, + 0xEC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_DisplayBusinessPhoneNumbers + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x28, 0x40, 0x36, + 0x95, 0xD8, + 0xFE, 0x41, + 0xA5, + 0x84, + 0x30, + 0x2B, + 0x1B, + 0xB7, + 0x0A, + 0x76, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_DisplayHomePhoneNumbers + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDF, 0xBC, 0x68, 0x50, + 0x97, 0xD6, + 0x85, 0x4D, + 0x8C, + 0x53, + 0x1F, + 0x1C, + 0xDA, + 0xB0, + 0x17, + 0x63, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_DisplayMobilePhoneNumbers + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0xC3, 0xB0, 0x9C, + 0x7A, 0x9D, + 0xB1, 0x46, + 0xB4, + 0x66, + 0xDC, + 0xC6, + 0xF1, + 0xA3, + 0xD9, + 0x3D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_DisplayOtherPhoneNumbers + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0x98, 0x08, 0x03, + 0xE8, 0x8E, + 0x91, 0x41, + 0xBD, + 0x60, + 0xD3, + 0x1F, + 0x72, + 0xB7, + 0x90, + 0x0B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_EmailAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0x7F, 0xFA, 0xF8, + 0x2B, 0xD1, + 0x85, 0x47, + 0x8A, + 0x4E, + 0x69, + 0x1A, + 0x94, + 0xF7, + 0xA3, + 0xE7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_EmailAddress2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x63, 0x50, 0x96, 0x38, + 0xC8, 0xED, + 0x68, 0x42, + 0x84, + 0x91, + 0xB7, + 0x72, + 0x31, + 0x72, + 0xCF, + 0x29, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_EmailAddress3 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB4, 0x37, 0x4D, 0x64, + 0xB3, 0xE1, + 0xAD, 0x4B, + 0xB0, + 0x99, + 0x7E, + 0x7C, + 0x04, + 0x96, + 0x6A, + 0xCA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_EmailAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x37, 0xF3, 0xD8, 0x84, + 0x1D, 0x98, + 0xB3, 0x44, + 0x96, + 0x15, + 0xC7, + 0x59, + 0x6D, + 0xBA, + 0x17, + 0xE3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_EmailName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0x4F, 0x6F, 0xCC, + 0x83, 0x60, + 0xD4, 0x4B, + 0x87, + 0x54, + 0x67, + 0x4D, + 0x0D, + 0xE8, + 0x7A, + 0xB8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_FileAsName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA7, 0x4A, 0xA2, 0xF1, + 0xA7, 0x9C, + 0xF6, 0x40, + 0x89, + 0xEC, + 0x97, + 0xDE, + 0xF9, + 0xFF, + 0xE8, + 0xDB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_FirstName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x44, 0x78, 0x97, 0x14, + 0x49, 0x6B, + 0xAD, 0x4A, + 0xA7, + 0x14, + 0xA4, + 0x51, + 0x3B, + 0xF6, + 0x04, + 0x60, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_FullName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x51, 0x90, 0x5E, 0x63, + 0xA5, 0x50, + 0xA2, 0x4B, + 0xB9, + 0xDB, + 0x4E, + 0xD0, + 0x56, + 0xC7, + 0x72, + 0x96, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Gender + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0xEE, 0x8C, 0x3C, + 0xF0, 0xD4, + 0xF9, 0x4C, + 0xB7, + 0x56, + 0x4E, + 0x5D, + 0x24, + 0x44, + 0x7B, + 0xCD, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_GenderValue + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0xEE, 0x8C, 0x3C, + 0xF0, 0xD4, + 0xF9, 0x4C, + 0xB7, + 0x56, + 0x4E, + 0x5D, + 0x24, + 0x44, + 0x7B, + 0xCD, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Hobbies + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3F, 0x25, 0xC2, 0x5D, + 0x11, 0x5E, + 0xDF, 0x4A, + 0x9C, + 0xFE, + 0x91, + 0x0D, + 0xD0, + 0x1E, + 0x3E, + 0x70, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0x83, 0xF9, 0x98, + 0x7A, 0x61, + 0xB8, 0x46, + 0x85, + 0x60, + 0x5B, + 0x1B, + 0x64, + 0xBF, + 0x1F, + 0x89, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress1Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress1Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x66, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress1PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x69, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress1Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress1Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress2Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress2Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress2PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress2Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress2Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress3Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x72, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress3Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x70, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress3PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x73, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress3Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x71, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddress3Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x6F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressCity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x41, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressCountry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x5A, 0xA6, 0x08, + 0xC9, 0xF4, + 0xDD, 0x43, + 0x9D, + 0xDF, + 0xA3, + 0x3D, + 0x8E, + 0x7E, + 0xAD, + 0x85, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressPostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x70, 0xC1, 0xFC, 0x8A, + 0x46, 0x8A, + 0x53, 0x4B, + 0x9E, + 0xEE, + 0x90, + 0xBA, + 0xE7, + 0x15, + 0x1E, + 0x62, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressPostOfficeBox + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x63, 0x9F, 0x7B, + 0x3F, 0x0A, + 0x12, 0x4B, + 0x89, + 0xBD, + 0x4A, + 0xDC, + 0x51, + 0xC9, + 0x18, + 0xAF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0x23, 0x9A, 0xC8, + 0x6D, 0x7D, + 0xB8, 0x4E, + 0x87, + 0xD4, + 0x77, + 0x6A, + 0x82, + 0xD4, + 0x93, + 0xE5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeAddressStreet + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x60, 0xF1, 0xDE, 0x0A, + 0x3F, 0xDB, + 0x08, 0x43, + 0x9A, + 0x21, + 0x06, + 0x23, + 0x7B, + 0x16, + 0xFA, + 0x2A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeEmailAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x0E, 0xC9, 0x56, + 0x46, 0x9D, + 0x63, 0x49, + 0x88, + 0x6F, + 0x2E, + 0x1C, + 0xD9, + 0xA6, + 0x94, + 0xEF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeFaxNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0x04, 0x0E, 0x66, + 0xAB, 0x81, + 0x77, 0x49, + 0xA0, + 0x9F, + 0x82, + 0x31, + 0x31, + 0x13, + 0xAB, + 0x26, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_HomeTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x14, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_IMAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0xBD, 0x8D, 0xD6, + 0x74, 0x33, + 0x81, 0x4B, + 0x99, + 0x72, + 0x3E, + 0xC3, + 0x06, + 0x82, + 0xDB, + 0x3D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Initials + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0D, 0xF4, 0xD8, 0xF3, + 0xCB, 0x50, + 0xA2, 0x44, + 0x97, + 0x18, + 0x40, + 0xCB, + 0x91, + 0x19, + 0x49, + 0x5D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JA_CompanyNamePhonetic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0x36, 0x7B, 0x89, + 0x9E, 0xFE, + 0xE6, 0x43, + 0x80, + 0x66, + 0x26, + 0x0F, + 0x59, + 0x0C, + 0x01, + 0x00, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JA_FirstNamePhonetic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0x36, 0x7B, 0x89, + 0x9E, 0xFE, + 0xE6, 0x43, + 0x80, + 0x66, + 0x26, + 0x0F, + 0x59, + 0x0C, + 0x01, + 0x00, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JA_LastNamePhonetic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0x36, 0x7B, 0x89, + 0x9E, 0xFE, + 0xE6, 0x43, + 0x80, + 0x66, + 0x26, + 0x0F, + 0x59, + 0x0C, + 0x01, + 0x00, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1CompanyAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x78, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1CompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x66, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1Department + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x6A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1Manager + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x69, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1OfficeLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1Title + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo1YomiCompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2CompanyAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x79, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2CompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x6C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2Department + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x71, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2Manager + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x70, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2OfficeLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x6E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2Title + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x6D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo2YomiCompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x6B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3CompanyAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x7B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3CompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x73, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3Department + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x77, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3Manager + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x76, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3OfficeLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x75, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3Title + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x74, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobInfo3YomiCompanyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x72, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_JobTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Label + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0xAD, 0xB0, 0x97, + 0x49, 0xDF, + 0xCC, 0x49, + 0x83, + 0x4E, + 0x66, + 0x09, + 0x74, + 0xFD, + 0x75, + 0x5B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_LastName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x72, 0x36, 0x8F, + 0x70, 0xC2, + 0x7C, 0x45, + 0xB1, + 0xD4, + 0xE0, + 0x7C, + 0x5B, + 0xCD, + 0x90, + 0xC7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_MailingAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6A, 0x20, 0xAC, 0xC0, + 0x7E, 0x82, + 0x50, 0x46, + 0x95, + 0xAE, + 0x77, + 0xE2, + 0xBB, + 0x74, + 0xFC, + 0xC9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_MiddleName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x47, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_MobileTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x23, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_NickName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x4A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OfficeLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFA, 0x61, 0x81, 0x50, + 0x3B, 0x31, + 0xD5, 0x43, + 0x83, + 0xA1, + 0xC1, + 0xAC, + 0xCF, + 0x68, + 0x62, + 0x2C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress1Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x86, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress1Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x84, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress1PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x87, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress1Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x85, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress1Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x83, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress2Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress2Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x89, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress2PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress2Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress2Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x88, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress3Country + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x90, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress3Locality + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress3PostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x91, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress3Region + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddress3Street + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0xF5, 0xB6, 0xA7, + 0x78, 0xD6, + 0xC1, 0x4B, + 0xB0, + 0x5F, + 0x02, + 0x03, + 0xD2, + 0x7E, + 0x8A, + 0xA1, + 0x8D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressCity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x23, 0x29, 0x68, 0x6E, + 0x7B, 0x7F, + 0x0C, 0x4F, + 0xA3, + 0x37, + 0xCF, + 0xCA, + 0x29, + 0x66, + 0x87, + 0xBF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressCountry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x68, 0x75, 0x16, 0x8F, + 0xAE, 0x0A, + 0x22, 0x43, + 0x8E, + 0xD9, + 0x60, + 0x55, + 0xB7, + 0xB0, + 0xE3, + 0x98, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressPostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC1, 0x56, 0xC6, 0x95, + 0xBF, 0x2A, + 0x48, 0x41, + 0x9E, + 0xD3, + 0x9E, + 0xC6, + 0x02, + 0xE3, + 0xB7, + 0xCD, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressPostOfficeBox + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xEA, 0x26, 0x8B, + 0x8F, 0x05, + 0xF6, 0x43, + 0xAE, + 0xCC, + 0x40, + 0x35, + 0x68, + 0x1C, + 0xE9, + 0x77, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0x77, 0xB3, 0x71, + 0x70, 0xE5, + 0x5F, 0x42, + 0xA1, + 0x70, + 0x80, + 0x9F, + 0xAE, + 0x73, + 0xE5, + 0x4E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherAddressStreet + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x09, 0x26, 0x96, 0xFF, + 0xD6, 0xB7, + 0x99, 0x49, + 0x86, + 0x2D, + 0x95, + 0x18, + 0x0D, + 0x52, + 0x9A, + 0xEA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_OtherEmailAddresses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6B, 0x33, 0xD6, 0x11, + 0xC4, 0x38, + 0xC9, 0x4E, + 0x84, + 0xD6, + 0xEB, + 0x38, + 0xD0, + 0xB1, + 0x50, + 0xAF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PagerTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x01, 0x4E, 0x30, 0xD6, + 0xF5, 0xF8, + 0x45, 0x4F, + 0x8B, + 0x15, + 0xD0, + 0x24, + 0xA6, + 0x29, + 0x67, + 0x89, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PersonalTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x45, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PhoneNumbersCanonical + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0xD2, 0x42, 0xD0, + 0x7E, 0x92, + 0xB5, 0x40, + 0xA5, + 0x03, + 0x6E, + 0xDB, + 0xD4, + 0x2A, + 0x51, + 0x7E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Prefix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x4B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressCity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF0, 0x94, 0xEA, 0xC8, + 0xE3, 0xA9, + 0x69, 0x49, + 0xA9, + 0x4B, + 0x9C, + 0x62, + 0xA9, + 0x53, + 0x24, + 0xE0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressCountry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x79, 0x3D, 0xE5, + 0x3F, 0x0F, + 0x6E, 0x46, + 0xB2, + 0xFF, + 0x74, + 0x63, + 0x4A, + 0x3C, + 0xB7, + 0xA4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressPostalCode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x25, 0xD4, 0xBB, 0x18, + 0xFD, 0xEC, + 0xEF, 0x46, + 0xB6, + 0x12, + 0x7B, + 0x4A, + 0x60, + 0x34, + 0xED, + 0xA0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressPostOfficeBox + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0xF3, 0x5E, 0xDE, + 0xE1, 0x46, + 0x4E, 0x48, + 0x99, + 0x99, + 0x62, + 0xC5, + 0x30, + 0x83, + 0x94, + 0xC1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFE, 0x6D, 0x17, 0xF1, + 0x38, 0x71, + 0x40, 0x46, + 0x8B, + 0x4C, + 0xAE, + 0x37, + 0x5D, + 0xC7, + 0x0A, + 0x6D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryAddressStreet + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x20, 0x5B, 0xC2, 0x63, + 0xBE, 0x96, + 0x8F, 0x48, + 0x87, + 0x88, + 0xC0, + 0x9C, + 0x40, + 0x7A, + 0xD8, + 0x12, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryEmailAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x30, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_PrimaryTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Profession + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0xAF, 0x68, 0x72, + 0xE4, 0x1C, + 0x6E, 0x4F, + 0xA4, + 0x1F, + 0xB6, + 0xE4, + 0xEF, + 0x10, + 0xE4, + 0xA9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_SpouseName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0x08, 0x24, 0x9D, + 0x67, 0x31, + 0x2B, 0x42, + 0x82, + 0xB0, + 0xF5, + 0x83, + 0xB7, + 0xA7, + 0xCF, + 0xE3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Suffix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xC6, 0x6D, 0x17, + 0x88, 0x26, + 0x89, 0x4E, + 0x81, + 0x43, + 0xA3, + 0x47, + 0x80, + 0x0F, + 0x25, + 0xE9, + 0x49, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_TelexNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0x49, 0x54, 0xC5, + 0xF7, 0xC1, + 0xC1, 0x40, + 0xA7, + 0x6C, + 0xEF, + 0x8C, + 0x06, + 0x14, + 0x00, + 0x3E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_TTYTDDTelephone + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAC, 0x6B, 0xF1, 0xAA, + 0x55, 0x2B, + 0xE6, 0x45, + 0x9F, + 0x6D, + 0x41, + 0x5E, + 0xB9, + 0x49, + 0x10, + 0xDF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_WebPage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x12, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Webpage2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x7C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Contact_Webpage3 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x3D, 0xF6, 0x00, + 0xBD, 0x22, + 0x5D, 0x4A, + 0xBA, + 0x34, + 0x5C, + 0xB0, + 0xB9, + 0xBD, + 0xCB, + 0x03, + 0x7D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AcquisitionID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0x88, 0xA9, 0x65, + 0x80, 0x3C, + 0xAB, 0x40, + 0xAB, + 0xBC, + 0xEF, + 0xDA, + 0xF7, + 0x7D, + 0xBE, + 0xE2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ApplicationDefinedProperties + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x67, 0xC1, 0xBF, 0xCD, + 0x7E, 0x33, + 0xD8, 0x41, + 0xAF, + 0x7C, + 0x8C, + 0x09, + 0x20, + 0x54, + 0x29, + 0xC7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ApplicationName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x12, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppZoneIdentifier + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xFE, 0x2C, 0x50, + 0xEB, 0x47, + 0x9C, 0x45, + 0xB9, + 0x60, + 0xE6, + 0xD8, + 0x72, + 0x8F, + 0x77, + 0x01, + 0x66, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Author + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_CachedFileUpdaterContentIdForConflictResolution + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x72, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_CachedFileUpdaterContentIdForStream + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x71, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Capacity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Category + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Comment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Company + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ComputerName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ContainedItems + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x1D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ContentId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x84, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ContentStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x1B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ContentType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x1A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ContentUri + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x83, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Copyright + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_CreatorAppId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x04, 0xEA, 0xC2, + 0x3C, 0x03, + 0x91, 0x4E, + 0xBD, + 0x5B, + 0xD4, + 0x94, + 0x2F, + 0x6B, + 0xBE, + 0x49, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_CreatorOpenWithUIOptions + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x04, 0xEA, 0xC2, + 0x3C, 0x03, + 0x91, 0x4E, + 0xBD, + 0x5B, + 0xD4, + 0x94, + 0x2F, + 0x6B, + 0xBE, + 0x49, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DataObjectFormat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF8, 0xA3, 0x81, 0x1E, + 0x0F, 0xA3, + 0x47, 0x42, + 0xB9, + 0xEE, + 0x1D, + 0x03, + 0x68, + 0xA9, + 0x42, + 0x5C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateAccessed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateAcquired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF5, 0xA8, 0xBA, 0x2C, + 0x1F, 0xD8, + 0xCA, 0x47, + 0xB1, + 0x7A, + 0xF8, + 0xD8, + 0x22, + 0x30, + 0x01, + 0x31, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateArchived + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0xD7, 0xF8, 0x43, + 0x44, 0xA4, + 0x87, 0x4F, + 0x93, + 0x83, + 0x52, + 0x27, + 0x1C, + 0x9B, + 0x91, + 0x5C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateCompleted + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0xB7, 0xFA, 0x72, + 0xDA, 0xAC, + 0xE5, 0x43, + 0xB1, + 0x55, + 0xB2, + 0x43, + 0x4F, + 0x85, + 0xE6, + 0x78, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateCreated + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateImported + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x52, 0x47, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DateModified + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DefaultSaveLocationDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DueDate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x72, 0x84, 0x3F, + 0xAF, 0xE0, + 0xB2, 0x4D, + 0x80, + 0x71, + 0xC5, + 0x3F, + 0xE7, + 0x6A, + 0xE7, + 0xCE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_EndDate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x05, 0xAA, 0x5F, 0xC7, + 0xFD, 0x96, + 0xE7, 0x49, + 0x9C, + 0xB4, + 0x9F, + 0x60, + 0x10, + 0x82, + 0xD5, + 0x53, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ExpandoProperties + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE6, 0x0D, 0xA2, 0x6F, + 0x1C, 0xD1, + 0x9D, 0x4D, + 0xA1, + 0x54, + 0x64, + 0x31, + 0x76, + 0x28, + 0xC1, + 0x2D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileAllocationSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x12, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileAttributes + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileDescription + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileExtension + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0x0A, 0xF1, 0xE4, + 0xE6, 0x49, + 0x5D, 0x40, + 0x82, + 0x88, + 0xA2, + 0x3B, + 0xD4, + 0xEE, + 0xAA, + 0x6C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileFRN + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x15, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x5A, 0xCF, 0x41, + 0x5A, 0xF7, + 0x06, 0x48, + 0xBD, + 0x87, + 0x59, + 0xC7, + 0xD9, + 0x24, + 0x8E, + 0xB9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileOfflineAvailabilityStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileOwner + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x34, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FilePlaceholderStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FileVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FindData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x00, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FlagColor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x94, 0xDF, 0x67, + 0xA7, 0x0C, + 0x6F, 0x4D, + 0xB7, + 0x92, + 0x05, + 0x3A, + 0x3E, + 0x4F, + 0x03, + 0xCF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FlagColorText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x47, 0xE7, 0xEA, 0x45, + 0x2A, 0x8E, + 0xAE, 0x40, + 0x8C, + 0xBF, + 0xCA, + 0x52, + 0xAB, + 0xA6, + 0x15, + 0x2A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FlagStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FlagStatusText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0xFD, 0x54, 0xDC, + 0x9D, 0x18, + 0x71, 0x48, + 0xAA, + 0x01, + 0x08, + 0xC2, + 0xF5, + 0x7A, + 0x4A, + 0xBC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FolderKind + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FolderNameDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FreeSpace + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_FullText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0xE8, 0x3E, 0x1E, + 0x2B, 0xBC, + 0x6C, 0x47, + 0x82, + 0x37, + 0x2A, + 0xCD, + 0x1A, + 0x83, + 0x9B, + 0x22, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_HighKeywords + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0x4A, 0x6F, 0xA2, + 0x46, 0x73, + 0x99, 0x42, + 0xBE, + 0x47, + 0xEB, + 0x1A, + 0xE6, + 0x13, + 0x13, + 0x9F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_Blob + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0x93, 0x3B, 0x8C, + 0xED, 0xBA, + 0x83, 0x1A, + 0x9A, + 0x32, + 0x10, + 0x2E, + 0xE3, + 0x13, + 0xF6, + 0xEB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_DisplayName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC9, 0x3F, 0x68, 0x7D, + 0x55, 0xD1, + 0xA8, 0x45, + 0xBB, + 0x1F, + 0x89, + 0xD1, + 0x9B, + 0xCB, + 0x79, + 0x2F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_InternetSid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x49, 0x5D, 0x6D, 0x6D, + 0x5D, 0x26, + 0x88, 0x46, + 0x9F, + 0x4E, + 0x1F, + 0xDD, + 0x33, + 0xE7, + 0xCC, + 0x83, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_IsMeIdentity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x08, 0x87, 0x10, 0xA4, + 0xDF, 0x09, + 0x77, 0x43, + 0x9D, + 0xFC, + 0x6D, + 0x99, + 0x98, + 0x6D, + 0x5A, + 0x67, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_KeyProviderContext + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0x4A, 0x6F, 0xA2, + 0x46, 0x73, + 0x99, 0x42, + 0xBE, + 0x47, + 0xEB, + 0x1A, + 0xE6, + 0x13, + 0x13, + 0x9F, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_KeyProviderName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0x4A, 0x6F, 0xA2, + 0x46, 0x73, + 0x99, 0x42, + 0xBE, + 0x47, + 0xEB, + 0x1A, + 0xE6, + 0x13, + 0x13, + 0x9F, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_LogonStatusString + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF3, 0xED, 0x8D, 0xF1, + 0x7F, 0x33, + 0xC0, 0x42, + 0x9E, + 0x03, + 0xCE, + 0xE0, + 0x87, + 0x08, + 0xA8, + 0xC3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_PrimaryEmailAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x23, 0x68, 0xC1, 0xFC, + 0xED, 0xBA, + 0x24, 0x4F, + 0x9B, + 0x32, + 0xA0, + 0x98, + 0x21, + 0x17, + 0xF7, + 0xFA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_PrimarySid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x80, 0x1B, 0x2B, + 0xC1, 0xC0, + 0x87, 0x49, + 0x9E, + 0xC5, + 0x72, + 0xFA, + 0x89, + 0x81, + 0x47, + 0x87, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_ProviderData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x4B, 0xA7, 0xA8, + 0x1B, 0x36, + 0x9A, 0x4E, + 0xB7, + 0x22, + 0x7C, + 0x4A, + 0x73, + 0x30, + 0xA3, + 0x12, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_ProviderID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x49, 0xDE, 0xA7, 0x74, + 0x11, 0xFA, + 0x3D, 0x4D, + 0xA0, + 0x06, + 0xDB, + 0x7E, + 0x08, + 0x67, + 0x59, + 0x16, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_QualifiedUserName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x51, 0x0E, 0x52, 0xDA, + 0xE9, 0xF4, + 0x39, 0x47, + 0xAC, + 0x82, + 0x02, + 0xE0, + 0xA9, + 0x5C, + 0x90, + 0x30, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_UniqueID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xC3, 0x5F, 0xE5, + 0x60, 0x2B, + 0x20, 0x42, + 0x91, + 0x8E, + 0xB2, + 0x1E, + 0x8B, + 0xF1, + 0x60, + 0x16, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Identity_UserName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x03, 0x25, 0x32, 0xC4, + 0xCA, 0x78, + 0xC6, 0x49, + 0x9A, + 0xCC, + 0xA6, + 0x8E, + 0x2A, + 0xFD, + 0x7B, + 0x6B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IdentityProvider_Name + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0xFF, 0x6E, 0xB9, + 0xCA, 0x35, + 0x35, 0x4A, + 0x86, + 0x07, + 0x29, + 0xE3, + 0xA5, + 0x4C, + 0x46, + 0xEA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IdentityProvider_Picture + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6F, 0x16, 0x25, 0x24, + 0x42, 0x56, + 0x64, 0x48, + 0x99, + 0x2F, + 0x98, + 0xFD, + 0x98, + 0xF2, + 0x94, + 0xC3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ImageParsingName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x0E, 0x75, 0xD7, + 0xA4, 0xC6, + 0xEC, 0x48, + 0xB5, + 0x3E, + 0xB8, + 0x7B, + 0x52, + 0xE6, + 0xD0, + 0x73, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Importance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ImportanceText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x97, 0xB2, 0xA3, + 0x13, 0x77, + 0x1D, 0x4E, + 0xBB, + 0x40, + 0x17, + 0xDB, + 0x85, + 0xF0, + 0x18, + 0x31, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsAttachment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5C, 0x42, 0x3F, 0xF2, + 0xA1, 0x71, + 0xA8, 0x4F, + 0x92, + 0x2F, + 0x67, + 0x8E, + 0xA4, + 0xA6, + 0x04, + 0x08, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsDefaultNonOwnerSaveLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsDefaultSaveLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsDeleted + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x5F, 0xDA, 0x5C, + 0xEE, 0x33, + 0xF3, 0x4F, + 0x90, + 0x94, + 0xAE, + 0x7B, + 0xD8, + 0x86, + 0x8C, + 0x4D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsEncrypted + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0xE1, 0xE5, 0x90, + 0x8B, 0x64, + 0x26, 0x48, + 0xB2, + 0xAA, + 0xAC, + 0xAF, + 0x79, + 0x0E, + 0x35, + 0x13, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsFlagged + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x65, 0x47, 0xA8, 0x5D, + 0xFF, 0xE3, + 0x78, 0x42, + 0x86, + 0xB0, + 0xA2, + 0x79, + 0x67, + 0xFB, + 0xDD, + 0x03, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsFlaggedComplete + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD2, 0x60, 0xF3, 0xA6, + 0xF9, 0x55, + 0xDE, 0x48, + 0xB9, + 0x09, + 0x62, + 0x0E, + 0x09, + 0x0A, + 0x64, + 0x7C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsIncomplete + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD1, 0x8B, 0x6C, 0x34, + 0x6A, 0x2E, + 0x45, 0x4C, + 0x89, + 0xA4, + 0x61, + 0xB7, + 0x8E, + 0x8E, + 0x70, + 0x0F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsLocationSupported + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsPinnedToNameSpaceTree + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsRead + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsSearchOnlyItem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsSendToTarget + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x21, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_IsShared + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x4C, 0x88, 0xEF, + 0xFE, 0x2B, + 0xBB, 0x41, + 0xAA, + 0xE5, + 0x76, + 0xEE, + 0xDF, + 0x4F, + 0x99, + 0x02, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemAuthors + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0x4F, 0xA0, 0xD0, + 0x2A, 0x46, + 0xA4, 0x48, + 0xBB, + 0x2F, + 0x37, + 0x06, + 0xE8, + 0x8D, + 0xBD, + 0x7D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemClassType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAD, 0x58, 0x86, 0x04, + 0xB8, 0x2D, + 0xA4, 0x41, + 0xBB, + 0xB6, + 0xAC, + 0x1E, + 0xF1, + 0x20, + 0x7E, + 0xB1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemDate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB4, 0x74, 0xDB, 0xF7, + 0x87, 0x42, + 0x03, 0x41, + 0xAF, + 0xBA, + 0xF1, + 0xB1, + 0x3D, + 0xCD, + 0x75, + 0xCF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemFolderNameDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemFolderPathDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemFolderPathDisplayNarrow + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xED, 0x30, 0xBD, 0xDA, + 0x43, 0x00, + 0x89, 0x47, + 0xA7, + 0xF8, + 0xD0, + 0x13, + 0xA4, + 0x73, + 0x66, + 0x22, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x74, 0xA0, 0x8D, 0x6B, + 0x5C, 0x3B, + 0xBC, 0x43, + 0x88, + 0x6F, + 0x0A, + 0x2C, + 0xDC, + 0xE0, + 0x0B, + 0x6F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemNameDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemNameDisplayWithoutExtension + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemNamePrefix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF1, 0x3F, 0x31, 0xD7, + 0x7A, 0xA7, + 0x1C, 0x40, + 0x8C, + 0x99, + 0x3D, + 0xBD, + 0xD6, + 0x8A, + 0xDD, + 0x36, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemNameSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemParticipants + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x16, 0xAA, 0xD0, 0xD4, + 0x48, 0x99, + 0xA4, 0x41, + 0xAA, + 0x85, + 0xD9, + 0x7F, + 0xF9, + 0x64, + 0x69, + 0x93, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemPathDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemPathDisplayNarrow + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemSubType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x25, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemTypeText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ItemUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x1C, 0x69, 0x49, + 0x17, 0x7E, + 0x1A, 0x10, + 0xA9, + 0x1C, + 0x08, + 0x00, + 0x2B, + 0x2E, + 0xCD, + 0xA9, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Keywords + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Kind + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0xE8, 0x3E, 0x1E, + 0x2B, 0xBC, + 0x6C, 0x47, + 0x82, + 0x37, + 0x2A, + 0xCD, + 0x1A, + 0x83, + 0x9B, + 0x22, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_KindText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x95, 0xEF, 0x4B, 0xF0, + 0x85, 0xC5, + 0x97, 0x41, + 0xA2, + 0xB7, + 0xDF, + 0x46, + 0xFD, + 0xC9, + 0xEE, + 0x6D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Language + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x1C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LastSyncError + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LastSyncWarning + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x80, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LastWriterPackageFamilyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xFE, 0x2C, 0x50, + 0xEB, 0x47, + 0x9C, 0x45, + 0xB9, + 0x60, + 0xE6, + 0xD8, + 0x72, + 0x8F, + 0x77, + 0x01, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LowKeywords + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_MediumKeywords + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x1A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_MileageInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x70, 0x43, 0xF8, 0xFD, + 0x1A, 0x03, + 0xDD, 0x4A, + 0x9E, + 0x91, + 0x0D, + 0x77, + 0x5F, + 0x1C, + 0x66, + 0x05, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_MIMEType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x50, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Null + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_OfflineAvailability + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0x88, 0x46, 0xA9, + 0x9F, 0x7D, + 0x70, 0x45, + 0xA6, + 0x48, + 0xE3, + 0xDF, + 0xC0, + 0xAB, + 0x2B, + 0x3F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_OfflineStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x88, 0x24, 0x6D, + 0x18, 0x47, + 0xDA, 0x4B, + 0xAF, + 0xED, + 0xEA, + 0x0F, + 0xB4, + 0x38, + 0x6C, + 0xD8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_OriginalFileName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_OwnerSID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0xB6, 0x76, 0x5D, + 0x3D, 0x9B, + 0xBB, 0x44, + 0xB6, + 0xAE, + 0x25, + 0xDA, + 0x4F, + 0x63, + 0x8A, + 0x67, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParentalRating + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x15, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParentalRatingReason + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0x4E, 0x98, 0x10, + 0xF2, 0xF9, + 0x21, 0x43, + 0xB7, + 0xEF, + 0xBA, + 0xF1, + 0x95, + 0xAF, + 0x43, + 0x19, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParentalRatingsOrganization + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0x08, 0xFE, 0xA7, + 0x44, 0x13, + 0xF0, 0x46, + 0x8D, + 0x37, + 0x52, + 0xED, + 0x71, + 0x2A, + 0x4B, + 0xF9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParsingBindContext + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4D, 0xA0, 0xB9, 0xDF, + 0x2F, 0x36, + 0xA3, 0x4C, + 0xB3, + 0x0B, + 0x02, + 0x54, + 0xB1, + 0x7B, + 0x5B, + 0x84, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParsingName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ParsingPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x1E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PerceivedType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PercentFull + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Priority + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x74, 0xCF, 0x1F, 0x9C, + 0x97, 0x2D, + 0xBA, 0x41, + 0xB4, + 0xAE, + 0xCB, + 0x2E, + 0x36, + 0x61, + 0xA6, + 0xE4, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PriorityText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0xE9, 0x8B, 0xD9, + 0x6B, 0xB8, + 0x95, 0x40, + 0xBF, + 0x52, + 0x9D, + 0x23, + 0xB2, + 0xE0, + 0xA7, + 0x52, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Project + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x22, 0xF9, 0xA7, 0x39, + 0x7C, 0x47, + 0xDE, 0x48, + 0x8B, + 0xC8, + 0xB2, + 0x84, + 0x41, + 0xE3, + 0x42, + 0xE3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ProviderItemID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0x99, 0x1D, 0xF2, + 0xF0, 0x81, + 0x1A, 0x47, + 0xAD, + 0xEE, + 0x4E, + 0x74, + 0xB4, + 0x92, + 0x17, + 0xED, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Rating + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RatingText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA7, 0x7C, 0x19, 0x90, + 0x8F, 0xFD, + 0x8C, 0x4E, + 0x9D, + 0xA3, + 0xB5, + 0x7E, + 0x1E, + 0x60, + 0x92, + 0x95, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RemoteConflictingFile + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x73, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Security_AllowedEnterpriseDataProtectionIdentities + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x80, 0x33, 0xD4, 0x38, + 0x18, 0xD4, + 0x30, 0x48, + 0x84, + 0xD5, + 0x46, + 0x93, + 0x5A, + 0x81, + 0xC5, + 0xC6, + 0x20, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Security_EncryptionOwners + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6A, 0xFF, 0x5A, 0x5F, + 0xE5, 0x37, + 0x80, 0x47, + 0x97, + 0xEA, + 0x80, + 0xC7, + 0x56, + 0x5C, + 0xF5, + 0x35, + 0x22, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Security_EncryptionOwnersDisplay + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x1B, 0x62, 0xDE, + 0x25, 0xE1, + 0xA3, 0x43, + 0xA3, + 0x2D, + 0x56, + 0x65, + 0x44, + 0x6D, + 0x63, + 0x2A, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sensitivity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAC, 0xF6, 0xD3, 0xF8, + 0x74, 0x48, + 0xCB, 0x42, + 0xBE, + 0x59, + 0xAB, + 0x45, + 0x4B, + 0x30, + 0x71, + 0x6A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SensitivityText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0xF0, 0xC7, 0xD0, + 0x72, 0x3F, + 0x25, 0x47, + 0x85, + 0x27, + 0x12, + 0x9A, + 0x57, + 0x7C, + 0xB2, + 0x69, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SFGAOFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SharedWith + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x4C, 0x88, 0xEF, + 0xFE, 0x2B, + 0xBB, 0x41, + 0xAA, + 0xE5, + 0x76, + 0xEE, + 0xDF, + 0x4F, + 0x99, + 0x02, + 0xC8, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ShareUserRating + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SharingStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x4C, 0x88, 0xEF, + 0xFE, 0x2B, + 0xBB, 0x41, + 0xAA, + 0xE5, + 0x76, + 0xEE, + 0xDF, + 0x4F, + 0x99, + 0x02, + 0x2C, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Shell_OmitFromView + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0x25, 0x35, 0xDE, + 0x95, 0xC6, + 0xBC, 0x4C, + 0xB9, + 0x82, + 0x38, + 0xB0, + 0xAD, + 0x24, + 0xCE, + 0xD0, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SimpleRating + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x08, 0x9F, 0xA0, + 0x41, 0xAD, + 0x9F, 0x48, + 0x80, + 0x76, + 0xAA, + 0x5B, + 0xE3, + 0x08, + 0x2B, + 0xCA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Size + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SoftwareUsed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x31, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SourceItem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA5, 0xDF, 0x8C, 0x66, + 0x1B, 0x7A, + 0x23, 0x43, + 0xAE, + 0x4B, + 0xE5, + 0x27, + 0x39, + 0x3A, + 0x1D, + 0x81, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SourcePackageFamilyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x9D, 0xAE, 0xFF, + 0x8D, 0x1C, + 0xFF, 0x43, + 0x81, + 0x8C, + 0x84, + 0x40, + 0x3A, + 0xA3, + 0x73, + 0x2D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StartDate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x6E, 0xFD, 0x48, + 0x12, 0x8A, + 0xDF, 0x4C, + 0xA0, + 0x3E, + 0x4E, + 0xC5, + 0xA5, + 0x11, + 0xED, + 0xDE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Status + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x14, 0x02, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0xC0, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x46, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderCallerVersionInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderError + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileChecksum + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileHasConflict + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileIdentifier + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileRemoteUri + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x70, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderFileVersionWaterline + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xB9, 0xF9, 0xB2, + 0xC4, 0xFE, + 0xD5, 0x4D, + 0x94, + 0xD7, + 0x89, + 0x57, + 0x48, + 0x8C, + 0x80, + 0x7B, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderShareStatuses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderSharingStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x75, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StorageProviderStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Subject + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_SyncTransferStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Thumbnail + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ThumbnailCacheId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB1, 0x16, 0x6D, 0x44, + 0xAD, 0x8D, + 0x70, 0x48, + 0xA7, + 0x48, + 0x40, + 0x2E, + 0xA4, + 0x3D, + 0x78, + 0x8C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ThumbnailStream + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x1B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Title + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_TitleSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4D, 0x98, 0xF7, 0xF0, + 0x2E, 0x22, + 0xD2, 0x4A, + 0x82, + 0xAB, + 0x1D, + 0xD8, + 0xEA, + 0x40, + 0xE5, + 0x7E, + 0x2C, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_TotalFileSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Trademarks + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_TransferOrder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x6A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_TransferPosition + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_TransferSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xF1, 0xEF, 0xFC, + 0x39, 0xE8, + 0xF3, 0x4C, + 0xA9, + 0xE7, + 0xEA, + 0x22, + 0x83, + 0x20, + 0x94, + 0xB8, + 0x69, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_VolumeId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB1, 0x16, 0x6D, 0x44, + 0xAD, 0x8D, + 0x70, 0x48, + 0xA7, + 0x48, + 0x40, + 0x2E, + 0xA4, + 0x3D, + 0x78, + 0x8C, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_ZoneIdentifier + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xFE, 0x2C, 0x50, + 0xEB, 0x47, + 0x9C, 0x45, + 0xB9, + 0x60, + 0xE6, + 0xD8, + 0x72, + 0x8F, + 0x77, + 0x01, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Device_PrinterURL + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0xF3, 0x48, 0x0B, + 0x6E, 0xBE, + 0x17, 0x4F, + 0xB1, + 0x08, + 0x3C, + 0x40, + 0x73, + 0xD1, + 0x66, + 0x9A, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_DeviceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x01, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_Flags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_LastConnectedTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_Manufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_ModelNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_ProductId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_ProductVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_ServiceGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_VendorId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Bluetooth_VendorIdSource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_IsReadOnly + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_ProductId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_UsageId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_UsagePage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_VendorId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Hid_VersionNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x83, 0xF3, 0xCB, + 0x17, 0x4A, + 0x10, 0x43, + 0xA1, + 0xEB, + 0x24, + 0x7F, + 0x0B, + 0x67, + 0x59, + 0x3B, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_PrinterDriverDirectory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x66, 0x7C, 0x84, + 0xD6, 0xB8, + 0xF9, 0x4A, + 0xAB, + 0xC3, + 0x6F, + 0x4F, + 0x92, + 0x6B, + 0xC0, + 0x39, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_PrinterDriverName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x70, 0x71, 0xC4, 0xAF, + 0xF5, 0x14, + 0x8C, 0x49, + 0x8F, + 0x30, + 0xB0, + 0xD1, + 0x9B, + 0xE4, + 0x49, + 0xC6, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_PrinterEnumerationFlag + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x42, 0x07, 0xA0, + 0x8C, 0xCD, + 0x37, 0x4B, + 0x95, + 0xAB, + 0x70, + 0x75, + 0x55, + 0x87, + 0x76, + 0x7A, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_PrinterName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEF, 0x84, 0x7B, 0x0A, + 0x27, 0x0C, + 0x3F, 0x46, + 0x84, + 0xEF, + 0x06, + 0xC5, + 0x07, + 0x00, + 0x01, + 0xBE, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_PrinterPortName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0xB7, 0xC7, 0xEE, + 0x94, 0x6F, + 0xB1, 0x41, + 0x94, + 0x9F, + 0xC7, + 0x29, + 0x72, + 0x0D, + 0xD1, + 0x3C, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Proximity_SupportsNfc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x42, 0x38, 0xFB, + 0x2A, 0x9E, + 0x83, 0x4F, + 0x8F, + 0xCC, + 0x4B, + 0x07, + 0x61, + 0x13, + 0x9A, + 0xE9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Serial_PortName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5C, 0xF1, 0x6B, 0x4C, + 0x03, 0x4C, + 0xAC, 0x4A, + 0x91, + 0xF5, + 0x64, + 0xC0, + 0xF8, + 0x52, + 0xBC, + 0xF4, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Serial_UsbProductId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5C, 0xF1, 0x6B, 0x4C, + 0x03, 0x4C, + 0xAC, 0x4A, + 0x91, + 0xF5, + 0x64, + 0xC0, + 0xF8, + 0x52, + 0xBC, + 0xF4, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_Serial_UsbVendorId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5C, 0xF1, 0x6B, 0x4C, + 0x03, 0x4C, + 0xAC, 0x4A, + 0x91, + 0xF5, + 0x64, + 0xC0, + 0xF8, + 0x52, + 0xBC, + 0xF4, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_DeviceInterfaceClasses + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_UsbClass + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_UsbProductId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_UsbProtocol + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_UsbSubClass + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DeviceInterface_WinUsb_UsbVendorId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x27, 0xE1, 0x95, + 0xCC, 0x79, + 0x83, 0x4E, + 0x9C, + 0x9E, + 0x84, + 0x22, + 0x18, + 0x7B, + 0x3E, + 0x0E, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_AepId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x06, 0xE0, 0x2C, 0x3B, + 0x61, 0x5E, + 0xDE, 0x4F, + 0xBA, + 0xB8, + 0x9B, + 0x8A, + 0xAC, + 0x9B, + 0x26, + 0xDF, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Major + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Minor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Audio + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Capturing + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Information + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_LimitedDiscovery + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Networking + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_ObjectXfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Positioning + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Rendering + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Cod_Services_Telephony + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x34, 0xBD, 0x5F, + 0x1A, 0x56, + 0x2E, 0x41, + 0xBA, + 0x98, + 0x47, + 0x8A, + 0x6B, + 0x0F, + 0xEF, + 0x1D, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_LastSeenTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0x7D, 0xD6, 0x2B, + 0xEB, 0x8B, + 0xD5, 0x48, + 0x87, + 0xE0, + 0x6C, + 0xDA, + 0x34, + 0x28, + 0x04, + 0x0A, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Le_AddressType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xF0, 0x5E, 0x99, + 0xB3, 0x7E, + 0x8B, 0x4A, + 0xB9, + 0xCE, + 0x06, + 0x8B, + 0xB3, + 0xF4, + 0xAF, + 0x69, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Le_Appearance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xF0, 0x5E, 0x99, + 0xB3, 0x7E, + 0x8B, 0x4A, + 0xB9, + 0xCE, + 0x06, + 0x8B, + 0xB3, + 0xF4, + 0xAF, + 0x69, + 0x01, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Le_Appearance_Category + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xF0, 0x5E, 0x99, + 0xB3, 0x7E, + 0x8B, 0x4A, + 0xB9, + 0xCE, + 0x06, + 0x8B, + 0xB3, + 0xF4, + 0xAF, + 0x69, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Le_Appearance_Subcategory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xF0, 0x5E, 0x99, + 0xB3, 0x7E, + 0x8B, 0x4A, + 0xB9, + 0xCE, + 0x06, + 0x8B, + 0xB3, + 0xF4, + 0xAF, + 0x69, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Bluetooth_Le_IsConnectable + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0xF0, 0x5E, 0x99, + 0xB3, 0x7E, + 0x8B, 0x4A, + 0xB9, + 0xCE, + 0x06, + 0x8B, + 0xB3, + 0xF4, + 0xAF, + 0x69, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_CanPair + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x29, 0xFB, 0xC3, 0xE7, + 0xA7, 0xCA, + 0x47, 0x4F, + 0x8C, + 0x8B, + 0xBE, + 0x59, + 0xB3, + 0x30, + 0xD4, + 0xC5, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Category + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_ContainerId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x29, 0xFB, 0xC3, 0xE7, + 0xA7, 0xCA, + 0x47, 0x4F, + 0x8C, + 0x8B, + 0xBE, + 0x59, + 0xB3, + 0x30, + 0xD4, + 0xC5, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_DeviceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_IsConnected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_IsPaired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_IsPresent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_Manufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_ModelId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_ModelName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_PointOfService_ConnectionTypes + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x61, 0xBF, 0xD4, + 0x2E, 0x44, + 0xDA, 0x4A, + 0x88, + 0x2D, + 0xFA, + 0x7B, + 0x70, + 0xC8, + 0x32, + 0xD9, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_ProtocolId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x06, 0xE0, 0x2C, 0x3B, + 0x61, 0x5E, + 0xDE, 0x4F, + 0xBA, + 0xB8, + 0x9B, + 0x8A, + 0xAC, + 0x9B, + 0x26, + 0xDF, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Aep_SignalStrength + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x96, 0x59, 0xA3, + 0xCF, 0x11, + 0x35, 0x49, + 0x8B, + 0x61, + 0xA6, + 0x76, + 0x10, + 0x81, + 0xEC, + 0xDF, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_CanPair + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_Categories + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_Children + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_ContainerId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_DialProtocol_InstalledApplications + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_IsPaired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_IsPresent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_Manufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_ModelIds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_ModelName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_ProtocolIds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0x1E, 0xBA, 0x0B, + 0x66, 0x75, + 0x47, 0x4F, + 0x90, + 0xEC, + 0x25, + 0xFC, + 0x56, + 0x7C, + 0xED, + 0x2A, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportedUriSchemes + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsAudio + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsCapturing + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsImages + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsLimitedDiscovery + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsNetworking + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsObjectTransfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsPositioning + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsRendering + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsTelephony + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepContainer_SupportsVideo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x5D, 0xF5, 0x6A, + 0xDB, 0x38, + 0x95, 0x44, + 0xAC, + 0xB0, + 0xD4, + 0x72, + 0x8A, + 0x3B, + 0x83, + 0x14, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_AepId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x41, 0xC1, 0xC9, + 0x4C, 0x1B, + 0x17, 0x4F, + 0xA9, + 0xD1, + 0xF2, + 0x98, + 0x53, + 0x8C, + 0xAD, + 0xB8, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_Bluetooth_CacheMode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x31, 0x44, 0x97, + 0x51, 0x79, + 0x2E, 0x4B, + 0xB6, + 0xF0, + 0xEC, + 0xB2, + 0x93, + 0xCA, + 0xC1, + 0x19, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_Bluetooth_ServiceGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0xAA, 0x99, 0xA3, + 0x65, 0xC2, + 0x4E, 0x47, + 0xB0, + 0x73, + 0xFF, + 0xCE, + 0x57, + 0x72, + 0x17, + 0x16, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_Bluetooth_TargetDevice + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x31, 0x44, 0x97, + 0x51, 0x79, + 0x2E, 0x4B, + 0xB6, + 0xF0, + 0xEC, + 0xB2, + 0x93, + 0xCA, + 0xC1, + 0x19, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_ContainerId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x56, 0x47, 0x72, 0x71, + 0x74, 0x3E, + 0x32, 0x44, + 0x9B, + 0x59, + 0xE7, + 0xB2, + 0xF6, + 0x68, + 0xA5, + 0x93, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_FriendlyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x56, 0x47, 0x72, 0x71, + 0x74, 0x3E, + 0x32, 0x44, + 0x9B, + 0x59, + 0xE7, + 0xB2, + 0xF6, + 0x68, + 0xA5, + 0x93, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_IoT_ServiceInterfaces + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0x4E, 0xD9, 0x79, + 0x79, 0x4D, + 0xAA, 0x45, + 0x82, + 0x1A, + 0x74, + 0x85, + 0x8B, + 0x4E, + 0x4C, + 0xA6, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_ParentAepIsPaired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x41, 0xC1, 0xC9, + 0x4C, 0x1B, + 0x17, 0x4F, + 0xA9, + 0xD1, + 0xF2, + 0x98, + 0x53, + 0x8C, + 0xAD, + 0xB8, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_ProtocolId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x41, 0xC1, 0xC9, + 0x4C, 0x1B, + 0x17, 0x4F, + 0xA9, + 0xD1, + 0xF2, + 0x98, + 0x53, + 0x8C, + 0xAD, + 0xB8, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_ServiceClassId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x56, 0x47, 0x72, 0x71, + 0x74, 0x3E, + 0x32, 0x44, + 0x9B, + 0x59, + 0xE7, + 0xB2, + 0xF6, + 0x68, + 0xA5, + 0x93, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AepService_ServiceId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x41, 0xC1, 0xC9, + 0x4C, 0x1B, + 0x17, 0x4F, + 0xA9, + 0xD1, + 0xF2, + 0x98, + 0x53, + 0x8C, + 0xAD, + 0xB8, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AppPackageFamilyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0x65, 0x23, 0x51, + 0x4A, 0x0C, + 0xE8, 0x4F, + 0xB8, + 0x1F, + 0x16, + 0x6A, + 0xEC, + 0x13, + 0xF5, + 0x10, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_Microphone_IsFarField + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0xB3, 0x43, 0x89, + 0x8C, 0x38, + 0x95, 0x43, + 0xB5, + 0x57, + 0xBC, + 0x6D, + 0xBA, + 0xFF, + 0xAF, + 0xDB, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0xB3, 0x43, 0x89, + 0x8C, 0x38, + 0x95, 0x43, + 0xB5, + 0x57, + 0xBC, + 0x6D, + 0xBA, + 0xFF, + 0xAF, + 0xDB, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0xB3, 0x43, 0x89, + 0x8C, 0x38, + 0x95, 0x43, + 0xB5, + 0x57, + 0xBC, + 0x6D, + 0xBA, + 0xFF, + 0xAF, + 0xDB, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_Microphone_SignalToNoiseRatioInDb + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0xB3, 0x43, 0x89, + 0x8C, 0x38, + 0x95, 0x43, + 0xB5, + 0x57, + 0xBC, + 0x6D, + 0xBA, + 0xFF, + 0xAF, + 0xDB, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_RawProcessingSupported + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0xB3, 0x43, 0x89, + 0x8C, 0x38, + 0x95, 0x43, + 0xB5, + 0x57, + 0xBC, + 0x6D, + 0xBA, + 0xFF, + 0xAF, + 0xDB, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_AudioDevice_SpeechProcessingSupported + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x64, 0xE8, 0x1D, 0xFB, + 0x6D, 0xE0, + 0xF4, 0x47, + 0x82, + 0xA6, + 0x8A, + 0x0A, + 0xEF, + 0x44, + 0x49, + 0x3C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_BatteryLife + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_BatteryPlusCharging + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x16, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_BatteryPlusChargingText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Category + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x5B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_CategoryGroup + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x5E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_CategoryIds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x5A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_CategoryPlural + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x5C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ChallengeAep + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0x31, 0x74, 0x07, + 0x14, 0xB7, + 0xEC, 0x48, + 0x8D, + 0xE8, + 0x81, + 0x25, + 0xC0, + 0x77, + 0xAC, + 0x11, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ChargingState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Children + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC5, 0xA6, 0x40, 0x43, + 0xFA, 0x93, + 0x06, 0x47, + 0x97, + 0x2C, + 0x7B, + 0x64, + 0x80, + 0x08, + 0xA5, + 0xA7, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ClassGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_CompatibleIds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Connected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x37, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ContainerId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x06, 0xD2, 0x7E, 0x8C, + 0x8A, 0x3F, + 0x27, 0x48, + 0xB3, + 0xAB, + 0xAE, + 0x9E, + 0x1F, + 0xAE, + 0xFC, + 0x6C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DefaultTooltip + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x70, 0x0F, 0x88, + 0x82, 0x60, + 0xAC, 0x47, + 0x8A, + 0xAB, + 0xA7, + 0x39, + 0xD1, + 0xA3, + 0x00, + 0xC3, + 0x99, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceCapabilities + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceCharacteristics + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x1D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceDescription1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x51, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceDescription2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x52, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceHasProblem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0x94, 0x0B, 0x54, + 0x40, 0x8B, + 0xBC, 0x45, + 0xA8, + 0xA2, + 0x6A, + 0x0B, + 0x89, + 0x4C, + 0xBD, + 0xA2, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceInstanceId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x00, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DeviceManufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DevObjectType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x42, 0x3F, 0x67, 0x13, + 0xD6, 0xA3, + 0xF6, 0x49, + 0xB4, + 0xDA, + 0xAE, + 0x46, + 0xE0, + 0xC5, + 0x23, + 0x7C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DialProtocol_InstalledApplications + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x72, 0xCC, 0x45, 0x68, + 0x71, 0x1B, + 0xC3, 0x48, + 0xAF, + 0x86, + 0xB0, + 0x91, + 0x71, + 0xA1, + 0x9B, + 0x14, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_DiscoveryMethod + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x34, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_Domain + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_FullName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_HostName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_InstanceName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_NetworkAdapterId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_PortNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_Priority + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_ServiceName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_TextAttributes + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_Ttl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Dnssd_Weight + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0xC0, 0x79, 0xBF, + 0x74, 0xBB, + 0xEE, 0x4C, + 0xB0, + 0x70, + 0x47, + 0x0B, + 0x5A, + 0xE2, + 0x02, + 0xEA, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_FriendlyName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x00, 0x30, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_FunctionPaths + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_GlyphIcon + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0x65, 0x23, 0x51, + 0x4A, 0x0C, + 0xE8, 0x4F, + 0xB8, + 0x1F, + 0x16, + 0x6A, + 0xEC, + 0x13, + 0xF5, + 0x10, + 0x7B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_HardwareIds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Icon + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x39, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_InLocalMachineContainer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x06, 0xD2, 0x7E, 0x8C, + 0x8A, 0x3F, + 0x27, 0x48, + 0xB3, + 0xAB, + 0xAE, + 0x9E, + 0x1F, + 0xAE, + 0xFC, + 0x6C, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_InterfaceClassGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x51, 0x6E, 0x02, + 0x14, 0xB8, + 0x4B, 0x41, + 0x83, + 0xCD, + 0x85, + 0x6D, + 0x6F, + 0xEF, + 0x48, + 0x22, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_InterfaceEnabled + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x51, 0x6E, 0x02, + 0x14, 0xB8, + 0x4B, 0x41, + 0x83, + 0xCD, + 0x85, + 0x6D, + 0x6F, + 0xEF, + 0x48, + 0x22, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_InterfacePaths + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_IpAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x09, 0x30, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsDefault + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x56, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsNetworkConnected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x55, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsShared + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x54, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsSoftwareInstalling + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x26, 0x63, 0xDA, 0x83, + 0xA6, 0x97, + 0x88, 0x40, + 0x94, + 0x53, + 0xA1, + 0x92, + 0x3F, + 0x57, + 0x3B, + 0x29, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_LaunchDeviceStageFromExplorer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x4D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_LocalMachine + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x46, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_LocationPaths + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x25, 0x5C, 0xA4, + 0x1C, 0xDF, + 0xFD, 0x4E, + 0x80, + 0x20, + 0x67, + 0xD1, + 0x46, + 0xA8, + 0x50, + 0xE0, + 0x25, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Manufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x00, 0x20, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_MetadataPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x47, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_MicrophoneArray_Geometry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x9E, 0x82, 0xA1, + 0xEB, 0x27, + 0x9E, 0x45, + 0x93, + 0x5D, + 0xB2, + 0xFA, + 0xD7, + 0xB0, + 0x77, + 0x62, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_MissedCalls + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ModelId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x1E, 0xD8, 0x80, + 0x73, 0x74, + 0x0C, 0x4B, + 0x82, + 0x16, + 0xEF, + 0xC1, + 0x1A, + 0x2C, + 0x4C, + 0x8B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ModelName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x02, 0x20, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ModelNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x03, 0x20, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NetworkedTooltip + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x70, 0x0F, 0x88, + 0x82, 0x60, + 0xAC, 0x47, + 0x8A, + 0xAB, + 0xA7, + 0x39, + 0xD1, + 0xA3, + 0x00, + 0xC3, + 0x98, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NetworkName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NetworkType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NewPictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0x4B, 0x70, 0x06, + 0x30, 0xE8, + 0x81, 0x4C, + 0x91, + 0x78, + 0x91, + 0xE4, + 0xE9, + 0x5A, + 0x80, + 0xA0, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_LowBattery + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0x7F, 0xC0, 0xC4, + 0x24, 0x85, + 0x66, 0x4E, + 0xAE, + 0x3A, + 0xA6, + 0x23, + 0x5F, + 0x10, + 0x3B, + 0xEB, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_MissedCall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x48, 0xEF, 0x14, 0x66, + 0xFE, 0x4E, + 0x24, 0x44, + 0x9E, + 0xDA, + 0xC7, + 0x9F, + 0x40, + 0x4E, + 0xDF, + 0x3E, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_NewMessage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0x26, 0xE9, 0x2B, + 0x12, 0x20, + 0x42, 0x47, + 0xA5, + 0x55, + 0xF4, + 0x1B, + 0x63, + 0x8B, + 0x7D, + 0xCB, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_NewVoicemail + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x56, 0x95, 0x56, 0x59, + 0x08, 0x0A, + 0x12, 0x42, + 0x95, + 0xB9, + 0xFA, + 0xE2, + 0xAD, + 0x64, + 0x13, + 0xDB, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_StorageFull + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE1, 0x0E, 0xE0, 0xA0, + 0xC7, 0xF0, + 0x41, 0x4D, + 0xB8, + 0xE7, + 0x26, + 0xA7, + 0xBD, + 0x8D, + 0x38, + 0xB0, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notifications_StorageFullLinkText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE1, 0x0E, 0xE0, 0xA0, + 0xC7, 0xF0, + 0x41, 0x4D, + 0xB8, + 0xE7, + 0x26, + 0xA7, + 0xBD, + 0x8D, + 0x38, + 0xB0, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NotificationStore + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0x4B, 0x70, 0x06, + 0x30, 0xE8, + 0x81, 0x4C, + 0x91, + 0x78, + 0x91, + 0xE4, + 0xE9, + 0x5A, + 0x80, + 0xA0, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_NotWorkingProperly + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x53, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Paired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x4F, 0xC3, 0x78, + 0x4A, 0x10, + 0xCA, 0x4A, + 0x9E, + 0xA4, + 0x52, + 0x4D, + 0x52, + 0x99, + 0x6E, + 0x57, + 0x38, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Panel_PanelGroup + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0x9C, 0xBC, 0x8D, + 0xA9, 0x97, + 0xFF, 0x4B, + 0x9B, + 0xC6, + 0xBF, + 0xE9, + 0x5D, + 0x3E, + 0x6D, + 0xAD, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Panel_PanelId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0x9C, 0xBC, 0x8D, + 0xA9, 0x97, + 0xFF, 0x4B, + 0x9B, + 0xC6, + 0xBF, + 0xE9, + 0x5D, + 0x3E, + 0x6D, + 0xAD, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Parent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC5, 0xA6, 0x40, 0x43, + 0xFA, 0x93, + 0x06, 0x47, + 0x97, + 0x2C, + 0x7B, + 0x64, + 0x80, + 0x08, + 0xA5, + 0xA7, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PhoneLineTransportDevice_Connected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0x2F, 0xCF, 0xAE, + 0x00, 0x1D, + 0xEE, 0x4F, + 0x8A, + 0x6D, + 0xA7, + 0x0D, + 0x71, + 0x9B, + 0x77, + 0x2B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PhysicalDeviceLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0x94, 0x0B, 0x54, + 0x40, 0x8B, + 0xBC, 0x45, + 0xA8, + 0xA2, + 0x6A, + 0x0B, + 0x89, + 0x4C, + 0xBD, + 0xA2, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PlaybackPositionPercent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xDE, 0x33, 0x36, + 0x25, 0x68, + 0x81, 0x43, + 0xA4, + 0x9B, + 0x9F, + 0x6B, + 0xA1, + 0x3A, + 0x14, + 0x71, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PlaybackState + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xDE, 0x33, 0x36, + 0x25, 0x68, + 0x81, 0x43, + 0xA4, + 0x9B, + 0x9F, + 0x6B, + 0xA1, + 0x3A, + 0x14, + 0x71, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PlaybackTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xDE, 0x33, 0x36, + 0x25, 0x68, + 0x81, 0x43, + 0xA4, + 0x9B, + 0x9F, + 0x6B, + 0xA1, + 0x3A, + 0x14, + 0x71, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Present + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0x94, 0x0B, 0x54, + 0x40, 0x8B, + 0xBC, 0x45, + 0xA8, + 0xA2, + 0x6A, + 0x0B, + 0x89, + 0x4C, + 0xBD, + 0xA2, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PresentationUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x06, 0x20, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_PrimaryCategory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_RemainingDuration + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xDE, 0x33, 0x36, + 0x25, 0x68, + 0x81, 0x43, + 0xA4, + 0x9B, + 0x9F, + 0x6B, + 0xA1, + 0x3A, + 0x14, + 0x71, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_RestrictedInterface + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x51, 0x6E, 0x02, + 0x14, 0xB8, + 0x4B, 0x41, + 0x83, + 0xCD, + 0x85, + 0x6D, + 0x6F, + 0xEF, + 0x48, + 0x22, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Roaming + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_SafeRemovalRequired + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0x76, 0xD9, 0xAF, + 0xA3, 0x86, + 0x10, 0x42, + 0xB6, + 0x7C, + 0x28, + 0x9C, + 0x41, + 0xAA, + 0xBE, + 0x55, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_SchematicName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x51, 0x6E, 0x02, + 0x14, 0xB8, + 0x4B, 0x41, + 0x83, + 0xCD, + 0x85, + 0x6D, + 0x6F, + 0xEF, + 0x48, + 0x22, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ServiceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x00, 0x40, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_ServiceId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x3B, 0x6A, 0x65, + 0xC0, 0xEC, + 0xFD, 0x43, + 0x84, + 0x77, + 0x4A, + 0xE0, + 0x40, + 0x4A, + 0x96, + 0xCD, + 0x01, 0x40, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_SharedTooltip + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x70, 0x0F, 0x88, + 0x82, 0x60, + 0xAC, 0x47, + 0x8A, + 0xAB, + 0xA7, + 0x39, + 0xD1, + 0xA3, + 0x00, + 0xC3, + 0x97, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_SignalStrength + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_SmartCards_ReaderKind + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0xB8, 0xB5, 0xD6, + 0xBD, 0x18, + 0x4D, 0x4B, + 0xB2, + 0xEC, + 0x9E, + 0x38, + 0xAF, + 0xFE, + 0xDA, + 0x82, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Status + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x03, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Status1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x01, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Status2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0xD4, 0x8D, 0xD0, + 0x9E, 0x3A, + 0x2E, 0x46, + 0x82, + 0x90, + 0x7B, + 0x63, + 0x6B, + 0x25, + 0x76, + 0xB9, + 0x02, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_StorageCapacity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_StorageFreeSpace + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_StorageFreeSpacePercent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_TextMessages + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Voicemail + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0x1F, 0xCD, 0x49, + 0x26, 0x56, + 0x17, 0x4B, + 0xA4, + 0xE8, + 0x18, + 0xB4, + 0xAA, + 0x1A, + 0x22, + 0x13, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiaDeviceType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC6, 0x1F, 0xDD, 0x6B, + 0x0F, 0x81, + 0xD0, 0x11, + 0xBE, + 0xC7, + 0x08, + 0x00, + 0x2B, + 0xE2, + 0x09, + 0x2F, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFi_InterfaceGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0x67, 0x11, 0xEF, + 0xFC, 0xCB, + 0x41, 0x43, + 0xA5, + 0x68, + 0xA7, + 0xC9, + 0x1A, + 0x68, + 0x98, + 0x2C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_DeviceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_GroupId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_InformationElements + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_InterfaceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_InterfaceGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_IsConnected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_IsLegacyDevice + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_IsMiracastLcpSupported + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_IsVisible + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_MiracastVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_Services + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirect_SupportedChannelList + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x93, 0x06, 0x15, + 0xE7, 0xE3, + 0x0F, 0x45, + 0x86, + 0x37, + 0x82, + 0x23, + 0x3E, + 0xBE, + 0x5F, + 0x6E, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_AdvertisementId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_RequestServiceInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_ServiceAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_ServiceConfigMethods + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_ServiceInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WiFiDirectServices_ServiceName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x77, 0xB3, 0x31, + 0x5E, 0x7C, + 0x05, 0x40, + 0x93, + 0xE6, + 0xE9, + 0x53, + 0xF9, + 0x2B, + 0x82, + 0xE9, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_WinPhone8CameraFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1C, 0xD6, 0xB4, 0xB7, + 0x64, 0x5A, + 0x87, 0x41, + 0xA5, + 0x2E, + 0xB1, + 0x53, + 0x9F, + 0x35, + 0x90, + 0x99, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Devices_Wwan_InterfaceGuid + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0x67, 0x11, 0xFF, + 0xFC, 0xCB, + 0x41, 0x43, + 0xA5, + 0x68, + 0xA7, + 0xC9, + 0x1A, + 0x68, + 0x98, + 0x2C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Storage_Portable + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0xBE, 0x1E, 0x4D, + 0x03, 0x08, + 0x74, 0x47, + 0x98, + 0x42, + 0xB7, + 0x7D, + 0xB5, + 0x02, + 0x65, + 0xE9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Storage_RemovableMedia + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0xBE, 0x1E, 0x4D, + 0x03, 0x08, + 0x74, 0x47, + 0x98, + 0x42, + 0xB7, + 0x7D, + 0xB5, + 0x02, + 0x65, + 0xE9, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Storage_SystemCritical + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0xBE, 0x1E, 0x4D, + 0x03, 0x08, + 0x74, 0x47, + 0x98, + 0x42, + 0xB7, + 0x7D, + 0xB5, + 0x02, + 0x65, + 0xE9, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_ByteCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_CharacterCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_ClientID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0x7B, 0x6D, 0x27, + 0x34, 0x5B, + 0xB0, 0x4F, + 0xAA, + 0x4B, + 0x15, + 0x8E, + 0xD1, + 0x2A, + 0x18, + 0x09, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Contributor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0x11, 0x34, 0xF3, + 0x1B, 0xDA, + 0x09, 0x45, + 0x9B, + 0x3D, + 0x11, + 0x95, + 0x04, + 0xDC, + 0x7A, + 0xBB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_DateCreated + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_DatePrinted + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_DateSaved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Division + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE6, 0x5E, 0x00, 0x1E, + 0x27, 0xBF, + 0x8B, 0x42, + 0xB0, + 0x1C, + 0x79, + 0x67, + 0x6A, + 0xCD, + 0x28, + 0x70, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_DocumentID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC8, 0x05, 0x88, 0xE0, + 0x95, 0xE3, + 0xDF, 0x40, + 0x80, + 0xD2, + 0x54, + 0xF0, + 0xD6, + 0xC4, + 0x31, + 0x54, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_HiddenSlideCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_LastAuthor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_LineCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Manager + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_MultimediaClipCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_NoteCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_PageCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_ParagraphCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_PresentationFormat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_RevisionNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Security + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x13, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_SlideCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Template + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_TotalEditingTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_Version + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xD5, 0xCD, 0xD5, + 0x9C, 0x2E, + 0x1B, 0x10, + 0x93, + 0x97, + 0x08, + 0x00, + 0x2B, + 0x2C, + 0xF9, + 0xAE, + 0x1D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Document_WordCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0x85, 0x9F, 0xF2, + 0xF9, 0x4F, + 0x68, 0x10, + 0xAB, + 0x91, + 0x08, + 0x00, + 0x2B, + 0x27, + 0xB3, + 0xD9, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_DatePlayExpires + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_DatePlayStarts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_Description + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_IsDisabled + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_IsProtected + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DRM_PlayCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x19, 0xAC, 0xAE, + 0xAE, 0x89, + 0x08, 0x45, + 0xB9, + 0xB7, + 0xBB, + 0x86, + 0x7A, + 0xBE, + 0xE2, + 0xED, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Altitude + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4F, 0xDB, 0x7E, 0x82, + 0x73, 0x5B, + 0xA7, 0x44, + 0x89, + 0x1D, + 0xFD, + 0xFF, + 0xAB, + 0xEA, + 0x35, + 0xCA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_AltitudeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCB, 0x2D, 0x34, 0x78, + 0x58, 0xE3, + 0x45, 0x41, + 0xAE, + 0x9A, + 0x6B, + 0xFE, + 0x4E, + 0x0F, + 0x9F, + 0x51, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_AltitudeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x1E, 0xAD, 0x2D, + 0x6D, 0x81, + 0xD3, 0x40, + 0x9E, + 0xC3, + 0xC9, + 0x77, + 0x3B, + 0xE2, + 0xAA, + 0xDE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_AltitudeRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x62, 0xAC, 0x46, + 0xEA, 0x75, + 0x15, 0x45, + 0x86, + 0x7F, + 0x6D, + 0xC4, + 0x32, + 0x1C, + 0x58, + 0x44, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_AreaInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x33, 0x2E, 0x97, + 0x7E, 0xAC, + 0xF1, 0x49, + 0x8A, + 0xDF, + 0xA7, + 0x0D, + 0x07, + 0xA9, + 0xBC, + 0xAB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Date + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x12, 0xC8, 0x02, 0x36, + 0x3B, 0x0F, + 0xF0, 0x45, + 0x85, + 0xAD, + 0x60, + 0x34, + 0x68, + 0xD6, + 0x94, + 0x23, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestBearing + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0x4B, 0x6D, 0xC6, + 0x88, 0xE8, + 0xCC, 0x47, + 0xB9, + 0x9F, + 0x9D, + 0xCA, + 0x3E, + 0xE3, + 0x4D, + 0xEA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestBearingDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF8, 0xF4, 0xBC, 0x7A, + 0x3F, 0x7C, + 0x88, 0x49, + 0xAC, + 0x91, + 0x8D, + 0x2C, + 0x2E, + 0x97, + 0xEC, + 0xA5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestBearingNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x1D, 0x3B, 0xBA, + 0xEE, 0x86, + 0x5D, 0x4B, + 0xA2, + 0xA4, + 0xA2, + 0x71, + 0xA4, + 0x29, + 0xF0, + 0xCF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestBearingRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x93, 0x43, 0xB8, 0x9A, + 0x0F, 0x2A, + 0x75, 0x4B, + 0xBB, + 0x22, + 0x72, + 0x79, + 0x78, + 0x69, + 0x77, + 0xCB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestDistance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x04, 0xAE, 0x3E, 0xA9, + 0x04, 0x68, + 0x24, 0x4F, + 0xAC, + 0x81, + 0x09, + 0xB2, + 0x66, + 0x45, + 0x21, + 0x18, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestDistanceDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9B, 0xC9, 0xC2, 0x9B, + 0x71, 0xAC, + 0x27, 0x41, + 0x9D, + 0x1C, + 0x25, + 0x96, + 0xD0, + 0xD7, + 0xDC, + 0xB7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestDistanceNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x47, 0xDA, 0x2B, + 0xC6, 0x08, + 0xE1, 0x4F, + 0x80, + 0xBC, + 0xA7, + 0x2F, + 0xC5, + 0x17, + 0xC5, + 0xD0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestDistanceRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD3, 0xF2, 0x4D, 0xED, + 0x95, 0x86, + 0x0B, 0x45, + 0x85, + 0x6F, + 0xF5, + 0xC1, + 0xC5, + 0x3A, + 0xCB, + 0x66, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLatitude + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC5, 0x7C, 0x1D, 0x9D, + 0x39, 0x5C, + 0x1C, 0x45, + 0x86, + 0xB3, + 0x92, + 0x8E, + 0x2D, + 0x18, + 0xCC, + 0x47, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLatitudeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x22, 0x37, 0x3A, + 0xCA, 0x7F, + 0xA7, 0x49, + 0x99, + 0xD5, + 0xE4, + 0x7B, + 0xB2, + 0xD4, + 0xE7, + 0xAB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLatitudeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF6, 0xB6, 0xF4, 0xEC, + 0xA6, 0xD5, + 0x3C, 0x43, + 0xBB, + 0x92, + 0x40, + 0x76, + 0x65, + 0x0F, + 0xC8, + 0x90, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLatitudeRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB9, 0x20, 0xA8, 0xCE, + 0x61, 0xCE, + 0x85, 0x48, + 0xA1, + 0x28, + 0x00, + 0x5D, + 0x90, + 0x87, + 0xC1, + 0x92, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLongitude + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0x62, 0xA9, 0x47, + 0x4C, 0xCB, + 0x07, 0x48, + 0x8A, + 0xD3, + 0x40, + 0xB9, + 0xD9, + 0xDB, + 0xC6, + 0xBC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLongitudeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE5, 0x69, 0x5D, 0x42, + 0xAD, 0x48, + 0x00, 0x49, + 0x8D, + 0x80, + 0x6E, + 0xB6, + 0xB8, + 0xD0, + 0xAC, + 0x86, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLongitudeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0x02, 0x25, 0xA3, + 0x6D, 0xFB, + 0xD5, 0x48, + 0x9A, + 0x89, + 0xDB, + 0xCA, + 0xCE, + 0x75, + 0xCC, + 0xCF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DestLongitudeRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x1E, 0x2C, 0x18, + 0x1C, 0x7C, + 0x83, 0x40, + 0xAB, + 0x4B, + 0xAC, + 0x6C, + 0x9F, + 0x4E, + 0xD1, + 0x28, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Differential + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x25, 0xEE, 0xF4, 0xAA, + 0x3B, 0xBD, + 0xD7, 0x4D, + 0xBF, + 0xC4, + 0x47, + 0xF7, + 0x7B, + 0xB0, + 0x0F, + 0x6D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DOP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xFB, 0xF8, 0x0C, + 0x37, 0x18, + 0xF1, 0x42, + 0xA6, + 0x97, + 0xA7, + 0x01, + 0x7A, + 0xA2, + 0x89, + 0xB9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DOPDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC5, 0x94, 0xBE, 0xA0, + 0xBA, 0x50, + 0x7B, 0x48, + 0xBD, + 0x35, + 0x06, + 0x54, + 0xBE, + 0x88, + 0x81, + 0xED, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_DOPNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x16, 0x6B, 0x16, 0x47, + 0x4F, 0x36, + 0xA0, 0x4A, + 0x9F, + 0x31, + 0xE2, + 0xAB, + 0x3D, + 0xF4, + 0x49, + 0xC3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_ImgDirection + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x3C, 0x47, 0x16, + 0x17, 0xD0, + 0xD9, 0x4E, + 0xBA, + 0x4D, + 0xB6, + 0xBA, + 0xA5, + 0x5D, + 0xBC, + 0xF8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_ImgDirectionDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x95, 0x45, 0xB2, 0x10, + 0xA2, 0x41, + 0x20, 0x4E, + 0x93, + 0xC2, + 0x57, + 0x61, + 0xC1, + 0x39, + 0x5F, + 0x32, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_ImgDirectionNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0x77, 0x58, 0xDC, + 0x5F, 0x22, + 0xF7, 0x45, + 0xBA, + 0xC7, + 0xE8, + 0x13, + 0x34, + 0xB6, + 0x13, + 0x0A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_ImgDirectionRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0xA5, 0xAA, 0xA4, + 0xD0, 0x1A, + 0x5F, 0x44, + 0x81, + 0x1A, + 0x0F, + 0x8F, + 0x6E, + 0x67, + 0xF6, + 0xB5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Latitude + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFF, 0xCF, 0x27, 0x87, + 0x68, 0x48, + 0xC6, 0x4E, + 0xAD, + 0x5B, + 0x81, + 0xB9, + 0x85, + 0x21, + 0xD1, + 0xAB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LatitudeDecimal + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0xCD, 0x55, 0x0F, + 0x49, 0x4F, + 0x0D, 0x45, + 0x92, + 0xC1, + 0xDC, + 0xD1, + 0x63, + 0x01, + 0xB1, + 0xB7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LatitudeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEE, 0x34, 0xE6, 0x16, + 0xFF, 0x2B, + 0x7B, 0x49, + 0xBD, + 0x8A, + 0x43, + 0x41, + 0xAD, + 0x39, + 0xEE, + 0xB9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LatitudeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD1, 0xAA, 0xDA, 0x7D, + 0xC8, 0xCC, + 0xAE, 0x41, + 0xB7, + 0x50, + 0xB2, + 0xCB, + 0x80, + 0x31, + 0xAE, + 0xA2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LatitudeRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x52, 0x02, 0x9C, 0x02, + 0x86, 0x5B, + 0xC7, 0x46, + 0xAC, + 0xA0, + 0x27, + 0x69, + 0xFF, + 0xC8, + 0xE3, + 0xD4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Longitude + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB2, 0xDB, 0xC4, 0xC4, + 0x93, 0xB5, + 0x6B, 0x46, + 0xBB, + 0xDA, + 0xD0, + 0x3D, + 0x27, + 0xD5, + 0xE4, + 0x3A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LongitudeDecimal + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0xC1, 0x79, 0x46, + 0x4D, 0x84, + 0x90, 0x45, + 0xBA, + 0xF5, + 0xF3, + 0x22, + 0x23, + 0x1F, + 0x1B, + 0x81, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LongitudeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6C, 0x17, 0x6E, 0xBE, + 0x34, 0x45, + 0x2C, 0x4D, + 0xAC, + 0xE5, + 0x31, + 0xDE, + 0xDA, + 0xC1, + 0x60, + 0x6B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LongitudeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0xF6, 0xB0, 0x02, + 0x14, 0xA9, + 0x45, 0x4E, + 0x82, + 0x1D, + 0x1D, + 0xDA, + 0x45, + 0x2E, + 0xD2, + 0xC4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_LongitudeRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0xF2, 0xDC, 0x33, + 0xD5, 0x28, + 0x4C, 0x46, + 0x80, + 0x35, + 0x1E, + 0xE9, + 0xEF, + 0xD2, + 0x52, + 0x78, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_MapDatum + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE6, 0xDA, 0xA2, 0x2C, + 0xDC, 0xED, + 0x7D, 0x40, + 0xBE, + 0xF1, + 0x77, + 0x39, + 0x42, + 0xAB, + 0xFA, + 0x95, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_MeasureMode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0xED, 0x15, 0xA0, + 0xEA, 0xAA, + 0x58, 0x4D, + 0x8A, + 0x86, + 0x3C, + 0x58, + 0x69, + 0x20, + 0xEA, + 0x0B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_ProcessingMethod + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0x9E, 0xD4, 0x59, + 0x0F, 0x84, + 0xA9, 0x4A, + 0xA9, + 0x39, + 0xE2, + 0x09, + 0x9B, + 0x7F, + 0x63, + 0x99, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Satellites + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0xE5, 0x7E, 0x46, + 0x25, 0x1F, + 0x57, 0x45, + 0xAD, + 0x4E, + 0xB8, + 0xB5, + 0x8B, + 0x0D, + 0x9C, + 0x15, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Speed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0x08, 0x5D, 0xDA, + 0x76, 0x6E, + 0x1B, 0x4E, + 0xBA, + 0xBD, + 0x70, + 0x02, + 0x1B, + 0xD2, + 0x54, + 0x94, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_SpeedDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0x2D, 0x12, 0x7D, + 0x5E, 0xAE, + 0x35, 0x43, + 0x88, + 0x41, + 0xD7, + 0x1E, + 0x7C, + 0xE7, + 0x2F, + 0x53, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_SpeedNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3D, 0xCE, 0xC9, 0xAC, + 0x13, 0xC2, + 0x42, 0x49, + 0x8B, + 0x48, + 0x6D, + 0x08, + 0x20, + 0xF2, + 0x1C, + 0x6D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_SpeedRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC9, 0xF4, 0xF7, 0xEC, + 0x4F, 0x54, + 0x6D, 0x4D, + 0x9D, + 0x98, + 0x8A, + 0xD7, + 0x9A, + 0xDA, + 0xF4, + 0x53, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Status + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF4, 0x91, 0x54, 0x12, + 0x8F, 0x81, + 0xB2, 0x46, + 0x91, + 0xB5, + 0xD5, + 0x37, + 0x75, + 0x36, + 0x17, + 0xB2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_Track + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x99, 0xC0, 0x76, + 0x33, 0x7C, + 0xE3, 0x49, + 0x9E, + 0x7E, + 0xCD, + 0xBA, + 0x87, + 0x2C, + 0xFA, + 0xDA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_TrackDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0x92, 0xD1, 0xC8, + 0xF6, 0x01, + 0xC0, 0x40, + 0xAC, + 0x86, + 0x2F, + 0x3A, + 0x4A, + 0xD0, + 0x07, + 0x70, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_TrackNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF4, 0x26, 0x29, 0x70, + 0xA6, 0x44, + 0xE1, 0x43, + 0xAE, + 0x71, + 0x45, + 0x62, + 0x71, + 0x16, + 0x89, + 0x3B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_TrackRef + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFE, 0xE6, 0xDB, 0x35, + 0xC3, 0x44, + 0x00, 0x44, + 0xAA, + 0xAE, + 0xD2, + 0xC7, + 0x99, + 0xC4, + 0x07, + 0xE8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_GPS_VersionID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0x4D, 0x70, 0x22, + 0xB2, 0xC6, + 0x99, 0x4A, + 0x8E, + 0x56, + 0xF1, + 0x6D, + 0xF8, + 0xC9, + 0x25, + 0x99, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_History_VisitCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x27, 0xBF, 0x5C, + 0xCF, 0x48, + 0x08, 0x42, + 0xB9, + 0x0E, + 0xEE, + 0x5E, + 0x5D, + 0x42, + 0x02, + 0x94, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_BitDepth + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_ColorSpace + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x01, 0xA0, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_CompressedBitsPerPixel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x6F, 0x4B, 0x36, + 0xAB, 0x37, + 0x2A, 0x48, + 0xBE, + 0x2B, + 0xAE, + 0x02, + 0xF6, + 0x0D, + 0x43, + 0x18, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_CompressedBitsPerPixelDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE1, 0x44, 0x88, 0x1F, + 0xAD, 0x24, + 0x08, 0x45, + 0x9D, + 0xFD, + 0x53, + 0x26, + 0xA4, + 0x15, + 0xCE, + 0x02, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_CompressedBitsPerPixelNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x48, 0x71, 0x1A, 0xD2, + 0x2C, 0xD3, + 0x24, 0x46, + 0x89, + 0x00, + 0x27, + 0x72, + 0x10, + 0xF7, + 0x9C, + 0x0F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_Compression + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x03, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_CompressionText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6F, 0xE6, 0x08, 0x3F, + 0x44, 0x2F, + 0xB9, 0x4B, + 0xA6, + 0x82, + 0xAC, + 0x35, + 0xD2, + 0x56, + 0x23, + 0x22, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_Dimensions + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_HorizontalResolution + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_HorizontalSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_ImageID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x05, 0xBE, 0xDA, 0x10, + 0xAA, 0x32, + 0x29, 0x4C, + 0xBF, + 0x1A, + 0x63, + 0xE2, + 0xD2, + 0x20, + 0x58, + 0x7F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_ResolutionUnit + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x1F, 0xB5, 0x19, + 0x92, 0x1F, + 0x5C, 0x4A, + 0xAB, + 0x48, + 0x7D, + 0xF0, + 0xAB, + 0xD6, + 0x74, + 0x44, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_VerticalResolution + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Image_VerticalSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Journal_Contacts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2C, 0xC8, 0xA7, 0xDE, + 0x89, 0x1D, + 0x66, 0x4A, + 0x94, + 0x27, + 0xA4, + 0xE3, + 0xDE, + 0xBA, + 0xBC, + 0xB1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Journal_EntryType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xB1, 0xBE, 0x95, + 0x6D, 0x32, + 0x44, 0x46, + 0xB3, + 0x96, + 0xCD, + 0x3E, + 0xD9, + 0x0E, + 0x6D, + 0xDF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LayoutPattern_ContentViewModeForBrowse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0xF4, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LayoutPattern_ContentViewModeForSearch + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0xF5, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_History_SelectionCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBC, 0xD6, 0xE0, 0x1C, + 0x6C, 0x53, + 0x00, 0x46, + 0xB0, + 0xDD, + 0x7E, + 0x0C, + 0x66, + 0xB3, + 0x50, + 0xD5, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_History_TargetUrlHostName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBC, 0xD6, 0xE0, 0x1C, + 0x6C, 0x53, + 0x00, 0x46, + 0xB0, + 0xDD, + 0x7E, + 0x0C, + 0x66, + 0xB3, + 0x50, + 0xD5, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_Arguments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x67, 0x26, 0x6F, 0x43, + 0xE2, 0x14, + 0xEB, 0x4F, + 0xB3, + 0x0A, + 0x14, + 0x6C, + 0x53, + 0xB5, + 0xB6, + 0x74, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_Comment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xB3, 0xB4, 0xB9, + 0x51, 0x2B, + 0x42, 0x4A, + 0xB5, + 0xD8, + 0x32, + 0x41, + 0x46, + 0xAF, + 0xCF, + 0x25, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_DateVisited + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x27, 0xBF, 0x5C, + 0xCF, 0x48, + 0x08, 0x42, + 0xB9, + 0x0E, + 0xEE, + 0x5E, + 0x5D, + 0x42, + 0x02, + 0x94, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_Description + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x27, 0xBF, 0x5C, + 0xCF, 0x48, + 0x08, 0x42, + 0xB9, + 0x0E, + 0xEE, + 0x5E, + 0x5D, + 0x42, + 0x02, + 0x94, + 0x15, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_FeedItemLocalId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF9, 0x99, 0x2F, 0x8A, + 0x37, 0x3C, + 0x5D, 0x46, + 0xA8, + 0xD7, + 0x69, + 0x77, + 0x7A, + 0x24, + 0x6D, + 0x0C, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_Status + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xB3, 0xB4, 0xB9, + 0x51, 0x2B, + 0x42, 0x4A, + 0xB5, + 0xD8, + 0x32, + 0x41, + 0x46, + 0xAF, + 0xCF, + 0x25, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetExtension + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF4, 0x76, 0x7D, 0x7A, + 0x30, 0xB6, + 0xD7, 0x4B, + 0x95, + 0xFF, + 0x37, + 0xCC, + 0x51, + 0xA9, + 0x75, + 0xC9, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetParsingPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xB3, 0xB4, 0xB9, + 0x51, 0x2B, + 0x42, 0x4A, + 0xB5, + 0xD8, + 0x32, + 0x41, + 0x46, + 0xAF, + 0xCF, + 0x25, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetSFGAOFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xB3, 0xB4, 0xB9, + 0x51, 0x2B, + 0x42, 0x4A, + 0xB5, + 0xD8, + 0x32, + 0x41, + 0x46, + 0xAF, + 0xCF, + 0x25, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetUrlHostName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF9, 0x99, 0x2F, 0x8A, + 0x37, 0x3C, + 0x5D, 0x46, + 0xA8, + 0xD7, + 0x69, + 0x77, + 0x7A, + 0x24, + 0x6D, + 0x0C, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetUrlPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF9, 0x99, 0x2F, 0x8A, + 0x37, 0x3C, + 0x5D, 0x46, + 0xA8, + 0xD7, + 0x69, + 0x77, + 0x7A, + 0x24, + 0x6D, + 0x0C, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_AuthorUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x20, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_AverageLevel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0xD5, 0xED, 0x09, + 0x01, 0xB3, + 0xC5, 0x43, + 0x99, + 0x90, + 0xD0, + 0x03, + 0x02, + 0xEF, + 0xFD, + 0x46, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ClassPrimaryID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ClassSecondaryID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_CollectionGroupID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_CollectionID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x19, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ContentDistributor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x12, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ContentID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x1A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_CreatorApplication + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x1B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_CreatorApplicationVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x1C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_DateEncoded + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0D, 0x64, 0x4B, 0x2E, + 0x19, 0x50, + 0xD8, 0x46, + 0x88, + 0x81, + 0x55, + 0x41, + 0x4C, + 0xC5, + 0xCA, + 0xA0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_DateReleased + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x29, 0xCC, 0x41, 0xDE, + 0x71, 0x69, + 0x90, 0x42, + 0xB4, + 0x72, + 0xF5, + 0x9F, + 0x2E, + 0x2F, + 0x31, + 0xE2, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_DlnaProfileID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x1B, 0xA3, 0xCF, + 0x5D, 0x52, + 0x98, 0x49, + 0xBB, + 0x44, + 0x3F, + 0x7D, + 0x81, + 0x54, + 0x2F, + 0xA4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_Duration + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_DVDID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_EncodedBy + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x24, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_EncodingSettings + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x25, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_EpisodeNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_FrameCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_MCDI + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_MetadataContentProvider + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_Producer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x16, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_PromotionUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x21, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ProtectionType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x26, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ProviderRating + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x27, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ProviderStyle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x28, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_Publisher + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x1E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_SeasonNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_SeriesName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_SubscriptionContentId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7A, 0xAE, 0xEB, 0x9A, + 0x44, 0x96, + 0x7D, 0x48, + 0xA9, + 0x2C, + 0x65, + 0x75, + 0x85, + 0xED, + 0x75, + 0x1A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_SubTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x26, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ThumbnailLargePath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ThumbnailLargeUri + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x30, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ThumbnailSmallPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x31, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_ThumbnailSmallUri + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x32, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_UniqueFileIdentifier + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x23, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_UserNoAutoInfo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x29, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_UserWebUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x22, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_Writer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Media_Year + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_AttachmentContents + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0xBF, 0x43, 0x31, + 0xA8, 0x80, + 0x54, 0x48, + 0x88, + 0x80, + 0xE2, + 0xE4, + 0x01, + 0x89, + 0xBD, + 0xD0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_AttachmentNames + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x15, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_BccAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_BccName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_CcAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_CcName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ConversationID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBD, 0x80, 0x8F, 0xDC, + 0x1E, 0xAF, + 0x89, 0x42, + 0x85, + 0xB6, + 0x3D, + 0xFC, + 0x1B, + 0x49, + 0x39, + 0x92, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ConversationIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBD, 0x80, 0x8F, 0xDC, + 0x1E, 0xAF, + 0x89, 0x42, + 0x85, + 0xB6, + 0x3D, + 0xFC, + 0x1B, + 0x49, + 0x39, + 0x92, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_DateReceived + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x14, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_DateSent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x13, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_Flags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE7, 0x9E, 0x2D, 0xA8, + 0x67, 0xCA, + 0x12, 0x43, + 0x96, + 0x5E, + 0x22, + 0x6B, + 0xCE, + 0xA8, + 0x50, + 0x23, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_FromAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_FromName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_HasAttachments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x74, 0xCF, 0x1F, 0x9C, + 0x97, 0x2D, + 0xBA, 0x41, + 0xB4, + 0xAE, + 0xCB, + 0x2E, + 0x36, + 0x61, + 0xA6, + 0xE4, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_IsFwdOrReply + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x88, 0xC0, 0x9B, 0x9A, + 0x6D, 0x4F, + 0x9E, 0x46, + 0x99, + 0x19, + 0xE7, + 0x05, + 0x41, + 0x20, + 0x40, + 0xF9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_MessageClass + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0xD4, 0x9E, 0xCD, + 0xCE, 0x08, + 0x8F, 0x41, + 0xA7, + 0x0E, + 0xF9, + 0x12, + 0xC7, + 0xBB, + 0x9C, + 0x5C, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_Participants + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x05, 0xA6, 0x9B, 0x1A, + 0x7C, 0x8E, + 0x11, 0x4D, + 0xAD, + 0x7D, + 0xA5, + 0x0A, + 0xDA, + 0x18, + 0xBA, + 0x1B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ProofInProgress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xF3, 0x98, 0x90, + 0x7D, 0x9A, + 0xA8, 0x48, + 0x8D, + 0xE5, + 0x2E, + 0x12, + 0x27, + 0xA6, + 0x4E, + 0x91, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_SenderAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE7, 0xC8, 0xE1, 0x0B, + 0x81, 0x19, + 0x76, 0x46, + 0xAE, + 0x14, + 0xFD, + 0xD7, + 0x8F, + 0x05, + 0xA6, + 0xE7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_SenderName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFA, 0x1C, 0xA4, 0x0D, + 0x24, 0xD2, + 0x18, 0x4A, + 0xAE, + 0x2F, + 0x59, + 0x61, + 0x58, + 0xDB, + 0x4B, + 0x3A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_Store + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ToAddress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ToDoFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0x6A, 0x85, 0x1F, + 0x00, 0x69, + 0xBA, 0x4A, + 0x95, + 0x05, + 0x2D, + 0x5F, + 0x1B, + 0x4D, + 0x66, + 0xCB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ToDoTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0x8A, 0xCC, 0xBC, + 0xEF, 0x8C, + 0xE5, 0x42, + 0x9B, + 0x1C, + 0xC6, + 0x90, + 0x79, + 0x39, + 0x8B, + 0xC7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Message_ToName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x58, 0xE0, 0xE3, + 0x88, 0xB7, + 0x5A, 0x4A, + 0xBB, + 0x20, + 0x7F, + 0x5A, + 0x44, + 0xC9, + 0xAC, + 0xDD, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_AlbumArtist + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_AlbumArtistSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAF, 0xB4, 0xFD, 0xF1, + 0x8C, 0xF7, + 0x6C, 0x46, + 0xBB, + 0x05, + 0x56, + 0xE9, + 0x2D, + 0xB0, + 0xB8, + 0xEC, + 0x67, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_AlbumID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_AlbumTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_AlbumTitleSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0x7F, 0xEB, 0x13, + 0x89, 0xEC, + 0x46, 0x43, + 0xB1, + 0x9D, + 0xCC, + 0xC6, + 0xF1, + 0x78, + 0x42, + 0x23, + 0x65, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Artist + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_ArtistSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x2D, 0xEB, 0xDE, + 0x96, 0x06, + 0xE0, 0x4C, + 0x94, + 0xFE, + 0xA0, + 0x1F, + 0x77, + 0xA4, + 0x5F, + 0xB5, + 0x66, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_BeatsPerMinute + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x23, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Composer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x13, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_ComposerSortOverride + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0x20, 0xBC, 0x00, + 0x48, 0xBD, + 0x85, 0x40, + 0x87, + 0x2C, + 0xA8, + 0x8D, + 0x77, + 0xF5, + 0x09, + 0x7E, + 0x69, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Conductor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x24, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_ContentGroupDescription + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x21, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_DiscNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x37, 0x74, 0xFE, 0x6A, + 0xCD, 0x9B, + 0xC7, 0x49, + 0x80, + 0xFE, + 0x4A, + 0x5C, + 0x65, + 0xFA, + 0x58, + 0x74, + 0x68, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_DisplayArtist + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x29, 0x12, 0xFD, + 0x93, 0xFA, + 0xF7, 0x4E, + 0x92, + 0xC3, + 0x04, + 0xC9, + 0x46, + 0xB2, + 0xF7, + 0xC8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Genre + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_InitialKey + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x22, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_IsCompilation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCB, 0xD5, 0x49, 0xC4, + 0xA4, 0x9E, + 0x09, 0x48, + 0x82, + 0xE8, + 0xAF, + 0x9D, + 0x59, + 0xDE, + 0xD6, + 0xD1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Lyrics + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Mood + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x27, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_PartOfSet + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x25, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_Period + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x1F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_SynchronizedLyrics + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6A, 0x3B, 0x22, 0x6B, + 0x2E, 0x16, + 0xA9, 0x4A, + 0xB3, + 0x9F, + 0x05, + 0xD6, + 0x78, + 0xFC, + 0x6D, + 0x77, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Music_TrackNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x37, 0xA3, 0x56, + 0x9C, 0xCE, + 0xD2, 0x11, + 0x9F, + 0x0E, + 0x00, + 0x60, + 0x97, + 0xC6, + 0x86, + 0xF6, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Note_Color + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFA, 0xCA, 0x76, 0x47, + 0xE4, 0xBC, + 0xB1, 0x4C, + 0xA2, + 0x3E, + 0x26, + 0x5E, + 0x76, + 0xD8, + 0xEB, + 0x11, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Note_ColorText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0xE8, 0xB4, 0x46, + 0xB2, 0xCD, + 0x0D, 0x44, + 0x88, + 0x5C, + 0x16, + 0x58, + 0xEB, + 0x65, + 0xB9, + 0x14, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Aperture + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x02, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ApertureDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8B, 0xA3, 0xA9, 0xE1, + 0x85, 0x66, + 0xBD, 0x46, + 0x87, + 0x5E, + 0x57, + 0x0D, + 0xC7, + 0xAD, + 0x73, + 0x20, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ApertureNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEC, 0xEC, 0x37, 0x03, + 0xFB, 0x39, + 0x81, 0x45, + 0xA0, + 0xBD, + 0x4C, + 0x4C, + 0xC5, + 0x1E, + 0x99, + 0x14, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Brightness + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF6, 0x1B, 0x70, 0x1A, + 0x8C, 0x47, + 0x61, 0x43, + 0x83, + 0xAB, + 0x37, + 0x01, + 0xBB, + 0x05, + 0x3C, + 0x58, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_BrightnessDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0x69, 0xBE, 0x6E, + 0x21, 0x23, + 0x0A, 0x44, + 0x90, + 0xF0, + 0xC0, + 0x43, + 0xEF, + 0xD3, + 0x24, + 0x76, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_BrightnessNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x11, 0x7D, 0x9E, + 0x14, 0xB3, + 0xA0, 0x45, + 0x8C, + 0xFB, + 0xD6, + 0x54, + 0xB9, + 0x17, + 0xC9, + 0xE9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_CameraManufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x0F, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_CameraModel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x10, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_CameraSerialNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x11, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Contrast + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA9, 0x5B, 0x78, 0x2A, + 0x23, 0x8D, + 0xED, 0x4D, + 0x82, + 0xE6, + 0x60, + 0xA3, + 0x50, + 0xC8, + 0x6A, + 0x10, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ContrastText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF2, 0xE9, 0xDD, 0x59, + 0x53, 0x52, + 0xEA, 0x40, + 0x9A, + 0x8B, + 0x47, + 0x9E, + 0x96, + 0xC6, + 0x24, + 0x9A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_DateTaken + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x03, 0x90, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_DigitalZoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0xF8, 0x5B, 0xF8, + 0x25, 0xA9, + 0xC2, 0x4B, + 0xB0, + 0xC4, + 0x8E, + 0x36, + 0xB5, + 0x98, + 0x67, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_DigitalZoomDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0E, 0xAF, 0x5B, 0x74, + 0xC1, 0xE5, + 0xFB, 0x4C, + 0x8A, + 0x1B, + 0xD0, + 0x31, + 0xA0, + 0xA5, + 0x23, + 0x93, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_DigitalZoomNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xB9, 0xCB, 0x16, + 0x00, 0x65, + 0x3B, 0x47, + 0xA5, + 0xBE, + 0xF1, + 0x59, + 0x9B, + 0xCB, + 0xE4, + 0x13, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Event + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x48, 0x47, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_EXIFVersion + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3A, 0x74, 0x5F, 0xD3, + 0x2E, 0xEB, + 0xF2, 0x47, + 0xA2, + 0x86, + 0x84, + 0x41, + 0x32, + 0xCB, + 0x14, + 0x27, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureBias + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x04, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureBiasDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x50, 0x5E, 0x20, 0xAB, + 0xB7, 0x04, + 0x1C, 0x46, + 0xA1, + 0x8C, + 0x2F, + 0x23, + 0x38, + 0x36, + 0xE6, + 0x27, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureBiasNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0xF2, 0x8B, 0x73, + 0x87, 0x1D, + 0x0B, 0x42, + 0x92, + 0xCF, + 0x58, + 0x34, + 0xBF, + 0x6E, + 0xF9, + 0xED, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF8, 0x5A, 0x7B, 0x96, + 0x5A, 0x99, + 0xED, 0x46, + 0x9E, + 0x11, + 0x35, + 0xB3, + 0xC5, + 0xB9, + 0x78, + 0x2D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureIndexDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0x2F, 0x11, 0x93, + 0x8B, 0xC2, + 0x2F, 0x49, + 0x8A, + 0x9D, + 0x4B, + 0xE2, + 0x06, + 0x2C, + 0xEE, + 0x8A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureIndexNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xCF, 0xED, 0xCD, + 0x19, 0x89, + 0xDF, 0x44, + 0x8F, + 0x4C, + 0x4E, + 0xB2, + 0xFF, + 0xDB, + 0x8D, + 0x89, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureProgram + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x22, 0x88, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureProgramText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x90, 0xC6, 0xFE, + 0x30, 0x5F, + 0x46, 0x46, + 0xAE, + 0x47, + 0x4C, + 0xAA, + 0xFB, + 0xA8, + 0x84, + 0xA3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x9A, 0x82, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureTimeDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x97, 0x85, 0xE9, 0x55, + 0x16, 0xAD, + 0xE0, 0x42, + 0xB6, + 0x24, + 0x21, + 0x59, + 0x9A, + 0x19, + 0x98, + 0x38, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ExposureTimeNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x44, 0x7E, 0x25, + 0x31, 0x90, + 0x23, 0x43, + 0xAC, + 0x38, + 0x85, + 0xC5, + 0x52, + 0x87, + 0x1B, + 0x2E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Flash + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x09, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashEnergy + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x0B, 0xA2, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashEnergyDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x70, 0x1C, 0xB6, 0xD7, + 0x23, 0x63, + 0xCD, 0x49, + 0xA5, + 0xFC, + 0xC8, + 0x42, + 0x77, + 0x16, + 0x2C, + 0x97, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashEnergyNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3D, 0x3D, 0xAD, 0xFC, + 0x58, 0x08, + 0x0F, 0x40, + 0xAA, + 0xA3, + 0x2F, + 0x66, + 0xCC, + 0xE2, + 0xA6, + 0xBC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashManufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC9, 0xF6, 0xBA, 0xAA, + 0xC5, 0xE0, + 0x19, 0x47, + 0x85, + 0x85, + 0x57, + 0xB1, + 0x03, + 0xE5, + 0x84, + 0xFE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashModel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0xBB, 0x83, 0xFE, + 0x1A, 0x4D, + 0xE2, 0x42, + 0x91, + 0x6B, + 0x06, + 0xF3, + 0xE1, + 0xAF, + 0x71, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FlashText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF6, 0x68, 0x8B, 0x6B, + 0x0B, 0x20, + 0xEA, 0x47, + 0x8D, + 0x25, + 0xD8, + 0x05, + 0x0F, + 0x57, + 0x33, + 0x9F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x9D, 0x82, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FNumberDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0x24, 0x2A, 0xE9, + 0x3B, 0x22, + 0x63, 0x44, + 0xA4, + 0xE3, + 0x30, + 0xEA, + 0xBB, + 0xA7, + 0x9D, + 0x80, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FNumberNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0x73, 0x97, 0x1B, + 0xFC, 0xFD, + 0x2F, 0x46, + 0x9D, + 0x93, + 0x19, + 0x57, + 0xE0, + 0x8B, + 0xE9, + 0x0C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalLength + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x0A, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalLengthDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x15, 0xC6, 0x5B, 0x30, + 0xA1, 0xDC, + 0xA5, 0x44, + 0x9F, + 0xD4, + 0x10, + 0xC0, + 0xBA, + 0x79, + 0x41, + 0x2E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalLengthInFilm + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x09, 0x46, 0xE7, 0xA0, + 0x4D, 0xB8, + 0x49, 0x4F, + 0xB8, + 0x60, + 0x46, + 0x2B, + 0xD9, + 0x97, + 0x1F, + 0x98, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalLengthNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3B, 0x6B, 0x6B, 0x77, + 0x3D, 0x1E, + 0x0C, 0x4B, + 0x9A, + 0x0E, + 0x8F, + 0xBA, + 0xF2, + 0xA8, + 0x49, + 0x2A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneXResolution + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x97, 0x8D, 0xC0, 0xCF, + 0xF7, 0xC6, + 0x84, 0x44, + 0x89, + 0xDD, + 0xEB, + 0xEF, + 0x43, + 0x56, + 0xFE, + 0x76, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneXResolutionDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF5, 0xF3, 0x33, 0x09, + 0x86, 0x47, + 0x46, 0x4F, + 0xA8, + 0xE8, + 0xD6, + 0x4D, + 0xD3, + 0x7F, + 0xA5, + 0x21, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneXResolutionNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAF, 0x10, 0xCB, 0xDC, + 0xE2, 0xB4, + 0x88, 0x4B, + 0x95, + 0xF9, + 0x03, + 0x1B, + 0x4D, + 0x5A, + 0xB4, + 0x90, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneYResolution + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0xE4, 0xFF, 0x4F, + 0x4F, 0x91, + 0xC4, 0x4A, + 0x8D, + 0x6F, + 0xC9, + 0xC6, + 0x1D, + 0xE1, + 0x69, + 0xB1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneYResolutionDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x79, 0x61, 0x1D, + 0x76, 0xA8, + 0x31, 0x40, + 0xB0, + 0x13, + 0x33, + 0x47, + 0xB2, + 0xB6, + 0x4D, + 0xC8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_FocalPlaneYResolutionNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC5, 0x41, 0xE5, 0xA2, + 0x40, 0x44, + 0xA8, 0x4B, + 0x86, + 0x7E, + 0x75, + 0xCF, + 0xC0, + 0x68, + 0x28, + 0xCD, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_GainControl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0x47, 0x30, 0xFA, + 0xC7, 0x00, + 0x80, 0x4D, + 0x90, + 0x4A, + 0x1E, + 0x4D, + 0xCC, + 0x72, + 0x65, + 0xAA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_GainControlDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFD, 0x4D, 0x86, 0x42, + 0xA4, 0x9D, + 0x77, 0x4F, + 0xBD, + 0xED, + 0x4A, + 0xAD, + 0x7B, + 0x25, + 0x67, + 0x35, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_GainControlNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0xCF, 0x8E, 0x8E, + 0xB8, 0xB7, + 0xB8, 0x4E, + 0xA6, + 0x3F, + 0x0E, + 0xE7, + 0x15, + 0xC9, + 0x6F, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_GainControlText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB2, 0x38, 0x62, 0xC0, + 0xF9, 0x0B, + 0x79, 0x42, + 0xA7, + 0x23, + 0x25, + 0x85, + 0x67, + 0x15, + 0xCB, + 0x9D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ISOSpeed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x27, 0x88, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_LensManufacturer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF7, 0xCA, 0xDD, 0xE6, + 0xC5, 0x29, + 0x0A, 0x4F, + 0x9A, + 0x68, + 0xD1, + 0x94, + 0x12, + 0xEC, + 0x70, + 0x90, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_LensModel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x16, 0x75, 0x27, 0xE1, + 0x5F, 0x2B, + 0x69, 0x48, + 0x89, + 0xB1, + 0x2E, + 0x58, + 0x5B, + 0xD3, + 0x8B, + 0x7A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_LightSource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x08, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MakerNote + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x33, 0x30, 0xFA, + 0x59, 0xB6, + 0x52, 0x40, + 0x85, + 0xE9, + 0xBC, + 0xAC, + 0x79, + 0x54, + 0x9B, + 0x84, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MakerNoteOffset + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0x41, 0x3F, 0x81, + 0xE6, 0x34, + 0x17, 0x4D, + 0xAB, + 0x3E, + 0x6B, + 0x1F, + 0x3C, + 0x22, + 0x47, + 0xA1, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MaxAperture + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0xD7, 0xF6, 0x08, + 0xF2, 0xE3, + 0xFC, 0x44, + 0xAF, + 0x1E, + 0x5A, + 0xA5, + 0xC8, + 0x1A, + 0x2D, + 0x3E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MaxApertureDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD4, 0x24, 0x77, 0xC7, + 0x1F, 0x60, + 0xC5, 0x46, + 0x9B, + 0x89, + 0xC5, + 0x3F, + 0x93, + 0xBC, + 0xEB, + 0x77, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MaxApertureNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0xE1, 0x07, 0xC1, + 0x59, 0xA4, + 0xC5, 0x44, + 0x9A, + 0xE6, + 0xB9, + 0x52, + 0xAD, + 0x4B, + 0x90, + 0x6D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MeteringMode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x07, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_MeteringModeText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0xFD, 0x28, 0xF6, + 0xA8, 0x7B, + 0x5A, 0x46, + 0xA6, + 0x5B, + 0xC5, + 0xAA, + 0x79, + 0x26, + 0x3A, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Orientation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x12, 0x01, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_OrientationText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0x19, 0xEA, 0xA9, + 0x11, 0xC5, + 0x8A, 0x49, + 0xA0, + 0x6B, + 0x58, + 0xE2, + 0x77, + 0x6D, + 0xCC, + 0x28, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_PeopleNames + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0x9B, 0x30, 0xE8, + 0x4C, 0x08, + 0xB4, 0x49, + 0xB1, + 0xFC, + 0x90, + 0xA8, + 0x03, + 0x31, + 0xB6, + 0x38, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_PhotometricInterpretation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF1, 0x96, 0x17, 0x34, + 0xF9, 0x1D, + 0x1C, 0x4B, + 0xA5, + 0x64, + 0x91, + 0xBD, + 0xEF, + 0xA4, + 0x38, + 0x77, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_PhotometricInterpretationText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0x37, 0x14, 0x82, + 0xAB, 0x9E, + 0x65, 0x47, + 0xA5, + 0x89, + 0x3B, + 0x1C, + 0xBB, + 0xD2, + 0x2A, + 0x61, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ProgramMode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6D, 0x7F, 0x21, 0x6D, + 0x6A, 0x3F, + 0x25, 0x48, + 0xB4, + 0x70, + 0x5F, + 0x03, + 0xCA, + 0x2F, + 0xBE, + 0x9B, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ProgramModeText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x27, 0xAA, 0xE3, 0x7F, + 0x48, 0x26, + 0xF3, 0x42, + 0x89, + 0xB0, + 0x45, + 0x4E, + 0x5C, + 0xB1, + 0x50, + 0xC3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_RelatedSoundFile + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0x6B, 0x8A, 0x31, + 0x7F, 0x08, + 0xC2, 0x4D, + 0xB8, + 0xCC, + 0x05, + 0x35, + 0x95, + 0x51, + 0xFC, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Saturation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x25, 0x73, 0x23, 0x49, + 0x5A, 0xA9, + 0x67, 0x4F, + 0xB2, + 0x11, + 0x81, + 0x6B, + 0x2D, + 0x45, + 0xD2, + 0xE0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_SaturationText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x08, 0x8C, 0x47, 0x61, + 0x00, 0xB6, + 0x84, 0x4A, + 0xBB, + 0xE4, + 0xE9, + 0x9C, + 0x45, + 0xF0, + 0xA0, + 0x72, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_Sharpness + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0x76, 0x69, 0xFC, + 0x49, 0x83, + 0x70, 0x49, + 0xAE, + 0x97, + 0xB3, + 0xC5, + 0x31, + 0x6A, + 0x08, + 0xF0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_SharpnessText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x47, 0x3F, 0xEC, 0x51, + 0x50, 0xDD, + 0x1D, 0x42, + 0x87, + 0x69, + 0x33, + 0x4F, + 0x50, + 0x42, + 0x4B, + 0x1E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ShutterSpeed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x01, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ShutterSpeedDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0x89, 0x3D, 0xE1, + 0xC7, 0x81, + 0x48, 0x49, + 0xAE, + 0x3F, + 0x37, + 0xCA, + 0xE1, + 0x1E, + 0x8F, + 0xF7, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_ShutterSpeedNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x42, 0x40, 0xEA, 0x16, + 0xF4, 0xD6, + 0xCA, 0x4B, + 0x83, + 0x49, + 0x7C, + 0x78, + 0xD3, + 0x0F, + 0xB3, + 0x33, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_SubjectDistance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x1D, 0xB8, 0x14, + 0x35, 0x01, + 0x31, 0x4D, + 0x96, + 0xD9, + 0x6C, + 0xBF, + 0xC9, + 0x67, + 0x1A, + 0x99, + 0x06, 0x92, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_SubjectDistanceDenominator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x88, 0x0A, 0x84, 0x0C, + 0x43, 0xB0, + 0x6D, 0x46, + 0x97, + 0x66, + 0xD4, + 0xB2, + 0x6D, + 0xA3, + 0xFA, + 0x77, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_SubjectDistanceNumerator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1C, 0x96, 0xF4, 0x8A, + 0x26, 0xF5, + 0xE5, 0x43, + 0xAA, + 0x81, + 0xDB, + 0x76, + 0x82, + 0x19, + 0x17, + 0x8D, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_TagViewAggregate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0xF1, 0x12, 0xB8, + 0xD8, 0xC2, + 0xBF, 0x4B, + 0xBA, + 0xCD, + 0x79, + 0x74, + 0x43, + 0x46, + 0x11, + 0x3F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_TranscodedForSync + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0xBB, 0x8E, 0x9A, + 0x58, 0x64, + 0x82, 0x4E, + 0xBA, + 0xCB, + 0x35, + 0xC0, + 0x09, + 0x5B, + 0x03, + 0xBB, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_WhiteBalance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0x3D, 0x3D, 0xEE, + 0x81, 0x53, + 0xFA, 0x4C, + 0xB1, + 0x3B, + 0xAA, + 0xF6, + 0x6B, + 0x5F, + 0x4E, + 0xC9, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Photo_WhiteBalanceText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0xB9, 0x36, 0x63, + 0xA7, 0xC7, + 0x6D, 0x42, + 0x86, + 0xFD, + 0x7A, + 0xE3, + 0xD3, + 0x9C, + 0x84, + 0xB4, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Advanced + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3B, 0x40, 0x0A, 0x90, + 0x7B, 0x09, + 0x95, 0x4B, + 0x8A, + 0xE2, + 0x07, + 0x1F, + 0xDA, + 0xEE, + 0xB1, + 0x18, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Audio + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0xD4, 0x04, 0x28, + 0x8F, 0x78, + 0xAA, 0x48, + 0x85, + 0x70, + 0x71, + 0xB9, + 0xC1, + 0x87, + 0xE1, + 0x38, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Calendar + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0xD2, 0x73, 0x99, + 0xD8, 0xBF, + 0x8A, 0x43, + 0xBA, + 0x94, + 0x53, + 0x49, + 0xB2, + 0x93, + 0x18, + 0x1A, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Camera + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x32, 0xDE, 0x00, 0xDE, + 0x7E, 0x54, + 0x81, 0x49, + 0xAD, + 0x4B, + 0x54, + 0x2F, + 0x2E, + 0x90, + 0x07, + 0xD8, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Contact + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD3, 0x5F, 0x97, 0xDF, + 0x0A, 0x25, + 0x04, 0x40, + 0x85, + 0x8F, + 0x34, + 0xE2, + 0x9A, + 0x3E, + 0x37, + 0xAA, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Content + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBA, 0xB0, 0xDA, 0xD0, + 0x8A, 0x36, + 0x50, 0x40, + 0xA8, + 0x82, + 0x6C, + 0x01, + 0x0F, + 0xD1, + 0x9A, + 0x4F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Description + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0xB2, 0x69, 0x89, + 0x75, 0x94, + 0x00, 0x4E, + 0xA8, + 0x87, + 0xFF, + 0x93, + 0xB8, + 0xB4, + 0x1E, + 0x44, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_FileSystem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC1, 0xD2, 0xA7, 0xE3, + 0xFC, 0x80, + 0x40, 0x4B, + 0x8F, + 0x34, + 0x30, + 0xEA, + 0x11, + 0x1B, + 0xDC, + 0x2E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_General + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0x16, 0x30, 0xCC, + 0x92, 0xB1, + 0x22, 0x4C, + 0xB3, + 0x72, + 0x9F, + 0x4C, + 0x6D, + 0x33, + 0x8E, + 0x07, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_GPS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x3A, 0x71, 0xF3, + 0xE3, 0x90, + 0x11, 0x4E, + 0xAA, + 0xE5, + 0xFD, + 0xC1, + 0x76, + 0x85, + 0xB9, + 0xBE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Image + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x0A, 0x69, 0xE3, + 0xA8, 0x0F, + 0x2A, 0x4A, + 0x9A, + 0x9F, + 0xFC, + 0xE8, + 0x82, + 0x70, + 0x55, + 0xAC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Media + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF7, 0x2C, 0x87, 0x61, + 0x5E, 0x6B, + 0x4B, 0x4B, + 0xAC, + 0x2D, + 0x59, + 0xDA, + 0x84, + 0x45, + 0x92, + 0x48, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_MediaAdvanced + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0xA2, 0x59, 0x88, + 0x7E, 0xDE, + 0x42, 0x46, + 0x99, + 0xBA, + 0xD4, + 0x31, + 0xD0, + 0x44, + 0xB1, + 0xEC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Message + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x25, 0xD7, 0x7F, + 0xB4, 0x16, + 0x35, 0x41, + 0x9F, + 0x97, + 0x7C, + 0x96, + 0xEC, + 0xD2, + 0xFA, + 0x9E, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Music + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0x60, 0xDD, 0x68, + 0x16, 0x72, + 0xF1, 0x40, + 0xA0, + 0x29, + 0x43, + 0xFE, + 0x71, + 0x27, + 0x04, + 0x3F, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Origin + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFB, 0xD2, 0x98, 0x25, + 0x69, 0x55, + 0x67, 0x43, + 0x95, + 0xDF, + 0x5C, + 0xD3, + 0xA1, + 0x77, + 0xE1, + 0xA5, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_PhotoAdvanced + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0xBF, 0xB2, 0x0C, + 0xE7, 0x9E, + 0x86, 0x4A, + 0x82, + 0x22, + 0xF0, + 0x1E, + 0x07, + 0xFD, + 0xAD, + 0xAF, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_RecordedTV + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x38, 0x32, 0xB3, 0xE7, + 0x84, 0x65, + 0x70, 0x41, + 0xA5, + 0xC0, + 0xAC, + 0x25, + 0xEF, + 0xD9, + 0xDA, + 0x56, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropGroup_Video + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x20, 0x09, 0xBE, 0xBE, + 0x71, 0x76, + 0x54, 0x4C, + 0xA3, + 0xEB, + 0x49, + 0xFD, + 0xDF, + 0xC1, + 0x91, + 0xEE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_InfoTipText + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_ConflictPrompt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_ContentViewModeForBrowse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_ContentViewModeForSearch + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_ExtendedTileInfo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_FileOperationPrompt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_FullDetails + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_InfoTip + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_NonPersonal + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1F, 0x09, 0xD1, 0x49, + 0x2E, 0x08, + 0x3F, 0x49, + 0xB2, + 0x3F, + 0xD2, + 0x30, + 0x8A, + 0xA9, + 0x66, + 0x8C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_PreviewDetails + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_PreviewTitle + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_QuickTip + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_TileInfo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x4A, 0x94, 0xC9, + 0x06, 0xA4, + 0xFE, 0x48, + 0x82, + 0x25, + 0xAE, + 0xC7, + 0xE2, + 0x4C, + 0x21, + 0x1B, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_PropList_XPDetailsPanel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x80, 0x54, 0x27, 0xF2, + 0x82, 0xF7, + 0x91, 0x42, + 0xBD, + 0x94, + 0xF1, + 0x36, + 0x93, + 0x51, + 0x3A, + 0xEC, + 0x00, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_ChannelNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_Credits + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_DateContentExpires + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x0F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_EpisodeName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsATSCContent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsClosedCaptioningAvailable + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsDTVContent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x11, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsHDContent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x12, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsRepeatBroadcast + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_IsSAP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x0E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_NetworkAffiliation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x13, 0xC8, 0x53, 0x2C, + 0x63, 0xFB, + 0x22, 0x4E, + 0xA1, + 0xAB, + 0x0B, + 0x33, + 0x1C, + 0xA1, + 0xE2, + 0x73, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_OriginalBroadcastDate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x97, 0xFE, 0x84, 0x46, + 0x65, 0x87, + 0x42, 0x48, + 0x9C, + 0x13, + 0xF0, + 0x06, + 0x44, + 0x7B, + 0x17, + 0x8C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_ProgramDescription + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_RecordingTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0x7F, 0x47, 0xA5, + 0x82, 0x7A, + 0xCA, 0x4E, + 0x9D, + 0xDE, + 0x98, + 0xB6, + 0x9B, + 0x24, + 0x79, + 0xB3, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_StationCallSign + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0x8D, 0x74, 0x6D, + 0x38, 0x8D, + 0xC3, 0x4C, + 0xAC, + 0x60, + 0xF0, + 0x09, + 0xB0, + 0x57, + 0xC5, + 0x57, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_RecordedTV_StationName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE7, 0x39, 0x54, 0x1B, + 0xA1, 0xEB, + 0xF8, 0x4A, + 0xBD, + 0xD7, + 0x7A, + 0xF1, + 0xD4, + 0x54, + 0x94, + 0x93, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_AutoSummary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0x36, 0x0C, 0x56, + 0x3A, 0x50, + 0xCF, 0x11, + 0xBA, + 0xA1, + 0x00, + 0x00, + 0x4C, + 0x75, + 0x2A, + 0x9A, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_ContainerHash + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0xE2, 0xEE, 0xBC, + 0xDF, 0x35, + 0x53, 0x4D, + 0x82, + 0x6A, + 0xF3, + 0x6A, + 0x3E, + 0xEF, + 0xC6, + 0xBE, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_Contents + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xF1, 0x25, 0xB7, + 0xEF, 0x47, + 0x1A, 0x10, + 0xA5, + 0xF1, + 0x02, + 0x60, + 0x8C, + 0x9E, + 0xEB, + 0xAC, + 0x13, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_EntryID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x1C, 0x69, 0x49, + 0x17, 0x7E, + 0x1A, 0x10, + 0xA9, + 0x1C, + 0x08, + 0x00, + 0x2B, + 0x2E, + 0xCD, + 0xA9, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_ExtendedProperties + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0xB5, 0x03, 0x7B, + 0x4F, 0xFA, + 0x52, 0x4A, + 0xA2, + 0xFE, + 0x03, + 0xD5, + 0x31, + 0x1E, + 0x58, + 0x65, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_GatherTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x50, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_HitCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x1C, 0x69, 0x49, + 0x17, 0x7E, + 0x1A, 0x10, + 0xA9, + 0x1C, + 0x08, + 0x00, + 0x2B, + 0x2E, + 0xCD, + 0xA9, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_IsClosedDirectory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_IsFullyContained + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_QueryFocusedSummary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0x36, 0x0C, 0x56, + 0x3A, 0x50, + 0xCF, 0x11, + 0xBA, + 0xA1, + 0x00, + 0x00, + 0x4C, + 0x75, + 0x2A, + 0x9A, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_QueryFocusedSummaryWithFallback + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0x36, 0x0C, 0x56, + 0x3A, 0x50, + 0xCF, 0x11, + 0xBA, + 0xA1, + 0x00, + 0x00, + 0x4C, + 0x75, + 0x2A, + 0x9A, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_QueryPropertyHits + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x1C, 0x69, 0x49, + 0x17, 0x7E, + 0x1A, 0x10, + 0xA9, + 0x1C, + 0x08, + 0x00, + 0x2B, + 0x2E, + 0xCD, + 0xA9, + 0x15, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_Rank + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x1C, 0x69, 0x49, + 0x17, 0x7E, + 0x1A, 0x10, + 0xA9, + 0x1C, + 0x08, + 0x00, + 0x2B, + 0x2E, + 0xCD, + 0xA9, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_Store + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x92, 0x69, 0xA0, + 0xAF, 0x8C, + 0xD7, 0x4E, + 0xA5, + 0x47, + 0xB2, + 0x59, + 0xE3, + 0x2A, + 0xC9, + 0xFC, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_UrlToIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Search_UrlToIndexWithModificationTime + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0xE3, 0x63, 0x0B, + 0xCC, 0x9C, + 0xD0, 0x11, + 0xBC, + 0xDB, + 0x00, + 0x80, + 0x5F, + 0xCC, + 0xCE, + 0x04, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_Album + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_AlbumID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_Location + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_Person + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_ResourceId + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Supplemental_Tag + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x41, 0xB1, 0x73, 0x0C, + 0xD6, 0x39, + 0x53, 0x46, + 0xA6, + 0x83, + 0xCA, + 0xB2, + 0x91, + 0xEA, + 0xF9, + 0x5B, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_DescriptionID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_InternalName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_LibraryLocationsCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0x96, 0x86, 0x90, + 0x87, 0x8F, + 0xF2, 0x44, + 0x80, + 0xED, + 0xA8, + 0xC1, + 0xC6, + 0x89, + 0x45, + 0x75, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetSFGAOFlagsStrings + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0x20, 0x94, 0xD6, + 0x3B, 0xD5, + 0x3D, 0x44, + 0xAD, + 0x47, + 0x5E, + 0x05, + 0x9D, + 0x9C, + 0xD2, + 0x7A, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Link_TargetUrl + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x27, 0xBF, 0x5C, + 0xCF, 0x48, + 0x08, 0x42, + 0xB9, + 0x0E, + 0xEE, + 0x5E, + 0x5D, + 0x42, + 0x02, + 0x94, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_NamespaceCLSID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x6A, 0x63, 0x28, + 0x3D, 0x95, + 0xD2, 0x11, + 0xB5, + 0xD6, + 0x00, + 0xC0, + 0x4F, + 0xD9, + 0x18, + 0xD0, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Shell_SFGAOFlagsStrings + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0x20, 0x94, 0xD6, + 0x3B, 0xD5, + 0x3D, 0x44, + 0xAD, + 0x47, + 0x5E, + 0x05, + 0x9D, + 0x9C, + 0xD2, + 0x7A, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StatusBarSelectedItemCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0x28, 0xDC, 0x26, + 0x3D, 0x6E, + 0xD3, 0x4B, + 0xB2, + 0xB0, + 0x6A, + 0x26, + 0xBA, + 0x2E, + 0x34, + 0x6D, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_StatusBarViewItemCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0x28, 0xDC, 0x26, + 0x3D, 0x6E, + 0xD3, 0x4B, + 0xB2, + 0xB0, + 0x6A, + 0x26, + 0xBA, + 0x2E, + 0x34, + 0x6D, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_ExcludeFromShowInNewInstall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_ID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x05, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_IsDestListSeparator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_IsDualMode + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_PreventPinning + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_RelaunchCommand + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_RelaunchDisplayNameResource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_RelaunchIconResource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_StartPinOption + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x0C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_ToastActivatorCLSID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x1A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_AppUserModel_VisualElementsManifestHintPath + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x55, 0x28, 0x4C, 0x9F, + 0x79, 0x9F, + 0x39, 0x4B, + 0xA8, + 0xD0, + 0xE1, + 0xD4, + 0x2D, + 0xE1, + 0xD5, + 0xF3, + 0x1F, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_EdgeGesture_DisableTouchWhenFullscreen + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB2, 0x38, 0xCE, 0x32, + 0x9A, 0x2C, + 0xB1, 0x41, + 0x9B, + 0xC5, + 0xB3, + 0x78, + 0x43, + 0x94, + 0xAA, + 0x44, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Software_DateLastUsed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0x4F, 0x1E, 0x84, + 0x59, 0xFF, + 0x16, 0x4D, + 0x89, + 0x47, + 0xE8, + 0x1B, + 0xBF, + 0xFA, + 0xB3, + 0x6D, + 0x10, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Software_ProductName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x7D, 0xEF, 0x0C, + 0x64, 0xFA, + 0xD1, 0x11, + 0xA2, + 0x03, + 0x00, + 0x00, + 0xF8, + 0x1F, + 0xED, + 0xEE, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_Comments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x0D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ConflictDescription + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC1, 0x50, 0xCE, + 0xB8, 0x2F, + 0xFD, 0x41, + 0xBE, + 0x68, + 0xD3, + 0xE0, + 0x42, + 0xE2, + 0x74, + 0xBC, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ConflictFirstLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC1, 0x50, 0xCE, + 0xB8, 0x2F, + 0xFD, 0x41, + 0xBE, + 0x68, + 0xD3, + 0xE0, + 0x42, + 0xE2, + 0x74, + 0xBC, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ConflictSecondLocation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC1, 0x50, 0xCE, + 0xB8, 0x2F, + 0xFD, 0x41, + 0xBE, + 0x68, + 0xD3, + 0xE0, + 0x42, + 0xE2, + 0x74, + 0xBC, + 0x07, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_HandlerCollectionID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_HandlerID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_HandlerName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC1, 0x50, 0xCE, + 0xB8, 0x2F, + 0xFD, 0x41, + 0xBE, + 0x68, + 0xD3, + 0xE0, + 0x42, + 0xE2, + 0x74, + 0xBC, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_HandlerType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_HandlerTypeLabel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ItemID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ItemName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0xC1, 0x50, 0xCE, + 0xB8, 0x2F, + 0xFD, 0x41, + 0xBE, + 0x68, + 0xD3, + 0xE0, + 0x42, + 0xE2, + 0x74, + 0xBC, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_ProgressPercentage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x17, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_State + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x18, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Sync_Status + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x53, 0xD5, 0x7B, + 0x15, 0xAF, + 0xDB, 0x44, + 0xB8, + 0xC8, + 0xBD, + 0x66, + 0x24, + 0xE1, + 0xD0, + 0x32, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Task_BillingInformation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC6, 0x52, 0x7D, 0xD3, + 0x1C, 0x26, + 0x03, 0x43, + 0x82, + 0xB3, + 0x08, + 0xB9, + 0x26, + 0xAC, + 0x6F, + 0x12, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Task_CompletionStatus + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0x8A, 0x4D, 0x08, + 0xD5, 0xE6, + 0xDE, 0x40, + 0xBF, + 0x1F, + 0xC8, + 0x82, + 0x0E, + 0x7C, + 0x87, + 0x7C, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Task_Owner + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5F, 0xCC, 0xC7, 0x08, + 0xF2, 0x60, + 0x94, 0x44, + 0xAD, + 0x75, + 0x55, + 0xE3, + 0xE0, + 0xB5, + 0xAD, + 0xD0, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_Compression + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_Director + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x92, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x14, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_EncodingBitrate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x08, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_FourCC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2C, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_FrameHeight + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_FrameRate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x06, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_FrameWidth + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x03, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_HorizontalAspectRatio + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_IsSpherical + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x64, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_IsStereo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x62, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_Orientation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x63, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_SampleSize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x09, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_StreamName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_StreamNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x0B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_TotalBitrate + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2B, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_TranscodedForSync + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2E, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Video_VerticalAspectRatio + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0x04, 0x44, 0x64, + 0x8B, 0x4C, + 0xD1, 0x11, + 0x8B, + 0x70, + 0x08, + 0x00, + 0x36, + 0xB1, + 0x1A, + 0x03, + 0x2D, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Volume_FileSystem + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x04, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Volume_IsMappedDrive + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0x0B, 0x9C, 0x14, + 0x2D, 0x2C, + 0xFC, 0x48, + 0x80, + 0x8F, + 0xD3, + 0x18, + 0xD7, + 0x8C, + 0x46, + 0x36, + 0x02, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const PROPERTYKEY")] + public static ref readonly PROPERTYKEY PKEY_Volume_IsRoot + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x4B, 0x17, 0x9B, + 0xFF, 0x40, + 0xD2, 0x11, + 0xA2, + 0x7E, + 0x00, + 0xC0, + 0x4F, + 0xC3, + 0x08, + 0x71, + 0x0A, 0x00, 0x00, 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("#define PKEY_Devices_Category_Desc_Singular PKEY_Devices_Category")] + public static ref readonly PROPERTYKEY PKEY_Devices_Category_Desc_Singular => ref PKEY_Devices_Category; + + [NativeTypeName("#define PKEY_Devices_CategoryGroup_Desc PKEY_Devices_CategoryGroup")] + public static ref readonly PROPERTYKEY PKEY_Devices_CategoryGroup_Desc => ref PKEY_Devices_CategoryGroup; + + [NativeTypeName("#define PKEY_Devices_Category_Desc_Plural PKEY_Devices_CategoryPlural")] + public static ref readonly PROPERTYKEY PKEY_Devices_Category_Desc_Plural => ref PKEY_Devices_CategoryPlural; + + [NativeTypeName("#define PKEY_Devices_IsConnected PKEY_Devices_Connected")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsConnected => ref PKEY_Devices_Connected; + + [NativeTypeName("#define PKEY_Devices_IsDefaultDevice PKEY_Devices_IsDefault")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsDefaultDevice => ref PKEY_Devices_IsDefault; + + [NativeTypeName("#define PKEY_Devices_IsNetworkDevice PKEY_Devices_IsNetworkConnected")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsNetworkDevice => ref PKEY_Devices_IsNetworkConnected; + + [NativeTypeName("#define PKEY_Devices_IsSharedDevice PKEY_Devices_IsShared")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsSharedDevice => ref PKEY_Devices_IsShared; + + [NativeTypeName("#define PKEY_Devices_IsLocalMachine PKEY_Devices_LocalMachine")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsLocalMachine => ref PKEY_Devices_LocalMachine; + + [NativeTypeName("#define PKEY_Devices_Notification_LowBattery PKEY_Devices_Notifications_LowBattery")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_LowBattery => ref PKEY_Devices_Notifications_LowBattery; + + [NativeTypeName("#define PKEY_Devices_Notification_MissedCall PKEY_Devices_Notifications_MissedCall")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_MissedCall => ref PKEY_Devices_Notifications_MissedCall; + + [NativeTypeName("#define PKEY_Devices_Notification_NewMessage PKEY_Devices_Notifications_NewMessage")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_NewMessage => ref PKEY_Devices_Notifications_NewMessage; + + [NativeTypeName("#define PKEY_Devices_Notification_NewVoicemail PKEY_Devices_Notifications_NewVoicemail")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_NewVoicemail => ref PKEY_Devices_Notifications_NewVoicemail; + + [NativeTypeName("#define PKEY_Devices_Notification_StorageFull PKEY_Devices_Notifications_StorageFull")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_StorageFull => ref PKEY_Devices_Notifications_StorageFull; + + [NativeTypeName("#define PKEY_Devices_Notification_StorageFullLinkText PKEY_Devices_Notifications_StorageFullLinkText")] + public static ref readonly PROPERTYKEY PKEY_Devices_Notification_StorageFullLinkText => ref PKEY_Devices_Notifications_StorageFullLinkText; + + [NativeTypeName("#define PKEY_Devices_IsNotWorkingProperly PKEY_Devices_NotWorkingProperly")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsNotWorkingProperly => ref PKEY_Devices_NotWorkingProperly; + + [NativeTypeName("#define PKEY_Devices_IsPaired PKEY_Devices_Paired")] + public static ref readonly PROPERTYKEY PKEY_Devices_IsPaired => ref PKEY_Devices_Paired; +} diff --git a/sources/Interop/Windows/Windows/um/propkey/STORAGE.cs b/sources/Interop/Windows/Windows/um/propkey/STORAGE.cs new file mode 100644 index 0000000000..f31f261ab4 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/propkey/STORAGE.cs @@ -0,0 +1,48 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public static partial class STORAGE +{ + [NativeTypeName("#define STORAGE_PROVIDER_SHARE_STATUS_PRIVATE L\"Private\"")] + public const string STORAGE_PROVIDER_SHARE_STATUS_PRIVATE = "Private"; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARE_STATUS_SHARED L\"Shared\"")] + public const string STORAGE_PROVIDER_SHARE_STATUS_SHARED = "Shared"; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARE_STATUS_PUBLIC L\"Public\"")] + public const string STORAGE_PROVIDER_SHARE_STATUS_PUBLIC = "Public"; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARE_STATUS_GROUP L\"Group\"")] + public const string STORAGE_PROVIDER_SHARE_STATUS_GROUP = "Group"; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARE_STATUS_OWNER L\"Owner\"")] + public const string STORAGE_PROVIDER_SHARE_STATUS_OWNER = "Owner"; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_NOTSHARED 0ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_NOTSHARED = 0U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_SHARED 1ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_SHARED = 1U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_PRIVATE 2ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_PRIVATE = 2U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC 3ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC = 3U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_SHARED_OWNED 4ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_SHARED_OWNED = 4U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_SHARED_COOWNED 5ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_SHARED_COOWNED = 5U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC_OWNED 6ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC_OWNED = 6U; + + [NativeTypeName("#define STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC_COOWNED 7ul")] + public const uint STORAGE_PROVIDER_SHARINGSTATUS_PUBLIC_COOWNED = 7U; +} diff --git a/sources/Interop/Windows/Windows/um/propkey/Windows.cs b/sources/Interop/Windows/Windows/um/propkey/Windows.cs new file mode 100644 index 0000000000..020de4b82b --- /dev/null +++ b/sources/Interop/Windows/Windows/um/propkey/Windows.cs @@ -0,0 +1,756 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.Windows; + +public static partial class Windows +{ + [NativeTypeName("#define AUDIO_CHANNELCOUNT_MONO 1ul")] + public const uint AUDIO_CHANNELCOUNT_MONO = 1U; + + [NativeTypeName("#define AUDIO_CHANNELCOUNT_STEREO 2ul")] + public const uint AUDIO_CHANNELCOUNT_STEREO = 2U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_NONE 0u")] + public const uint CALENDAR_RESPONSESTATUS_NONE = 0U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_ORGANIZED 1u")] + public const uint CALENDAR_RESPONSESTATUS_ORGANIZED = 1U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_TENTATIVE 2u")] + public const uint CALENDAR_RESPONSESTATUS_TENTATIVE = 2U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_ACCEPTED 3u")] + public const uint CALENDAR_RESPONSESTATUS_ACCEPTED = 3U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_DECLINED 4u")] + public const uint CALENDAR_RESPONSESTATUS_DECLINED = 4U; + + [NativeTypeName("#define CALENDAR_RESPONSESTATUS_NOTRESPONDED 5u")] + public const uint CALENDAR_RESPONSESTATUS_NOTRESPONDED = 5U; + + [NativeTypeName("#define CALENDAR_SHOWTIMEAS_FREE 0u")] + public const uint CALENDAR_SHOWTIMEAS_FREE = 0U; + + [NativeTypeName("#define CALENDAR_SHOWTIMEAS_TENTATIVE 1u")] + public const uint CALENDAR_SHOWTIMEAS_TENTATIVE = 1U; + + [NativeTypeName("#define CALENDAR_SHOWTIMEAS_BUSY 2u")] + public const uint CALENDAR_SHOWTIMEAS_BUSY = 2U; + + [NativeTypeName("#define CALENDAR_SHOWTIMEAS_OOF 3u")] + public const uint CALENDAR_SHOWTIMEAS_OOF = 3U; + + [NativeTypeName("#define COMMUNICATION_DIRECTION_UNKNOWN 0u")] + public const uint COMMUNICATION_DIRECTION_UNKNOWN = 0U; + + [NativeTypeName("#define COMMUNICATION_DIRECTION_INCOMING 1u")] + public const uint COMMUNICATION_DIRECTION_INCOMING = 1U; + + [NativeTypeName("#define COMMUNICATION_DIRECTION_OUTGOING 2u")] + public const uint COMMUNICATION_DIRECTION_OUTGOING = 2U; + + [NativeTypeName("#define TASKSTATUS_NOTSTARTED 0u")] + public const uint TASKSTATUS_NOTSTARTED = 0U; + + [NativeTypeName("#define TASKSTATUS_INPROGRESS 1u")] + public const uint TASKSTATUS_INPROGRESS = 1U; + + [NativeTypeName("#define TASKSTATUS_COMPLETE 2u")] + public const uint TASKSTATUS_COMPLETE = 2U; + + [NativeTypeName("#define TASKSTATUS_WAITING 3u")] + public const uint TASKSTATUS_WAITING = 3U; + + [NativeTypeName("#define TASKSTATUS_DEFERRED 4u")] + public const uint TASKSTATUS_DEFERRED = 4U; + + [NativeTypeName("#define GENDERVALUE_UNSPECIFIED 0u")] + public const uint GENDERVALUE_UNSPECIFIED = 0U; + + [NativeTypeName("#define GENDERVALUE_FEMALE 1u")] + public const uint GENDERVALUE_FEMALE = 1U; + + [NativeTypeName("#define GENDERVALUE_MALE 2u")] + public const uint GENDERVALUE_MALE = 2U; + + [NativeTypeName("#define CREATOROPENWITHUIOPTION_HIDDEN 0ul")] + public const uint CREATOROPENWITHUIOPTION_HIDDEN = 0U; + + [NativeTypeName("#define CREATOROPENWITHUIOPTION_VISIBLE 1ul")] + public const uint CREATOROPENWITHUIOPTION_VISIBLE = 1U; + + [NativeTypeName("#define ISDEFAULTSAVE_NONE 0ul")] + public const uint ISDEFAULTSAVE_NONE = 0U; + + [NativeTypeName("#define ISDEFAULTSAVE_OWNER 1ul")] + public const uint ISDEFAULTSAVE_OWNER = 1U; + + [NativeTypeName("#define ISDEFAULTSAVE_NONOWNER 2ul")] + public const uint ISDEFAULTSAVE_NONOWNER = 2U; + + [NativeTypeName("#define ISDEFAULTSAVE_BOTH 3ul")] + public const uint ISDEFAULTSAVE_BOTH = 3U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_NOTAVAILABLEOFFLINE 0ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_NOTAVAILABLEOFFLINE = 0U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_PARTIAL 1ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_PARTIAL = 1U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_COMPLETE 2ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_COMPLETE = 2U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_COMPLETE_PINNED 3ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_COMPLETE_PINNED = 3U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_EXCLUDED 4ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_EXCLUDED = 4U; + + [NativeTypeName("#define FILEOFFLINEAVAILABILITYSTATUS_FOLDER_EMPTY 5ul")] + public const uint FILEOFFLINEAVAILABILITYSTATUS_FOLDER_EMPTY = 5U; + + [NativeTypeName("#define FLAGCOLOR_PURPLE 1u")] + public const uint FLAGCOLOR_PURPLE = 1U; + + [NativeTypeName("#define FLAGCOLOR_ORANGE 2u")] + public const uint FLAGCOLOR_ORANGE = 2U; + + [NativeTypeName("#define FLAGCOLOR_GREEN 3u")] + public const uint FLAGCOLOR_GREEN = 3U; + + [NativeTypeName("#define FLAGCOLOR_YELLOW 4u")] + public const uint FLAGCOLOR_YELLOW = 4U; + + [NativeTypeName("#define FLAGCOLOR_BLUE 5u")] + public const uint FLAGCOLOR_BLUE = 5U; + + [NativeTypeName("#define FLAGCOLOR_RED 6u")] + public const uint FLAGCOLOR_RED = 6U; + + [NativeTypeName("#define FLAGSTATUS_NOTFLAGGED 0l")] + public const int FLAGSTATUS_NOTFLAGGED = 0; + + [NativeTypeName("#define FLAGSTATUS_COMPLETED 1l")] + public const int FLAGSTATUS_COMPLETED = 1; + + [NativeTypeName("#define FLAGSTATUS_FOLLOWUP 2l")] + public const int FLAGSTATUS_FOLLOWUP = 2; + + [NativeTypeName("#define IMPORTANCE_LOW_MIN 0l")] + public const int IMPORTANCE_LOW_MIN = 0; + + [NativeTypeName("#define IMPORTANCE_LOW_SET 1l")] + public const int IMPORTANCE_LOW_SET = 1; + + [NativeTypeName("#define IMPORTANCE_LOW_MAX 1l")] + public const int IMPORTANCE_LOW_MAX = 1; + + [NativeTypeName("#define IMPORTANCE_NORMAL_MIN 2l")] + public const int IMPORTANCE_NORMAL_MIN = 2; + + [NativeTypeName("#define IMPORTANCE_NORMAL_SET 3l")] + public const int IMPORTANCE_NORMAL_SET = 3; + + [NativeTypeName("#define IMPORTANCE_NORMAL_MAX 4l")] + public const int IMPORTANCE_NORMAL_MAX = 4; + + [NativeTypeName("#define IMPORTANCE_HIGH_MIN 5l")] + public const int IMPORTANCE_HIGH_MIN = 5; + + [NativeTypeName("#define IMPORTANCE_HIGH_SET 5l")] + public const int IMPORTANCE_HIGH_SET = 5; + + [NativeTypeName("#define IMPORTANCE_HIGH_MAX 5l")] + public const int IMPORTANCE_HIGH_MAX = 5; + + [NativeTypeName("#define KIND_CALENDAR L\"calendar\"")] + public const string KIND_CALENDAR = "calendar"; + + [NativeTypeName("#define KIND_COMMUNICATION L\"communication\"")] + public const string KIND_COMMUNICATION = "communication"; + + [NativeTypeName("#define KIND_CONTACT L\"contact\"")] + public const string KIND_CONTACT = "contact"; + + [NativeTypeName("#define KIND_DOCUMENT L\"document\"")] + public const string KIND_DOCUMENT = "document"; + + [NativeTypeName("#define KIND_EMAIL L\"email\"")] + public const string KIND_EMAIL = "email"; + + [NativeTypeName("#define KIND_FEED L\"feed\"")] + public const string KIND_FEED = "feed"; + + [NativeTypeName("#define KIND_FOLDER L\"folder\"")] + public const string KIND_FOLDER = "folder"; + + [NativeTypeName("#define KIND_GAME L\"game\"")] + public const string KIND_GAME = "game"; + + [NativeTypeName("#define KIND_INSTANTMESSAGE L\"instantmessage\"")] + public const string KIND_INSTANTMESSAGE = "instantmessage"; + + [NativeTypeName("#define KIND_JOURNAL L\"journal\"")] + public const string KIND_JOURNAL = "journal"; + + [NativeTypeName("#define KIND_LINK L\"link\"")] + public const string KIND_LINK = "link"; + + [NativeTypeName("#define KIND_MOVIE L\"movie\"")] + public const string KIND_MOVIE = "movie"; + + [NativeTypeName("#define KIND_MUSIC L\"music\"")] + public const string KIND_MUSIC = "music"; + + [NativeTypeName("#define KIND_NOTE L\"note\"")] + public const string KIND_NOTE = "note"; + + [NativeTypeName("#define KIND_PICTURE L\"picture\"")] + public const string KIND_PICTURE = "picture"; + + [NativeTypeName("#define KIND_PLAYLIST L\"playlist\"")] + public const string KIND_PLAYLIST = "playlist"; + + [NativeTypeName("#define KIND_PROGRAM L\"program\"")] + public const string KIND_PROGRAM = "program"; + + [NativeTypeName("#define KIND_RECORDEDTV L\"recordedtv\"")] + public const string KIND_RECORDEDTV = "recordedtv"; + + [NativeTypeName("#define KIND_SEARCHFOLDER L\"searchfolder\"")] + public const string KIND_SEARCHFOLDER = "searchfolder"; + + [NativeTypeName("#define KIND_TASK L\"task\"")] + public const string KIND_TASK = "task"; + + [NativeTypeName("#define KIND_VIDEO L\"video\"")] + public const string KIND_VIDEO = "video"; + + [NativeTypeName("#define KIND_WEBHISTORY L\"webhistory\"")] + public const string KIND_WEBHISTORY = "webhistory"; + + [NativeTypeName("#define KIND_UNKNOWN L\"unknown\"")] + public const string KIND_UNKNOWN = "unknown"; + + [NativeTypeName("#define OFFLINEAVAILABILITY_NOT_AVAILABLE 0ul")] + public const uint OFFLINEAVAILABILITY_NOT_AVAILABLE = 0U; + + [NativeTypeName("#define OFFLINEAVAILABILITY_AVAILABLE 1ul")] + public const uint OFFLINEAVAILABILITY_AVAILABLE = 1U; + + [NativeTypeName("#define OFFLINEAVAILABILITY_ALWAYS_AVAILABLE 2ul")] + public const uint OFFLINEAVAILABILITY_ALWAYS_AVAILABLE = 2U; + + [NativeTypeName("#define OFFLINESTATUS_ONLINE 0ul")] + public const uint OFFLINESTATUS_ONLINE = 0U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE 1ul")] + public const uint OFFLINESTATUS_OFFLINE = 1U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE_FORCED 2ul")] + public const uint OFFLINESTATUS_OFFLINE_FORCED = 2U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE_SLOW 3ul")] + public const uint OFFLINESTATUS_OFFLINE_SLOW = 3U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE_ERROR 4ul")] + public const uint OFFLINESTATUS_OFFLINE_ERROR = 4U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE_ITEM_VERSION_CONFLICT 5ul")] + public const uint OFFLINESTATUS_OFFLINE_ITEM_VERSION_CONFLICT = 5U; + + [NativeTypeName("#define OFFLINESTATUS_OFFLINE_SUSPENDED 6ul")] + public const uint OFFLINESTATUS_OFFLINE_SUSPENDED = 6U; + + [NativeTypeName("#define PRIORITY_PROP_LOW 0u")] + public const uint PRIORITY_PROP_LOW = 0U; + + [NativeTypeName("#define PRIORITY_PROP_NORMAL 1u")] + public const uint PRIORITY_PROP_NORMAL = 1U; + + [NativeTypeName("#define PRIORITY_PROP_HIGH 2u")] + public const uint PRIORITY_PROP_HIGH = 2U; + + [NativeTypeName("#define RATING_ONE_STAR_MIN 1ul")] + public const uint RATING_ONE_STAR_MIN = 1U; + + [NativeTypeName("#define RATING_ONE_STAR_SET 1ul")] + public const uint RATING_ONE_STAR_SET = 1U; + + [NativeTypeName("#define RATING_ONE_STAR_MAX 12ul")] + public const uint RATING_ONE_STAR_MAX = 12U; + + [NativeTypeName("#define RATING_TWO_STARS_MIN 13ul")] + public const uint RATING_TWO_STARS_MIN = 13U; + + [NativeTypeName("#define RATING_TWO_STARS_SET 25ul")] + public const uint RATING_TWO_STARS_SET = 25U; + + [NativeTypeName("#define RATING_TWO_STARS_MAX 37ul")] + public const uint RATING_TWO_STARS_MAX = 37U; + + [NativeTypeName("#define RATING_THREE_STARS_MIN 38ul")] + public const uint RATING_THREE_STARS_MIN = 38U; + + [NativeTypeName("#define RATING_THREE_STARS_SET 50ul")] + public const uint RATING_THREE_STARS_SET = 50U; + + [NativeTypeName("#define RATING_THREE_STARS_MAX 62ul")] + public const uint RATING_THREE_STARS_MAX = 62U; + + [NativeTypeName("#define RATING_FOUR_STARS_MIN 63ul")] + public const uint RATING_FOUR_STARS_MIN = 63U; + + [NativeTypeName("#define RATING_FOUR_STARS_SET 75ul")] + public const uint RATING_FOUR_STARS_SET = 75U; + + [NativeTypeName("#define RATING_FOUR_STARS_MAX 87ul")] + public const uint RATING_FOUR_STARS_MAX = 87U; + + [NativeTypeName("#define RATING_FIVE_STARS_MIN 88ul")] + public const uint RATING_FIVE_STARS_MIN = 88U; + + [NativeTypeName("#define RATING_FIVE_STARS_SET 99ul")] + public const uint RATING_FIVE_STARS_SET = 99U; + + [NativeTypeName("#define RATING_FIVE_STARS_MAX 99ul")] + public const uint RATING_FIVE_STARS_MAX = 99U; + + [NativeTypeName("#define SENSITIVITY_PROP_NORMAL 0u")] + public const uint SENSITIVITY_PROP_NORMAL = 0U; + + [NativeTypeName("#define SENSITIVITY_PROP_PERSONAL 1u")] + public const uint SENSITIVITY_PROP_PERSONAL = 1U; + + [NativeTypeName("#define SENSITIVITY_PROP_PRIVATE 2u")] + public const uint SENSITIVITY_PROP_PRIVATE = 2U; + + [NativeTypeName("#define SENSITIVITY_PROP_CONFIDENTIAL 3u")] + public const uint SENSITIVITY_PROP_CONFIDENTIAL = 3U; + + [NativeTypeName("#define SHARINGSTATUS_NOTSHARED 0ul")] + public const uint SHARINGSTATUS_NOTSHARED = 0U; + + [NativeTypeName("#define SHARINGSTATUS_SHARED 1ul")] + public const uint SHARINGSTATUS_SHARED = 1U; + + [NativeTypeName("#define SHARINGSTATUS_PRIVATE 2ul")] + public const uint SHARINGSTATUS_PRIVATE = 2U; + + [NativeTypeName("#define BLUETOOTH_ADDRESS_TYPE_PUBLIC 0")] + public const int BLUETOOTH_ADDRESS_TYPE_PUBLIC = 0; + + [NativeTypeName("#define BLUETOOTH_ADDRESS_TYPE_RANDOM 1")] + public const int BLUETOOTH_ADDRESS_TYPE_RANDOM = 1; + + [NativeTypeName("#define BLUETOOTH_CACHE_MODE_CACHED 0")] + public const int BLUETOOTH_CACHE_MODE_CACHED = 0; + + [NativeTypeName("#define BLUETOOTH_CACHED_MODE_UNCACHED 1")] + public const int BLUETOOTH_CACHED_MODE_UNCACHED = 1; + + [NativeTypeName("#define PLAYBACKSTATE_UNKNOWN 0")] + public const int PLAYBACKSTATE_UNKNOWN = 0; + + [NativeTypeName("#define PLAYBACKSTATE_STOPPED 1")] + public const int PLAYBACKSTATE_STOPPED = 1; + + [NativeTypeName("#define PLAYBACKSTATE_PLAYING 2")] + public const int PLAYBACKSTATE_PLAYING = 2; + + [NativeTypeName("#define PLAYBACKSTATE_TRANSITIONING 3")] + public const int PLAYBACKSTATE_TRANSITIONING = 3; + + [NativeTypeName("#define PLAYBACKSTATE_PAUSED 4")] + public const int PLAYBACKSTATE_PAUSED = 4; + + [NativeTypeName("#define PLAYBACKSTATE_RECORDINGPAUSED 5")] + public const int PLAYBACKSTATE_RECORDINGPAUSED = 5; + + [NativeTypeName("#define PLAYBACKSTATE_RECORDING 6")] + public const int PLAYBACKSTATE_RECORDING = 6; + + [NativeTypeName("#define PLAYBACKSTATE_NOMEDIA 7")] + public const int PLAYBACKSTATE_NOMEDIA = 7; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFB_ALPHA L\"alpha\"")] + public const string LAYOUTPATTERN_CVMFB_ALPHA = "alpha"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFB_BETA L\"beta\"")] + public const string LAYOUTPATTERN_CVMFB_BETA = "beta"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFB_GAMMA L\"gamma\"")] + public const string LAYOUTPATTERN_CVMFB_GAMMA = "gamma"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFB_DELTA L\"delta\"")] + public const string LAYOUTPATTERN_CVMFB_DELTA = "delta"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFS_ALPHA L\"alpha\"")] + public const string LAYOUTPATTERN_CVMFS_ALPHA = "alpha"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFS_BETA L\"beta\"")] + public const string LAYOUTPATTERN_CVMFS_BETA = "beta"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFS_GAMMA L\"gamma\"")] + public const string LAYOUTPATTERN_CVMFS_GAMMA = "gamma"; + + [NativeTypeName("#define LAYOUTPATTERN_CVMFS_DELTA L\"delta\"")] + public const string LAYOUTPATTERN_CVMFS_DELTA = "delta"; + + [NativeTypeName("#define LINK_STATUS_RESOLVED 1l")] + public const int LINK_STATUS_RESOLVED = 1; + + [NativeTypeName("#define LINK_STATUS_BROKEN 2l")] + public const int LINK_STATUS_BROKEN = 2; + + [NativeTypeName("#define NOTE_COLOR_BLUE 0u")] + public const uint NOTE_COLOR_BLUE = 0U; + + [NativeTypeName("#define NOTE_COLOR_GREEN 1u")] + public const uint NOTE_COLOR_GREEN = 1U; + + [NativeTypeName("#define NOTE_COLOR_PINK 2u")] + public const uint NOTE_COLOR_PINK = 2U; + + [NativeTypeName("#define NOTE_COLOR_YELLOW 3u")] + public const uint NOTE_COLOR_YELLOW = 3U; + + [NativeTypeName("#define NOTE_COLOR_WHITE 4u")] + public const uint NOTE_COLOR_WHITE = 4U; + + [NativeTypeName("#define NOTE_COLOR_LIGHTGREEN 5u")] + public const uint NOTE_COLOR_LIGHTGREEN = 5U; + + [NativeTypeName("#define PHOTO_CONTRAST_NORMAL 0ul")] + public const uint PHOTO_CONTRAST_NORMAL = 0U; + + [NativeTypeName("#define PHOTO_CONTRAST_SOFT 1ul")] + public const uint PHOTO_CONTRAST_SOFT = 1U; + + [NativeTypeName("#define PHOTO_CONTRAST_HARD 2ul")] + public const uint PHOTO_CONTRAST_HARD = 2U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_UNKNOWN 0ul")] + public const uint PHOTO_EXPOSUREPROGRAM_UNKNOWN = 0U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_MANUAL 1ul")] + public const uint PHOTO_EXPOSUREPROGRAM_MANUAL = 1U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_NORMAL 2ul")] + public const uint PHOTO_EXPOSUREPROGRAM_NORMAL = 2U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_APERTURE 3ul")] + public const uint PHOTO_EXPOSUREPROGRAM_APERTURE = 3U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_SHUTTER 4ul")] + public const uint PHOTO_EXPOSUREPROGRAM_SHUTTER = 4U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_CREATIVE 5ul")] + public const uint PHOTO_EXPOSUREPROGRAM_CREATIVE = 5U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_ACTION 6ul")] + public const uint PHOTO_EXPOSUREPROGRAM_ACTION = 6U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_PORTRAIT 7ul")] + public const uint PHOTO_EXPOSUREPROGRAM_PORTRAIT = 7U; + + [NativeTypeName("#define PHOTO_EXPOSUREPROGRAM_LANDSCAPE 8ul")] + public const uint PHOTO_EXPOSUREPROGRAM_LANDSCAPE = 8U; + + [NativeTypeName("#define PHOTO_FLASH_NONE 0")] + public const int PHOTO_FLASH_NONE = 0; + + [NativeTypeName("#define PHOTO_FLASH_FLASH 1")] + public const int PHOTO_FLASH_FLASH = 1; + + [NativeTypeName("#define PHOTO_FLASH_WITHOUTSTROBE 5")] + public const int PHOTO_FLASH_WITHOUTSTROBE = 5; + + [NativeTypeName("#define PHOTO_FLASH_WITHSTROBE 7")] + public const int PHOTO_FLASH_WITHSTROBE = 7; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY 9")] + public const int PHOTO_FLASH_FLASH_COMPULSORY = 9; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY_NORETURNLIGHT 13")] + public const int PHOTO_FLASH_FLASH_COMPULSORY_NORETURNLIGHT = 13; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY_RETURNLIGHT 15")] + public const int PHOTO_FLASH_FLASH_COMPULSORY_RETURNLIGHT = 15; + + [NativeTypeName("#define PHOTO_FLASH_NONE_COMPULSORY 16")] + public const int PHOTO_FLASH_NONE_COMPULSORY = 16; + + [NativeTypeName("#define PHOTO_FLASH_NONE_AUTO 24")] + public const int PHOTO_FLASH_NONE_AUTO = 24; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO 25")] + public const int PHOTO_FLASH_FLASH_AUTO = 25; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO_NORETURNLIGHT 29")] + public const int PHOTO_FLASH_FLASH_AUTO_NORETURNLIGHT = 29; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO_RETURNLIGHT 31")] + public const int PHOTO_FLASH_FLASH_AUTO_RETURNLIGHT = 31; + + [NativeTypeName("#define PHOTO_FLASH_NOFUNCTION 32")] + public const int PHOTO_FLASH_NOFUNCTION = 32; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_REDEYE 65")] + public const int PHOTO_FLASH_FLASH_REDEYE = 65; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_REDEYE_NORETURNLIGHT 69")] + public const int PHOTO_FLASH_FLASH_REDEYE_NORETURNLIGHT = 69; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_REDEYE_RETURNLIGHT 71")] + public const int PHOTO_FLASH_FLASH_REDEYE_RETURNLIGHT = 71; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY_REDEYE 73")] + public const int PHOTO_FLASH_FLASH_COMPULSORY_REDEYE = 73; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY_REDEYE_NORETURNLIGHT 77")] + public const int PHOTO_FLASH_FLASH_COMPULSORY_REDEYE_NORETURNLIGHT = 77; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_COMPULSORY_REDEYE_RETURNLIGHT 79")] + public const int PHOTO_FLASH_FLASH_COMPULSORY_REDEYE_RETURNLIGHT = 79; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO_REDEYE 89")] + public const int PHOTO_FLASH_FLASH_AUTO_REDEYE = 89; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO_REDEYE_NORETURNLIGHT 93")] + public const int PHOTO_FLASH_FLASH_AUTO_REDEYE_NORETURNLIGHT = 93; + + [NativeTypeName("#define PHOTO_FLASH_FLASH_AUTO_REDEYE_RETURNLIGHT 95")] + public const int PHOTO_FLASH_FLASH_AUTO_REDEYE_RETURNLIGHT = 95; + + [NativeTypeName("#define PHOTO_GAINCONTROL_NONE 0.0")] + public const double PHOTO_GAINCONTROL_NONE = 0.0; + + [NativeTypeName("#define PHOTO_GAINCONTROL_LOWGAINUP 1.0")] + public const double PHOTO_GAINCONTROL_LOWGAINUP = 1.0; + + [NativeTypeName("#define PHOTO_GAINCONTROL_HIGHGAINUP 2.0")] + public const double PHOTO_GAINCONTROL_HIGHGAINUP = 2.0; + + [NativeTypeName("#define PHOTO_GAINCONTROL_LOWGAINDOWN 3.0")] + public const double PHOTO_GAINCONTROL_LOWGAINDOWN = 3.0; + + [NativeTypeName("#define PHOTO_GAINCONTROL_HIGHGAINDOWN 4.0")] + public const double PHOTO_GAINCONTROL_HIGHGAINDOWN = 4.0; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_UNKNOWN 0ul")] + public const uint PHOTO_LIGHTSOURCE_UNKNOWN = 0U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_DAYLIGHT 1ul")] + public const uint PHOTO_LIGHTSOURCE_DAYLIGHT = 1U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_FLUORESCENT 2ul")] + public const uint PHOTO_LIGHTSOURCE_FLUORESCENT = 2U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_TUNGSTEN 3ul")] + public const uint PHOTO_LIGHTSOURCE_TUNGSTEN = 3U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_STANDARD_A 17ul")] + public const uint PHOTO_LIGHTSOURCE_STANDARD_A = 17U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_STANDARD_B 18ul")] + public const uint PHOTO_LIGHTSOURCE_STANDARD_B = 18U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_STANDARD_C 19ul")] + public const uint PHOTO_LIGHTSOURCE_STANDARD_C = 19U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_D55 20ul")] + public const uint PHOTO_LIGHTSOURCE_D55 = 20U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_D65 21ul")] + public const uint PHOTO_LIGHTSOURCE_D65 = 21U; + + [NativeTypeName("#define PHOTO_LIGHTSOURCE_D75 22ul")] + public const uint PHOTO_LIGHTSOURCE_D75 = 22U; + + [NativeTypeName("#define PHOTO_METERINGMODE_UNKNOWN 0u")] + public const uint PHOTO_METERINGMODE_UNKNOWN = 0U; + + [NativeTypeName("#define PHOTO_METERINGMODE_AVERAGE 1u")] + public const uint PHOTO_METERINGMODE_AVERAGE = 1U; + + [NativeTypeName("#define PHOTO_METERINGMODE_CENTER 2u")] + public const uint PHOTO_METERINGMODE_CENTER = 2U; + + [NativeTypeName("#define PHOTO_METERINGMODE_SPOT 3u")] + public const uint PHOTO_METERINGMODE_SPOT = 3U; + + [NativeTypeName("#define PHOTO_METERINGMODE_MULTISPOT 4u")] + public const uint PHOTO_METERINGMODE_MULTISPOT = 4U; + + [NativeTypeName("#define PHOTO_METERINGMODE_PATTERN 5u")] + public const uint PHOTO_METERINGMODE_PATTERN = 5U; + + [NativeTypeName("#define PHOTO_METERINGMODE_PARTIAL 6u")] + public const uint PHOTO_METERINGMODE_PARTIAL = 6U; + + [NativeTypeName("#define PHOTO_ORIENTATION_NORMAL 1u")] + public const uint PHOTO_ORIENTATION_NORMAL = 1U; + + [NativeTypeName("#define PHOTO_ORIENTATION_FLIPHORIZONTAL 2u")] + public const uint PHOTO_ORIENTATION_FLIPHORIZONTAL = 2U; + + [NativeTypeName("#define PHOTO_ORIENTATION_ROTATE180 3u")] + public const uint PHOTO_ORIENTATION_ROTATE180 = 3U; + + [NativeTypeName("#define PHOTO_ORIENTATION_FLIPVERTICAL 4u")] + public const uint PHOTO_ORIENTATION_FLIPVERTICAL = 4U; + + [NativeTypeName("#define PHOTO_ORIENTATION_TRANSPOSE 5u")] + public const uint PHOTO_ORIENTATION_TRANSPOSE = 5U; + + [NativeTypeName("#define PHOTO_ORIENTATION_ROTATE270 6u")] + public const uint PHOTO_ORIENTATION_ROTATE270 = 6U; + + [NativeTypeName("#define PHOTO_ORIENTATION_TRANSVERSE 7u")] + public const uint PHOTO_ORIENTATION_TRANSVERSE = 7U; + + [NativeTypeName("#define PHOTO_ORIENTATION_ROTATE90 8u")] + public const uint PHOTO_ORIENTATION_ROTATE90 = 8U; + + [NativeTypeName("#define PHOTO_PHOTOMETRIC_RGB 2u")] + public const uint PHOTO_PHOTOMETRIC_RGB = 2U; + + [NativeTypeName("#define PHOTO_PHOTOMETRIC_YCBCR 6u")] + public const uint PHOTO_PHOTOMETRIC_YCBCR = 6U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_NOTDEFINED 0ul")] + public const uint PHOTO_PROGRAMMODE_NOTDEFINED = 0U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_MANUAL 1ul")] + public const uint PHOTO_PROGRAMMODE_MANUAL = 1U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_NORMAL 2ul")] + public const uint PHOTO_PROGRAMMODE_NORMAL = 2U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_APERTURE 3ul")] + public const uint PHOTO_PROGRAMMODE_APERTURE = 3U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_SHUTTER 4ul")] + public const uint PHOTO_PROGRAMMODE_SHUTTER = 4U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_CREATIVE 5ul")] + public const uint PHOTO_PROGRAMMODE_CREATIVE = 5U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_ACTION 6ul")] + public const uint PHOTO_PROGRAMMODE_ACTION = 6U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_PORTRAIT 7ul")] + public const uint PHOTO_PROGRAMMODE_PORTRAIT = 7U; + + [NativeTypeName("#define PHOTO_PROGRAMMODE_LANDSCAPE 8ul")] + public const uint PHOTO_PROGRAMMODE_LANDSCAPE = 8U; + + [NativeTypeName("#define PHOTO_SATURATION_NORMAL 0ul")] + public const uint PHOTO_SATURATION_NORMAL = 0U; + + [NativeTypeName("#define PHOTO_SATURATION_LOW 1ul")] + public const uint PHOTO_SATURATION_LOW = 1U; + + [NativeTypeName("#define PHOTO_SATURATION_HIGH 2ul")] + public const uint PHOTO_SATURATION_HIGH = 2U; + + [NativeTypeName("#define PHOTO_SHARPNESS_NORMAL 0ul")] + public const uint PHOTO_SHARPNESS_NORMAL = 0U; + + [NativeTypeName("#define PHOTO_SHARPNESS_SOFT 1ul")] + public const uint PHOTO_SHARPNESS_SOFT = 1U; + + [NativeTypeName("#define PHOTO_SHARPNESS_HARD 2ul")] + public const uint PHOTO_SHARPNESS_HARD = 2U; + + [NativeTypeName("#define PHOTO_WHITEBALANCE_AUTO 0ul")] + public const uint PHOTO_WHITEBALANCE_AUTO = 0U; + + [NativeTypeName("#define PHOTO_WHITEBALANCE_MANUAL 1ul")] + public const uint PHOTO_WHITEBALANCE_MANUAL = 1U; + + [NativeTypeName("#define SFGAOSTR_FILESYS L\"filesys\"")] + public const string SFGAOSTR_FILESYS = "filesys"; + + [NativeTypeName("#define SFGAOSTR_FILEANC L\"fileanc\"")] + public const string SFGAOSTR_FILEANC = "fileanc"; + + [NativeTypeName("#define SFGAOSTR_STORAGEANC L\"storageanc\"")] + public const string SFGAOSTR_STORAGEANC = "storageanc"; + + [NativeTypeName("#define SFGAOSTR_STREAM L\"stream\"")] + public const string SFGAOSTR_STREAM = "stream"; + + [NativeTypeName("#define SFGAOSTR_LINK L\"link\"")] + public const string SFGAOSTR_LINK = "link"; + + [NativeTypeName("#define SFGAOSTR_HIDDEN L\"hidden\"")] + public const string SFGAOSTR_HIDDEN = "hidden"; + + [NativeTypeName("#define SFGAOSTR_SUPERHIDDEN L\"superhidden\"")] + public const string SFGAOSTR_SUPERHIDDEN = "superhidden"; + + [NativeTypeName("#define SFGAOSTR_FOLDER L\"folder\"")] + public const string SFGAOSTR_FOLDER = "folder"; + + [NativeTypeName("#define SFGAOSTR_NONENUM L\"nonenum\"")] + public const string SFGAOSTR_NONENUM = "nonenum"; + + [NativeTypeName("#define SFGAOSTR_BROWSABLE L\"browsable\"")] + public const string SFGAOSTR_BROWSABLE = "browsable"; + + [NativeTypeName("#define SFGAOSTR_SYSTEM L\"system\"")] + public const string SFGAOSTR_SYSTEM = "system"; + + [NativeTypeName("#define SFGAOSTR_PLACEHOLDER L\"placeholder\"")] + public const string SFGAOSTR_PLACEHOLDER = "placeholder"; + + [NativeTypeName("#define APPUSERMODEL_STARTPINOPTION_DEFAULT 0ul")] + public const uint APPUSERMODEL_STARTPINOPTION_DEFAULT = 0U; + + [NativeTypeName("#define APPUSERMODEL_STARTPINOPTION_NOPINONINSTALL 1ul")] + public const uint APPUSERMODEL_STARTPINOPTION_NOPINONINSTALL = 1U; + + [NativeTypeName("#define APPUSERMODEL_STARTPINOPTION_USERPINNED 2ul")] + public const uint APPUSERMODEL_STARTPINOPTION_USERPINNED = 2U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_OTHER 0ul")] + public const uint SYNC_HANDLERTYPE_OTHER = 0U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_PROGRAMS 1ul")] + public const uint SYNC_HANDLERTYPE_PROGRAMS = 1U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_DEVICES 2ul")] + public const uint SYNC_HANDLERTYPE_DEVICES = 2U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_FOLDERS 3ul")] + public const uint SYNC_HANDLERTYPE_FOLDERS = 3U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_WEBSERVICES 4ul")] + public const uint SYNC_HANDLERTYPE_WEBSERVICES = 4U; + + [NativeTypeName("#define SYNC_HANDLERTYPE_COMPUTERS 5ul")] + public const uint SYNC_HANDLERTYPE_COMPUTERS = 5U; + + [NativeTypeName("#define SYNC_STATE_NOTSETUP 0ul")] + public const uint SYNC_STATE_NOTSETUP = 0U; + + [NativeTypeName("#define SYNC_STATE_SYNCNOTRUN 1ul")] + public const uint SYNC_STATE_SYNCNOTRUN = 1U; + + [NativeTypeName("#define SYNC_STATE_IDLE 2ul")] + public const uint SYNC_STATE_IDLE = 2U; + + [NativeTypeName("#define SYNC_STATE_ERROR 3ul")] + public const uint SYNC_STATE_ERROR = 3U; + + [NativeTypeName("#define SYNC_STATE_PENDING 4ul")] + public const uint SYNC_STATE_PENDING = 4U; + + [NativeTypeName("#define SYNC_STATE_SYNCING 5ul")] + public const uint SYNC_STATE_SYNCING = 5U; +} diff --git a/tests/Interop/Windows/Windows/um/propkey/PKEYTests.cs b/tests/Interop/Windows/Windows/um/propkey/PKEYTests.cs new file mode 100644 index 0000000000..669278f5b0 --- /dev/null +++ b/tests/Interop/Windows/Windows/um/propkey/PKEYTests.cs @@ -0,0 +1,8302 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/propkey.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using static TerraFX.Interop.Windows.PKEY; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the class. +public static partial class PKEYTests +{ + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Address_CountryTest() + { + Assert.That(PKEY_Address_Country.fmtid, Is.EqualTo(new Guid(0xC07B4199, 0xE1DF, 0x4493, 0xB1, 0xE1, 0xDE, 0x59, 0x46, 0xFB, 0x58, 0xF8))); + Assert.That(PKEY_Address_Country.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Address_CountryCodeTest() + { + Assert.That(PKEY_Address_CountryCode.fmtid, Is.EqualTo(new Guid(0xC07B4199, 0xE1DF, 0x4493, 0xB1, 0xE1, 0xDE, 0x59, 0x46, 0xFB, 0x58, 0xF8))); + Assert.That(PKEY_Address_CountryCode.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Address_RegionTest() + { + Assert.That(PKEY_Address_Region.fmtid, Is.EqualTo(new Guid(0xC07B4199, 0xE1DF, 0x4493, 0xB1, 0xE1, 0xDE, 0x59, 0x46, 0xFB, 0x58, 0xF8))); + Assert.That(PKEY_Address_Region.pid, Is.EqualTo(102)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Address_RegionCodeTest() + { + Assert.That(PKEY_Address_RegionCode.fmtid, Is.EqualTo(new Guid(0xC07B4199, 0xE1DF, 0x4493, 0xB1, 0xE1, 0xDE, 0x59, 0x46, 0xFB, 0x58, 0xF8))); + Assert.That(PKEY_Address_RegionCode.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Address_TownTest() + { + Assert.That(PKEY_Address_Town.fmtid, Is.EqualTo(new Guid(0xC07B4199, 0xE1DF, 0x4493, 0xB1, 0xE1, 0xDE, 0x59, 0x46, 0xFB, 0x58, 0xF8))); + Assert.That(PKEY_Address_Town.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_ChannelCountTest() + { + Assert.That(PKEY_Audio_ChannelCount.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_ChannelCount.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_CompressionTest() + { + Assert.That(PKEY_Audio_Compression.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_Compression.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_EncodingBitrateTest() + { + Assert.That(PKEY_Audio_EncodingBitrate.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_EncodingBitrate.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_FormatTest() + { + Assert.That(PKEY_Audio_Format.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_Format.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_IsVariableBitRateTest() + { + Assert.That(PKEY_Audio_IsVariableBitRate.fmtid, Is.EqualTo(new Guid(0xE6822FEE, 0x8C17, 0x4D62, 0x82, 0x3C, 0x8E, 0x9C, 0xFC, 0xBD, 0x1D, 0x5C))); + Assert.That(PKEY_Audio_IsVariableBitRate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_PeakValueTest() + { + Assert.That(PKEY_Audio_PeakValue.fmtid, Is.EqualTo(new Guid(0x2579E5D0, 0x1116, 0x4084, 0xBD, 0x9A, 0x9B, 0x4F, 0x7C, 0xB4, 0xDF, 0x5E))); + Assert.That(PKEY_Audio_PeakValue.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_SampleRateTest() + { + Assert.That(PKEY_Audio_SampleRate.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_SampleRate.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_SampleSizeTest() + { + Assert.That(PKEY_Audio_SampleSize.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_SampleSize.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_StreamNameTest() + { + Assert.That(PKEY_Audio_StreamName.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_StreamName.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Audio_StreamNumberTest() + { + Assert.That(PKEY_Audio_StreamNumber.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Audio_StreamNumber.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_DurationTest() + { + Assert.That(PKEY_Calendar_Duration.fmtid, Is.EqualTo(new Guid(0x293CA35A, 0x09AA, 0x4DD2, 0xB1, 0x80, 0x1F, 0xE2, 0x45, 0x72, 0x8A, 0x52))); + Assert.That(PKEY_Calendar_Duration.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_IsOnlineTest() + { + Assert.That(PKEY_Calendar_IsOnline.fmtid, Is.EqualTo(new Guid(0xBFEE9149, 0xE3E2, 0x49A7, 0xA8, 0x62, 0xC0, 0x59, 0x88, 0x14, 0x5C, 0xEC))); + Assert.That(PKEY_Calendar_IsOnline.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_IsRecurringTest() + { + Assert.That(PKEY_Calendar_IsRecurring.fmtid, Is.EqualTo(new Guid(0x315B9C8D, 0x80A9, 0x4EF9, 0xAE, 0x16, 0x8E, 0x74, 0x6D, 0xA5, 0x1D, 0x70))); + Assert.That(PKEY_Calendar_IsRecurring.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_LocationTest() + { + Assert.That(PKEY_Calendar_Location.fmtid, Is.EqualTo(new Guid(0xF6272D18, 0xCECC, 0x40B1, 0xB2, 0x6A, 0x39, 0x11, 0x71, 0x7A, 0xA7, 0xBD))); + Assert.That(PKEY_Calendar_Location.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_OptionalAttendeeAddressesTest() + { + Assert.That(PKEY_Calendar_OptionalAttendeeAddresses.fmtid, Is.EqualTo(new Guid(0xD55BAE5A, 0x3892, 0x417A, 0xA6, 0x49, 0xC6, 0xAC, 0x5A, 0xAA, 0xEA, 0xB3))); + Assert.That(PKEY_Calendar_OptionalAttendeeAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_OptionalAttendeeNamesTest() + { + Assert.That(PKEY_Calendar_OptionalAttendeeNames.fmtid, Is.EqualTo(new Guid(0x09429607, 0x582D, 0x437F, 0x84, 0xC3, 0xDE, 0x93, 0xA2, 0xB2, 0x4C, 0x3C))); + Assert.That(PKEY_Calendar_OptionalAttendeeNames.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_OrganizerAddressTest() + { + Assert.That(PKEY_Calendar_OrganizerAddress.fmtid, Is.EqualTo(new Guid(0x744C8242, 0x4DF5, 0x456C, 0xAB, 0x9E, 0x01, 0x4E, 0xFB, 0x90, 0x21, 0xE3))); + Assert.That(PKEY_Calendar_OrganizerAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_OrganizerNameTest() + { + Assert.That(PKEY_Calendar_OrganizerName.fmtid, Is.EqualTo(new Guid(0xAAA660F9, 0x9865, 0x458E, 0xB4, 0x84, 0x01, 0xBC, 0x7F, 0xE3, 0x97, 0x3E))); + Assert.That(PKEY_Calendar_OrganizerName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_ReminderTimeTest() + { + Assert.That(PKEY_Calendar_ReminderTime.fmtid, Is.EqualTo(new Guid(0x72FC5BA4, 0x24F9, 0x4011, 0x9F, 0x3F, 0xAD, 0xD2, 0x7A, 0xFA, 0xD8, 0x18))); + Assert.That(PKEY_Calendar_ReminderTime.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_RequiredAttendeeAddressesTest() + { + Assert.That(PKEY_Calendar_RequiredAttendeeAddresses.fmtid, Is.EqualTo(new Guid(0x0BA7D6C3, 0x568D, 0x4159, 0xAB, 0x91, 0x78, 0x1A, 0x91, 0xFB, 0x71, 0xE5))); + Assert.That(PKEY_Calendar_RequiredAttendeeAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_RequiredAttendeeNamesTest() + { + Assert.That(PKEY_Calendar_RequiredAttendeeNames.fmtid, Is.EqualTo(new Guid(0xB33AF30B, 0xF552, 0x4584, 0x93, 0x6C, 0xCB, 0x93, 0xE5, 0xCD, 0xA2, 0x9F))); + Assert.That(PKEY_Calendar_RequiredAttendeeNames.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_ResourcesTest() + { + Assert.That(PKEY_Calendar_Resources.fmtid, Is.EqualTo(new Guid(0x00F58A38, 0xC54B, 0x4C40, 0x86, 0x96, 0x97, 0x23, 0x59, 0x80, 0xEA, 0xE1))); + Assert.That(PKEY_Calendar_Resources.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_ResponseStatusTest() + { + Assert.That(PKEY_Calendar_ResponseStatus.fmtid, Is.EqualTo(new Guid(0x188C1F91, 0x3C40, 0x4132, 0x9E, 0xC5, 0xD8, 0xB0, 0x3B, 0x72, 0xA8, 0xA2))); + Assert.That(PKEY_Calendar_ResponseStatus.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_ShowTimeAsTest() + { + Assert.That(PKEY_Calendar_ShowTimeAs.fmtid, Is.EqualTo(new Guid(0x5BF396D4, 0x5EB2, 0x466F, 0xBD, 0xE9, 0x2F, 0xB3, 0xF2, 0x36, 0x1D, 0x6E))); + Assert.That(PKEY_Calendar_ShowTimeAs.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Calendar_ShowTimeAsTextTest() + { + Assert.That(PKEY_Calendar_ShowTimeAsText.fmtid, Is.EqualTo(new Guid(0x53DA57CF, 0x62C0, 0x45C4, 0x81, 0xDE, 0x76, 0x10, 0xBC, 0xEF, 0xD7, 0xF5))); + Assert.That(PKEY_Calendar_ShowTimeAsText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_AccountNameTest() + { + Assert.That(PKEY_Communication_AccountName.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Communication_AccountName.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_DateItemExpiresTest() + { + Assert.That(PKEY_Communication_DateItemExpires.fmtid, Is.EqualTo(new Guid(0x428040AC, 0xA177, 0x4C8A, 0x97, 0x60, 0xF6, 0xF7, 0x61, 0x22, 0x7F, 0x9A))); + Assert.That(PKEY_Communication_DateItemExpires.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_DirectionTest() + { + Assert.That(PKEY_Communication_Direction.fmtid, Is.EqualTo(new Guid(0x8E531030, 0xB960, 0x4346, 0xAE, 0x0D, 0x66, 0xBC, 0x9A, 0x86, 0xFB, 0x94))); + Assert.That(PKEY_Communication_Direction.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_FollowupIconIndexTest() + { + Assert.That(PKEY_Communication_FollowupIconIndex.fmtid, Is.EqualTo(new Guid(0x83A6347E, 0x6FE4, 0x4F40, 0xBA, 0x9C, 0xC4, 0x86, 0x52, 0x40, 0xD1, 0xF4))); + Assert.That(PKEY_Communication_FollowupIconIndex.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_HeaderItemTest() + { + Assert.That(PKEY_Communication_HeaderItem.fmtid, Is.EqualTo(new Guid(0xC9C34F84, 0x2241, 0x4401, 0xB6, 0x07, 0xBD, 0x20, 0xED, 0x75, 0xAE, 0x7F))); + Assert.That(PKEY_Communication_HeaderItem.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_PolicyTagTest() + { + Assert.That(PKEY_Communication_PolicyTag.fmtid, Is.EqualTo(new Guid(0xEC0B4191, 0xAB0B, 0x4C66, 0x90, 0xB6, 0xC6, 0x63, 0x7C, 0xDE, 0xBB, 0xAB))); + Assert.That(PKEY_Communication_PolicyTag.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_SecurityFlagsTest() + { + Assert.That(PKEY_Communication_SecurityFlags.fmtid, Is.EqualTo(new Guid(0x8619A4B6, 0x9F4D, 0x4429, 0x8C, 0x0F, 0xB9, 0x96, 0xCA, 0x59, 0xE3, 0x35))); + Assert.That(PKEY_Communication_SecurityFlags.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_SuffixTest() + { + Assert.That(PKEY_Communication_Suffix.fmtid, Is.EqualTo(new Guid(0x807B653A, 0x9E91, 0x43EF, 0x8F, 0x97, 0x11, 0xCE, 0x04, 0xEE, 0x20, 0xC5))); + Assert.That(PKEY_Communication_Suffix.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_TaskStatusTest() + { + Assert.That(PKEY_Communication_TaskStatus.fmtid, Is.EqualTo(new Guid(0xBE1A72C6, 0x9A1D, 0x46B7, 0xAF, 0xE7, 0xAF, 0xAF, 0x8C, 0xEF, 0x49, 0x99))); + Assert.That(PKEY_Communication_TaskStatus.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Communication_TaskStatusTextTest() + { + Assert.That(PKEY_Communication_TaskStatusText.fmtid, Is.EqualTo(new Guid(0xA6744477, 0xC237, 0x475B, 0xA0, 0x75, 0x54, 0xF3, 0x44, 0x98, 0x29, 0x2A))); + Assert.That(PKEY_Communication_TaskStatusText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Computer_DecoratedFreeSpaceTest() + { + Assert.That(PKEY_Computer_DecoratedFreeSpace.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_Computer_DecoratedFreeSpace.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AccountPictureDynamicVideoTest() + { + Assert.That(PKEY_Contact_AccountPictureDynamicVideo.fmtid, Is.EqualTo(new Guid(0x0B8BB018, 0x2725, 0x4B44, 0x92, 0xBA, 0x79, 0x33, 0xAE, 0xB2, 0xDD, 0xE7))); + Assert.That(PKEY_Contact_AccountPictureDynamicVideo.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AccountPictureLargeTest() + { + Assert.That(PKEY_Contact_AccountPictureLarge.fmtid, Is.EqualTo(new Guid(0x0B8BB018, 0x2725, 0x4B44, 0x92, 0xBA, 0x79, 0x33, 0xAE, 0xB2, 0xDD, 0xE7))); + Assert.That(PKEY_Contact_AccountPictureLarge.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AccountPictureSmallTest() + { + Assert.That(PKEY_Contact_AccountPictureSmall.fmtid, Is.EqualTo(new Guid(0x0B8BB018, 0x2725, 0x4B44, 0x92, 0xBA, 0x79, 0x33, 0xAE, 0xB2, 0xDD, 0xE7))); + Assert.That(PKEY_Contact_AccountPictureSmall.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AnniversaryTest() + { + Assert.That(PKEY_Contact_Anniversary.fmtid, Is.EqualTo(new Guid(0x9AD5BADB, 0xCEA7, 0x4470, 0xA0, 0x3D, 0xB8, 0x4E, 0x51, 0xB9, 0x94, 0x9E))); + Assert.That(PKEY_Contact_Anniversary.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AssistantNameTest() + { + Assert.That(PKEY_Contact_AssistantName.fmtid, Is.EqualTo(new Guid(0xCD102C9C, 0x5540, 0x4A88, 0xA6, 0xF6, 0x64, 0xE4, 0x98, 0x1C, 0x8C, 0xD1))); + Assert.That(PKEY_Contact_AssistantName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_AssistantTelephoneTest() + { + Assert.That(PKEY_Contact_AssistantTelephone.fmtid, Is.EqualTo(new Guid(0x9A93244D, 0xA7AD, 0x4FF8, 0x9B, 0x99, 0x45, 0xEE, 0x4C, 0xC0, 0x9A, 0xF6))); + Assert.That(PKEY_Contact_AssistantTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BirthdayTest() + { + Assert.That(PKEY_Contact_Birthday.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_Birthday.pid, Is.EqualTo(47)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressTest() + { + Assert.That(PKEY_Contact_BusinessAddress.fmtid, Is.EqualTo(new Guid(0x730FB6DD, 0xCF7C, 0x426B, 0xA0, 0x3F, 0xBD, 0x16, 0x6C, 0xC9, 0xEE, 0x24))); + Assert.That(PKEY_Contact_BusinessAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress1CountryTest() + { + Assert.That(PKEY_Contact_BusinessAddress1Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress1Country.pid, Is.EqualTo(119)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress1LocalityTest() + { + Assert.That(PKEY_Contact_BusinessAddress1Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress1Locality.pid, Is.EqualTo(117)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress1PostalCodeTest() + { + Assert.That(PKEY_Contact_BusinessAddress1PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress1PostalCode.pid, Is.EqualTo(120)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress1RegionTest() + { + Assert.That(PKEY_Contact_BusinessAddress1Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress1Region.pid, Is.EqualTo(118)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress1StreetTest() + { + Assert.That(PKEY_Contact_BusinessAddress1Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress1Street.pid, Is.EqualTo(116)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress2CountryTest() + { + Assert.That(PKEY_Contact_BusinessAddress2Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress2Country.pid, Is.EqualTo(124)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress2LocalityTest() + { + Assert.That(PKEY_Contact_BusinessAddress2Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress2Locality.pid, Is.EqualTo(122)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress2PostalCodeTest() + { + Assert.That(PKEY_Contact_BusinessAddress2PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress2PostalCode.pid, Is.EqualTo(125)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress2RegionTest() + { + Assert.That(PKEY_Contact_BusinessAddress2Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress2Region.pid, Is.EqualTo(123)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress2StreetTest() + { + Assert.That(PKEY_Contact_BusinessAddress2Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress2Street.pid, Is.EqualTo(121)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress3CountryTest() + { + Assert.That(PKEY_Contact_BusinessAddress3Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress3Country.pid, Is.EqualTo(129)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress3LocalityTest() + { + Assert.That(PKEY_Contact_BusinessAddress3Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress3Locality.pid, Is.EqualTo(127)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress3PostalCodeTest() + { + Assert.That(PKEY_Contact_BusinessAddress3PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress3PostalCode.pid, Is.EqualTo(130)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress3RegionTest() + { + Assert.That(PKEY_Contact_BusinessAddress3Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress3Region.pid, Is.EqualTo(128)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddress3StreetTest() + { + Assert.That(PKEY_Contact_BusinessAddress3Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_BusinessAddress3Street.pid, Is.EqualTo(126)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressCityTest() + { + Assert.That(PKEY_Contact_BusinessAddressCity.fmtid, Is.EqualTo(new Guid(0x402B5934, 0xEC5A, 0x48C3, 0x93, 0xE6, 0x85, 0xE8, 0x6A, 0x2D, 0x93, 0x4E))); + Assert.That(PKEY_Contact_BusinessAddressCity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressCountryTest() + { + Assert.That(PKEY_Contact_BusinessAddressCountry.fmtid, Is.EqualTo(new Guid(0xB0B87314, 0xFCF6, 0x4FEB, 0x8D, 0xFF, 0xA5, 0x0D, 0xA6, 0xAF, 0x56, 0x1C))); + Assert.That(PKEY_Contact_BusinessAddressCountry.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressPostalCodeTest() + { + Assert.That(PKEY_Contact_BusinessAddressPostalCode.fmtid, Is.EqualTo(new Guid(0xE1D4A09E, 0xD758, 0x4CD1, 0xB6, 0xEC, 0x34, 0xA8, 0xB5, 0xA7, 0x3F, 0x80))); + Assert.That(PKEY_Contact_BusinessAddressPostalCode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressPostOfficeBoxTest() + { + Assert.That(PKEY_Contact_BusinessAddressPostOfficeBox.fmtid, Is.EqualTo(new Guid(0xBC4E71CE, 0x17F9, 0x48D5, 0xBE, 0xE9, 0x02, 0x1D, 0xF0, 0xEA, 0x54, 0x09))); + Assert.That(PKEY_Contact_BusinessAddressPostOfficeBox.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressStateTest() + { + Assert.That(PKEY_Contact_BusinessAddressState.fmtid, Is.EqualTo(new Guid(0x446F787F, 0x10C4, 0x41CB, 0xA6, 0xC4, 0x4D, 0x03, 0x43, 0x55, 0x15, 0x97))); + Assert.That(PKEY_Contact_BusinessAddressState.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessAddressStreetTest() + { + Assert.That(PKEY_Contact_BusinessAddressStreet.fmtid, Is.EqualTo(new Guid(0xDDD1460F, 0xC0BF, 0x4553, 0x8C, 0xE4, 0x10, 0x43, 0x3C, 0x90, 0x8F, 0xB0))); + Assert.That(PKEY_Contact_BusinessAddressStreet.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessEmailAddressesTest() + { + Assert.That(PKEY_Contact_BusinessEmailAddresses.fmtid, Is.EqualTo(new Guid(0xF271C659, 0x7E5E, 0x471F, 0xBA, 0x25, 0x7F, 0x77, 0xB2, 0x86, 0xF8, 0x36))); + Assert.That(PKEY_Contact_BusinessEmailAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessFaxNumberTest() + { + Assert.That(PKEY_Contact_BusinessFaxNumber.fmtid, Is.EqualTo(new Guid(0x91EFF6F3, 0x2E27, 0x42CA, 0x93, 0x3E, 0x7C, 0x99, 0x9F, 0xBE, 0x31, 0x0B))); + Assert.That(PKEY_Contact_BusinessFaxNumber.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessHomePageTest() + { + Assert.That(PKEY_Contact_BusinessHomePage.fmtid, Is.EqualTo(new Guid(0x56310920, 0x2491, 0x4919, 0x99, 0xCE, 0xEA, 0xDB, 0x06, 0xFA, 0xFD, 0xB2))); + Assert.That(PKEY_Contact_BusinessHomePage.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_BusinessTelephoneTest() + { + Assert.That(PKEY_Contact_BusinessTelephone.fmtid, Is.EqualTo(new Guid(0x6A15E5A0, 0x0A1E, 0x4CD7, 0xBB, 0x8C, 0xD2, 0xF1, 0xB0, 0xC9, 0x29, 0xBC))); + Assert.That(PKEY_Contact_BusinessTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_CallbackTelephoneTest() + { + Assert.That(PKEY_Contact_CallbackTelephone.fmtid, Is.EqualTo(new Guid(0xBF53D1C3, 0x49E0, 0x4F7F, 0x85, 0x67, 0x5A, 0x82, 0x1D, 0x8A, 0xC5, 0x42))); + Assert.That(PKEY_Contact_CallbackTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_CarTelephoneTest() + { + Assert.That(PKEY_Contact_CarTelephone.fmtid, Is.EqualTo(new Guid(0x8FDC6DEA, 0xB929, 0x412B, 0xBA, 0x90, 0x39, 0x7A, 0x25, 0x74, 0x65, 0xFE))); + Assert.That(PKEY_Contact_CarTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ChildrenTest() + { + Assert.That(PKEY_Contact_Children.fmtid, Is.EqualTo(new Guid(0xD4729704, 0x8EF1, 0x43EF, 0x90, 0x24, 0x2B, 0xD3, 0x81, 0x18, 0x7F, 0xD5))); + Assert.That(PKEY_Contact_Children.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_CompanyMainTelephoneTest() + { + Assert.That(PKEY_Contact_CompanyMainTelephone.fmtid, Is.EqualTo(new Guid(0x8589E481, 0x6040, 0x473D, 0xB1, 0x71, 0x7F, 0xA8, 0x9C, 0x27, 0x08, 0xED))); + Assert.That(PKEY_Contact_CompanyMainTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ConnectedServiceDisplayNameTest() + { + Assert.That(PKEY_Contact_ConnectedServiceDisplayName.fmtid, Is.EqualTo(new Guid(0x39B77F4F, 0xA104, 0x4863, 0xB3, 0x95, 0x2D, 0xB2, 0xAD, 0x8F, 0x7B, 0xC1))); + Assert.That(PKEY_Contact_ConnectedServiceDisplayName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ConnectedServiceIdentitiesTest() + { + Assert.That(PKEY_Contact_ConnectedServiceIdentities.fmtid, Is.EqualTo(new Guid(0x80F41EB8, 0xAFC4, 0x4208, 0xAA, 0x5F, 0xCC, 0xE2, 0x1A, 0x62, 0x72, 0x81))); + Assert.That(PKEY_Contact_ConnectedServiceIdentities.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ConnectedServiceNameTest() + { + Assert.That(PKEY_Contact_ConnectedServiceName.fmtid, Is.EqualTo(new Guid(0xB5C84C9E, 0x5927, 0x46B5, 0xA3, 0xCC, 0x93, 0x3C, 0x21, 0xB7, 0x84, 0x69))); + Assert.That(PKEY_Contact_ConnectedServiceName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ConnectedServiceSupportedActionsTest() + { + Assert.That(PKEY_Contact_ConnectedServiceSupportedActions.fmtid, Is.EqualTo(new Guid(0xA19FB7A9, 0x024B, 0x4371, 0xA8, 0xBF, 0x4D, 0x29, 0xC3, 0xE4, 0xE9, 0xC9))); + Assert.That(PKEY_Contact_ConnectedServiceSupportedActions.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DataSuppliersTest() + { + Assert.That(PKEY_Contact_DataSuppliers.fmtid, Is.EqualTo(new Guid(0x9660C283, 0xFC3A, 0x4A08, 0xA0, 0x96, 0xEE, 0xD3, 0xAA, 0xC4, 0x6D, 0xA2))); + Assert.That(PKEY_Contact_DataSuppliers.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DepartmentTest() + { + Assert.That(PKEY_Contact_Department.fmtid, Is.EqualTo(new Guid(0xFC9F7306, 0xFF8F, 0x4D49, 0x9F, 0xB6, 0x3F, 0xFE, 0x5C, 0x09, 0x51, 0xEC))); + Assert.That(PKEY_Contact_Department.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DisplayBusinessPhoneNumbersTest() + { + Assert.That(PKEY_Contact_DisplayBusinessPhoneNumbers.fmtid, Is.EqualTo(new Guid(0x364028DA, 0xD895, 0x41FE, 0xA5, 0x84, 0x30, 0x2B, 0x1B, 0xB7, 0x0A, 0x76))); + Assert.That(PKEY_Contact_DisplayBusinessPhoneNumbers.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DisplayHomePhoneNumbersTest() + { + Assert.That(PKEY_Contact_DisplayHomePhoneNumbers.fmtid, Is.EqualTo(new Guid(0x5068BCDF, 0xD697, 0x4D85, 0x8C, 0x53, 0x1F, 0x1C, 0xDA, 0xB0, 0x17, 0x63))); + Assert.That(PKEY_Contact_DisplayHomePhoneNumbers.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DisplayMobilePhoneNumbersTest() + { + Assert.That(PKEY_Contact_DisplayMobilePhoneNumbers.fmtid, Is.EqualTo(new Guid(0x9CB0C358, 0x9D7A, 0x46B1, 0xB4, 0x66, 0xDC, 0xC6, 0xF1, 0xA3, 0xD9, 0x3D))); + Assert.That(PKEY_Contact_DisplayMobilePhoneNumbers.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_DisplayOtherPhoneNumbersTest() + { + Assert.That(PKEY_Contact_DisplayOtherPhoneNumbers.fmtid, Is.EqualTo(new Guid(0x03089873, 0x8EE8, 0x4191, 0xBD, 0x60, 0xD3, 0x1F, 0x72, 0xB7, 0x90, 0x0B))); + Assert.That(PKEY_Contact_DisplayOtherPhoneNumbers.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_EmailAddressTest() + { + Assert.That(PKEY_Contact_EmailAddress.fmtid, Is.EqualTo(new Guid(0xF8FA7FA3, 0xD12B, 0x4785, 0x8A, 0x4E, 0x69, 0x1A, 0x94, 0xF7, 0xA3, 0xE7))); + Assert.That(PKEY_Contact_EmailAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_EmailAddress2Test() + { + Assert.That(PKEY_Contact_EmailAddress2.fmtid, Is.EqualTo(new Guid(0x38965063, 0xEDC8, 0x4268, 0x84, 0x91, 0xB7, 0x72, 0x31, 0x72, 0xCF, 0x29))); + Assert.That(PKEY_Contact_EmailAddress2.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_EmailAddress3Test() + { + Assert.That(PKEY_Contact_EmailAddress3.fmtid, Is.EqualTo(new Guid(0x644D37B4, 0xE1B3, 0x4BAD, 0xB0, 0x99, 0x7E, 0x7C, 0x04, 0x96, 0x6A, 0xCA))); + Assert.That(PKEY_Contact_EmailAddress3.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_EmailAddressesTest() + { + Assert.That(PKEY_Contact_EmailAddresses.fmtid, Is.EqualTo(new Guid(0x84D8F337, 0x981D, 0x44B3, 0x96, 0x15, 0xC7, 0x59, 0x6D, 0xBA, 0x17, 0xE3))); + Assert.That(PKEY_Contact_EmailAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_EmailNameTest() + { + Assert.That(PKEY_Contact_EmailName.fmtid, Is.EqualTo(new Guid(0xCC6F4F24, 0x6083, 0x4BD4, 0x87, 0x54, 0x67, 0x4D, 0x0D, 0xE8, 0x7A, 0xB8))); + Assert.That(PKEY_Contact_EmailName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_FileAsNameTest() + { + Assert.That(PKEY_Contact_FileAsName.fmtid, Is.EqualTo(new Guid(0xF1A24AA7, 0x9CA7, 0x40F6, 0x89, 0xEC, 0x97, 0xDE, 0xF9, 0xFF, 0xE8, 0xDB))); + Assert.That(PKEY_Contact_FileAsName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_FirstNameTest() + { + Assert.That(PKEY_Contact_FirstName.fmtid, Is.EqualTo(new Guid(0x14977844, 0x6B49, 0x4AAD, 0xA7, 0x14, 0xA4, 0x51, 0x3B, 0xF6, 0x04, 0x60))); + Assert.That(PKEY_Contact_FirstName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_FullNameTest() + { + Assert.That(PKEY_Contact_FullName.fmtid, Is.EqualTo(new Guid(0x635E9051, 0x50A5, 0x4BA2, 0xB9, 0xDB, 0x4E, 0xD0, 0x56, 0xC7, 0x72, 0x96))); + Assert.That(PKEY_Contact_FullName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_GenderTest() + { + Assert.That(PKEY_Contact_Gender.fmtid, Is.EqualTo(new Guid(0x3C8CEE58, 0xD4F0, 0x4CF9, 0xB7, 0x56, 0x4E, 0x5D, 0x24, 0x44, 0x7B, 0xCD))); + Assert.That(PKEY_Contact_Gender.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_GenderValueTest() + { + Assert.That(PKEY_Contact_GenderValue.fmtid, Is.EqualTo(new Guid(0x3C8CEE58, 0xD4F0, 0x4CF9, 0xB7, 0x56, 0x4E, 0x5D, 0x24, 0x44, 0x7B, 0xCD))); + Assert.That(PKEY_Contact_GenderValue.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HobbiesTest() + { + Assert.That(PKEY_Contact_Hobbies.fmtid, Is.EqualTo(new Guid(0x5DC2253F, 0x5E11, 0x4ADF, 0x9C, 0xFE, 0x91, 0x0D, 0xD0, 0x1E, 0x3E, 0x70))); + Assert.That(PKEY_Contact_Hobbies.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressTest() + { + Assert.That(PKEY_Contact_HomeAddress.fmtid, Is.EqualTo(new Guid(0x98F98354, 0x617A, 0x46B8, 0x85, 0x60, 0x5B, 0x1B, 0x64, 0xBF, 0x1F, 0x89))); + Assert.That(PKEY_Contact_HomeAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress1CountryTest() + { + Assert.That(PKEY_Contact_HomeAddress1Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress1Country.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress1LocalityTest() + { + Assert.That(PKEY_Contact_HomeAddress1Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress1Locality.pid, Is.EqualTo(102)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress1PostalCodeTest() + { + Assert.That(PKEY_Contact_HomeAddress1PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress1PostalCode.pid, Is.EqualTo(105)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress1RegionTest() + { + Assert.That(PKEY_Contact_HomeAddress1Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress1Region.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress1StreetTest() + { + Assert.That(PKEY_Contact_HomeAddress1Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress1Street.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress2CountryTest() + { + Assert.That(PKEY_Contact_HomeAddress2Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress2Country.pid, Is.EqualTo(109)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress2LocalityTest() + { + Assert.That(PKEY_Contact_HomeAddress2Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress2Locality.pid, Is.EqualTo(107)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress2PostalCodeTest() + { + Assert.That(PKEY_Contact_HomeAddress2PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress2PostalCode.pid, Is.EqualTo(110)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress2RegionTest() + { + Assert.That(PKEY_Contact_HomeAddress2Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress2Region.pid, Is.EqualTo(108)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress2StreetTest() + { + Assert.That(PKEY_Contact_HomeAddress2Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress2Street.pid, Is.EqualTo(106)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress3CountryTest() + { + Assert.That(PKEY_Contact_HomeAddress3Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress3Country.pid, Is.EqualTo(114)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress3LocalityTest() + { + Assert.That(PKEY_Contact_HomeAddress3Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress3Locality.pid, Is.EqualTo(112)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress3PostalCodeTest() + { + Assert.That(PKEY_Contact_HomeAddress3PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress3PostalCode.pid, Is.EqualTo(115)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress3RegionTest() + { + Assert.That(PKEY_Contact_HomeAddress3Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress3Region.pid, Is.EqualTo(113)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddress3StreetTest() + { + Assert.That(PKEY_Contact_HomeAddress3Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_HomeAddress3Street.pid, Is.EqualTo(111)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressCityTest() + { + Assert.That(PKEY_Contact_HomeAddressCity.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_HomeAddressCity.pid, Is.EqualTo(65)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressCountryTest() + { + Assert.That(PKEY_Contact_HomeAddressCountry.fmtid, Is.EqualTo(new Guid(0x08A65AA1, 0xF4C9, 0x43DD, 0x9D, 0xDF, 0xA3, 0x3D, 0x8E, 0x7E, 0xAD, 0x85))); + Assert.That(PKEY_Contact_HomeAddressCountry.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressPostalCodeTest() + { + Assert.That(PKEY_Contact_HomeAddressPostalCode.fmtid, Is.EqualTo(new Guid(0x8AFCC170, 0x8A46, 0x4B53, 0x9E, 0xEE, 0x90, 0xBA, 0xE7, 0x15, 0x1E, 0x62))); + Assert.That(PKEY_Contact_HomeAddressPostalCode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressPostOfficeBoxTest() + { + Assert.That(PKEY_Contact_HomeAddressPostOfficeBox.fmtid, Is.EqualTo(new Guid(0x7B9F6399, 0x0A3F, 0x4B12, 0x89, 0xBD, 0x4A, 0xDC, 0x51, 0xC9, 0x18, 0xAF))); + Assert.That(PKEY_Contact_HomeAddressPostOfficeBox.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressStateTest() + { + Assert.That(PKEY_Contact_HomeAddressState.fmtid, Is.EqualTo(new Guid(0xC89A23D0, 0x7D6D, 0x4EB8, 0x87, 0xD4, 0x77, 0x6A, 0x82, 0xD4, 0x93, 0xE5))); + Assert.That(PKEY_Contact_HomeAddressState.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeAddressStreetTest() + { + Assert.That(PKEY_Contact_HomeAddressStreet.fmtid, Is.EqualTo(new Guid(0x0ADEF160, 0xDB3F, 0x4308, 0x9A, 0x21, 0x06, 0x23, 0x7B, 0x16, 0xFA, 0x2A))); + Assert.That(PKEY_Contact_HomeAddressStreet.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeEmailAddressesTest() + { + Assert.That(PKEY_Contact_HomeEmailAddresses.fmtid, Is.EqualTo(new Guid(0x56C90E9D, 0x9D46, 0x4963, 0x88, 0x6F, 0x2E, 0x1C, 0xD9, 0xA6, 0x94, 0xEF))); + Assert.That(PKEY_Contact_HomeEmailAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeFaxNumberTest() + { + Assert.That(PKEY_Contact_HomeFaxNumber.fmtid, Is.EqualTo(new Guid(0x660E04D6, 0x81AB, 0x4977, 0xA0, 0x9F, 0x82, 0x31, 0x31, 0x13, 0xAB, 0x26))); + Assert.That(PKEY_Contact_HomeFaxNumber.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_HomeTelephoneTest() + { + Assert.That(PKEY_Contact_HomeTelephone.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_HomeTelephone.pid, Is.EqualTo(20)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_IMAddressTest() + { + Assert.That(PKEY_Contact_IMAddress.fmtid, Is.EqualTo(new Guid(0xD68DBD8A, 0x3374, 0x4B81, 0x99, 0x72, 0x3E, 0xC3, 0x06, 0x82, 0xDB, 0x3D))); + Assert.That(PKEY_Contact_IMAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_InitialsTest() + { + Assert.That(PKEY_Contact_Initials.fmtid, Is.EqualTo(new Guid(0xF3D8F40D, 0x50CB, 0x44A2, 0x97, 0x18, 0x40, 0xCB, 0x91, 0x19, 0x49, 0x5D))); + Assert.That(PKEY_Contact_Initials.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JA_CompanyNamePhoneticTest() + { + Assert.That(PKEY_Contact_JA_CompanyNamePhonetic.fmtid, Is.EqualTo(new Guid(0x897B3694, 0xFE9E, 0x43E6, 0x80, 0x66, 0x26, 0x0F, 0x59, 0x0C, 0x01, 0x00))); + Assert.That(PKEY_Contact_JA_CompanyNamePhonetic.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JA_FirstNamePhoneticTest() + { + Assert.That(PKEY_Contact_JA_FirstNamePhonetic.fmtid, Is.EqualTo(new Guid(0x897B3694, 0xFE9E, 0x43E6, 0x80, 0x66, 0x26, 0x0F, 0x59, 0x0C, 0x01, 0x00))); + Assert.That(PKEY_Contact_JA_FirstNamePhonetic.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JA_LastNamePhoneticTest() + { + Assert.That(PKEY_Contact_JA_LastNamePhonetic.fmtid, Is.EqualTo(new Guid(0x897B3694, 0xFE9E, 0x43E6, 0x80, 0x66, 0x26, 0x0F, 0x59, 0x0C, 0x01, 0x00))); + Assert.That(PKEY_Contact_JA_LastNamePhonetic.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1CompanyAddressTest() + { + Assert.That(PKEY_Contact_JobInfo1CompanyAddress.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1CompanyAddress.pid, Is.EqualTo(120)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1CompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo1CompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1CompanyName.pid, Is.EqualTo(102)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1DepartmentTest() + { + Assert.That(PKEY_Contact_JobInfo1Department.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1Department.pid, Is.EqualTo(106)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1ManagerTest() + { + Assert.That(PKEY_Contact_JobInfo1Manager.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1Manager.pid, Is.EqualTo(105)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1OfficeLocationTest() + { + Assert.That(PKEY_Contact_JobInfo1OfficeLocation.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1OfficeLocation.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1TitleTest() + { + Assert.That(PKEY_Contact_JobInfo1Title.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1Title.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo1YomiCompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo1YomiCompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo1YomiCompanyName.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2CompanyAddressTest() + { + Assert.That(PKEY_Contact_JobInfo2CompanyAddress.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2CompanyAddress.pid, Is.EqualTo(121)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2CompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo2CompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2CompanyName.pid, Is.EqualTo(108)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2DepartmentTest() + { + Assert.That(PKEY_Contact_JobInfo2Department.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2Department.pid, Is.EqualTo(113)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2ManagerTest() + { + Assert.That(PKEY_Contact_JobInfo2Manager.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2Manager.pid, Is.EqualTo(112)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2OfficeLocationTest() + { + Assert.That(PKEY_Contact_JobInfo2OfficeLocation.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2OfficeLocation.pid, Is.EqualTo(110)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2TitleTest() + { + Assert.That(PKEY_Contact_JobInfo2Title.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2Title.pid, Is.EqualTo(109)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo2YomiCompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo2YomiCompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo2YomiCompanyName.pid, Is.EqualTo(107)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3CompanyAddressTest() + { + Assert.That(PKEY_Contact_JobInfo3CompanyAddress.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3CompanyAddress.pid, Is.EqualTo(123)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3CompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo3CompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3CompanyName.pid, Is.EqualTo(115)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3DepartmentTest() + { + Assert.That(PKEY_Contact_JobInfo3Department.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3Department.pid, Is.EqualTo(119)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3ManagerTest() + { + Assert.That(PKEY_Contact_JobInfo3Manager.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3Manager.pid, Is.EqualTo(118)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3OfficeLocationTest() + { + Assert.That(PKEY_Contact_JobInfo3OfficeLocation.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3OfficeLocation.pid, Is.EqualTo(117)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3TitleTest() + { + Assert.That(PKEY_Contact_JobInfo3Title.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3Title.pid, Is.EqualTo(116)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobInfo3YomiCompanyNameTest() + { + Assert.That(PKEY_Contact_JobInfo3YomiCompanyName.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_JobInfo3YomiCompanyName.pid, Is.EqualTo(114)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_JobTitleTest() + { + Assert.That(PKEY_Contact_JobTitle.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_JobTitle.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_LabelTest() + { + Assert.That(PKEY_Contact_Label.fmtid, Is.EqualTo(new Guid(0x97B0AD89, 0xDF49, 0x49CC, 0x83, 0x4E, 0x66, 0x09, 0x74, 0xFD, 0x75, 0x5B))); + Assert.That(PKEY_Contact_Label.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_LastNameTest() + { + Assert.That(PKEY_Contact_LastName.fmtid, Is.EqualTo(new Guid(0x8F367200, 0xC270, 0x457C, 0xB1, 0xD4, 0xE0, 0x7C, 0x5B, 0xCD, 0x90, 0xC7))); + Assert.That(PKEY_Contact_LastName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_MailingAddressTest() + { + Assert.That(PKEY_Contact_MailingAddress.fmtid, Is.EqualTo(new Guid(0xC0AC206A, 0x827E, 0x4650, 0x95, 0xAE, 0x77, 0xE2, 0xBB, 0x74, 0xFC, 0xC9))); + Assert.That(PKEY_Contact_MailingAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_MiddleNameTest() + { + Assert.That(PKEY_Contact_MiddleName.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_MiddleName.pid, Is.EqualTo(71)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_MobileTelephoneTest() + { + Assert.That(PKEY_Contact_MobileTelephone.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_MobileTelephone.pid, Is.EqualTo(35)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_NickNameTest() + { + Assert.That(PKEY_Contact_NickName.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_NickName.pid, Is.EqualTo(74)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OfficeLocationTest() + { + Assert.That(PKEY_Contact_OfficeLocation.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_OfficeLocation.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressTest() + { + Assert.That(PKEY_Contact_OtherAddress.fmtid, Is.EqualTo(new Guid(0x508161FA, 0x313B, 0x43D5, 0x83, 0xA1, 0xC1, 0xAC, 0xCF, 0x68, 0x62, 0x2C))); + Assert.That(PKEY_Contact_OtherAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress1CountryTest() + { + Assert.That(PKEY_Contact_OtherAddress1Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress1Country.pid, Is.EqualTo(134)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress1LocalityTest() + { + Assert.That(PKEY_Contact_OtherAddress1Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress1Locality.pid, Is.EqualTo(132)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress1PostalCodeTest() + { + Assert.That(PKEY_Contact_OtherAddress1PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress1PostalCode.pid, Is.EqualTo(135)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress1RegionTest() + { + Assert.That(PKEY_Contact_OtherAddress1Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress1Region.pid, Is.EqualTo(133)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress1StreetTest() + { + Assert.That(PKEY_Contact_OtherAddress1Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress1Street.pid, Is.EqualTo(131)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress2CountryTest() + { + Assert.That(PKEY_Contact_OtherAddress2Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress2Country.pid, Is.EqualTo(139)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress2LocalityTest() + { + Assert.That(PKEY_Contact_OtherAddress2Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress2Locality.pid, Is.EqualTo(137)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress2PostalCodeTest() + { + Assert.That(PKEY_Contact_OtherAddress2PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress2PostalCode.pid, Is.EqualTo(140)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress2RegionTest() + { + Assert.That(PKEY_Contact_OtherAddress2Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress2Region.pid, Is.EqualTo(138)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress2StreetTest() + { + Assert.That(PKEY_Contact_OtherAddress2Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress2Street.pid, Is.EqualTo(136)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress3CountryTest() + { + Assert.That(PKEY_Contact_OtherAddress3Country.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress3Country.pid, Is.EqualTo(144)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress3LocalityTest() + { + Assert.That(PKEY_Contact_OtherAddress3Locality.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress3Locality.pid, Is.EqualTo(142)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress3PostalCodeTest() + { + Assert.That(PKEY_Contact_OtherAddress3PostalCode.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress3PostalCode.pid, Is.EqualTo(145)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress3RegionTest() + { + Assert.That(PKEY_Contact_OtherAddress3Region.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress3Region.pid, Is.EqualTo(143)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddress3StreetTest() + { + Assert.That(PKEY_Contact_OtherAddress3Street.fmtid, Is.EqualTo(new Guid(0xA7B6F596, 0xD678, 0x4BC1, 0xB0, 0x5F, 0x02, 0x03, 0xD2, 0x7E, 0x8A, 0xA1))); + Assert.That(PKEY_Contact_OtherAddress3Street.pid, Is.EqualTo(141)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressCityTest() + { + Assert.That(PKEY_Contact_OtherAddressCity.fmtid, Is.EqualTo(new Guid(0x6E682923, 0x7F7B, 0x4F0C, 0xA3, 0x37, 0xCF, 0xCA, 0x29, 0x66, 0x87, 0xBF))); + Assert.That(PKEY_Contact_OtherAddressCity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressCountryTest() + { + Assert.That(PKEY_Contact_OtherAddressCountry.fmtid, Is.EqualTo(new Guid(0x8F167568, 0x0AAE, 0x4322, 0x8E, 0xD9, 0x60, 0x55, 0xB7, 0xB0, 0xE3, 0x98))); + Assert.That(PKEY_Contact_OtherAddressCountry.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressPostalCodeTest() + { + Assert.That(PKEY_Contact_OtherAddressPostalCode.fmtid, Is.EqualTo(new Guid(0x95C656C1, 0x2ABF, 0x4148, 0x9E, 0xD3, 0x9E, 0xC6, 0x02, 0xE3, 0xB7, 0xCD))); + Assert.That(PKEY_Contact_OtherAddressPostalCode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressPostOfficeBoxTest() + { + Assert.That(PKEY_Contact_OtherAddressPostOfficeBox.fmtid, Is.EqualTo(new Guid(0x8B26EA41, 0x058F, 0x43F6, 0xAE, 0xCC, 0x40, 0x35, 0x68, 0x1C, 0xE9, 0x77))); + Assert.That(PKEY_Contact_OtherAddressPostOfficeBox.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressStateTest() + { + Assert.That(PKEY_Contact_OtherAddressState.fmtid, Is.EqualTo(new Guid(0x71B377D6, 0xE570, 0x425F, 0xA1, 0x70, 0x80, 0x9F, 0xAE, 0x73, 0xE5, 0x4E))); + Assert.That(PKEY_Contact_OtherAddressState.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherAddressStreetTest() + { + Assert.That(PKEY_Contact_OtherAddressStreet.fmtid, Is.EqualTo(new Guid(0xFF962609, 0xB7D6, 0x4999, 0x86, 0x2D, 0x95, 0x18, 0x0D, 0x52, 0x9A, 0xEA))); + Assert.That(PKEY_Contact_OtherAddressStreet.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_OtherEmailAddressesTest() + { + Assert.That(PKEY_Contact_OtherEmailAddresses.fmtid, Is.EqualTo(new Guid(0x11D6336B, 0x38C4, 0x4EC9, 0x84, 0xD6, 0xEB, 0x38, 0xD0, 0xB1, 0x50, 0xAF))); + Assert.That(PKEY_Contact_OtherEmailAddresses.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PagerTelephoneTest() + { + Assert.That(PKEY_Contact_PagerTelephone.fmtid, Is.EqualTo(new Guid(0xD6304E01, 0xF8F5, 0x4F45, 0x8B, 0x15, 0xD0, 0x24, 0xA6, 0x29, 0x67, 0x89))); + Assert.That(PKEY_Contact_PagerTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PersonalTitleTest() + { + Assert.That(PKEY_Contact_PersonalTitle.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_PersonalTitle.pid, Is.EqualTo(69)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PhoneNumbersCanonicalTest() + { + Assert.That(PKEY_Contact_PhoneNumbersCanonical.fmtid, Is.EqualTo(new Guid(0xD042D2A1, 0x927E, 0x40B5, 0xA5, 0x03, 0x6E, 0xDB, 0xD4, 0x2A, 0x51, 0x7E))); + Assert.That(PKEY_Contact_PhoneNumbersCanonical.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrefixTest() + { + Assert.That(PKEY_Contact_Prefix.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_Prefix.pid, Is.EqualTo(75)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressCityTest() + { + Assert.That(PKEY_Contact_PrimaryAddressCity.fmtid, Is.EqualTo(new Guid(0xC8EA94F0, 0xA9E3, 0x4969, 0xA9, 0x4B, 0x9C, 0x62, 0xA9, 0x53, 0x24, 0xE0))); + Assert.That(PKEY_Contact_PrimaryAddressCity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressCountryTest() + { + Assert.That(PKEY_Contact_PrimaryAddressCountry.fmtid, Is.EqualTo(new Guid(0xE53D799D, 0x0F3F, 0x466E, 0xB2, 0xFF, 0x74, 0x63, 0x4A, 0x3C, 0xB7, 0xA4))); + Assert.That(PKEY_Contact_PrimaryAddressCountry.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressPostalCodeTest() + { + Assert.That(PKEY_Contact_PrimaryAddressPostalCode.fmtid, Is.EqualTo(new Guid(0x18BBD425, 0xECFD, 0x46EF, 0xB6, 0x12, 0x7B, 0x4A, 0x60, 0x34, 0xED, 0xA0))); + Assert.That(PKEY_Contact_PrimaryAddressPostalCode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressPostOfficeBoxTest() + { + Assert.That(PKEY_Contact_PrimaryAddressPostOfficeBox.fmtid, Is.EqualTo(new Guid(0xDE5EF3C7, 0x46E1, 0x484E, 0x99, 0x99, 0x62, 0xC5, 0x30, 0x83, 0x94, 0xC1))); + Assert.That(PKEY_Contact_PrimaryAddressPostOfficeBox.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressStateTest() + { + Assert.That(PKEY_Contact_PrimaryAddressState.fmtid, Is.EqualTo(new Guid(0xF1176DFE, 0x7138, 0x4640, 0x8B, 0x4C, 0xAE, 0x37, 0x5D, 0xC7, 0x0A, 0x6D))); + Assert.That(PKEY_Contact_PrimaryAddressState.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryAddressStreetTest() + { + Assert.That(PKEY_Contact_PrimaryAddressStreet.fmtid, Is.EqualTo(new Guid(0x63C25B20, 0x96BE, 0x488F, 0x87, 0x88, 0xC0, 0x9C, 0x40, 0x7A, 0xD8, 0x12))); + Assert.That(PKEY_Contact_PrimaryAddressStreet.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryEmailAddressTest() + { + Assert.That(PKEY_Contact_PrimaryEmailAddress.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_PrimaryEmailAddress.pid, Is.EqualTo(48)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_PrimaryTelephoneTest() + { + Assert.That(PKEY_Contact_PrimaryTelephone.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_PrimaryTelephone.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_ProfessionTest() + { + Assert.That(PKEY_Contact_Profession.fmtid, Is.EqualTo(new Guid(0x7268AF55, 0x1CE4, 0x4F6E, 0xA4, 0x1F, 0xB6, 0xE4, 0xEF, 0x10, 0xE4, 0xA9))); + Assert.That(PKEY_Contact_Profession.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_SpouseNameTest() + { + Assert.That(PKEY_Contact_SpouseName.fmtid, Is.EqualTo(new Guid(0x9D2408B6, 0x3167, 0x422B, 0x82, 0xB0, 0xF5, 0x83, 0xB7, 0xA7, 0xCF, 0xE3))); + Assert.That(PKEY_Contact_SpouseName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_SuffixTest() + { + Assert.That(PKEY_Contact_Suffix.fmtid, Is.EqualTo(new Guid(0x176DC63C, 0x2688, 0x4E89, 0x81, 0x43, 0xA3, 0x47, 0x80, 0x0F, 0x25, 0xE9))); + Assert.That(PKEY_Contact_Suffix.pid, Is.EqualTo(73)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_TelexNumberTest() + { + Assert.That(PKEY_Contact_TelexNumber.fmtid, Is.EqualTo(new Guid(0xC554493C, 0xC1F7, 0x40C1, 0xA7, 0x6C, 0xEF, 0x8C, 0x06, 0x14, 0x00, 0x3E))); + Assert.That(PKEY_Contact_TelexNumber.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_TTYTDDTelephoneTest() + { + Assert.That(PKEY_Contact_TTYTDDTelephone.fmtid, Is.EqualTo(new Guid(0xAAF16BAC, 0x2B55, 0x45E6, 0x9F, 0x6D, 0x41, 0x5E, 0xB9, 0x49, 0x10, 0xDF))); + Assert.That(PKEY_Contact_TTYTDDTelephone.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_WebPageTest() + { + Assert.That(PKEY_Contact_WebPage.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Contact_WebPage.pid, Is.EqualTo(18)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_Webpage2Test() + { + Assert.That(PKEY_Contact_Webpage2.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_Webpage2.pid, Is.EqualTo(124)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Contact_Webpage3Test() + { + Assert.That(PKEY_Contact_Webpage3.fmtid, Is.EqualTo(new Guid(0x00F63DD8, 0x22BD, 0x4A5D, 0xBA, 0x34, 0x5C, 0xB0, 0xB9, 0xBD, 0xCB, 0x03))); + Assert.That(PKEY_Contact_Webpage3.pid, Is.EqualTo(125)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AcquisitionIDTest() + { + Assert.That(PKEY_AcquisitionID.fmtid, Is.EqualTo(new Guid(0x65A98875, 0x3C80, 0x40AB, 0xAB, 0xBC, 0xEF, 0xDA, 0xF7, 0x7D, 0xBE, 0xE2))); + Assert.That(PKEY_AcquisitionID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ApplicationDefinedPropertiesTest() + { + Assert.That(PKEY_ApplicationDefinedProperties.fmtid, Is.EqualTo(new Guid(0xCDBFC167, 0x337E, 0x41D8, 0xAF, 0x7C, 0x8C, 0x09, 0x20, 0x54, 0x29, 0xC7))); + Assert.That(PKEY_ApplicationDefinedProperties.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ApplicationNameTest() + { + Assert.That(PKEY_ApplicationName.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_ApplicationName.pid, Is.EqualTo(18)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppZoneIdentifierTest() + { + Assert.That(PKEY_AppZoneIdentifier.fmtid, Is.EqualTo(new Guid(0x502CFEAB, 0x47EB, 0x459C, 0xB9, 0x60, 0xE6, 0xD8, 0x72, 0x8F, 0x77, 0x01))); + Assert.That(PKEY_AppZoneIdentifier.pid, Is.EqualTo(102)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AuthorTest() + { + Assert.That(PKEY_Author.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Author.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CachedFileUpdaterContentIdForConflictResolutionTest() + { + Assert.That(PKEY_CachedFileUpdaterContentIdForConflictResolution.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_CachedFileUpdaterContentIdForConflictResolution.pid, Is.EqualTo(114)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CachedFileUpdaterContentIdForStreamTest() + { + Assert.That(PKEY_CachedFileUpdaterContentIdForStream.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_CachedFileUpdaterContentIdForStream.pid, Is.EqualTo(113)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CapacityTest() + { + Assert.That(PKEY_Capacity.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_Capacity.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CategoryTest() + { + Assert.That(PKEY_Category.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Category.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CommentTest() + { + Assert.That(PKEY_Comment.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Comment.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CompanyTest() + { + Assert.That(PKEY_Company.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Company.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ComputerNameTest() + { + Assert.That(PKEY_ComputerName.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ComputerName.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ContainedItemsTest() + { + Assert.That(PKEY_ContainedItems.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ContainedItems.pid, Is.EqualTo(29)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ContentIdTest() + { + Assert.That(PKEY_ContentId.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_ContentId.pid, Is.EqualTo(132)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ContentStatusTest() + { + Assert.That(PKEY_ContentStatus.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_ContentStatus.pid, Is.EqualTo(27)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ContentTypeTest() + { + Assert.That(PKEY_ContentType.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_ContentType.pid, Is.EqualTo(26)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ContentUriTest() + { + Assert.That(PKEY_ContentUri.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_ContentUri.pid, Is.EqualTo(131)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CopyrightTest() + { + Assert.That(PKEY_Copyright.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Copyright.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CreatorAppIdTest() + { + Assert.That(PKEY_CreatorAppId.fmtid, Is.EqualTo(new Guid(0xC2EA046E, 0x033C, 0x4E91, 0xBD, 0x5B, 0xD4, 0x94, 0x2F, 0x6B, 0xBE, 0x49))); + Assert.That(PKEY_CreatorAppId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_CreatorOpenWithUIOptionsTest() + { + Assert.That(PKEY_CreatorOpenWithUIOptions.fmtid, Is.EqualTo(new Guid(0xC2EA046E, 0x033C, 0x4E91, 0xBD, 0x5B, 0xD4, 0x94, 0x2F, 0x6B, 0xBE, 0x49))); + Assert.That(PKEY_CreatorOpenWithUIOptions.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DataObjectFormatTest() + { + Assert.That(PKEY_DataObjectFormat.fmtid, Is.EqualTo(new Guid(0x1E81A3F8, 0xA30F, 0x4247, 0xB9, 0xEE, 0x1D, 0x03, 0x68, 0xA9, 0x42, 0x5C))); + Assert.That(PKEY_DataObjectFormat.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateAccessedTest() + { + Assert.That(PKEY_DateAccessed.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_DateAccessed.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateAcquiredTest() + { + Assert.That(PKEY_DateAcquired.fmtid, Is.EqualTo(new Guid(0x2CBAA8F5, 0xD81F, 0x47CA, 0xB1, 0x7A, 0xF8, 0xD8, 0x22, 0x30, 0x01, 0x31))); + Assert.That(PKEY_DateAcquired.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateArchivedTest() + { + Assert.That(PKEY_DateArchived.fmtid, Is.EqualTo(new Guid(0x43F8D7B7, 0xA444, 0x4F87, 0x93, 0x83, 0x52, 0x27, 0x1C, 0x9B, 0x91, 0x5C))); + Assert.That(PKEY_DateArchived.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateCompletedTest() + { + Assert.That(PKEY_DateCompleted.fmtid, Is.EqualTo(new Guid(0x72FAB781, 0xACDA, 0x43E5, 0xB1, 0x55, 0xB2, 0x43, 0x4F, 0x85, 0xE6, 0x78))); + Assert.That(PKEY_DateCompleted.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateCreatedTest() + { + Assert.That(PKEY_DateCreated.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_DateCreated.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateImportedTest() + { + Assert.That(PKEY_DateImported.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_DateImported.pid, Is.EqualTo(18258)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DateModifiedTest() + { + Assert.That(PKEY_DateModified.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_DateModified.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DefaultSaveLocationDisplayTest() + { + Assert.That(PKEY_DefaultSaveLocationDisplay.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_DefaultSaveLocationDisplay.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DueDateTest() + { + Assert.That(PKEY_DueDate.fmtid, Is.EqualTo(new Guid(0x3F8472B5, 0xE0AF, 0x4DB2, 0x80, 0x71, 0xC5, 0x3F, 0xE7, 0x6A, 0xE7, 0xCE))); + Assert.That(PKEY_DueDate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_EndDateTest() + { + Assert.That(PKEY_EndDate.fmtid, Is.EqualTo(new Guid(0xC75FAA05, 0x96FD, 0x49E7, 0x9C, 0xB4, 0x9F, 0x60, 0x10, 0x82, 0xD5, 0x53))); + Assert.That(PKEY_EndDate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ExpandoPropertiesTest() + { + Assert.That(PKEY_ExpandoProperties.fmtid, Is.EqualTo(new Guid(0x6FA20DE6, 0xD11C, 0x4D9D, 0xA1, 0x54, 0x64, 0x31, 0x76, 0x28, 0xC1, 0x2D))); + Assert.That(PKEY_ExpandoProperties.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileAllocationSizeTest() + { + Assert.That(PKEY_FileAllocationSize.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_FileAllocationSize.pid, Is.EqualTo(18)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileAttributesTest() + { + Assert.That(PKEY_FileAttributes.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_FileAttributes.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileCountTest() + { + Assert.That(PKEY_FileCount.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_FileCount.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileDescriptionTest() + { + Assert.That(PKEY_FileDescription.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_FileDescription.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileExtensionTest() + { + Assert.That(PKEY_FileExtension.fmtid, Is.EqualTo(new Guid(0xE4F10A3C, 0x49E6, 0x405D, 0x82, 0x88, 0xA2, 0x3B, 0xD4, 0xEE, 0xAA, 0x6C))); + Assert.That(PKEY_FileExtension.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileFRNTest() + { + Assert.That(PKEY_FileFRN.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_FileFRN.pid, Is.EqualTo(21)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileNameTest() + { + Assert.That(PKEY_FileName.fmtid, Is.EqualTo(new Guid(0x41CF5AE0, 0xF75A, 0x4806, 0xBD, 0x87, 0x59, 0xC7, 0xD9, 0x24, 0x8E, 0xB9))); + Assert.That(PKEY_FileName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileOfflineAvailabilityStatusTest() + { + Assert.That(PKEY_FileOfflineAvailabilityStatus.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_FileOfflineAvailabilityStatus.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileOwnerTest() + { + Assert.That(PKEY_FileOwner.fmtid, Is.EqualTo(new Guid(0x9B174B34, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_FileOwner.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FilePlaceholderStatusTest() + { + Assert.That(PKEY_FilePlaceholderStatus.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_FilePlaceholderStatus.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FileVersionTest() + { + Assert.That(PKEY_FileVersion.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_FileVersion.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FindDataTest() + { + Assert.That(PKEY_FindData.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_FindData.pid, Is.EqualTo(0)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FlagColorTest() + { + Assert.That(PKEY_FlagColor.fmtid, Is.EqualTo(new Guid(0x67DF94DE, 0x0CA7, 0x4D6F, 0xB7, 0x92, 0x05, 0x3A, 0x3E, 0x4F, 0x03, 0xCF))); + Assert.That(PKEY_FlagColor.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FlagColorTextTest() + { + Assert.That(PKEY_FlagColorText.fmtid, Is.EqualTo(new Guid(0x45EAE747, 0x8E2A, 0x40AE, 0x8C, 0xBF, 0xCA, 0x52, 0xAB, 0xA6, 0x15, 0x2A))); + Assert.That(PKEY_FlagColorText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FlagStatusTest() + { + Assert.That(PKEY_FlagStatus.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_FlagStatus.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FlagStatusTextTest() + { + Assert.That(PKEY_FlagStatusText.fmtid, Is.EqualTo(new Guid(0xDC54FD2E, 0x189D, 0x4871, 0xAA, 0x01, 0x08, 0xC2, 0xF5, 0x7A, 0x4A, 0xBC))); + Assert.That(PKEY_FlagStatusText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FolderKindTest() + { + Assert.That(PKEY_FolderKind.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_FolderKind.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FolderNameDisplayTest() + { + Assert.That(PKEY_FolderNameDisplay.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_FolderNameDisplay.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FreeSpaceTest() + { + Assert.That(PKEY_FreeSpace.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_FreeSpace.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_FullTextTest() + { + Assert.That(PKEY_FullText.fmtid, Is.EqualTo(new Guid(0x1E3EE840, 0xBC2B, 0x476C, 0x82, 0x37, 0x2A, 0xCD, 0x1A, 0x83, 0x9B, 0x22))); + Assert.That(PKEY_FullText.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_HighKeywordsTest() + { + Assert.That(PKEY_HighKeywords.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_HighKeywords.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IdentityTest() + { + Assert.That(PKEY_Identity.fmtid, Is.EqualTo(new Guid(0xA26F4AFC, 0x7346, 0x4299, 0xBE, 0x47, 0xEB, 0x1A, 0xE6, 0x13, 0x13, 0x9F))); + Assert.That(PKEY_Identity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_BlobTest() + { + Assert.That(PKEY_Identity_Blob.fmtid, Is.EqualTo(new Guid(0x8C3B93A4, 0xBAED, 0x1A83, 0x9A, 0x32, 0x10, 0x2E, 0xE3, 0x13, 0xF6, 0xEB))); + Assert.That(PKEY_Identity_Blob.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_DisplayNameTest() + { + Assert.That(PKEY_Identity_DisplayName.fmtid, Is.EqualTo(new Guid(0x7D683FC9, 0xD155, 0x45A8, 0xBB, 0x1F, 0x89, 0xD1, 0x9B, 0xCB, 0x79, 0x2F))); + Assert.That(PKEY_Identity_DisplayName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_InternetSidTest() + { + Assert.That(PKEY_Identity_InternetSid.fmtid, Is.EqualTo(new Guid(0x6D6D5D49, 0x265D, 0x4688, 0x9F, 0x4E, 0x1F, 0xDD, 0x33, 0xE7, 0xCC, 0x83))); + Assert.That(PKEY_Identity_InternetSid.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_IsMeIdentityTest() + { + Assert.That(PKEY_Identity_IsMeIdentity.fmtid, Is.EqualTo(new Guid(0xA4108708, 0x09DF, 0x4377, 0x9D, 0xFC, 0x6D, 0x99, 0x98, 0x6D, 0x5A, 0x67))); + Assert.That(PKEY_Identity_IsMeIdentity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_KeyProviderContextTest() + { + Assert.That(PKEY_Identity_KeyProviderContext.fmtid, Is.EqualTo(new Guid(0xA26F4AFC, 0x7346, 0x4299, 0xBE, 0x47, 0xEB, 0x1A, 0xE6, 0x13, 0x13, 0x9F))); + Assert.That(PKEY_Identity_KeyProviderContext.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_KeyProviderNameTest() + { + Assert.That(PKEY_Identity_KeyProviderName.fmtid, Is.EqualTo(new Guid(0xA26F4AFC, 0x7346, 0x4299, 0xBE, 0x47, 0xEB, 0x1A, 0xE6, 0x13, 0x13, 0x9F))); + Assert.That(PKEY_Identity_KeyProviderName.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_LogonStatusStringTest() + { + Assert.That(PKEY_Identity_LogonStatusString.fmtid, Is.EqualTo(new Guid(0xF18DEDF3, 0x337F, 0x42C0, 0x9E, 0x03, 0xCE, 0xE0, 0x87, 0x08, 0xA8, 0xC3))); + Assert.That(PKEY_Identity_LogonStatusString.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_PrimaryEmailAddressTest() + { + Assert.That(PKEY_Identity_PrimaryEmailAddress.fmtid, Is.EqualTo(new Guid(0xFCC16823, 0xBAED, 0x4F24, 0x9B, 0x32, 0xA0, 0x98, 0x21, 0x17, 0xF7, 0xFA))); + Assert.That(PKEY_Identity_PrimaryEmailAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_PrimarySidTest() + { + Assert.That(PKEY_Identity_PrimarySid.fmtid, Is.EqualTo(new Guid(0x2B1B801E, 0xC0C1, 0x4987, 0x9E, 0xC5, 0x72, 0xFA, 0x89, 0x81, 0x47, 0x87))); + Assert.That(PKEY_Identity_PrimarySid.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_ProviderDataTest() + { + Assert.That(PKEY_Identity_ProviderData.fmtid, Is.EqualTo(new Guid(0xA8A74B92, 0x361B, 0x4E9A, 0xB7, 0x22, 0x7C, 0x4A, 0x73, 0x30, 0xA3, 0x12))); + Assert.That(PKEY_Identity_ProviderData.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_ProviderIDTest() + { + Assert.That(PKEY_Identity_ProviderID.fmtid, Is.EqualTo(new Guid(0x74A7DE49, 0xFA11, 0x4D3D, 0xA0, 0x06, 0xDB, 0x7E, 0x08, 0x67, 0x59, 0x16))); + Assert.That(PKEY_Identity_ProviderID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_QualifiedUserNameTest() + { + Assert.That(PKEY_Identity_QualifiedUserName.fmtid, Is.EqualTo(new Guid(0xDA520E51, 0xF4E9, 0x4739, 0xAC, 0x82, 0x02, 0xE0, 0xA9, 0x5C, 0x90, 0x30))); + Assert.That(PKEY_Identity_QualifiedUserName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_UniqueIDTest() + { + Assert.That(PKEY_Identity_UniqueID.fmtid, Is.EqualTo(new Guid(0xE55FC3B0, 0x2B60, 0x4220, 0x91, 0x8E, 0xB2, 0x1E, 0x8B, 0xF1, 0x60, 0x16))); + Assert.That(PKEY_Identity_UniqueID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Identity_UserNameTest() + { + Assert.That(PKEY_Identity_UserName.fmtid, Is.EqualTo(new Guid(0xC4322503, 0x78CA, 0x49C6, 0x9A, 0xCC, 0xA6, 0x8E, 0x2A, 0xFD, 0x7B, 0x6B))); + Assert.That(PKEY_Identity_UserName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IdentityProvider_NameTest() + { + Assert.That(PKEY_IdentityProvider_Name.fmtid, Is.EqualTo(new Guid(0xB96EFF7B, 0x35CA, 0x4A35, 0x86, 0x07, 0x29, 0xE3, 0xA5, 0x4C, 0x46, 0xEA))); + Assert.That(PKEY_IdentityProvider_Name.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IdentityProvider_PictureTest() + { + Assert.That(PKEY_IdentityProvider_Picture.fmtid, Is.EqualTo(new Guid(0x2425166F, 0x5642, 0x4864, 0x99, 0x2F, 0x98, 0xFD, 0x98, 0xF2, 0x94, 0xC3))); + Assert.That(PKEY_IdentityProvider_Picture.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ImageParsingNameTest() + { + Assert.That(PKEY_ImageParsingName.fmtid, Is.EqualTo(new Guid(0xD7750EE0, 0xC6A4, 0x48EC, 0xB5, 0x3E, 0xB8, 0x7B, 0x52, 0xE6, 0xD0, 0x73))); + Assert.That(PKEY_ImageParsingName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ImportanceTest() + { + Assert.That(PKEY_Importance.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Importance.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ImportanceTextTest() + { + Assert.That(PKEY_ImportanceText.fmtid, Is.EqualTo(new Guid(0xA3B29791, 0x7713, 0x4E1D, 0xBB, 0x40, 0x17, 0xDB, 0x85, 0xF0, 0x18, 0x31))); + Assert.That(PKEY_ImportanceText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsAttachmentTest() + { + Assert.That(PKEY_IsAttachment.fmtid, Is.EqualTo(new Guid(0xF23F425C, 0x71A1, 0x4FA8, 0x92, 0x2F, 0x67, 0x8E, 0xA4, 0xA6, 0x04, 0x08))); + Assert.That(PKEY_IsAttachment.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsDefaultNonOwnerSaveLocationTest() + { + Assert.That(PKEY_IsDefaultNonOwnerSaveLocation.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_IsDefaultNonOwnerSaveLocation.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsDefaultSaveLocationTest() + { + Assert.That(PKEY_IsDefaultSaveLocation.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_IsDefaultSaveLocation.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsDeletedTest() + { + Assert.That(PKEY_IsDeleted.fmtid, Is.EqualTo(new Guid(0x5CDA5FC8, 0x33EE, 0x4FF3, 0x90, 0x94, 0xAE, 0x7B, 0xD8, 0x86, 0x8C, 0x4D))); + Assert.That(PKEY_IsDeleted.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsEncryptedTest() + { + Assert.That(PKEY_IsEncrypted.fmtid, Is.EqualTo(new Guid(0x90E5E14E, 0x648B, 0x4826, 0xB2, 0xAA, 0xAC, 0xAF, 0x79, 0x0E, 0x35, 0x13))); + Assert.That(PKEY_IsEncrypted.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsFlaggedTest() + { + Assert.That(PKEY_IsFlagged.fmtid, Is.EqualTo(new Guid(0x5DA84765, 0xE3FF, 0x4278, 0x86, 0xB0, 0xA2, 0x79, 0x67, 0xFB, 0xDD, 0x03))); + Assert.That(PKEY_IsFlagged.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsFlaggedCompleteTest() + { + Assert.That(PKEY_IsFlaggedComplete.fmtid, Is.EqualTo(new Guid(0xA6F360D2, 0x55F9, 0x48DE, 0xB9, 0x09, 0x62, 0x0E, 0x09, 0x0A, 0x64, 0x7C))); + Assert.That(PKEY_IsFlaggedComplete.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsIncompleteTest() + { + Assert.That(PKEY_IsIncomplete.fmtid, Is.EqualTo(new Guid(0x346C8BD1, 0x2E6A, 0x4C45, 0x89, 0xA4, 0x61, 0xB7, 0x8E, 0x8E, 0x70, 0x0F))); + Assert.That(PKEY_IsIncomplete.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsLocationSupportedTest() + { + Assert.That(PKEY_IsLocationSupported.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_IsLocationSupported.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsPinnedToNameSpaceTreeTest() + { + Assert.That(PKEY_IsPinnedToNameSpaceTree.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_IsPinnedToNameSpaceTree.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsReadTest() + { + Assert.That(PKEY_IsRead.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_IsRead.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsSearchOnlyItemTest() + { + Assert.That(PKEY_IsSearchOnlyItem.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_IsSearchOnlyItem.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsSendToTargetTest() + { + Assert.That(PKEY_IsSendToTarget.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_IsSendToTarget.pid, Is.EqualTo(33)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_IsSharedTest() + { + Assert.That(PKEY_IsShared.fmtid, Is.EqualTo(new Guid(0xEF884C5B, 0x2BFE, 0x41BB, 0xAA, 0xE5, 0x76, 0xEE, 0xDF, 0x4F, 0x99, 0x02))); + Assert.That(PKEY_IsShared.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemAuthorsTest() + { + Assert.That(PKEY_ItemAuthors.fmtid, Is.EqualTo(new Guid(0xD0A04F0A, 0x462A, 0x48A4, 0xBB, 0x2F, 0x37, 0x06, 0xE8, 0x8D, 0xBD, 0x7D))); + Assert.That(PKEY_ItemAuthors.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemClassTypeTest() + { + Assert.That(PKEY_ItemClassType.fmtid, Is.EqualTo(new Guid(0x048658AD, 0x2DB8, 0x41A4, 0xBB, 0xB6, 0xAC, 0x1E, 0xF1, 0x20, 0x7E, 0xB1))); + Assert.That(PKEY_ItemClassType.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemDateTest() + { + Assert.That(PKEY_ItemDate.fmtid, Is.EqualTo(new Guid(0xF7DB74B4, 0x4287, 0x4103, 0xAF, 0xBA, 0xF1, 0xB1, 0x3D, 0xCD, 0x75, 0xCF))); + Assert.That(PKEY_ItemDate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemFolderNameDisplayTest() + { + Assert.That(PKEY_ItemFolderNameDisplay.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_ItemFolderNameDisplay.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemFolderPathDisplayTest() + { + Assert.That(PKEY_ItemFolderPathDisplay.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_ItemFolderPathDisplay.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemFolderPathDisplayNarrowTest() + { + Assert.That(PKEY_ItemFolderPathDisplayNarrow.fmtid, Is.EqualTo(new Guid(0xDABD30ED, 0x0043, 0x4789, 0xA7, 0xF8, 0xD0, 0x13, 0xA4, 0x73, 0x66, 0x22))); + Assert.That(PKEY_ItemFolderPathDisplayNarrow.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemNameTest() + { + Assert.That(PKEY_ItemName.fmtid, Is.EqualTo(new Guid(0x6B8DA074, 0x3B5C, 0x43BC, 0x88, 0x6F, 0x0A, 0x2C, 0xDC, 0xE0, 0x0B, 0x6F))); + Assert.That(PKEY_ItemName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemNameDisplayTest() + { + Assert.That(PKEY_ItemNameDisplay.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_ItemNameDisplay.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemNameDisplayWithoutExtensionTest() + { + Assert.That(PKEY_ItemNameDisplayWithoutExtension.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_ItemNameDisplayWithoutExtension.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemNamePrefixTest() + { + Assert.That(PKEY_ItemNamePrefix.fmtid, Is.EqualTo(new Guid(0xD7313FF1, 0xA77A, 0x401C, 0x8C, 0x99, 0x3D, 0xBD, 0xD6, 0x8A, 0xDD, 0x36))); + Assert.That(PKEY_ItemNamePrefix.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemNameSortOverrideTest() + { + Assert.That(PKEY_ItemNameSortOverride.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_ItemNameSortOverride.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemParticipantsTest() + { + Assert.That(PKEY_ItemParticipants.fmtid, Is.EqualTo(new Guid(0xD4D0AA16, 0x9948, 0x41A4, 0xAA, 0x85, 0xD9, 0x7F, 0xF9, 0x64, 0x69, 0x93))); + Assert.That(PKEY_ItemParticipants.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemPathDisplayTest() + { + Assert.That(PKEY_ItemPathDisplay.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_ItemPathDisplay.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemPathDisplayNarrowTest() + { + Assert.That(PKEY_ItemPathDisplayNarrow.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ItemPathDisplayNarrow.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemSubTypeTest() + { + Assert.That(PKEY_ItemSubType.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ItemSubType.pid, Is.EqualTo(37)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemTypeTest() + { + Assert.That(PKEY_ItemType.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ItemType.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemTypeTextTest() + { + Assert.That(PKEY_ItemTypeText.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_ItemTypeText.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ItemUrlTest() + { + Assert.That(PKEY_ItemUrl.fmtid, Is.EqualTo(new Guid(0x49691C90, 0x7E17, 0x101A, 0xA9, 0x1C, 0x08, 0x00, 0x2B, 0x2E, 0xCD, 0xA9))); + Assert.That(PKEY_ItemUrl.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_KeywordsTest() + { + Assert.That(PKEY_Keywords.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Keywords.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_KindTest() + { + Assert.That(PKEY_Kind.fmtid, Is.EqualTo(new Guid(0x1E3EE840, 0xBC2B, 0x476C, 0x82, 0x37, 0x2A, 0xCD, 0x1A, 0x83, 0x9B, 0x22))); + Assert.That(PKEY_Kind.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_KindTextTest() + { + Assert.That(PKEY_KindText.fmtid, Is.EqualTo(new Guid(0xF04BEF95, 0xC585, 0x4197, 0xA2, 0xB7, 0xDF, 0x46, 0xFD, 0xC9, 0xEE, 0x6D))); + Assert.That(PKEY_KindText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LanguageTest() + { + Assert.That(PKEY_Language.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Language.pid, Is.EqualTo(28)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LastSyncErrorTest() + { + Assert.That(PKEY_LastSyncError.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_LastSyncError.pid, Is.EqualTo(107)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LastSyncWarningTest() + { + Assert.That(PKEY_LastSyncWarning.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_LastSyncWarning.pid, Is.EqualTo(128)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LastWriterPackageFamilyNameTest() + { + Assert.That(PKEY_LastWriterPackageFamilyName.fmtid, Is.EqualTo(new Guid(0x502CFEAB, 0x47EB, 0x459C, 0xB9, 0x60, 0xE6, 0xD8, 0x72, 0x8F, 0x77, 0x01))); + Assert.That(PKEY_LastWriterPackageFamilyName.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LowKeywordsTest() + { + Assert.That(PKEY_LowKeywords.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_LowKeywords.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_MediumKeywordsTest() + { + Assert.That(PKEY_MediumKeywords.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_MediumKeywords.pid, Is.EqualTo(26)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_MileageInformationTest() + { + Assert.That(PKEY_MileageInformation.fmtid, Is.EqualTo(new Guid(0xFDF84370, 0x031A, 0x4ADD, 0x9E, 0x91, 0x0D, 0x77, 0x5F, 0x1C, 0x66, 0x05))); + Assert.That(PKEY_MileageInformation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_MIMETypeTest() + { + Assert.That(PKEY_MIMEType.fmtid, Is.EqualTo(new Guid(0x0B63E350, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_MIMEType.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_NullTest() + { + Assert.That(PKEY_Null.fmtid, Is.EqualTo(new Guid(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00))); + Assert.That(PKEY_Null.pid, Is.EqualTo(0)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_OfflineAvailabilityTest() + { + Assert.That(PKEY_OfflineAvailability.fmtid, Is.EqualTo(new Guid(0xA94688B6, 0x7D9F, 0x4570, 0xA6, 0x48, 0xE3, 0xDF, 0xC0, 0xAB, 0x2B, 0x3F))); + Assert.That(PKEY_OfflineAvailability.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_OfflineStatusTest() + { + Assert.That(PKEY_OfflineStatus.fmtid, Is.EqualTo(new Guid(0x6D24888F, 0x4718, 0x4BDA, 0xAF, 0xED, 0xEA, 0x0F, 0xB4, 0x38, 0x6C, 0xD8))); + Assert.That(PKEY_OfflineStatus.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_OriginalFileNameTest() + { + Assert.That(PKEY_OriginalFileName.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_OriginalFileName.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_OwnerSIDTest() + { + Assert.That(PKEY_OwnerSID.fmtid, Is.EqualTo(new Guid(0x5D76B67F, 0x9B3D, 0x44BB, 0xB6, 0xAE, 0x25, 0xDA, 0x4F, 0x63, 0x8A, 0x67))); + Assert.That(PKEY_OwnerSID.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParentalRatingTest() + { + Assert.That(PKEY_ParentalRating.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_ParentalRating.pid, Is.EqualTo(21)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParentalRatingReasonTest() + { + Assert.That(PKEY_ParentalRatingReason.fmtid, Is.EqualTo(new Guid(0x10984E0A, 0xF9F2, 0x4321, 0xB7, 0xEF, 0xBA, 0xF1, 0x95, 0xAF, 0x43, 0x19))); + Assert.That(PKEY_ParentalRatingReason.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParentalRatingsOrganizationTest() + { + Assert.That(PKEY_ParentalRatingsOrganization.fmtid, Is.EqualTo(new Guid(0xA7FE0840, 0x1344, 0x46F0, 0x8D, 0x37, 0x52, 0xED, 0x71, 0x2A, 0x4B, 0xF9))); + Assert.That(PKEY_ParentalRatingsOrganization.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParsingBindContextTest() + { + Assert.That(PKEY_ParsingBindContext.fmtid, Is.EqualTo(new Guid(0xDFB9A04D, 0x362F, 0x4CA3, 0xB3, 0x0B, 0x02, 0x54, 0xB1, 0x7B, 0x5B, 0x84))); + Assert.That(PKEY_ParsingBindContext.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParsingNameTest() + { + Assert.That(PKEY_ParsingName.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ParsingName.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ParsingPathTest() + { + Assert.That(PKEY_ParsingPath.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_ParsingPath.pid, Is.EqualTo(30)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PerceivedTypeTest() + { + Assert.That(PKEY_PerceivedType.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_PerceivedType.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PercentFullTest() + { + Assert.That(PKEY_PercentFull.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_PercentFull.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PriorityTest() + { + Assert.That(PKEY_Priority.fmtid, Is.EqualTo(new Guid(0x9C1FCF74, 0x2D97, 0x41BA, 0xB4, 0xAE, 0xCB, 0x2E, 0x36, 0x61, 0xA6, 0xE4))); + Assert.That(PKEY_Priority.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PriorityTextTest() + { + Assert.That(PKEY_PriorityText.fmtid, Is.EqualTo(new Guid(0xD98BE98B, 0xB86B, 0x4095, 0xBF, 0x52, 0x9D, 0x23, 0xB2, 0xE0, 0xA7, 0x52))); + Assert.That(PKEY_PriorityText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ProjectTest() + { + Assert.That(PKEY_Project.fmtid, Is.EqualTo(new Guid(0x39A7F922, 0x477C, 0x48DE, 0x8B, 0xC8, 0xB2, 0x84, 0x41, 0xE3, 0x42, 0xE3))); + Assert.That(PKEY_Project.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ProviderItemIDTest() + { + Assert.That(PKEY_ProviderItemID.fmtid, Is.EqualTo(new Guid(0xF21D9941, 0x81F0, 0x471A, 0xAD, 0xEE, 0x4E, 0x74, 0xB4, 0x92, 0x17, 0xED))); + Assert.That(PKEY_ProviderItemID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RatingTest() + { + Assert.That(PKEY_Rating.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Rating.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RatingTextTest() + { + Assert.That(PKEY_RatingText.fmtid, Is.EqualTo(new Guid(0x90197CA7, 0xFD8F, 0x4E8C, 0x9D, 0xA3, 0xB5, 0x7E, 0x1E, 0x60, 0x92, 0x95))); + Assert.That(PKEY_RatingText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RemoteConflictingFileTest() + { + Assert.That(PKEY_RemoteConflictingFile.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_RemoteConflictingFile.pid, Is.EqualTo(115)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Security_AllowedEnterpriseDataProtectionIdentitiesTest() + { + Assert.That(PKEY_Security_AllowedEnterpriseDataProtectionIdentities.fmtid, Is.EqualTo(new Guid(0x38D43380, 0xD418, 0x4830, 0x84, 0xD5, 0x46, 0x93, 0x5A, 0x81, 0xC5, 0xC6))); + Assert.That(PKEY_Security_AllowedEnterpriseDataProtectionIdentities.pid, Is.EqualTo(32)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Security_EncryptionOwnersTest() + { + Assert.That(PKEY_Security_EncryptionOwners.fmtid, Is.EqualTo(new Guid(0x5F5AFF6A, 0x37E5, 0x4780, 0x97, 0xEA, 0x80, 0xC7, 0x56, 0x5C, 0xF5, 0x35))); + Assert.That(PKEY_Security_EncryptionOwners.pid, Is.EqualTo(34)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Security_EncryptionOwnersDisplayTest() + { + Assert.That(PKEY_Security_EncryptionOwnersDisplay.fmtid, Is.EqualTo(new Guid(0xDE621B8F, 0xE125, 0x43A3, 0xA3, 0x2D, 0x56, 0x65, 0x44, 0x6D, 0x63, 0x2A))); + Assert.That(PKEY_Security_EncryptionOwnersDisplay.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SensitivityTest() + { + Assert.That(PKEY_Sensitivity.fmtid, Is.EqualTo(new Guid(0xF8D3F6AC, 0x4874, 0x42CB, 0xBE, 0x59, 0xAB, 0x45, 0x4B, 0x30, 0x71, 0x6A))); + Assert.That(PKEY_Sensitivity.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SensitivityTextTest() + { + Assert.That(PKEY_SensitivityText.fmtid, Is.EqualTo(new Guid(0xD0C7F054, 0x3F72, 0x4725, 0x85, 0x27, 0x12, 0x9A, 0x57, 0x7C, 0xB2, 0x69))); + Assert.That(PKEY_SensitivityText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SFGAOFlagsTest() + { + Assert.That(PKEY_SFGAOFlags.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_SFGAOFlags.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SharedWithTest() + { + Assert.That(PKEY_SharedWith.fmtid, Is.EqualTo(new Guid(0xEF884C5B, 0x2BFE, 0x41BB, 0xAA, 0xE5, 0x76, 0xEE, 0xDF, 0x4F, 0x99, 0x02))); + Assert.That(PKEY_SharedWith.pid, Is.EqualTo(200)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ShareUserRatingTest() + { + Assert.That(PKEY_ShareUserRating.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_ShareUserRating.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SharingStatusTest() + { + Assert.That(PKEY_SharingStatus.fmtid, Is.EqualTo(new Guid(0xEF884C5B, 0x2BFE, 0x41BB, 0xAA, 0xE5, 0x76, 0xEE, 0xDF, 0x4F, 0x99, 0x02))); + Assert.That(PKEY_SharingStatus.pid, Is.EqualTo(300)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Shell_OmitFromViewTest() + { + Assert.That(PKEY_Shell_OmitFromView.fmtid, Is.EqualTo(new Guid(0xDE35258C, 0xC695, 0x4CBC, 0xB9, 0x82, 0x38, 0xB0, 0xAD, 0x24, 0xCE, 0xD0))); + Assert.That(PKEY_Shell_OmitFromView.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SimpleRatingTest() + { + Assert.That(PKEY_SimpleRating.fmtid, Is.EqualTo(new Guid(0xA09F084E, 0xAD41, 0x489F, 0x80, 0x76, 0xAA, 0x5B, 0xE3, 0x08, 0x2B, 0xCA))); + Assert.That(PKEY_SimpleRating.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SizeTest() + { + Assert.That(PKEY_Size.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_Size.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SoftwareUsedTest() + { + Assert.That(PKEY_SoftwareUsed.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_SoftwareUsed.pid, Is.EqualTo(305)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SourceItemTest() + { + Assert.That(PKEY_SourceItem.fmtid, Is.EqualTo(new Guid(0x668CDFA5, 0x7A1B, 0x4323, 0xAE, 0x4B, 0xE5, 0x27, 0x39, 0x3A, 0x1D, 0x81))); + Assert.That(PKEY_SourceItem.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SourcePackageFamilyNameTest() + { + Assert.That(PKEY_SourcePackageFamilyName.fmtid, Is.EqualTo(new Guid(0xFFAE9DB7, 0x1C8D, 0x43FF, 0x81, 0x8C, 0x84, 0x40, 0x3A, 0xA3, 0x73, 0x2D))); + Assert.That(PKEY_SourcePackageFamilyName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StartDateTest() + { + Assert.That(PKEY_StartDate.fmtid, Is.EqualTo(new Guid(0x48FD6EC8, 0x8A12, 0x4CDF, 0xA0, 0x3E, 0x4E, 0xC5, 0xA5, 0x11, 0xED, 0xDE))); + Assert.That(PKEY_StartDate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StatusTest() + { + Assert.That(PKEY_Status.fmtid, Is.EqualTo(new Guid(0x000214A1, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46))); + Assert.That(PKEY_Status.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderCallerVersionInformationTest() + { + Assert.That(PKEY_StorageProviderCallerVersionInformation.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderCallerVersionInformation.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderErrorTest() + { + Assert.That(PKEY_StorageProviderError.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderError.pid, Is.EqualTo(109)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileChecksumTest() + { + Assert.That(PKEY_StorageProviderFileChecksum.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileChecksum.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileFlagsTest() + { + Assert.That(PKEY_StorageProviderFileFlags.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileFlags.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileHasConflictTest() + { + Assert.That(PKEY_StorageProviderFileHasConflict.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileHasConflict.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileIdentifierTest() + { + Assert.That(PKEY_StorageProviderFileIdentifier.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileIdentifier.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileRemoteUriTest() + { + Assert.That(PKEY_StorageProviderFileRemoteUri.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderFileRemoteUri.pid, Is.EqualTo(112)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileVersionTest() + { + Assert.That(PKEY_StorageProviderFileVersion.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileVersion.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderFileVersionWaterlineTest() + { + Assert.That(PKEY_StorageProviderFileVersionWaterline.fmtid, Is.EqualTo(new Guid(0xB2F9B9D6, 0xFEC4, 0x4DD5, 0x94, 0xD7, 0x89, 0x57, 0x48, 0x8C, 0x80, 0x7B))); + Assert.That(PKEY_StorageProviderFileVersionWaterline.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderIdTest() + { + Assert.That(PKEY_StorageProviderId.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderId.pid, Is.EqualTo(108)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderShareStatusesTest() + { + Assert.That(PKEY_StorageProviderShareStatuses.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderShareStatuses.pid, Is.EqualTo(111)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderSharingStatusTest() + { + Assert.That(PKEY_StorageProviderSharingStatus.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderSharingStatus.pid, Is.EqualTo(117)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StorageProviderStatusTest() + { + Assert.That(PKEY_StorageProviderStatus.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_StorageProviderStatus.pid, Is.EqualTo(110)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SubjectTest() + { + Assert.That(PKEY_Subject.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Subject.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_SyncTransferStatusTest() + { + Assert.That(PKEY_SyncTransferStatus.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_SyncTransferStatus.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ThumbnailTest() + { + Assert.That(PKEY_Thumbnail.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Thumbnail.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ThumbnailCacheIdTest() + { + Assert.That(PKEY_ThumbnailCacheId.fmtid, Is.EqualTo(new Guid(0x446D16B1, 0x8DAD, 0x4870, 0xA7, 0x48, 0x40, 0x2E, 0xA4, 0x3D, 0x78, 0x8C))); + Assert.That(PKEY_ThumbnailCacheId.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ThumbnailStreamTest() + { + Assert.That(PKEY_ThumbnailStream.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_ThumbnailStream.pid, Is.EqualTo(27)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TitleTest() + { + Assert.That(PKEY_Title.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Title.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TitleSortOverrideTest() + { + Assert.That(PKEY_TitleSortOverride.fmtid, Is.EqualTo(new Guid(0xF0F7984D, 0x222E, 0x4AD2, 0x82, 0xAB, 0x1D, 0xD8, 0xEA, 0x40, 0xE5, 0x7E))); + Assert.That(PKEY_TitleSortOverride.pid, Is.EqualTo(300)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TotalFileSizeTest() + { + Assert.That(PKEY_TotalFileSize.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_TotalFileSize.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TrademarksTest() + { + Assert.That(PKEY_Trademarks.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_Trademarks.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TransferOrderTest() + { + Assert.That(PKEY_TransferOrder.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_TransferOrder.pid, Is.EqualTo(106)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TransferPositionTest() + { + Assert.That(PKEY_TransferPosition.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_TransferPosition.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_TransferSizeTest() + { + Assert.That(PKEY_TransferSize.fmtid, Is.EqualTo(new Guid(0xFCEFF153, 0xE839, 0x4CF3, 0xA9, 0xE7, 0xEA, 0x22, 0x83, 0x20, 0x94, 0xB8))); + Assert.That(PKEY_TransferSize.pid, Is.EqualTo(105)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_VolumeIdTest() + { + Assert.That(PKEY_VolumeId.fmtid, Is.EqualTo(new Guid(0x446D16B1, 0x8DAD, 0x4870, 0xA7, 0x48, 0x40, 0x2E, 0xA4, 0x3D, 0x78, 0x8C))); + Assert.That(PKEY_VolumeId.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_ZoneIdentifierTest() + { + Assert.That(PKEY_ZoneIdentifier.fmtid, Is.EqualTo(new Guid(0x502CFEAB, 0x47EB, 0x459C, 0xB9, 0x60, 0xE6, 0xD8, 0x72, 0x8F, 0x77, 0x01))); + Assert.That(PKEY_ZoneIdentifier.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Device_PrinterURLTest() + { + Assert.That(PKEY_Device_PrinterURL.fmtid, Is.EqualTo(new Guid(0x0B48F35A, 0xBE6E, 0x4F17, 0xB1, 0x08, 0x3C, 0x40, 0x73, 0xD1, 0x66, 0x9A))); + Assert.That(PKEY_Device_PrinterURL.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_DeviceAddressTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_DeviceAddress.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_DeviceAddress.pid, Is.EqualTo(1)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_FlagsTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_Flags.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_Flags.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_LastConnectedTimeTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_LastConnectedTime.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_LastConnectedTime.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_ManufacturerTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_Manufacturer.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_Manufacturer.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_ModelNumberTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_ModelNumber.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_ModelNumber.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_ProductIdTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_ProductId.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_ProductId.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_ProductVersionTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_ProductVersion.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_ProductVersion.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_ServiceGuidTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_ServiceGuid.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_ServiceGuid.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_VendorIdTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_VendorId.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_VendorId.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Bluetooth_VendorIdSourceTest() + { + Assert.That(PKEY_DeviceInterface_Bluetooth_VendorIdSource.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_DeviceInterface_Bluetooth_VendorIdSource.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_IsReadOnlyTest() + { + Assert.That(PKEY_DeviceInterface_Hid_IsReadOnly.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_IsReadOnly.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_ProductIdTest() + { + Assert.That(PKEY_DeviceInterface_Hid_ProductId.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_ProductId.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_UsageIdTest() + { + Assert.That(PKEY_DeviceInterface_Hid_UsageId.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_UsageId.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_UsagePageTest() + { + Assert.That(PKEY_DeviceInterface_Hid_UsagePage.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_UsagePage.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_VendorIdTest() + { + Assert.That(PKEY_DeviceInterface_Hid_VendorId.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_VendorId.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Hid_VersionNumberTest() + { + Assert.That(PKEY_DeviceInterface_Hid_VersionNumber.fmtid, Is.EqualTo(new Guid(0xCBF38310, 0x4A17, 0x4310, 0xA1, 0xEB, 0x24, 0x7F, 0x0B, 0x67, 0x59, 0x3B))); + Assert.That(PKEY_DeviceInterface_Hid_VersionNumber.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_PrinterDriverDirectoryTest() + { + Assert.That(PKEY_DeviceInterface_PrinterDriverDirectory.fmtid, Is.EqualTo(new Guid(0x847C66DE, 0xB8D6, 0x4AF9, 0xAB, 0xC3, 0x6F, 0x4F, 0x92, 0x6B, 0xC0, 0x39))); + Assert.That(PKEY_DeviceInterface_PrinterDriverDirectory.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_PrinterDriverNameTest() + { + Assert.That(PKEY_DeviceInterface_PrinterDriverName.fmtid, Is.EqualTo(new Guid(0xAFC47170, 0x14F5, 0x498C, 0x8F, 0x30, 0xB0, 0xD1, 0x9B, 0xE4, 0x49, 0xC6))); + Assert.That(PKEY_DeviceInterface_PrinterDriverName.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_PrinterEnumerationFlagTest() + { + Assert.That(PKEY_DeviceInterface_PrinterEnumerationFlag.fmtid, Is.EqualTo(new Guid(0xA00742A1, 0xCD8C, 0x4B37, 0x95, 0xAB, 0x70, 0x75, 0x55, 0x87, 0x76, 0x7A))); + Assert.That(PKEY_DeviceInterface_PrinterEnumerationFlag.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_PrinterNameTest() + { + Assert.That(PKEY_DeviceInterface_PrinterName.fmtid, Is.EqualTo(new Guid(0x0A7B84EF, 0x0C27, 0x463F, 0x84, 0xEF, 0x06, 0xC5, 0x07, 0x00, 0x01, 0xBE))); + Assert.That(PKEY_DeviceInterface_PrinterName.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_PrinterPortNameTest() + { + Assert.That(PKEY_DeviceInterface_PrinterPortName.fmtid, Is.EqualTo(new Guid(0xEEC7B761, 0x6F94, 0x41B1, 0x94, 0x9F, 0xC7, 0x29, 0x72, 0x0D, 0xD1, 0x3C))); + Assert.That(PKEY_DeviceInterface_PrinterPortName.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Proximity_SupportsNfcTest() + { + Assert.That(PKEY_DeviceInterface_Proximity_SupportsNfc.fmtid, Is.EqualTo(new Guid(0xFB3842CD, 0x9E2A, 0x4F83, 0x8F, 0xCC, 0x4B, 0x07, 0x61, 0x13, 0x9A, 0xE9))); + Assert.That(PKEY_DeviceInterface_Proximity_SupportsNfc.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Serial_PortNameTest() + { + Assert.That(PKEY_DeviceInterface_Serial_PortName.fmtid, Is.EqualTo(new Guid(0x4C6BF15C, 0x4C03, 0x4AAC, 0x91, 0xF5, 0x64, 0xC0, 0xF8, 0x52, 0xBC, 0xF4))); + Assert.That(PKEY_DeviceInterface_Serial_PortName.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Serial_UsbProductIdTest() + { + Assert.That(PKEY_DeviceInterface_Serial_UsbProductId.fmtid, Is.EqualTo(new Guid(0x4C6BF15C, 0x4C03, 0x4AAC, 0x91, 0xF5, 0x64, 0xC0, 0xF8, 0x52, 0xBC, 0xF4))); + Assert.That(PKEY_DeviceInterface_Serial_UsbProductId.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_Serial_UsbVendorIdTest() + { + Assert.That(PKEY_DeviceInterface_Serial_UsbVendorId.fmtid, Is.EqualTo(new Guid(0x4C6BF15C, 0x4C03, 0x4AAC, 0x91, 0xF5, 0x64, 0xC0, 0xF8, 0x52, 0xBC, 0xF4))); + Assert.That(PKEY_DeviceInterface_Serial_UsbVendorId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_DeviceInterfaceClassesTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_DeviceInterfaceClasses.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_DeviceInterfaceClasses.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_UsbClassTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_UsbClass.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_UsbClass.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_UsbProductIdTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_UsbProductId.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_UsbProductId.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_UsbProtocolTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_UsbProtocol.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_UsbProtocol.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_UsbSubClassTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_UsbSubClass.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_UsbSubClass.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DeviceInterface_WinUsb_UsbVendorIdTest() + { + Assert.That(PKEY_DeviceInterface_WinUsb_UsbVendorId.fmtid, Is.EqualTo(new Guid(0x95E127B5, 0x79CC, 0x4E83, 0x9C, 0x9E, 0x84, 0x22, 0x18, 0x7B, 0x3E, 0x0E))); + Assert.That(PKEY_DeviceInterface_WinUsb_UsbVendorId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_AepIdTest() + { + Assert.That(PKEY_Devices_Aep_AepId.fmtid, Is.EqualTo(new Guid(0x3B2CE006, 0x5E61, 0x4FDE, 0xBA, 0xB8, 0x9B, 0x8A, 0xAC, 0x9B, 0x26, 0xDF))); + Assert.That(PKEY_Devices_Aep_AepId.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_MajorTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Major.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Major.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_MinorTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Minor.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Minor.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_AudioTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Audio.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Audio.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_CapturingTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Capturing.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Capturing.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_InformationTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Information.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Information.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_LimitedDiscoveryTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_LimitedDiscovery.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_LimitedDiscovery.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_NetworkingTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Networking.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Networking.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_ObjectXferTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_ObjectXfer.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_ObjectXfer.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_PositioningTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Positioning.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Positioning.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_RenderingTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Rendering.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Rendering.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Cod_Services_TelephonyTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Telephony.fmtid, Is.EqualTo(new Guid(0x5FBD34CD, 0x561A, 0x412E, 0xBA, 0x98, 0x47, 0x8A, 0x6B, 0x0F, 0xEF, 0x1D))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Cod_Services_Telephony.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_LastSeenTimeTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_LastSeenTime.fmtid, Is.EqualTo(new Guid(0x2BD67D8B, 0x8BEB, 0x48D5, 0x87, 0xE0, 0x6C, 0xDA, 0x34, 0x28, 0x04, 0x0A))); + Assert.That(PKEY_Devices_Aep_Bluetooth_LastSeenTime.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Le_AddressTypeTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_AddressType.fmtid, Is.EqualTo(new Guid(0x995EF0B0, 0x7EB3, 0x4A8B, 0xB9, 0xCE, 0x06, 0x8B, 0xB3, 0xF4, 0xAF, 0x69))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_AddressType.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Le_AppearanceTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance.fmtid, Is.EqualTo(new Guid(0x995EF0B0, 0x7EB3, 0x4A8B, 0xB9, 0xCE, 0x06, 0x8B, 0xB3, 0xF4, 0xAF, 0x69))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance.pid, Is.EqualTo(1)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Le_Appearance_CategoryTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance_Category.fmtid, Is.EqualTo(new Guid(0x995EF0B0, 0x7EB3, 0x4A8B, 0xB9, 0xCE, 0x06, 0x8B, 0xB3, 0xF4, 0xAF, 0x69))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance_Category.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Le_Appearance_SubcategoryTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance_Subcategory.fmtid, Is.EqualTo(new Guid(0x995EF0B0, 0x7EB3, 0x4A8B, 0xB9, 0xCE, 0x06, 0x8B, 0xB3, 0xF4, 0xAF, 0x69))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_Appearance_Subcategory.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_Bluetooth_Le_IsConnectableTest() + { + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_IsConnectable.fmtid, Is.EqualTo(new Guid(0x995EF0B0, 0x7EB3, 0x4A8B, 0xB9, 0xCE, 0x06, 0x8B, 0xB3, 0xF4, 0xAF, 0x69))); + Assert.That(PKEY_Devices_Aep_Bluetooth_Le_IsConnectable.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_CanPairTest() + { + Assert.That(PKEY_Devices_Aep_CanPair.fmtid, Is.EqualTo(new Guid(0xE7C3FB29, 0xCAA7, 0x4F47, 0x8C, 0x8B, 0xBE, 0x59, 0xB3, 0x30, 0xD4, 0xC5))); + Assert.That(PKEY_Devices_Aep_CanPair.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_CategoryTest() + { + Assert.That(PKEY_Devices_Aep_Category.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_Category.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_ContainerIdTest() + { + Assert.That(PKEY_Devices_Aep_ContainerId.fmtid, Is.EqualTo(new Guid(0xE7C3FB29, 0xCAA7, 0x4F47, 0x8C, 0x8B, 0xBE, 0x59, 0xB3, 0x30, 0xD4, 0xC5))); + Assert.That(PKEY_Devices_Aep_ContainerId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_DeviceAddressTest() + { + Assert.That(PKEY_Devices_Aep_DeviceAddress.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_DeviceAddress.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_IsConnectedTest() + { + Assert.That(PKEY_Devices_Aep_IsConnected.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_IsConnected.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_IsPairedTest() + { + Assert.That(PKEY_Devices_Aep_IsPaired.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_IsPaired.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_IsPresentTest() + { + Assert.That(PKEY_Devices_Aep_IsPresent.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_IsPresent.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_ManufacturerTest() + { + Assert.That(PKEY_Devices_Aep_Manufacturer.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_Manufacturer.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_ModelIdTest() + { + Assert.That(PKEY_Devices_Aep_ModelId.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_ModelId.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_ModelNameTest() + { + Assert.That(PKEY_Devices_Aep_ModelName.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_ModelName.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_PointOfService_ConnectionTypesTest() + { + Assert.That(PKEY_Devices_Aep_PointOfService_ConnectionTypes.fmtid, Is.EqualTo(new Guid(0xD4BF61B3, 0x442E, 0x4ADA, 0x88, 0x2D, 0xFA, 0x7B, 0x70, 0xC8, 0x32, 0xD9))); + Assert.That(PKEY_Devices_Aep_PointOfService_ConnectionTypes.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_ProtocolIdTest() + { + Assert.That(PKEY_Devices_Aep_ProtocolId.fmtid, Is.EqualTo(new Guid(0x3B2CE006, 0x5E61, 0x4FDE, 0xBA, 0xB8, 0x9B, 0x8A, 0xAC, 0x9B, 0x26, 0xDF))); + Assert.That(PKEY_Devices_Aep_ProtocolId.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Aep_SignalStrengthTest() + { + Assert.That(PKEY_Devices_Aep_SignalStrength.fmtid, Is.EqualTo(new Guid(0xA35996AB, 0x11CF, 0x4935, 0x8B, 0x61, 0xA6, 0x76, 0x10, 0x81, 0xEC, 0xDF))); + Assert.That(PKEY_Devices_Aep_SignalStrength.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_CanPairTest() + { + Assert.That(PKEY_Devices_AepContainer_CanPair.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_CanPair.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_CategoriesTest() + { + Assert.That(PKEY_Devices_AepContainer_Categories.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_Categories.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ChildrenTest() + { + Assert.That(PKEY_Devices_AepContainer_Children.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_Children.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ContainerIdTest() + { + Assert.That(PKEY_Devices_AepContainer_ContainerId.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_ContainerId.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_DialProtocol_InstalledApplicationsTest() + { + Assert.That(PKEY_Devices_AepContainer_DialProtocol_InstalledApplications.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_DialProtocol_InstalledApplications.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_IsPairedTest() + { + Assert.That(PKEY_Devices_AepContainer_IsPaired.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_IsPaired.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_IsPresentTest() + { + Assert.That(PKEY_Devices_AepContainer_IsPresent.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_IsPresent.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ManufacturerTest() + { + Assert.That(PKEY_Devices_AepContainer_Manufacturer.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_Manufacturer.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ModelIdsTest() + { + Assert.That(PKEY_Devices_AepContainer_ModelIds.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_ModelIds.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ModelNameTest() + { + Assert.That(PKEY_Devices_AepContainer_ModelName.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_ModelName.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_ProtocolIdsTest() + { + Assert.That(PKEY_Devices_AepContainer_ProtocolIds.fmtid, Is.EqualTo(new Guid(0x0BBA1EDE, 0x7566, 0x4F47, 0x90, 0xEC, 0x25, 0xFC, 0x56, 0x7C, 0xED, 0x2A))); + Assert.That(PKEY_Devices_AepContainer_ProtocolIds.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportedUriSchemesTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportedUriSchemes.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportedUriSchemes.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsAudioTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsAudio.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsAudio.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsCapturingTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsCapturing.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsCapturing.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsImagesTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsImages.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsImages.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsInformationTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsInformation.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsInformation.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsLimitedDiscoveryTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsLimitedDiscovery.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsLimitedDiscovery.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsNetworkingTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsNetworking.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsNetworking.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsObjectTransferTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsObjectTransfer.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsObjectTransfer.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsPositioningTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsPositioning.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsPositioning.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsRenderingTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsRendering.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsRendering.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsTelephonyTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsTelephony.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsTelephony.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepContainer_SupportsVideoTest() + { + Assert.That(PKEY_Devices_AepContainer_SupportsVideo.fmtid, Is.EqualTo(new Guid(0x6AF55D45, 0x38DB, 0x4495, 0xAC, 0xB0, 0xD4, 0x72, 0x8A, 0x3B, 0x83, 0x14))); + Assert.That(PKEY_Devices_AepContainer_SupportsVideo.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_AepIdTest() + { + Assert.That(PKEY_Devices_AepService_AepId.fmtid, Is.EqualTo(new Guid(0xC9C141A9, 0x1B4C, 0x4F17, 0xA9, 0xD1, 0xF2, 0x98, 0x53, 0x8C, 0xAD, 0xB8))); + Assert.That(PKEY_Devices_AepService_AepId.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_Bluetooth_CacheModeTest() + { + Assert.That(PKEY_Devices_AepService_Bluetooth_CacheMode.fmtid, Is.EqualTo(new Guid(0x9744311E, 0x7951, 0x4B2E, 0xB6, 0xF0, 0xEC, 0xB2, 0x93, 0xCA, 0xC1, 0x19))); + Assert.That(PKEY_Devices_AepService_Bluetooth_CacheMode.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_Bluetooth_ServiceGuidTest() + { + Assert.That(PKEY_Devices_AepService_Bluetooth_ServiceGuid.fmtid, Is.EqualTo(new Guid(0xA399AAC7, 0xC265, 0x474E, 0xB0, 0x73, 0xFF, 0xCE, 0x57, 0x72, 0x17, 0x16))); + Assert.That(PKEY_Devices_AepService_Bluetooth_ServiceGuid.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_Bluetooth_TargetDeviceTest() + { + Assert.That(PKEY_Devices_AepService_Bluetooth_TargetDevice.fmtid, Is.EqualTo(new Guid(0x9744311E, 0x7951, 0x4B2E, 0xB6, 0xF0, 0xEC, 0xB2, 0x93, 0xCA, 0xC1, 0x19))); + Assert.That(PKEY_Devices_AepService_Bluetooth_TargetDevice.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_ContainerIdTest() + { + Assert.That(PKEY_Devices_AepService_ContainerId.fmtid, Is.EqualTo(new Guid(0x71724756, 0x3E74, 0x4432, 0x9B, 0x59, 0xE7, 0xB2, 0xF6, 0x68, 0xA5, 0x93))); + Assert.That(PKEY_Devices_AepService_ContainerId.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_FriendlyNameTest() + { + Assert.That(PKEY_Devices_AepService_FriendlyName.fmtid, Is.EqualTo(new Guid(0x71724756, 0x3E74, 0x4432, 0x9B, 0x59, 0xE7, 0xB2, 0xF6, 0x68, 0xA5, 0x93))); + Assert.That(PKEY_Devices_AepService_FriendlyName.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_IoT_ServiceInterfacesTest() + { + Assert.That(PKEY_Devices_AepService_IoT_ServiceInterfaces.fmtid, Is.EqualTo(new Guid(0x79D94E82, 0x4D79, 0x45AA, 0x82, 0x1A, 0x74, 0x85, 0x8B, 0x4E, 0x4C, 0xA6))); + Assert.That(PKEY_Devices_AepService_IoT_ServiceInterfaces.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_ParentAepIsPairedTest() + { + Assert.That(PKEY_Devices_AepService_ParentAepIsPaired.fmtid, Is.EqualTo(new Guid(0xC9C141A9, 0x1B4C, 0x4F17, 0xA9, 0xD1, 0xF2, 0x98, 0x53, 0x8C, 0xAD, 0xB8))); + Assert.That(PKEY_Devices_AepService_ParentAepIsPaired.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_ProtocolIdTest() + { + Assert.That(PKEY_Devices_AepService_ProtocolId.fmtid, Is.EqualTo(new Guid(0xC9C141A9, 0x1B4C, 0x4F17, 0xA9, 0xD1, 0xF2, 0x98, 0x53, 0x8C, 0xAD, 0xB8))); + Assert.That(PKEY_Devices_AepService_ProtocolId.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_ServiceClassIdTest() + { + Assert.That(PKEY_Devices_AepService_ServiceClassId.fmtid, Is.EqualTo(new Guid(0x71724756, 0x3E74, 0x4432, 0x9B, 0x59, 0xE7, 0xB2, 0xF6, 0x68, 0xA5, 0x93))); + Assert.That(PKEY_Devices_AepService_ServiceClassId.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AepService_ServiceIdTest() + { + Assert.That(PKEY_Devices_AepService_ServiceId.fmtid, Is.EqualTo(new Guid(0xC9C141A9, 0x1B4C, 0x4F17, 0xA9, 0xD1, 0xF2, 0x98, 0x53, 0x8C, 0xAD, 0xB8))); + Assert.That(PKEY_Devices_AepService_ServiceId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AppPackageFamilyNameTest() + { + Assert.That(PKEY_Devices_AppPackageFamilyName.fmtid, Is.EqualTo(new Guid(0x51236583, 0x0C4A, 0x4FE8, 0xB8, 0x1F, 0x16, 0x6A, 0xEC, 0x13, 0xF5, 0x10))); + Assert.That(PKEY_Devices_AppPackageFamilyName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_Microphone_IsFarFieldTest() + { + Assert.That(PKEY_Devices_AudioDevice_Microphone_IsFarField.fmtid, Is.EqualTo(new Guid(0x8943B373, 0x388C, 0x4395, 0xB5, 0x57, 0xBC, 0x6D, 0xBA, 0xFF, 0xAF, 0xDB))); + Assert.That(PKEY_Devices_AudioDevice_Microphone_IsFarField.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfsTest() + { + Assert.That(PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs.fmtid, Is.EqualTo(new Guid(0x8943B373, 0x388C, 0x4395, 0xB5, 0x57, 0xBC, 0x6D, 0xBA, 0xFF, 0xAF, 0xDB))); + Assert.That(PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs2Test() + { + Assert.That(PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs2.fmtid, Is.EqualTo(new Guid(0x8943B373, 0x388C, 0x4395, 0xB5, 0x57, 0xBC, 0x6D, 0xBA, 0xFF, 0xAF, 0xDB))); + Assert.That(PKEY_Devices_AudioDevice_Microphone_SensitivityInDbfs2.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_Microphone_SignalToNoiseRatioInDbTest() + { + Assert.That(PKEY_Devices_AudioDevice_Microphone_SignalToNoiseRatioInDb.fmtid, Is.EqualTo(new Guid(0x8943B373, 0x388C, 0x4395, 0xB5, 0x57, 0xBC, 0x6D, 0xBA, 0xFF, 0xAF, 0xDB))); + Assert.That(PKEY_Devices_AudioDevice_Microphone_SignalToNoiseRatioInDb.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_RawProcessingSupportedTest() + { + Assert.That(PKEY_Devices_AudioDevice_RawProcessingSupported.fmtid, Is.EqualTo(new Guid(0x8943B373, 0x388C, 0x4395, 0xB5, 0x57, 0xBC, 0x6D, 0xBA, 0xFF, 0xAF, 0xDB))); + Assert.That(PKEY_Devices_AudioDevice_RawProcessingSupported.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_AudioDevice_SpeechProcessingSupportedTest() + { + Assert.That(PKEY_Devices_AudioDevice_SpeechProcessingSupported.fmtid, Is.EqualTo(new Guid(0xFB1DE864, 0xE06D, 0x47F4, 0x82, 0xA6, 0x8A, 0x0A, 0xEF, 0x44, 0x49, 0x3C))); + Assert.That(PKEY_Devices_AudioDevice_SpeechProcessingSupported.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_BatteryLifeTest() + { + Assert.That(PKEY_Devices_BatteryLife.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_BatteryLife.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_BatteryPlusChargingTest() + { + Assert.That(PKEY_Devices_BatteryPlusCharging.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_BatteryPlusCharging.pid, Is.EqualTo(22)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_BatteryPlusChargingTextTest() + { + Assert.That(PKEY_Devices_BatteryPlusChargingText.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_BatteryPlusChargingText.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_CategoryTest() + { + Assert.That(PKEY_Devices_Category.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_Category.pid, Is.EqualTo(91)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_CategoryGroupTest() + { + Assert.That(PKEY_Devices_CategoryGroup.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_CategoryGroup.pid, Is.EqualTo(94)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_CategoryIdsTest() + { + Assert.That(PKEY_Devices_CategoryIds.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_CategoryIds.pid, Is.EqualTo(90)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_CategoryPluralTest() + { + Assert.That(PKEY_Devices_CategoryPlural.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_CategoryPlural.pid, Is.EqualTo(92)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ChallengeAepTest() + { + Assert.That(PKEY_Devices_ChallengeAep.fmtid, Is.EqualTo(new Guid(0x0774315E, 0xB714, 0x48EC, 0x8D, 0xE8, 0x81, 0x25, 0xC0, 0x77, 0xAC, 0x11))); + Assert.That(PKEY_Devices_ChallengeAep.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ChargingStateTest() + { + Assert.That(PKEY_Devices_ChargingState.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_ChargingState.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ChildrenTest() + { + Assert.That(PKEY_Devices_Children.fmtid, Is.EqualTo(new Guid(0x4340A6C5, 0x93FA, 0x4706, 0x97, 0x2C, 0x7B, 0x64, 0x80, 0x08, 0xA5, 0xA7))); + Assert.That(PKEY_Devices_Children.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ClassGuidTest() + { + Assert.That(PKEY_Devices_ClassGuid.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_ClassGuid.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_CompatibleIdsTest() + { + Assert.That(PKEY_Devices_CompatibleIds.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_CompatibleIds.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ConnectedTest() + { + Assert.That(PKEY_Devices_Connected.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_Connected.pid, Is.EqualTo(55)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ContainerIdTest() + { + Assert.That(PKEY_Devices_ContainerId.fmtid, Is.EqualTo(new Guid(0x8C7ED206, 0x3F8A, 0x4827, 0xB3, 0xAB, 0xAE, 0x9E, 0x1F, 0xAE, 0xFC, 0x6C))); + Assert.That(PKEY_Devices_ContainerId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DefaultTooltipTest() + { + Assert.That(PKEY_Devices_DefaultTooltip.fmtid, Is.EqualTo(new Guid(0x880F70A2, 0x6082, 0x47AC, 0x8A, 0xAB, 0xA7, 0x39, 0xD1, 0xA3, 0x00, 0xC3))); + Assert.That(PKEY_Devices_DefaultTooltip.pid, Is.EqualTo(153)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceCapabilitiesTest() + { + Assert.That(PKEY_Devices_DeviceCapabilities.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_DeviceCapabilities.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceCharacteristicsTest() + { + Assert.That(PKEY_Devices_DeviceCharacteristics.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_DeviceCharacteristics.pid, Is.EqualTo(29)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceDescription1Test() + { + Assert.That(PKEY_Devices_DeviceDescription1.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_DeviceDescription1.pid, Is.EqualTo(81)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceDescription2Test() + { + Assert.That(PKEY_Devices_DeviceDescription2.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_DeviceDescription2.pid, Is.EqualTo(82)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceHasProblemTest() + { + Assert.That(PKEY_Devices_DeviceHasProblem.fmtid, Is.EqualTo(new Guid(0x540B947E, 0x8B40, 0x45BC, 0xA8, 0xA2, 0x6A, 0x0B, 0x89, 0x4C, 0xBD, 0xA2))); + Assert.That(PKEY_Devices_DeviceHasProblem.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceInstanceIdTest() + { + Assert.That(PKEY_Devices_DeviceInstanceId.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_DeviceInstanceId.pid, Is.EqualTo(256)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DeviceManufacturerTest() + { + Assert.That(PKEY_Devices_DeviceManufacturer.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_DeviceManufacturer.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DevObjectTypeTest() + { + Assert.That(PKEY_Devices_DevObjectType.fmtid, Is.EqualTo(new Guid(0x13673F42, 0xA3D6, 0x49F6, 0xB4, 0xDA, 0xAE, 0x46, 0xE0, 0xC5, 0x23, 0x7C))); + Assert.That(PKEY_Devices_DevObjectType.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DialProtocol_InstalledApplicationsTest() + { + Assert.That(PKEY_Devices_DialProtocol_InstalledApplications.fmtid, Is.EqualTo(new Guid(0x6845CC72, 0x1B71, 0x48C3, 0xAF, 0x86, 0xB0, 0x91, 0x71, 0xA1, 0x9B, 0x14))); + Assert.That(PKEY_Devices_DialProtocol_InstalledApplications.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_DiscoveryMethodTest() + { + Assert.That(PKEY_Devices_DiscoveryMethod.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_DiscoveryMethod.pid, Is.EqualTo(52)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_DomainTest() + { + Assert.That(PKEY_Devices_Dnssd_Domain.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_Domain.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_FullNameTest() + { + Assert.That(PKEY_Devices_Dnssd_FullName.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_FullName.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_HostNameTest() + { + Assert.That(PKEY_Devices_Dnssd_HostName.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_HostName.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_InstanceNameTest() + { + Assert.That(PKEY_Devices_Dnssd_InstanceName.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_InstanceName.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_NetworkAdapterIdTest() + { + Assert.That(PKEY_Devices_Dnssd_NetworkAdapterId.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_NetworkAdapterId.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_PortNumberTest() + { + Assert.That(PKEY_Devices_Dnssd_PortNumber.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_PortNumber.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_PriorityTest() + { + Assert.That(PKEY_Devices_Dnssd_Priority.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_Priority.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_ServiceNameTest() + { + Assert.That(PKEY_Devices_Dnssd_ServiceName.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_ServiceName.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_TextAttributesTest() + { + Assert.That(PKEY_Devices_Dnssd_TextAttributes.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_TextAttributes.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_TtlTest() + { + Assert.That(PKEY_Devices_Dnssd_Ttl.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_Ttl.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Dnssd_WeightTest() + { + Assert.That(PKEY_Devices_Dnssd_Weight.fmtid, Is.EqualTo(new Guid(0xBF79C0AB, 0xBB74, 0x4CEE, 0xB0, 0x70, 0x47, 0x0B, 0x5A, 0xE2, 0x02, 0xEA))); + Assert.That(PKEY_Devices_Dnssd_Weight.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_FriendlyNameTest() + { + Assert.That(PKEY_Devices_FriendlyName.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_FriendlyName.pid, Is.EqualTo(12288)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_FunctionPathsTest() + { + Assert.That(PKEY_Devices_FunctionPaths.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_FunctionPaths.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_GlyphIconTest() + { + Assert.That(PKEY_Devices_GlyphIcon.fmtid, Is.EqualTo(new Guid(0x51236583, 0x0C4A, 0x4FE8, 0xB8, 0x1F, 0x16, 0x6A, 0xEC, 0x13, 0xF5, 0x10))); + Assert.That(PKEY_Devices_GlyphIcon.pid, Is.EqualTo(123)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_HardwareIdsTest() + { + Assert.That(PKEY_Devices_HardwareIds.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_HardwareIds.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IconTest() + { + Assert.That(PKEY_Devices_Icon.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_Icon.pid, Is.EqualTo(57)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_InLocalMachineContainerTest() + { + Assert.That(PKEY_Devices_InLocalMachineContainer.fmtid, Is.EqualTo(new Guid(0x8C7ED206, 0x3F8A, 0x4827, 0xB3, 0xAB, 0xAE, 0x9E, 0x1F, 0xAE, 0xFC, 0x6C))); + Assert.That(PKEY_Devices_InLocalMachineContainer.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_InterfaceClassGuidTest() + { + Assert.That(PKEY_Devices_InterfaceClassGuid.fmtid, Is.EqualTo(new Guid(0x026E516E, 0xB814, 0x414B, 0x83, 0xCD, 0x85, 0x6D, 0x6F, 0xEF, 0x48, 0x22))); + Assert.That(PKEY_Devices_InterfaceClassGuid.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_InterfaceEnabledTest() + { + Assert.That(PKEY_Devices_InterfaceEnabled.fmtid, Is.EqualTo(new Guid(0x026E516E, 0xB814, 0x414B, 0x83, 0xCD, 0x85, 0x6D, 0x6F, 0xEF, 0x48, 0x22))); + Assert.That(PKEY_Devices_InterfaceEnabled.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_InterfacePathsTest() + { + Assert.That(PKEY_Devices_InterfacePaths.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_InterfacePaths.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IpAddressTest() + { + Assert.That(PKEY_Devices_IpAddress.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_IpAddress.pid, Is.EqualTo(12297)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IsDefaultTest() + { + Assert.That(PKEY_Devices_IsDefault.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_IsDefault.pid, Is.EqualTo(86)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IsNetworkConnectedTest() + { + Assert.That(PKEY_Devices_IsNetworkConnected.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_IsNetworkConnected.pid, Is.EqualTo(85)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IsSharedTest() + { + Assert.That(PKEY_Devices_IsShared.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_IsShared.pid, Is.EqualTo(84)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_IsSoftwareInstallingTest() + { + Assert.That(PKEY_Devices_IsSoftwareInstalling.fmtid, Is.EqualTo(new Guid(0x83DA6326, 0x97A6, 0x4088, 0x94, 0x53, 0xA1, 0x92, 0x3F, 0x57, 0x3B, 0x29))); + Assert.That(PKEY_Devices_IsSoftwareInstalling.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_LaunchDeviceStageFromExplorerTest() + { + Assert.That(PKEY_Devices_LaunchDeviceStageFromExplorer.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_LaunchDeviceStageFromExplorer.pid, Is.EqualTo(77)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_LocalMachineTest() + { + Assert.That(PKEY_Devices_LocalMachine.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_LocalMachine.pid, Is.EqualTo(70)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_LocationPathsTest() + { + Assert.That(PKEY_Devices_LocationPaths.fmtid, Is.EqualTo(new Guid(0xA45C254E, 0xDF1C, 0x4EFD, 0x80, 0x20, 0x67, 0xD1, 0x46, 0xA8, 0x50, 0xE0))); + Assert.That(PKEY_Devices_LocationPaths.pid, Is.EqualTo(37)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ManufacturerTest() + { + Assert.That(PKEY_Devices_Manufacturer.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_Manufacturer.pid, Is.EqualTo(8192)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_MetadataPathTest() + { + Assert.That(PKEY_Devices_MetadataPath.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_MetadataPath.pid, Is.EqualTo(71)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_MicrophoneArray_GeometryTest() + { + Assert.That(PKEY_Devices_MicrophoneArray_Geometry.fmtid, Is.EqualTo(new Guid(0xA1829EA2, 0x27EB, 0x459E, 0x93, 0x5D, 0xB2, 0xFA, 0xD7, 0xB0, 0x77, 0x62))); + Assert.That(PKEY_Devices_MicrophoneArray_Geometry.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_MissedCallsTest() + { + Assert.That(PKEY_Devices_MissedCalls.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_MissedCalls.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ModelIdTest() + { + Assert.That(PKEY_Devices_ModelId.fmtid, Is.EqualTo(new Guid(0x80D81EA6, 0x7473, 0x4B0C, 0x82, 0x16, 0xEF, 0xC1, 0x1A, 0x2C, 0x4C, 0x8B))); + Assert.That(PKEY_Devices_ModelId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ModelNameTest() + { + Assert.That(PKEY_Devices_ModelName.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_ModelName.pid, Is.EqualTo(8194)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ModelNumberTest() + { + Assert.That(PKEY_Devices_ModelNumber.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_ModelNumber.pid, Is.EqualTo(8195)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NetworkedTooltipTest() + { + Assert.That(PKEY_Devices_NetworkedTooltip.fmtid, Is.EqualTo(new Guid(0x880F70A2, 0x6082, 0x47AC, 0x8A, 0xAB, 0xA7, 0x39, 0xD1, 0xA3, 0x00, 0xC3))); + Assert.That(PKEY_Devices_NetworkedTooltip.pid, Is.EqualTo(152)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NetworkNameTest() + { + Assert.That(PKEY_Devices_NetworkName.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_NetworkName.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NetworkTypeTest() + { + Assert.That(PKEY_Devices_NetworkType.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_NetworkType.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NewPicturesTest() + { + Assert.That(PKEY_Devices_NewPictures.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_NewPictures.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NotificationTest() + { + Assert.That(PKEY_Devices_Notification.fmtid, Is.EqualTo(new Guid(0x06704B0C, 0xE830, 0x4C81, 0x91, 0x78, 0x91, 0xE4, 0xE9, 0x5A, 0x80, 0xA0))); + Assert.That(PKEY_Devices_Notification.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_LowBatteryTest() + { + Assert.That(PKEY_Devices_Notifications_LowBattery.fmtid, Is.EqualTo(new Guid(0xC4C07F2B, 0x8524, 0x4E66, 0xAE, 0x3A, 0xA6, 0x23, 0x5F, 0x10, 0x3B, 0xEB))); + Assert.That(PKEY_Devices_Notifications_LowBattery.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_MissedCallTest() + { + Assert.That(PKEY_Devices_Notifications_MissedCall.fmtid, Is.EqualTo(new Guid(0x6614EF48, 0x4EFE, 0x4424, 0x9E, 0xDA, 0xC7, 0x9F, 0x40, 0x4E, 0xDF, 0x3E))); + Assert.That(PKEY_Devices_Notifications_MissedCall.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_NewMessageTest() + { + Assert.That(PKEY_Devices_Notifications_NewMessage.fmtid, Is.EqualTo(new Guid(0x2BE9260A, 0x2012, 0x4742, 0xA5, 0x55, 0xF4, 0x1B, 0x63, 0x8B, 0x7D, 0xCB))); + Assert.That(PKEY_Devices_Notifications_NewMessage.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_NewVoicemailTest() + { + Assert.That(PKEY_Devices_Notifications_NewVoicemail.fmtid, Is.EqualTo(new Guid(0x59569556, 0x0A08, 0x4212, 0x95, 0xB9, 0xFA, 0xE2, 0xAD, 0x64, 0x13, 0xDB))); + Assert.That(PKEY_Devices_Notifications_NewVoicemail.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_StorageFullTest() + { + Assert.That(PKEY_Devices_Notifications_StorageFull.fmtid, Is.EqualTo(new Guid(0xA0E00EE1, 0xF0C7, 0x4D41, 0xB8, 0xE7, 0x26, 0xA7, 0xBD, 0x8D, 0x38, 0xB0))); + Assert.That(PKEY_Devices_Notifications_StorageFull.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Notifications_StorageFullLinkTextTest() + { + Assert.That(PKEY_Devices_Notifications_StorageFullLinkText.fmtid, Is.EqualTo(new Guid(0xA0E00EE1, 0xF0C7, 0x4D41, 0xB8, 0xE7, 0x26, 0xA7, 0xBD, 0x8D, 0x38, 0xB0))); + Assert.That(PKEY_Devices_Notifications_StorageFullLinkText.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NotificationStoreTest() + { + Assert.That(PKEY_Devices_NotificationStore.fmtid, Is.EqualTo(new Guid(0x06704B0C, 0xE830, 0x4C81, 0x91, 0x78, 0x91, 0xE4, 0xE9, 0x5A, 0x80, 0xA0))); + Assert.That(PKEY_Devices_NotificationStore.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_NotWorkingProperlyTest() + { + Assert.That(PKEY_Devices_NotWorkingProperly.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_NotWorkingProperly.pid, Is.EqualTo(83)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PairedTest() + { + Assert.That(PKEY_Devices_Paired.fmtid, Is.EqualTo(new Guid(0x78C34FC8, 0x104A, 0x4ACA, 0x9E, 0xA4, 0x52, 0x4D, 0x52, 0x99, 0x6E, 0x57))); + Assert.That(PKEY_Devices_Paired.pid, Is.EqualTo(56)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Panel_PanelGroupTest() + { + Assert.That(PKEY_Devices_Panel_PanelGroup.fmtid, Is.EqualTo(new Guid(0x8DBC9C86, 0x97A9, 0x4BFF, 0x9B, 0xC6, 0xBF, 0xE9, 0x5D, 0x3E, 0x6D, 0xAD))); + Assert.That(PKEY_Devices_Panel_PanelGroup.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Panel_PanelIdTest() + { + Assert.That(PKEY_Devices_Panel_PanelId.fmtid, Is.EqualTo(new Guid(0x8DBC9C86, 0x97A9, 0x4BFF, 0x9B, 0xC6, 0xBF, 0xE9, 0x5D, 0x3E, 0x6D, 0xAD))); + Assert.That(PKEY_Devices_Panel_PanelId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ParentTest() + { + Assert.That(PKEY_Devices_Parent.fmtid, Is.EqualTo(new Guid(0x4340A6C5, 0x93FA, 0x4706, 0x97, 0x2C, 0x7B, 0x64, 0x80, 0x08, 0xA5, 0xA7))); + Assert.That(PKEY_Devices_Parent.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PhoneLineTransportDevice_ConnectedTest() + { + Assert.That(PKEY_Devices_PhoneLineTransportDevice_Connected.fmtid, Is.EqualTo(new Guid(0xAECF2FE8, 0x1D00, 0x4FEE, 0x8A, 0x6D, 0xA7, 0x0D, 0x71, 0x9B, 0x77, 0x2B))); + Assert.That(PKEY_Devices_PhoneLineTransportDevice_Connected.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PhysicalDeviceLocationTest() + { + Assert.That(PKEY_Devices_PhysicalDeviceLocation.fmtid, Is.EqualTo(new Guid(0x540B947E, 0x8B40, 0x45BC, 0xA8, 0xA2, 0x6A, 0x0B, 0x89, 0x4C, 0xBD, 0xA2))); + Assert.That(PKEY_Devices_PhysicalDeviceLocation.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PlaybackPositionPercentTest() + { + Assert.That(PKEY_Devices_PlaybackPositionPercent.fmtid, Is.EqualTo(new Guid(0x3633DE59, 0x6825, 0x4381, 0xA4, 0x9B, 0x9F, 0x6B, 0xA1, 0x3A, 0x14, 0x71))); + Assert.That(PKEY_Devices_PlaybackPositionPercent.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PlaybackStateTest() + { + Assert.That(PKEY_Devices_PlaybackState.fmtid, Is.EqualTo(new Guid(0x3633DE59, 0x6825, 0x4381, 0xA4, 0x9B, 0x9F, 0x6B, 0xA1, 0x3A, 0x14, 0x71))); + Assert.That(PKEY_Devices_PlaybackState.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PlaybackTitleTest() + { + Assert.That(PKEY_Devices_PlaybackTitle.fmtid, Is.EqualTo(new Guid(0x3633DE59, 0x6825, 0x4381, 0xA4, 0x9B, 0x9F, 0x6B, 0xA1, 0x3A, 0x14, 0x71))); + Assert.That(PKEY_Devices_PlaybackTitle.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PresentTest() + { + Assert.That(PKEY_Devices_Present.fmtid, Is.EqualTo(new Guid(0x540B947E, 0x8B40, 0x45BC, 0xA8, 0xA2, 0x6A, 0x0B, 0x89, 0x4C, 0xBD, 0xA2))); + Assert.That(PKEY_Devices_Present.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PresentationUrlTest() + { + Assert.That(PKEY_Devices_PresentationUrl.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_PresentationUrl.pid, Is.EqualTo(8198)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_PrimaryCategoryTest() + { + Assert.That(PKEY_Devices_PrimaryCategory.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_PrimaryCategory.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_RemainingDurationTest() + { + Assert.That(PKEY_Devices_RemainingDuration.fmtid, Is.EqualTo(new Guid(0x3633DE59, 0x6825, 0x4381, 0xA4, 0x9B, 0x9F, 0x6B, 0xA1, 0x3A, 0x14, 0x71))); + Assert.That(PKEY_Devices_RemainingDuration.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_RestrictedInterfaceTest() + { + Assert.That(PKEY_Devices_RestrictedInterface.fmtid, Is.EqualTo(new Guid(0x026E516E, 0xB814, 0x414B, 0x83, 0xCD, 0x85, 0x6D, 0x6F, 0xEF, 0x48, 0x22))); + Assert.That(PKEY_Devices_RestrictedInterface.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_RoamingTest() + { + Assert.That(PKEY_Devices_Roaming.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_Roaming.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_SafeRemovalRequiredTest() + { + Assert.That(PKEY_Devices_SafeRemovalRequired.fmtid, Is.EqualTo(new Guid(0xAFD97640, 0x86A3, 0x4210, 0xB6, 0x7C, 0x28, 0x9C, 0x41, 0xAA, 0xBE, 0x55))); + Assert.That(PKEY_Devices_SafeRemovalRequired.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_SchematicNameTest() + { + Assert.That(PKEY_Devices_SchematicName.fmtid, Is.EqualTo(new Guid(0x026E516E, 0xB814, 0x414B, 0x83, 0xCD, 0x85, 0x6D, 0x6F, 0xEF, 0x48, 0x22))); + Assert.That(PKEY_Devices_SchematicName.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ServiceAddressTest() + { + Assert.That(PKEY_Devices_ServiceAddress.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_ServiceAddress.pid, Is.EqualTo(16384)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_ServiceIdTest() + { + Assert.That(PKEY_Devices_ServiceId.fmtid, Is.EqualTo(new Guid(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD))); + Assert.That(PKEY_Devices_ServiceId.pid, Is.EqualTo(16385)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_SharedTooltipTest() + { + Assert.That(PKEY_Devices_SharedTooltip.fmtid, Is.EqualTo(new Guid(0x880F70A2, 0x6082, 0x47AC, 0x8A, 0xAB, 0xA7, 0x39, 0xD1, 0xA3, 0x00, 0xC3))); + Assert.That(PKEY_Devices_SharedTooltip.pid, Is.EqualTo(151)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_SignalStrengthTest() + { + Assert.That(PKEY_Devices_SignalStrength.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_SignalStrength.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_SmartCards_ReaderKindTest() + { + Assert.That(PKEY_Devices_SmartCards_ReaderKind.fmtid, Is.EqualTo(new Guid(0xD6B5B883, 0x18BD, 0x4B4D, 0xB2, 0xEC, 0x9E, 0x38, 0xAF, 0xFE, 0xDA, 0x82))); + Assert.That(PKEY_Devices_SmartCards_ReaderKind.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_StatusTest() + { + Assert.That(PKEY_Devices_Status.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_Status.pid, Is.EqualTo(259)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Status1Test() + { + Assert.That(PKEY_Devices_Status1.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_Status1.pid, Is.EqualTo(257)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Status2Test() + { + Assert.That(PKEY_Devices_Status2.fmtid, Is.EqualTo(new Guid(0xD08DD4C0, 0x3A9E, 0x462E, 0x82, 0x90, 0x7B, 0x63, 0x6B, 0x25, 0x76, 0xB9))); + Assert.That(PKEY_Devices_Status2.pid, Is.EqualTo(258)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_StorageCapacityTest() + { + Assert.That(PKEY_Devices_StorageCapacity.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_StorageCapacity.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_StorageFreeSpaceTest() + { + Assert.That(PKEY_Devices_StorageFreeSpace.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_StorageFreeSpace.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_StorageFreeSpacePercentTest() + { + Assert.That(PKEY_Devices_StorageFreeSpacePercent.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_StorageFreeSpacePercent.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_TextMessagesTest() + { + Assert.That(PKEY_Devices_TextMessages.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_TextMessages.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_VoicemailTest() + { + Assert.That(PKEY_Devices_Voicemail.fmtid, Is.EqualTo(new Guid(0x49CD1F76, 0x5626, 0x4B17, 0xA4, 0xE8, 0x18, 0xB4, 0xAA, 0x1A, 0x22, 0x13))); + Assert.That(PKEY_Devices_Voicemail.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiaDeviceTypeTest() + { + Assert.That(PKEY_Devices_WiaDeviceType.fmtid, Is.EqualTo(new Guid(0x6BDD1FC6, 0x810F, 0x11D0, 0xBE, 0xC7, 0x08, 0x00, 0x2B, 0xE2, 0x09, 0x2F))); + Assert.That(PKEY_Devices_WiaDeviceType.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFi_InterfaceGuidTest() + { + Assert.That(PKEY_Devices_WiFi_InterfaceGuid.fmtid, Is.EqualTo(new Guid(0xEF1167EB, 0xCBFC, 0x4341, 0xA5, 0x68, 0xA7, 0xC9, 0x1A, 0x68, 0x98, 0x2C))); + Assert.That(PKEY_Devices_WiFi_InterfaceGuid.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_DeviceAddressTest() + { + Assert.That(PKEY_Devices_WiFiDirect_DeviceAddress.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_DeviceAddress.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_GroupIdTest() + { + Assert.That(PKEY_Devices_WiFiDirect_GroupId.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_GroupId.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_InformationElementsTest() + { + Assert.That(PKEY_Devices_WiFiDirect_InformationElements.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_InformationElements.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_InterfaceAddressTest() + { + Assert.That(PKEY_Devices_WiFiDirect_InterfaceAddress.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_InterfaceAddress.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_InterfaceGuidTest() + { + Assert.That(PKEY_Devices_WiFiDirect_InterfaceGuid.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_InterfaceGuid.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_IsConnectedTest() + { + Assert.That(PKEY_Devices_WiFiDirect_IsConnected.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_IsConnected.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_IsLegacyDeviceTest() + { + Assert.That(PKEY_Devices_WiFiDirect_IsLegacyDevice.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_IsLegacyDevice.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_IsMiracastLcpSupportedTest() + { + Assert.That(PKEY_Devices_WiFiDirect_IsMiracastLcpSupported.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_IsMiracastLcpSupported.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_IsVisibleTest() + { + Assert.That(PKEY_Devices_WiFiDirect_IsVisible.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_IsVisible.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_MiracastVersionTest() + { + Assert.That(PKEY_Devices_WiFiDirect_MiracastVersion.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_MiracastVersion.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_ServicesTest() + { + Assert.That(PKEY_Devices_WiFiDirect_Services.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_Services.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirect_SupportedChannelListTest() + { + Assert.That(PKEY_Devices_WiFiDirect_SupportedChannelList.fmtid, Is.EqualTo(new Guid(0x1506935D, 0xE3E7, 0x450F, 0x86, 0x37, 0x82, 0x23, 0x3E, 0xBE, 0x5F, 0x6E))); + Assert.That(PKEY_Devices_WiFiDirect_SupportedChannelList.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_AdvertisementIdTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_AdvertisementId.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_AdvertisementId.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_RequestServiceInformationTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_RequestServiceInformation.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_RequestServiceInformation.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_ServiceAddressTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceAddress.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceAddress.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_ServiceConfigMethodsTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceConfigMethods.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceConfigMethods.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_ServiceInformationTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceInformation.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceInformation.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WiFiDirectServices_ServiceNameTest() + { + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceName.fmtid, Is.EqualTo(new Guid(0x31B37743, 0x7C5E, 0x4005, 0x93, 0xE6, 0xE9, 0x53, 0xF9, 0x2B, 0x82, 0xE9))); + Assert.That(PKEY_Devices_WiFiDirectServices_ServiceName.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_WinPhone8CameraFlagsTest() + { + Assert.That(PKEY_Devices_WinPhone8CameraFlags.fmtid, Is.EqualTo(new Guid(0xB7B4D61C, 0x5A64, 0x4187, 0xA5, 0x2E, 0xB1, 0x53, 0x9F, 0x35, 0x90, 0x99))); + Assert.That(PKEY_Devices_WinPhone8CameraFlags.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Devices_Wwan_InterfaceGuidTest() + { + Assert.That(PKEY_Devices_Wwan_InterfaceGuid.fmtid, Is.EqualTo(new Guid(0xFF1167EB, 0xCBFC, 0x4341, 0xA5, 0x68, 0xA7, 0xC9, 0x1A, 0x68, 0x98, 0x2C))); + Assert.That(PKEY_Devices_Wwan_InterfaceGuid.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Storage_PortableTest() + { + Assert.That(PKEY_Storage_Portable.fmtid, Is.EqualTo(new Guid(0x4D1EBEE8, 0x0803, 0x4774, 0x98, 0x42, 0xB7, 0x7D, 0xB5, 0x02, 0x65, 0xE9))); + Assert.That(PKEY_Storage_Portable.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Storage_RemovableMediaTest() + { + Assert.That(PKEY_Storage_RemovableMedia.fmtid, Is.EqualTo(new Guid(0x4D1EBEE8, 0x0803, 0x4774, 0x98, 0x42, 0xB7, 0x7D, 0xB5, 0x02, 0x65, 0xE9))); + Assert.That(PKEY_Storage_RemovableMedia.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Storage_SystemCriticalTest() + { + Assert.That(PKEY_Storage_SystemCritical.fmtid, Is.EqualTo(new Guid(0x4D1EBEE8, 0x0803, 0x4774, 0x98, 0x42, 0xB7, 0x7D, 0xB5, 0x02, 0x65, 0xE9))); + Assert.That(PKEY_Storage_SystemCritical.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_ByteCountTest() + { + Assert.That(PKEY_Document_ByteCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_ByteCount.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_CharacterCountTest() + { + Assert.That(PKEY_Document_CharacterCount.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_CharacterCount.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_ClientIDTest() + { + Assert.That(PKEY_Document_ClientID.fmtid, Is.EqualTo(new Guid(0x276D7BB0, 0x5B34, 0x4FB0, 0xAA, 0x4B, 0x15, 0x8E, 0xD1, 0x2A, 0x18, 0x09))); + Assert.That(PKEY_Document_ClientID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_ContributorTest() + { + Assert.That(PKEY_Document_Contributor.fmtid, Is.EqualTo(new Guid(0xF334115E, 0xDA1B, 0x4509, 0x9B, 0x3D, 0x11, 0x95, 0x04, 0xDC, 0x7A, 0xBB))); + Assert.That(PKEY_Document_Contributor.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_DateCreatedTest() + { + Assert.That(PKEY_Document_DateCreated.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_DateCreated.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_DatePrintedTest() + { + Assert.That(PKEY_Document_DatePrinted.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_DatePrinted.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_DateSavedTest() + { + Assert.That(PKEY_Document_DateSaved.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_DateSaved.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_DivisionTest() + { + Assert.That(PKEY_Document_Division.fmtid, Is.EqualTo(new Guid(0x1E005EE6, 0xBF27, 0x428B, 0xB0, 0x1C, 0x79, 0x67, 0x6A, 0xCD, 0x28, 0x70))); + Assert.That(PKEY_Document_Division.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_DocumentIDTest() + { + Assert.That(PKEY_Document_DocumentID.fmtid, Is.EqualTo(new Guid(0xE08805C8, 0xE395, 0x40DF, 0x80, 0xD2, 0x54, 0xF0, 0xD6, 0xC4, 0x31, 0x54))); + Assert.That(PKEY_Document_DocumentID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_HiddenSlideCountTest() + { + Assert.That(PKEY_Document_HiddenSlideCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_HiddenSlideCount.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_LastAuthorTest() + { + Assert.That(PKEY_Document_LastAuthor.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_LastAuthor.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_LineCountTest() + { + Assert.That(PKEY_Document_LineCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_LineCount.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_ManagerTest() + { + Assert.That(PKEY_Document_Manager.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_Manager.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_MultimediaClipCountTest() + { + Assert.That(PKEY_Document_MultimediaClipCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_MultimediaClipCount.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_NoteCountTest() + { + Assert.That(PKEY_Document_NoteCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_NoteCount.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_PageCountTest() + { + Assert.That(PKEY_Document_PageCount.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_PageCount.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_ParagraphCountTest() + { + Assert.That(PKEY_Document_ParagraphCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_ParagraphCount.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_PresentationFormatTest() + { + Assert.That(PKEY_Document_PresentationFormat.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_PresentationFormat.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_RevisionNumberTest() + { + Assert.That(PKEY_Document_RevisionNumber.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_RevisionNumber.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_SecurityTest() + { + Assert.That(PKEY_Document_Security.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_Security.pid, Is.EqualTo(19)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_SlideCountTest() + { + Assert.That(PKEY_Document_SlideCount.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_SlideCount.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_TemplateTest() + { + Assert.That(PKEY_Document_Template.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_Template.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_TotalEditingTimeTest() + { + Assert.That(PKEY_Document_TotalEditingTime.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_TotalEditingTime.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_VersionTest() + { + Assert.That(PKEY_Document_Version.fmtid, Is.EqualTo(new Guid(0xD5CDD502, 0x2E9C, 0x101B, 0x93, 0x97, 0x08, 0x00, 0x2B, 0x2C, 0xF9, 0xAE))); + Assert.That(PKEY_Document_Version.pid, Is.EqualTo(29)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Document_WordCountTest() + { + Assert.That(PKEY_Document_WordCount.fmtid, Is.EqualTo(new Guid(0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9))); + Assert.That(PKEY_Document_WordCount.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_DatePlayExpiresTest() + { + Assert.That(PKEY_DRM_DatePlayExpires.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_DatePlayExpires.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_DatePlayStartsTest() + { + Assert.That(PKEY_DRM_DatePlayStarts.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_DatePlayStarts.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_DescriptionTest() + { + Assert.That(PKEY_DRM_Description.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_Description.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_IsDisabledTest() + { + Assert.That(PKEY_DRM_IsDisabled.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_IsDisabled.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_IsProtectedTest() + { + Assert.That(PKEY_DRM_IsProtected.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_IsProtected.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DRM_PlayCountTest() + { + Assert.That(PKEY_DRM_PlayCount.fmtid, Is.EqualTo(new Guid(0xAEAC19E4, 0x89AE, 0x4508, 0xB9, 0xB7, 0xBB, 0x86, 0x7A, 0xBE, 0xE2, 0xED))); + Assert.That(PKEY_DRM_PlayCount.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_AltitudeTest() + { + Assert.That(PKEY_GPS_Altitude.fmtid, Is.EqualTo(new Guid(0x827EDB4F, 0x5B73, 0x44A7, 0x89, 0x1D, 0xFD, 0xFF, 0xAB, 0xEA, 0x35, 0xCA))); + Assert.That(PKEY_GPS_Altitude.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_AltitudeDenominatorTest() + { + Assert.That(PKEY_GPS_AltitudeDenominator.fmtid, Is.EqualTo(new Guid(0x78342DCB, 0xE358, 0x4145, 0xAE, 0x9A, 0x6B, 0xFE, 0x4E, 0x0F, 0x9F, 0x51))); + Assert.That(PKEY_GPS_AltitudeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_AltitudeNumeratorTest() + { + Assert.That(PKEY_GPS_AltitudeNumerator.fmtid, Is.EqualTo(new Guid(0x2DAD1EB7, 0x816D, 0x40D3, 0x9E, 0xC3, 0xC9, 0x77, 0x3B, 0xE2, 0xAA, 0xDE))); + Assert.That(PKEY_GPS_AltitudeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_AltitudeRefTest() + { + Assert.That(PKEY_GPS_AltitudeRef.fmtid, Is.EqualTo(new Guid(0x46AC629D, 0x75EA, 0x4515, 0x86, 0x7F, 0x6D, 0xC4, 0x32, 0x1C, 0x58, 0x44))); + Assert.That(PKEY_GPS_AltitudeRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_AreaInformationTest() + { + Assert.That(PKEY_GPS_AreaInformation.fmtid, Is.EqualTo(new Guid(0x972E333E, 0xAC7E, 0x49F1, 0x8A, 0xDF, 0xA7, 0x0D, 0x07, 0xA9, 0xBC, 0xAB))); + Assert.That(PKEY_GPS_AreaInformation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DateTest() + { + Assert.That(PKEY_GPS_Date.fmtid, Is.EqualTo(new Guid(0x3602C812, 0x0F3B, 0x45F0, 0x85, 0xAD, 0x60, 0x34, 0x68, 0xD6, 0x94, 0x23))); + Assert.That(PKEY_GPS_Date.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestBearingTest() + { + Assert.That(PKEY_GPS_DestBearing.fmtid, Is.EqualTo(new Guid(0xC66D4B3C, 0xE888, 0x47CC, 0xB9, 0x9F, 0x9D, 0xCA, 0x3E, 0xE3, 0x4D, 0xEA))); + Assert.That(PKEY_GPS_DestBearing.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestBearingDenominatorTest() + { + Assert.That(PKEY_GPS_DestBearingDenominator.fmtid, Is.EqualTo(new Guid(0x7ABCF4F8, 0x7C3F, 0x4988, 0xAC, 0x91, 0x8D, 0x2C, 0x2E, 0x97, 0xEC, 0xA5))); + Assert.That(PKEY_GPS_DestBearingDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestBearingNumeratorTest() + { + Assert.That(PKEY_GPS_DestBearingNumerator.fmtid, Is.EqualTo(new Guid(0xBA3B1DA9, 0x86EE, 0x4B5D, 0xA2, 0xA4, 0xA2, 0x71, 0xA4, 0x29, 0xF0, 0xCF))); + Assert.That(PKEY_GPS_DestBearingNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestBearingRefTest() + { + Assert.That(PKEY_GPS_DestBearingRef.fmtid, Is.EqualTo(new Guid(0x9AB84393, 0x2A0F, 0x4B75, 0xBB, 0x22, 0x72, 0x79, 0x78, 0x69, 0x77, 0xCB))); + Assert.That(PKEY_GPS_DestBearingRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestDistanceTest() + { + Assert.That(PKEY_GPS_DestDistance.fmtid, Is.EqualTo(new Guid(0xA93EAE04, 0x6804, 0x4F24, 0xAC, 0x81, 0x09, 0xB2, 0x66, 0x45, 0x21, 0x18))); + Assert.That(PKEY_GPS_DestDistance.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestDistanceDenominatorTest() + { + Assert.That(PKEY_GPS_DestDistanceDenominator.fmtid, Is.EqualTo(new Guid(0x9BC2C99B, 0xAC71, 0x4127, 0x9D, 0x1C, 0x25, 0x96, 0xD0, 0xD7, 0xDC, 0xB7))); + Assert.That(PKEY_GPS_DestDistanceDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestDistanceNumeratorTest() + { + Assert.That(PKEY_GPS_DestDistanceNumerator.fmtid, Is.EqualTo(new Guid(0x2BDA47DA, 0x08C6, 0x4FE1, 0x80, 0xBC, 0xA7, 0x2F, 0xC5, 0x17, 0xC5, 0xD0))); + Assert.That(PKEY_GPS_DestDistanceNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestDistanceRefTest() + { + Assert.That(PKEY_GPS_DestDistanceRef.fmtid, Is.EqualTo(new Guid(0xED4DF2D3, 0x8695, 0x450B, 0x85, 0x6F, 0xF5, 0xC1, 0xC5, 0x3A, 0xCB, 0x66))); + Assert.That(PKEY_GPS_DestDistanceRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLatitudeTest() + { + Assert.That(PKEY_GPS_DestLatitude.fmtid, Is.EqualTo(new Guid(0x9D1D7CC5, 0x5C39, 0x451C, 0x86, 0xB3, 0x92, 0x8E, 0x2D, 0x18, 0xCC, 0x47))); + Assert.That(PKEY_GPS_DestLatitude.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLatitudeDenominatorTest() + { + Assert.That(PKEY_GPS_DestLatitudeDenominator.fmtid, Is.EqualTo(new Guid(0x3A372292, 0x7FCA, 0x49A7, 0x99, 0xD5, 0xE4, 0x7B, 0xB2, 0xD4, 0xE7, 0xAB))); + Assert.That(PKEY_GPS_DestLatitudeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLatitudeNumeratorTest() + { + Assert.That(PKEY_GPS_DestLatitudeNumerator.fmtid, Is.EqualTo(new Guid(0xECF4B6F6, 0xD5A6, 0x433C, 0xBB, 0x92, 0x40, 0x76, 0x65, 0x0F, 0xC8, 0x90))); + Assert.That(PKEY_GPS_DestLatitudeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLatitudeRefTest() + { + Assert.That(PKEY_GPS_DestLatitudeRef.fmtid, Is.EqualTo(new Guid(0xCEA820B9, 0xCE61, 0x4885, 0xA1, 0x28, 0x00, 0x5D, 0x90, 0x87, 0xC1, 0x92))); + Assert.That(PKEY_GPS_DestLatitudeRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLongitudeTest() + { + Assert.That(PKEY_GPS_DestLongitude.fmtid, Is.EqualTo(new Guid(0x47A96261, 0xCB4C, 0x4807, 0x8A, 0xD3, 0x40, 0xB9, 0xD9, 0xDB, 0xC6, 0xBC))); + Assert.That(PKEY_GPS_DestLongitude.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLongitudeDenominatorTest() + { + Assert.That(PKEY_GPS_DestLongitudeDenominator.fmtid, Is.EqualTo(new Guid(0x425D69E5, 0x48AD, 0x4900, 0x8D, 0x80, 0x6E, 0xB6, 0xB8, 0xD0, 0xAC, 0x86))); + Assert.That(PKEY_GPS_DestLongitudeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLongitudeNumeratorTest() + { + Assert.That(PKEY_GPS_DestLongitudeNumerator.fmtid, Is.EqualTo(new Guid(0xA3250282, 0xFB6D, 0x48D5, 0x9A, 0x89, 0xDB, 0xCA, 0xCE, 0x75, 0xCC, 0xCF))); + Assert.That(PKEY_GPS_DestLongitudeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DestLongitudeRefTest() + { + Assert.That(PKEY_GPS_DestLongitudeRef.fmtid, Is.EqualTo(new Guid(0x182C1EA6, 0x7C1C, 0x4083, 0xAB, 0x4B, 0xAC, 0x6C, 0x9F, 0x4E, 0xD1, 0x28))); + Assert.That(PKEY_GPS_DestLongitudeRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DifferentialTest() + { + Assert.That(PKEY_GPS_Differential.fmtid, Is.EqualTo(new Guid(0xAAF4EE25, 0xBD3B, 0x4DD7, 0xBF, 0xC4, 0x47, 0xF7, 0x7B, 0xB0, 0x0F, 0x6D))); + Assert.That(PKEY_GPS_Differential.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DOPTest() + { + Assert.That(PKEY_GPS_DOP.fmtid, Is.EqualTo(new Guid(0x0CF8FB02, 0x1837, 0x42F1, 0xA6, 0x97, 0xA7, 0x01, 0x7A, 0xA2, 0x89, 0xB9))); + Assert.That(PKEY_GPS_DOP.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DOPDenominatorTest() + { + Assert.That(PKEY_GPS_DOPDenominator.fmtid, Is.EqualTo(new Guid(0xA0BE94C5, 0x50BA, 0x487B, 0xBD, 0x35, 0x06, 0x54, 0xBE, 0x88, 0x81, 0xED))); + Assert.That(PKEY_GPS_DOPDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_DOPNumeratorTest() + { + Assert.That(PKEY_GPS_DOPNumerator.fmtid, Is.EqualTo(new Guid(0x47166B16, 0x364F, 0x4AA0, 0x9F, 0x31, 0xE2, 0xAB, 0x3D, 0xF4, 0x49, 0xC3))); + Assert.That(PKEY_GPS_DOPNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_ImgDirectionTest() + { + Assert.That(PKEY_GPS_ImgDirection.fmtid, Is.EqualTo(new Guid(0x16473C91, 0xD017, 0x4ED9, 0xBA, 0x4D, 0xB6, 0xBA, 0xA5, 0x5D, 0xBC, 0xF8))); + Assert.That(PKEY_GPS_ImgDirection.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_ImgDirectionDenominatorTest() + { + Assert.That(PKEY_GPS_ImgDirectionDenominator.fmtid, Is.EqualTo(new Guid(0x10B24595, 0x41A2, 0x4E20, 0x93, 0xC2, 0x57, 0x61, 0xC1, 0x39, 0x5F, 0x32))); + Assert.That(PKEY_GPS_ImgDirectionDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_ImgDirectionNumeratorTest() + { + Assert.That(PKEY_GPS_ImgDirectionNumerator.fmtid, Is.EqualTo(new Guid(0xDC5877C7, 0x225F, 0x45F7, 0xBA, 0xC7, 0xE8, 0x13, 0x34, 0xB6, 0x13, 0x0A))); + Assert.That(PKEY_GPS_ImgDirectionNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_ImgDirectionRefTest() + { + Assert.That(PKEY_GPS_ImgDirectionRef.fmtid, Is.EqualTo(new Guid(0xA4AAA5B7, 0x1AD0, 0x445F, 0x81, 0x1A, 0x0F, 0x8F, 0x6E, 0x67, 0xF6, 0xB5))); + Assert.That(PKEY_GPS_ImgDirectionRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LatitudeTest() + { + Assert.That(PKEY_GPS_Latitude.fmtid, Is.EqualTo(new Guid(0x8727CFFF, 0x4868, 0x4EC6, 0xAD, 0x5B, 0x81, 0xB9, 0x85, 0x21, 0xD1, 0xAB))); + Assert.That(PKEY_GPS_Latitude.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LatitudeDecimalTest() + { + Assert.That(PKEY_GPS_LatitudeDecimal.fmtid, Is.EqualTo(new Guid(0x0F55CDE2, 0x4F49, 0x450D, 0x92, 0xC1, 0xDC, 0xD1, 0x63, 0x01, 0xB1, 0xB7))); + Assert.That(PKEY_GPS_LatitudeDecimal.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LatitudeDenominatorTest() + { + Assert.That(PKEY_GPS_LatitudeDenominator.fmtid, Is.EqualTo(new Guid(0x16E634EE, 0x2BFF, 0x497B, 0xBD, 0x8A, 0x43, 0x41, 0xAD, 0x39, 0xEE, 0xB9))); + Assert.That(PKEY_GPS_LatitudeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LatitudeNumeratorTest() + { + Assert.That(PKEY_GPS_LatitudeNumerator.fmtid, Is.EqualTo(new Guid(0x7DDAAAD1, 0xCCC8, 0x41AE, 0xB7, 0x50, 0xB2, 0xCB, 0x80, 0x31, 0xAE, 0xA2))); + Assert.That(PKEY_GPS_LatitudeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LatitudeRefTest() + { + Assert.That(PKEY_GPS_LatitudeRef.fmtid, Is.EqualTo(new Guid(0x029C0252, 0x5B86, 0x46C7, 0xAC, 0xA0, 0x27, 0x69, 0xFF, 0xC8, 0xE3, 0xD4))); + Assert.That(PKEY_GPS_LatitudeRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LongitudeTest() + { + Assert.That(PKEY_GPS_Longitude.fmtid, Is.EqualTo(new Guid(0xC4C4DBB2, 0xB593, 0x466B, 0xBB, 0xDA, 0xD0, 0x3D, 0x27, 0xD5, 0xE4, 0x3A))); + Assert.That(PKEY_GPS_Longitude.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LongitudeDecimalTest() + { + Assert.That(PKEY_GPS_LongitudeDecimal.fmtid, Is.EqualTo(new Guid(0x4679C1B5, 0x844D, 0x4590, 0xBA, 0xF5, 0xF3, 0x22, 0x23, 0x1F, 0x1B, 0x81))); + Assert.That(PKEY_GPS_LongitudeDecimal.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LongitudeDenominatorTest() + { + Assert.That(PKEY_GPS_LongitudeDenominator.fmtid, Is.EqualTo(new Guid(0xBE6E176C, 0x4534, 0x4D2C, 0xAC, 0xE5, 0x31, 0xDE, 0xDA, 0xC1, 0x60, 0x6B))); + Assert.That(PKEY_GPS_LongitudeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LongitudeNumeratorTest() + { + Assert.That(PKEY_GPS_LongitudeNumerator.fmtid, Is.EqualTo(new Guid(0x02B0F689, 0xA914, 0x4E45, 0x82, 0x1D, 0x1D, 0xDA, 0x45, 0x2E, 0xD2, 0xC4))); + Assert.That(PKEY_GPS_LongitudeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_LongitudeRefTest() + { + Assert.That(PKEY_GPS_LongitudeRef.fmtid, Is.EqualTo(new Guid(0x33DCF22B, 0x28D5, 0x464C, 0x80, 0x35, 0x1E, 0xE9, 0xEF, 0xD2, 0x52, 0x78))); + Assert.That(PKEY_GPS_LongitudeRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_MapDatumTest() + { + Assert.That(PKEY_GPS_MapDatum.fmtid, Is.EqualTo(new Guid(0x2CA2DAE6, 0xEDDC, 0x407D, 0xBE, 0xF1, 0x77, 0x39, 0x42, 0xAB, 0xFA, 0x95))); + Assert.That(PKEY_GPS_MapDatum.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_MeasureModeTest() + { + Assert.That(PKEY_GPS_MeasureMode.fmtid, Is.EqualTo(new Guid(0xA015ED5D, 0xAAEA, 0x4D58, 0x8A, 0x86, 0x3C, 0x58, 0x69, 0x20, 0xEA, 0x0B))); + Assert.That(PKEY_GPS_MeasureMode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_ProcessingMethodTest() + { + Assert.That(PKEY_GPS_ProcessingMethod.fmtid, Is.EqualTo(new Guid(0x59D49E61, 0x840F, 0x4AA9, 0xA9, 0x39, 0xE2, 0x09, 0x9B, 0x7F, 0x63, 0x99))); + Assert.That(PKEY_GPS_ProcessingMethod.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_SatellitesTest() + { + Assert.That(PKEY_GPS_Satellites.fmtid, Is.EqualTo(new Guid(0x467EE575, 0x1F25, 0x4557, 0xAD, 0x4E, 0xB8, 0xB5, 0x8B, 0x0D, 0x9C, 0x15))); + Assert.That(PKEY_GPS_Satellites.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_SpeedTest() + { + Assert.That(PKEY_GPS_Speed.fmtid, Is.EqualTo(new Guid(0xDA5D0862, 0x6E76, 0x4E1B, 0xBA, 0xBD, 0x70, 0x02, 0x1B, 0xD2, 0x54, 0x94))); + Assert.That(PKEY_GPS_Speed.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_SpeedDenominatorTest() + { + Assert.That(PKEY_GPS_SpeedDenominator.fmtid, Is.EqualTo(new Guid(0x7D122D5A, 0xAE5E, 0x4335, 0x88, 0x41, 0xD7, 0x1E, 0x7C, 0xE7, 0x2F, 0x53))); + Assert.That(PKEY_GPS_SpeedDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_SpeedNumeratorTest() + { + Assert.That(PKEY_GPS_SpeedNumerator.fmtid, Is.EqualTo(new Guid(0xACC9CE3D, 0xC213, 0x4942, 0x8B, 0x48, 0x6D, 0x08, 0x20, 0xF2, 0x1C, 0x6D))); + Assert.That(PKEY_GPS_SpeedNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_SpeedRefTest() + { + Assert.That(PKEY_GPS_SpeedRef.fmtid, Is.EqualTo(new Guid(0xECF7F4C9, 0x544F, 0x4D6D, 0x9D, 0x98, 0x8A, 0xD7, 0x9A, 0xDA, 0xF4, 0x53))); + Assert.That(PKEY_GPS_SpeedRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_StatusTest() + { + Assert.That(PKEY_GPS_Status.fmtid, Is.EqualTo(new Guid(0x125491F4, 0x818F, 0x46B2, 0x91, 0xB5, 0xD5, 0x37, 0x75, 0x36, 0x17, 0xB2))); + Assert.That(PKEY_GPS_Status.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_TrackTest() + { + Assert.That(PKEY_GPS_Track.fmtid, Is.EqualTo(new Guid(0x76C09943, 0x7C33, 0x49E3, 0x9E, 0x7E, 0xCD, 0xBA, 0x87, 0x2C, 0xFA, 0xDA))); + Assert.That(PKEY_GPS_Track.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_TrackDenominatorTest() + { + Assert.That(PKEY_GPS_TrackDenominator.fmtid, Is.EqualTo(new Guid(0xC8D1920C, 0x01F6, 0x40C0, 0xAC, 0x86, 0x2F, 0x3A, 0x4A, 0xD0, 0x07, 0x70))); + Assert.That(PKEY_GPS_TrackDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_TrackNumeratorTest() + { + Assert.That(PKEY_GPS_TrackNumerator.fmtid, Is.EqualTo(new Guid(0x702926F4, 0x44A6, 0x43E1, 0xAE, 0x71, 0x45, 0x62, 0x71, 0x16, 0x89, 0x3B))); + Assert.That(PKEY_GPS_TrackNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_TrackRefTest() + { + Assert.That(PKEY_GPS_TrackRef.fmtid, Is.EqualTo(new Guid(0x35DBE6FE, 0x44C3, 0x4400, 0xAA, 0xAE, 0xD2, 0xC7, 0x99, 0xC4, 0x07, 0xE8))); + Assert.That(PKEY_GPS_TrackRef.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_GPS_VersionIDTest() + { + Assert.That(PKEY_GPS_VersionID.fmtid, Is.EqualTo(new Guid(0x22704DA4, 0xC6B2, 0x4A99, 0x8E, 0x56, 0xF1, 0x6D, 0xF8, 0xC9, 0x25, 0x99))); + Assert.That(PKEY_GPS_VersionID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_History_VisitCountTest() + { + Assert.That(PKEY_History_VisitCount.fmtid, Is.EqualTo(new Guid(0x5CBF2787, 0x48CF, 0x4208, 0xB9, 0x0E, 0xEE, 0x5E, 0x5D, 0x42, 0x02, 0x94))); + Assert.That(PKEY_History_VisitCount.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_BitDepthTest() + { + Assert.That(PKEY_Image_BitDepth.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_BitDepth.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_ColorSpaceTest() + { + Assert.That(PKEY_Image_ColorSpace.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Image_ColorSpace.pid, Is.EqualTo(40961)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_CompressedBitsPerPixelTest() + { + Assert.That(PKEY_Image_CompressedBitsPerPixel.fmtid, Is.EqualTo(new Guid(0x364B6FA9, 0x37AB, 0x482A, 0xBE, 0x2B, 0xAE, 0x02, 0xF6, 0x0D, 0x43, 0x18))); + Assert.That(PKEY_Image_CompressedBitsPerPixel.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_CompressedBitsPerPixelDenominatorTest() + { + Assert.That(PKEY_Image_CompressedBitsPerPixelDenominator.fmtid, Is.EqualTo(new Guid(0x1F8844E1, 0x24AD, 0x4508, 0x9D, 0xFD, 0x53, 0x26, 0xA4, 0x15, 0xCE, 0x02))); + Assert.That(PKEY_Image_CompressedBitsPerPixelDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_CompressedBitsPerPixelNumeratorTest() + { + Assert.That(PKEY_Image_CompressedBitsPerPixelNumerator.fmtid, Is.EqualTo(new Guid(0xD21A7148, 0xD32C, 0x4624, 0x89, 0x00, 0x27, 0x72, 0x10, 0xF7, 0x9C, 0x0F))); + Assert.That(PKEY_Image_CompressedBitsPerPixelNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_CompressionTest() + { + Assert.That(PKEY_Image_Compression.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Image_Compression.pid, Is.EqualTo(259)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_CompressionTextTest() + { + Assert.That(PKEY_Image_CompressionText.fmtid, Is.EqualTo(new Guid(0x3F08E66F, 0x2F44, 0x4BB9, 0xA6, 0x82, 0xAC, 0x35, 0xD2, 0x56, 0x23, 0x22))); + Assert.That(PKEY_Image_CompressionText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_DimensionsTest() + { + Assert.That(PKEY_Image_Dimensions.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_Dimensions.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_HorizontalResolutionTest() + { + Assert.That(PKEY_Image_HorizontalResolution.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_HorizontalResolution.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_HorizontalSizeTest() + { + Assert.That(PKEY_Image_HorizontalSize.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_HorizontalSize.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_ImageIDTest() + { + Assert.That(PKEY_Image_ImageID.fmtid, Is.EqualTo(new Guid(0x10DABE05, 0x32AA, 0x4C29, 0xBF, 0x1A, 0x63, 0xE2, 0xD2, 0x20, 0x58, 0x7F))); + Assert.That(PKEY_Image_ImageID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_ResolutionUnitTest() + { + Assert.That(PKEY_Image_ResolutionUnit.fmtid, Is.EqualTo(new Guid(0x19B51FA6, 0x1F92, 0x4A5C, 0xAB, 0x48, 0x7D, 0xF0, 0xAB, 0xD6, 0x74, 0x44))); + Assert.That(PKEY_Image_ResolutionUnit.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_VerticalResolutionTest() + { + Assert.That(PKEY_Image_VerticalResolution.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_VerticalResolution.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Image_VerticalSizeTest() + { + Assert.That(PKEY_Image_VerticalSize.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Image_VerticalSize.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Journal_ContactsTest() + { + Assert.That(PKEY_Journal_Contacts.fmtid, Is.EqualTo(new Guid(0xDEA7C82C, 0x1D89, 0x4A66, 0x94, 0x27, 0xA4, 0xE3, 0xDE, 0xBA, 0xBC, 0xB1))); + Assert.That(PKEY_Journal_Contacts.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Journal_EntryTypeTest() + { + Assert.That(PKEY_Journal_EntryType.fmtid, Is.EqualTo(new Guid(0x95BEB1FC, 0x326D, 0x4644, 0xB3, 0x96, 0xCD, 0x3E, 0xD9, 0x0E, 0x6D, 0xDF))); + Assert.That(PKEY_Journal_EntryType.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LayoutPattern_ContentViewModeForBrowseTest() + { + Assert.That(PKEY_LayoutPattern_ContentViewModeForBrowse.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_LayoutPattern_ContentViewModeForBrowse.pid, Is.EqualTo(500)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LayoutPattern_ContentViewModeForSearchTest() + { + Assert.That(PKEY_LayoutPattern_ContentViewModeForSearch.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_LayoutPattern_ContentViewModeForSearch.pid, Is.EqualTo(501)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_History_SelectionCountTest() + { + Assert.That(PKEY_History_SelectionCount.fmtid, Is.EqualTo(new Guid(0x1CE0D6BC, 0x536C, 0x4600, 0xB0, 0xDD, 0x7E, 0x0C, 0x66, 0xB3, 0x50, 0xD5))); + Assert.That(PKEY_History_SelectionCount.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_History_TargetUrlHostNameTest() + { + Assert.That(PKEY_History_TargetUrlHostName.fmtid, Is.EqualTo(new Guid(0x1CE0D6BC, 0x536C, 0x4600, 0xB0, 0xDD, 0x7E, 0x0C, 0x66, 0xB3, 0x50, 0xD5))); + Assert.That(PKEY_History_TargetUrlHostName.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_ArgumentsTest() + { + Assert.That(PKEY_Link_Arguments.fmtid, Is.EqualTo(new Guid(0x436F2667, 0x14E2, 0x4FEB, 0xB3, 0x0A, 0x14, 0x6C, 0x53, 0xB5, 0xB6, 0x74))); + Assert.That(PKEY_Link_Arguments.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_CommentTest() + { + Assert.That(PKEY_Link_Comment.fmtid, Is.EqualTo(new Guid(0xB9B4B3FC, 0x2B51, 0x4A42, 0xB5, 0xD8, 0x32, 0x41, 0x46, 0xAF, 0xCF, 0x25))); + Assert.That(PKEY_Link_Comment.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_DateVisitedTest() + { + Assert.That(PKEY_Link_DateVisited.fmtid, Is.EqualTo(new Guid(0x5CBF2787, 0x48CF, 0x4208, 0xB9, 0x0E, 0xEE, 0x5E, 0x5D, 0x42, 0x02, 0x94))); + Assert.That(PKEY_Link_DateVisited.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_DescriptionTest() + { + Assert.That(PKEY_Link_Description.fmtid, Is.EqualTo(new Guid(0x5CBF2787, 0x48CF, 0x4208, 0xB9, 0x0E, 0xEE, 0x5E, 0x5D, 0x42, 0x02, 0x94))); + Assert.That(PKEY_Link_Description.pid, Is.EqualTo(21)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_FeedItemLocalIdTest() + { + Assert.That(PKEY_Link_FeedItemLocalId.fmtid, Is.EqualTo(new Guid(0x8A2F99F9, 0x3C37, 0x465D, 0xA8, 0xD7, 0x69, 0x77, 0x7A, 0x24, 0x6D, 0x0C))); + Assert.That(PKEY_Link_FeedItemLocalId.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_StatusTest() + { + Assert.That(PKEY_Link_Status.fmtid, Is.EqualTo(new Guid(0xB9B4B3FC, 0x2B51, 0x4A42, 0xB5, 0xD8, 0x32, 0x41, 0x46, 0xAF, 0xCF, 0x25))); + Assert.That(PKEY_Link_Status.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetExtensionTest() + { + Assert.That(PKEY_Link_TargetExtension.fmtid, Is.EqualTo(new Guid(0x7A7D76F4, 0xB630, 0x4BD7, 0x95, 0xFF, 0x37, 0xCC, 0x51, 0xA9, 0x75, 0xC9))); + Assert.That(PKEY_Link_TargetExtension.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetParsingPathTest() + { + Assert.That(PKEY_Link_TargetParsingPath.fmtid, Is.EqualTo(new Guid(0xB9B4B3FC, 0x2B51, 0x4A42, 0xB5, 0xD8, 0x32, 0x41, 0x46, 0xAF, 0xCF, 0x25))); + Assert.That(PKEY_Link_TargetParsingPath.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetSFGAOFlagsTest() + { + Assert.That(PKEY_Link_TargetSFGAOFlags.fmtid, Is.EqualTo(new Guid(0xB9B4B3FC, 0x2B51, 0x4A42, 0xB5, 0xD8, 0x32, 0x41, 0x46, 0xAF, 0xCF, 0x25))); + Assert.That(PKEY_Link_TargetSFGAOFlags.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetUrlHostNameTest() + { + Assert.That(PKEY_Link_TargetUrlHostName.fmtid, Is.EqualTo(new Guid(0x8A2F99F9, 0x3C37, 0x465D, 0xA8, 0xD7, 0x69, 0x77, 0x7A, 0x24, 0x6D, 0x0C))); + Assert.That(PKEY_Link_TargetUrlHostName.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetUrlPathTest() + { + Assert.That(PKEY_Link_TargetUrlPath.fmtid, Is.EqualTo(new Guid(0x8A2F99F9, 0x3C37, 0x465D, 0xA8, 0xD7, 0x69, 0x77, 0x7A, 0x24, 0x6D, 0x0C))); + Assert.That(PKEY_Link_TargetUrlPath.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_AuthorUrlTest() + { + Assert.That(PKEY_Media_AuthorUrl.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_AuthorUrl.pid, Is.EqualTo(32)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_AverageLevelTest() + { + Assert.That(PKEY_Media_AverageLevel.fmtid, Is.EqualTo(new Guid(0x09EDD5B6, 0xB301, 0x43C5, 0x99, 0x90, 0xD0, 0x03, 0x02, 0xEF, 0xFD, 0x46))); + Assert.That(PKEY_Media_AverageLevel.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ClassPrimaryIDTest() + { + Assert.That(PKEY_Media_ClassPrimaryID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ClassPrimaryID.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ClassSecondaryIDTest() + { + Assert.That(PKEY_Media_ClassSecondaryID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ClassSecondaryID.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_CollectionGroupIDTest() + { + Assert.That(PKEY_Media_CollectionGroupID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_CollectionGroupID.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_CollectionIDTest() + { + Assert.That(PKEY_Media_CollectionID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_CollectionID.pid, Is.EqualTo(25)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ContentDistributorTest() + { + Assert.That(PKEY_Media_ContentDistributor.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ContentDistributor.pid, Is.EqualTo(18)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ContentIDTest() + { + Assert.That(PKEY_Media_ContentID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ContentID.pid, Is.EqualTo(26)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_CreatorApplicationTest() + { + Assert.That(PKEY_Media_CreatorApplication.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_CreatorApplication.pid, Is.EqualTo(27)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_CreatorApplicationVersionTest() + { + Assert.That(PKEY_Media_CreatorApplicationVersion.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_CreatorApplicationVersion.pid, Is.EqualTo(28)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_DateEncodedTest() + { + Assert.That(PKEY_Media_DateEncoded.fmtid, Is.EqualTo(new Guid(0x2E4B640D, 0x5019, 0x46D8, 0x88, 0x81, 0x55, 0x41, 0x4C, 0xC5, 0xCA, 0xA0))); + Assert.That(PKEY_Media_DateEncoded.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_DateReleasedTest() + { + Assert.That(PKEY_Media_DateReleased.fmtid, Is.EqualTo(new Guid(0xDE41CC29, 0x6971, 0x4290, 0xB4, 0x72, 0xF5, 0x9F, 0x2E, 0x2F, 0x31, 0xE2))); + Assert.That(PKEY_Media_DateReleased.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_DlnaProfileIDTest() + { + Assert.That(PKEY_Media_DlnaProfileID.fmtid, Is.EqualTo(new Guid(0xCFA31B45, 0x525D, 0x4998, 0xBB, 0x44, 0x3F, 0x7D, 0x81, 0x54, 0x2F, 0xA4))); + Assert.That(PKEY_Media_DlnaProfileID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_DurationTest() + { + Assert.That(PKEY_Media_Duration.fmtid, Is.EqualTo(new Guid(0x64440490, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_Duration.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_DVDIDTest() + { + Assert.That(PKEY_Media_DVDID.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_DVDID.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_EncodedByTest() + { + Assert.That(PKEY_Media_EncodedBy.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_EncodedBy.pid, Is.EqualTo(36)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_EncodingSettingsTest() + { + Assert.That(PKEY_Media_EncodingSettings.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_EncodingSettings.pid, Is.EqualTo(37)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_EpisodeNumberTest() + { + Assert.That(PKEY_Media_EpisodeNumber.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_EpisodeNumber.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_FrameCountTest() + { + Assert.That(PKEY_Media_FrameCount.fmtid, Is.EqualTo(new Guid(0x6444048F, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_FrameCount.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_MCDITest() + { + Assert.That(PKEY_Media_MCDI.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_MCDI.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_MetadataContentProviderTest() + { + Assert.That(PKEY_Media_MetadataContentProvider.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_MetadataContentProvider.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ProducerTest() + { + Assert.That(PKEY_Media_Producer.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_Producer.pid, Is.EqualTo(22)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_PromotionUrlTest() + { + Assert.That(PKEY_Media_PromotionUrl.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_PromotionUrl.pid, Is.EqualTo(33)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ProtectionTypeTest() + { + Assert.That(PKEY_Media_ProtectionType.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ProtectionType.pid, Is.EqualTo(38)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ProviderRatingTest() + { + Assert.That(PKEY_Media_ProviderRating.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ProviderRating.pid, Is.EqualTo(39)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ProviderStyleTest() + { + Assert.That(PKEY_Media_ProviderStyle.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ProviderStyle.pid, Is.EqualTo(40)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_PublisherTest() + { + Assert.That(PKEY_Media_Publisher.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_Publisher.pid, Is.EqualTo(30)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_SeasonNumberTest() + { + Assert.That(PKEY_Media_SeasonNumber.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_SeasonNumber.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_SeriesNameTest() + { + Assert.That(PKEY_Media_SeriesName.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_SeriesName.pid, Is.EqualTo(42)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_SubscriptionContentIdTest() + { + Assert.That(PKEY_Media_SubscriptionContentId.fmtid, Is.EqualTo(new Guid(0x9AEBAE7A, 0x9644, 0x487D, 0xA9, 0x2C, 0x65, 0x75, 0x85, 0xED, 0x75, 0x1A))); + Assert.That(PKEY_Media_SubscriptionContentId.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_SubTitleTest() + { + Assert.That(PKEY_Media_SubTitle.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Media_SubTitle.pid, Is.EqualTo(38)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ThumbnailLargePathTest() + { + Assert.That(PKEY_Media_ThumbnailLargePath.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ThumbnailLargePath.pid, Is.EqualTo(47)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ThumbnailLargeUriTest() + { + Assert.That(PKEY_Media_ThumbnailLargeUri.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ThumbnailLargeUri.pid, Is.EqualTo(48)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ThumbnailSmallPathTest() + { + Assert.That(PKEY_Media_ThumbnailSmallPath.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ThumbnailSmallPath.pid, Is.EqualTo(49)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_ThumbnailSmallUriTest() + { + Assert.That(PKEY_Media_ThumbnailSmallUri.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_ThumbnailSmallUri.pid, Is.EqualTo(50)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_UniqueFileIdentifierTest() + { + Assert.That(PKEY_Media_UniqueFileIdentifier.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_UniqueFileIdentifier.pid, Is.EqualTo(35)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_UserNoAutoInfoTest() + { + Assert.That(PKEY_Media_UserNoAutoInfo.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_UserNoAutoInfo.pid, Is.EqualTo(41)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_UserWebUrlTest() + { + Assert.That(PKEY_Media_UserWebUrl.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_UserWebUrl.pid, Is.EqualTo(34)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_WriterTest() + { + Assert.That(PKEY_Media_Writer.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Media_Writer.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Media_YearTest() + { + Assert.That(PKEY_Media_Year.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Media_Year.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_AttachmentContentsTest() + { + Assert.That(PKEY_Message_AttachmentContents.fmtid, Is.EqualTo(new Guid(0x3143BF7C, 0x80A8, 0x4854, 0x88, 0x80, 0xE2, 0xE4, 0x01, 0x89, 0xBD, 0xD0))); + Assert.That(PKEY_Message_AttachmentContents.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_AttachmentNamesTest() + { + Assert.That(PKEY_Message_AttachmentNames.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_AttachmentNames.pid, Is.EqualTo(21)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_BccAddressTest() + { + Assert.That(PKEY_Message_BccAddress.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_BccAddress.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_BccNameTest() + { + Assert.That(PKEY_Message_BccName.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_BccName.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_CcAddressTest() + { + Assert.That(PKEY_Message_CcAddress.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_CcAddress.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_CcNameTest() + { + Assert.That(PKEY_Message_CcName.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_CcName.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ConversationIDTest() + { + Assert.That(PKEY_Message_ConversationID.fmtid, Is.EqualTo(new Guid(0xDC8F80BD, 0xAF1E, 0x4289, 0x85, 0xB6, 0x3D, 0xFC, 0x1B, 0x49, 0x39, 0x92))); + Assert.That(PKEY_Message_ConversationID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ConversationIndexTest() + { + Assert.That(PKEY_Message_ConversationIndex.fmtid, Is.EqualTo(new Guid(0xDC8F80BD, 0xAF1E, 0x4289, 0x85, 0xB6, 0x3D, 0xFC, 0x1B, 0x49, 0x39, 0x92))); + Assert.That(PKEY_Message_ConversationIndex.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_DateReceivedTest() + { + Assert.That(PKEY_Message_DateReceived.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_DateReceived.pid, Is.EqualTo(20)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_DateSentTest() + { + Assert.That(PKEY_Message_DateSent.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_DateSent.pid, Is.EqualTo(19)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_FlagsTest() + { + Assert.That(PKEY_Message_Flags.fmtid, Is.EqualTo(new Guid(0xA82D9EE7, 0xCA67, 0x4312, 0x96, 0x5E, 0x22, 0x6B, 0xCE, 0xA8, 0x50, 0x23))); + Assert.That(PKEY_Message_Flags.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_FromAddressTest() + { + Assert.That(PKEY_Message_FromAddress.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_FromAddress.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_FromNameTest() + { + Assert.That(PKEY_Message_FromName.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_FromName.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_HasAttachmentsTest() + { + Assert.That(PKEY_Message_HasAttachments.fmtid, Is.EqualTo(new Guid(0x9C1FCF74, 0x2D97, 0x41BA, 0xB4, 0xAE, 0xCB, 0x2E, 0x36, 0x61, 0xA6, 0xE4))); + Assert.That(PKEY_Message_HasAttachments.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_IsFwdOrReplyTest() + { + Assert.That(PKEY_Message_IsFwdOrReply.fmtid, Is.EqualTo(new Guid(0x9A9BC088, 0x4F6D, 0x469E, 0x99, 0x19, 0xE7, 0x05, 0x41, 0x20, 0x40, 0xF9))); + Assert.That(PKEY_Message_IsFwdOrReply.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_MessageClassTest() + { + Assert.That(PKEY_Message_MessageClass.fmtid, Is.EqualTo(new Guid(0xCD9ED458, 0x08CE, 0x418F, 0xA7, 0x0E, 0xF9, 0x12, 0xC7, 0xBB, 0x9C, 0x5C))); + Assert.That(PKEY_Message_MessageClass.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ParticipantsTest() + { + Assert.That(PKEY_Message_Participants.fmtid, Is.EqualTo(new Guid(0x1A9BA605, 0x8E7C, 0x4D11, 0xAD, 0x7D, 0xA5, 0x0A, 0xDA, 0x18, 0xBA, 0x1B))); + Assert.That(PKEY_Message_Participants.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ProofInProgressTest() + { + Assert.That(PKEY_Message_ProofInProgress.fmtid, Is.EqualTo(new Guid(0x9098F33C, 0x9A7D, 0x48A8, 0x8D, 0xE5, 0x2E, 0x12, 0x27, 0xA6, 0x4E, 0x91))); + Assert.That(PKEY_Message_ProofInProgress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_SenderAddressTest() + { + Assert.That(PKEY_Message_SenderAddress.fmtid, Is.EqualTo(new Guid(0x0BE1C8E7, 0x1981, 0x4676, 0xAE, 0x14, 0xFD, 0xD7, 0x8F, 0x05, 0xA6, 0xE7))); + Assert.That(PKEY_Message_SenderAddress.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_SenderNameTest() + { + Assert.That(PKEY_Message_SenderName.fmtid, Is.EqualTo(new Guid(0x0DA41CFA, 0xD224, 0x4A18, 0xAE, 0x2F, 0x59, 0x61, 0x58, 0xDB, 0x4B, 0x3A))); + Assert.That(PKEY_Message_SenderName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_StoreTest() + { + Assert.That(PKEY_Message_Store.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_Store.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ToAddressTest() + { + Assert.That(PKEY_Message_ToAddress.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_ToAddress.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ToDoFlagsTest() + { + Assert.That(PKEY_Message_ToDoFlags.fmtid, Is.EqualTo(new Guid(0x1F856A9F, 0x6900, 0x4ABA, 0x95, 0x05, 0x2D, 0x5F, 0x1B, 0x4D, 0x66, 0xCB))); + Assert.That(PKEY_Message_ToDoFlags.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ToDoTitleTest() + { + Assert.That(PKEY_Message_ToDoTitle.fmtid, Is.EqualTo(new Guid(0xBCCC8A3C, 0x8CEF, 0x42E5, 0x9B, 0x1C, 0xC6, 0x90, 0x79, 0x39, 0x8B, 0xC7))); + Assert.That(PKEY_Message_ToDoTitle.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Message_ToNameTest() + { + Assert.That(PKEY_Message_ToName.fmtid, Is.EqualTo(new Guid(0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD))); + Assert.That(PKEY_Message_ToName.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_AlbumArtistTest() + { + Assert.That(PKEY_Music_AlbumArtist.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_AlbumArtist.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_AlbumArtistSortOverrideTest() + { + Assert.That(PKEY_Music_AlbumArtistSortOverride.fmtid, Is.EqualTo(new Guid(0xF1FDB4AF, 0xF78C, 0x466C, 0xBB, 0x05, 0x56, 0xE9, 0x2D, 0xB0, 0xB8, 0xEC))); + Assert.That(PKEY_Music_AlbumArtistSortOverride.pid, Is.EqualTo(103)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_AlbumIDTest() + { + Assert.That(PKEY_Music_AlbumID.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_AlbumID.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_AlbumTitleTest() + { + Assert.That(PKEY_Music_AlbumTitle.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_AlbumTitle.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_AlbumTitleSortOverrideTest() + { + Assert.That(PKEY_Music_AlbumTitleSortOverride.fmtid, Is.EqualTo(new Guid(0x13EB7FFC, 0xEC89, 0x4346, 0xB1, 0x9D, 0xCC, 0xC6, 0xF1, 0x78, 0x42, 0x23))); + Assert.That(PKEY_Music_AlbumTitleSortOverride.pid, Is.EqualTo(101)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ArtistTest() + { + Assert.That(PKEY_Music_Artist.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_Artist.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ArtistSortOverrideTest() + { + Assert.That(PKEY_Music_ArtistSortOverride.fmtid, Is.EqualTo(new Guid(0xDEEB2DB5, 0x0696, 0x4CE0, 0x94, 0xFE, 0xA0, 0x1F, 0x77, 0xA4, 0x5F, 0xB5))); + Assert.That(PKEY_Music_ArtistSortOverride.pid, Is.EqualTo(102)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_BeatsPerMinuteTest() + { + Assert.That(PKEY_Music_BeatsPerMinute.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_BeatsPerMinute.pid, Is.EqualTo(35)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ComposerTest() + { + Assert.That(PKEY_Music_Composer.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Music_Composer.pid, Is.EqualTo(19)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ComposerSortOverrideTest() + { + Assert.That(PKEY_Music_ComposerSortOverride.fmtid, Is.EqualTo(new Guid(0x00BC20A3, 0xBD48, 0x4085, 0x87, 0x2C, 0xA8, 0x8D, 0x77, 0xF5, 0x09, 0x7E))); + Assert.That(PKEY_Music_ComposerSortOverride.pid, Is.EqualTo(105)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ConductorTest() + { + Assert.That(PKEY_Music_Conductor.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_Conductor.pid, Is.EqualTo(36)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_ContentGroupDescriptionTest() + { + Assert.That(PKEY_Music_ContentGroupDescription.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_ContentGroupDescription.pid, Is.EqualTo(33)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_DiscNumberTest() + { + Assert.That(PKEY_Music_DiscNumber.fmtid, Is.EqualTo(new Guid(0x6AFE7437, 0x9BCD, 0x49C7, 0x80, 0xFE, 0x4A, 0x5C, 0x65, 0xFA, 0x58, 0x74))); + Assert.That(PKEY_Music_DiscNumber.pid, Is.EqualTo(104)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_DisplayArtistTest() + { + Assert.That(PKEY_Music_DisplayArtist.fmtid, Is.EqualTo(new Guid(0xFD122953, 0xFA93, 0x4EF7, 0x92, 0xC3, 0x04, 0xC9, 0x46, 0xB2, 0xF7, 0xC8))); + Assert.That(PKEY_Music_DisplayArtist.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_GenreTest() + { + Assert.That(PKEY_Music_Genre.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_Genre.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_InitialKeyTest() + { + Assert.That(PKEY_Music_InitialKey.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_InitialKey.pid, Is.EqualTo(34)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_IsCompilationTest() + { + Assert.That(PKEY_Music_IsCompilation.fmtid, Is.EqualTo(new Guid(0xC449D5CB, 0x9EA4, 0x4809, 0x82, 0xE8, 0xAF, 0x9D, 0x59, 0xDE, 0xD6, 0xD1))); + Assert.That(PKEY_Music_IsCompilation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_LyricsTest() + { + Assert.That(PKEY_Music_Lyrics.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_Lyrics.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_MoodTest() + { + Assert.That(PKEY_Music_Mood.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_Mood.pid, Is.EqualTo(39)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_PartOfSetTest() + { + Assert.That(PKEY_Music_PartOfSet.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_PartOfSet.pid, Is.EqualTo(37)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_PeriodTest() + { + Assert.That(PKEY_Music_Period.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Music_Period.pid, Is.EqualTo(31)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_SynchronizedLyricsTest() + { + Assert.That(PKEY_Music_SynchronizedLyrics.fmtid, Is.EqualTo(new Guid(0x6B223B6A, 0x162E, 0x4AA9, 0xB3, 0x9F, 0x05, 0xD6, 0x78, 0xFC, 0x6D, 0x77))); + Assert.That(PKEY_Music_SynchronizedLyrics.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Music_TrackNumberTest() + { + Assert.That(PKEY_Music_TrackNumber.fmtid, Is.EqualTo(new Guid(0x56A3372E, 0xCE9C, 0x11D2, 0x9F, 0x0E, 0x00, 0x60, 0x97, 0xC6, 0x86, 0xF6))); + Assert.That(PKEY_Music_TrackNumber.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Note_ColorTest() + { + Assert.That(PKEY_Note_Color.fmtid, Is.EqualTo(new Guid(0x4776CAFA, 0xBCE4, 0x4CB1, 0xA2, 0x3E, 0x26, 0x5E, 0x76, 0xD8, 0xEB, 0x11))); + Assert.That(PKEY_Note_Color.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Note_ColorTextTest() + { + Assert.That(PKEY_Note_ColorText.fmtid, Is.EqualTo(new Guid(0x46B4E8DE, 0xCDB2, 0x440D, 0x88, 0x5C, 0x16, 0x58, 0xEB, 0x65, 0xB9, 0x14))); + Assert.That(PKEY_Note_ColorText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ApertureTest() + { + Assert.That(PKEY_Photo_Aperture.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_Aperture.pid, Is.EqualTo(37378)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ApertureDenominatorTest() + { + Assert.That(PKEY_Photo_ApertureDenominator.fmtid, Is.EqualTo(new Guid(0xE1A9A38B, 0x6685, 0x46BD, 0x87, 0x5E, 0x57, 0x0D, 0xC7, 0xAD, 0x73, 0x20))); + Assert.That(PKEY_Photo_ApertureDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ApertureNumeratorTest() + { + Assert.That(PKEY_Photo_ApertureNumerator.fmtid, Is.EqualTo(new Guid(0x0337ECEC, 0x39FB, 0x4581, 0xA0, 0xBD, 0x4C, 0x4C, 0xC5, 0x1E, 0x99, 0x14))); + Assert.That(PKEY_Photo_ApertureNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_BrightnessTest() + { + Assert.That(PKEY_Photo_Brightness.fmtid, Is.EqualTo(new Guid(0x1A701BF6, 0x478C, 0x4361, 0x83, 0xAB, 0x37, 0x01, 0xBB, 0x05, 0x3C, 0x58))); + Assert.That(PKEY_Photo_Brightness.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_BrightnessDenominatorTest() + { + Assert.That(PKEY_Photo_BrightnessDenominator.fmtid, Is.EqualTo(new Guid(0x6EBE6946, 0x2321, 0x440A, 0x90, 0xF0, 0xC0, 0x43, 0xEF, 0xD3, 0x24, 0x76))); + Assert.That(PKEY_Photo_BrightnessDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_BrightnessNumeratorTest() + { + Assert.That(PKEY_Photo_BrightnessNumerator.fmtid, Is.EqualTo(new Guid(0x9E7D118F, 0xB314, 0x45A0, 0x8C, 0xFB, 0xD6, 0x54, 0xB9, 0x17, 0xC9, 0xE9))); + Assert.That(PKEY_Photo_BrightnessNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_CameraManufacturerTest() + { + Assert.That(PKEY_Photo_CameraManufacturer.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_CameraManufacturer.pid, Is.EqualTo(271)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_CameraModelTest() + { + Assert.That(PKEY_Photo_CameraModel.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_CameraModel.pid, Is.EqualTo(272)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_CameraSerialNumberTest() + { + Assert.That(PKEY_Photo_CameraSerialNumber.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_CameraSerialNumber.pid, Is.EqualTo(273)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ContrastTest() + { + Assert.That(PKEY_Photo_Contrast.fmtid, Is.EqualTo(new Guid(0x2A785BA9, 0x8D23, 0x4DED, 0x82, 0xE6, 0x60, 0xA3, 0x50, 0xC8, 0x6A, 0x10))); + Assert.That(PKEY_Photo_Contrast.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ContrastTextTest() + { + Assert.That(PKEY_Photo_ContrastText.fmtid, Is.EqualTo(new Guid(0x59DDE9F2, 0x5253, 0x40EA, 0x9A, 0x8B, 0x47, 0x9E, 0x96, 0xC6, 0x24, 0x9A))); + Assert.That(PKEY_Photo_ContrastText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_DateTakenTest() + { + Assert.That(PKEY_Photo_DateTaken.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_DateTaken.pid, Is.EqualTo(36867)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_DigitalZoomTest() + { + Assert.That(PKEY_Photo_DigitalZoom.fmtid, Is.EqualTo(new Guid(0xF85BF840, 0xA925, 0x4BC2, 0xB0, 0xC4, 0x8E, 0x36, 0xB5, 0x98, 0x67, 0x9E))); + Assert.That(PKEY_Photo_DigitalZoom.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_DigitalZoomDenominatorTest() + { + Assert.That(PKEY_Photo_DigitalZoomDenominator.fmtid, Is.EqualTo(new Guid(0x745BAF0E, 0xE5C1, 0x4CFB, 0x8A, 0x1B, 0xD0, 0x31, 0xA0, 0xA5, 0x23, 0x93))); + Assert.That(PKEY_Photo_DigitalZoomDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_DigitalZoomNumeratorTest() + { + Assert.That(PKEY_Photo_DigitalZoomNumerator.fmtid, Is.EqualTo(new Guid(0x16CBB924, 0x6500, 0x473B, 0xA5, 0xBE, 0xF1, 0x59, 0x9B, 0xCB, 0xE4, 0x13))); + Assert.That(PKEY_Photo_DigitalZoomNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_EventTest() + { + Assert.That(PKEY_Photo_Event.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_Event.pid, Is.EqualTo(18248)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_EXIFVersionTest() + { + Assert.That(PKEY_Photo_EXIFVersion.fmtid, Is.EqualTo(new Guid(0xD35F743A, 0xEB2E, 0x47F2, 0xA2, 0x86, 0x84, 0x41, 0x32, 0xCB, 0x14, 0x27))); + Assert.That(PKEY_Photo_EXIFVersion.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureBiasTest() + { + Assert.That(PKEY_Photo_ExposureBias.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_ExposureBias.pid, Is.EqualTo(37380)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureBiasDenominatorTest() + { + Assert.That(PKEY_Photo_ExposureBiasDenominator.fmtid, Is.EqualTo(new Guid(0xAB205E50, 0x04B7, 0x461C, 0xA1, 0x8C, 0x2F, 0x23, 0x38, 0x36, 0xE6, 0x27))); + Assert.That(PKEY_Photo_ExposureBiasDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureBiasNumeratorTest() + { + Assert.That(PKEY_Photo_ExposureBiasNumerator.fmtid, Is.EqualTo(new Guid(0x738BF284, 0x1D87, 0x420B, 0x92, 0xCF, 0x58, 0x34, 0xBF, 0x6E, 0xF9, 0xED))); + Assert.That(PKEY_Photo_ExposureBiasNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureIndexTest() + { + Assert.That(PKEY_Photo_ExposureIndex.fmtid, Is.EqualTo(new Guid(0x967B5AF8, 0x995A, 0x46ED, 0x9E, 0x11, 0x35, 0xB3, 0xC5, 0xB9, 0x78, 0x2D))); + Assert.That(PKEY_Photo_ExposureIndex.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureIndexDenominatorTest() + { + Assert.That(PKEY_Photo_ExposureIndexDenominator.fmtid, Is.EqualTo(new Guid(0x93112F89, 0xC28B, 0x492F, 0x8A, 0x9D, 0x4B, 0xE2, 0x06, 0x2C, 0xEE, 0x8A))); + Assert.That(PKEY_Photo_ExposureIndexDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureIndexNumeratorTest() + { + Assert.That(PKEY_Photo_ExposureIndexNumerator.fmtid, Is.EqualTo(new Guid(0xCDEDCF30, 0x8919, 0x44DF, 0x8F, 0x4C, 0x4E, 0xB2, 0xFF, 0xDB, 0x8D, 0x89))); + Assert.That(PKEY_Photo_ExposureIndexNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureProgramTest() + { + Assert.That(PKEY_Photo_ExposureProgram.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_ExposureProgram.pid, Is.EqualTo(34850)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureProgramTextTest() + { + Assert.That(PKEY_Photo_ExposureProgramText.fmtid, Is.EqualTo(new Guid(0xFEC690B7, 0x5F30, 0x4646, 0xAE, 0x47, 0x4C, 0xAA, 0xFB, 0xA8, 0x84, 0xA3))); + Assert.That(PKEY_Photo_ExposureProgramText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureTimeTest() + { + Assert.That(PKEY_Photo_ExposureTime.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_ExposureTime.pid, Is.EqualTo(33434)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureTimeDenominatorTest() + { + Assert.That(PKEY_Photo_ExposureTimeDenominator.fmtid, Is.EqualTo(new Guid(0x55E98597, 0xAD16, 0x42E0, 0xB6, 0x24, 0x21, 0x59, 0x9A, 0x19, 0x98, 0x38))); + Assert.That(PKEY_Photo_ExposureTimeDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ExposureTimeNumeratorTest() + { + Assert.That(PKEY_Photo_ExposureTimeNumerator.fmtid, Is.EqualTo(new Guid(0x257E44E2, 0x9031, 0x4323, 0xAC, 0x38, 0x85, 0xC5, 0x52, 0x87, 0x1B, 0x2E))); + Assert.That(PKEY_Photo_ExposureTimeNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashTest() + { + Assert.That(PKEY_Photo_Flash.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_Flash.pid, Is.EqualTo(37385)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashEnergyTest() + { + Assert.That(PKEY_Photo_FlashEnergy.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_FlashEnergy.pid, Is.EqualTo(41483)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashEnergyDenominatorTest() + { + Assert.That(PKEY_Photo_FlashEnergyDenominator.fmtid, Is.EqualTo(new Guid(0xD7B61C70, 0x6323, 0x49CD, 0xA5, 0xFC, 0xC8, 0x42, 0x77, 0x16, 0x2C, 0x97))); + Assert.That(PKEY_Photo_FlashEnergyDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashEnergyNumeratorTest() + { + Assert.That(PKEY_Photo_FlashEnergyNumerator.fmtid, Is.EqualTo(new Guid(0xFCAD3D3D, 0x0858, 0x400F, 0xAA, 0xA3, 0x2F, 0x66, 0xCC, 0xE2, 0xA6, 0xBC))); + Assert.That(PKEY_Photo_FlashEnergyNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashManufacturerTest() + { + Assert.That(PKEY_Photo_FlashManufacturer.fmtid, Is.EqualTo(new Guid(0xAABAF6C9, 0xE0C5, 0x4719, 0x85, 0x85, 0x57, 0xB1, 0x03, 0xE5, 0x84, 0xFE))); + Assert.That(PKEY_Photo_FlashManufacturer.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashModelTest() + { + Assert.That(PKEY_Photo_FlashModel.fmtid, Is.EqualTo(new Guid(0xFE83BB35, 0x4D1A, 0x42E2, 0x91, 0x6B, 0x06, 0xF3, 0xE1, 0xAF, 0x71, 0x9E))); + Assert.That(PKEY_Photo_FlashModel.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FlashTextTest() + { + Assert.That(PKEY_Photo_FlashText.fmtid, Is.EqualTo(new Guid(0x6B8B68F6, 0x200B, 0x47EA, 0x8D, 0x25, 0xD8, 0x05, 0x0F, 0x57, 0x33, 0x9F))); + Assert.That(PKEY_Photo_FlashText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FNumberTest() + { + Assert.That(PKEY_Photo_FNumber.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_FNumber.pid, Is.EqualTo(33437)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FNumberDenominatorTest() + { + Assert.That(PKEY_Photo_FNumberDenominator.fmtid, Is.EqualTo(new Guid(0xE92A2496, 0x223B, 0x4463, 0xA4, 0xE3, 0x30, 0xEA, 0xBB, 0xA7, 0x9D, 0x80))); + Assert.That(PKEY_Photo_FNumberDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FNumberNumeratorTest() + { + Assert.That(PKEY_Photo_FNumberNumerator.fmtid, Is.EqualTo(new Guid(0x1B97738A, 0xFDFC, 0x462F, 0x9D, 0x93, 0x19, 0x57, 0xE0, 0x8B, 0xE9, 0x0C))); + Assert.That(PKEY_Photo_FNumberNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalLengthTest() + { + Assert.That(PKEY_Photo_FocalLength.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_FocalLength.pid, Is.EqualTo(37386)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalLengthDenominatorTest() + { + Assert.That(PKEY_Photo_FocalLengthDenominator.fmtid, Is.EqualTo(new Guid(0x305BC615, 0xDCA1, 0x44A5, 0x9F, 0xD4, 0x10, 0xC0, 0xBA, 0x79, 0x41, 0x2E))); + Assert.That(PKEY_Photo_FocalLengthDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalLengthInFilmTest() + { + Assert.That(PKEY_Photo_FocalLengthInFilm.fmtid, Is.EqualTo(new Guid(0xA0E74609, 0xB84D, 0x4F49, 0xB8, 0x60, 0x46, 0x2B, 0xD9, 0x97, 0x1F, 0x98))); + Assert.That(PKEY_Photo_FocalLengthInFilm.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalLengthNumeratorTest() + { + Assert.That(PKEY_Photo_FocalLengthNumerator.fmtid, Is.EqualTo(new Guid(0x776B6B3B, 0x1E3D, 0x4B0C, 0x9A, 0x0E, 0x8F, 0xBA, 0xF2, 0xA8, 0x49, 0x2A))); + Assert.That(PKEY_Photo_FocalLengthNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneXResolutionTest() + { + Assert.That(PKEY_Photo_FocalPlaneXResolution.fmtid, Is.EqualTo(new Guid(0xCFC08D97, 0xC6F7, 0x4484, 0x89, 0xDD, 0xEB, 0xEF, 0x43, 0x56, 0xFE, 0x76))); + Assert.That(PKEY_Photo_FocalPlaneXResolution.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneXResolutionDenominatorTest() + { + Assert.That(PKEY_Photo_FocalPlaneXResolutionDenominator.fmtid, Is.EqualTo(new Guid(0x0933F3F5, 0x4786, 0x4F46, 0xA8, 0xE8, 0xD6, 0x4D, 0xD3, 0x7F, 0xA5, 0x21))); + Assert.That(PKEY_Photo_FocalPlaneXResolutionDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneXResolutionNumeratorTest() + { + Assert.That(PKEY_Photo_FocalPlaneXResolutionNumerator.fmtid, Is.EqualTo(new Guid(0xDCCB10AF, 0xB4E2, 0x4B88, 0x95, 0xF9, 0x03, 0x1B, 0x4D, 0x5A, 0xB4, 0x90))); + Assert.That(PKEY_Photo_FocalPlaneXResolutionNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneYResolutionTest() + { + Assert.That(PKEY_Photo_FocalPlaneYResolution.fmtid, Is.EqualTo(new Guid(0x4FFFE4D0, 0x914F, 0x4AC4, 0x8D, 0x6F, 0xC9, 0xC6, 0x1D, 0xE1, 0x69, 0xB1))); + Assert.That(PKEY_Photo_FocalPlaneYResolution.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneYResolutionDenominatorTest() + { + Assert.That(PKEY_Photo_FocalPlaneYResolutionDenominator.fmtid, Is.EqualTo(new Guid(0x1D6179A6, 0xA876, 0x4031, 0xB0, 0x13, 0x33, 0x47, 0xB2, 0xB6, 0x4D, 0xC8))); + Assert.That(PKEY_Photo_FocalPlaneYResolutionDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_FocalPlaneYResolutionNumeratorTest() + { + Assert.That(PKEY_Photo_FocalPlaneYResolutionNumerator.fmtid, Is.EqualTo(new Guid(0xA2E541C5, 0x4440, 0x4BA8, 0x86, 0x7E, 0x75, 0xCF, 0xC0, 0x68, 0x28, 0xCD))); + Assert.That(PKEY_Photo_FocalPlaneYResolutionNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_GainControlTest() + { + Assert.That(PKEY_Photo_GainControl.fmtid, Is.EqualTo(new Guid(0xFA304789, 0x00C7, 0x4D80, 0x90, 0x4A, 0x1E, 0x4D, 0xCC, 0x72, 0x65, 0xAA))); + Assert.That(PKEY_Photo_GainControl.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_GainControlDenominatorTest() + { + Assert.That(PKEY_Photo_GainControlDenominator.fmtid, Is.EqualTo(new Guid(0x42864DFD, 0x9DA4, 0x4F77, 0xBD, 0xED, 0x4A, 0xAD, 0x7B, 0x25, 0x67, 0x35))); + Assert.That(PKEY_Photo_GainControlDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_GainControlNumeratorTest() + { + Assert.That(PKEY_Photo_GainControlNumerator.fmtid, Is.EqualTo(new Guid(0x8E8ECF7C, 0xB7B8, 0x4EB8, 0xA6, 0x3F, 0x0E, 0xE7, 0x15, 0xC9, 0x6F, 0x9E))); + Assert.That(PKEY_Photo_GainControlNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_GainControlTextTest() + { + Assert.That(PKEY_Photo_GainControlText.fmtid, Is.EqualTo(new Guid(0xC06238B2, 0x0BF9, 0x4279, 0xA7, 0x23, 0x25, 0x85, 0x67, 0x15, 0xCB, 0x9D))); + Assert.That(PKEY_Photo_GainControlText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ISOSpeedTest() + { + Assert.That(PKEY_Photo_ISOSpeed.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_ISOSpeed.pid, Is.EqualTo(34855)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_LensManufacturerTest() + { + Assert.That(PKEY_Photo_LensManufacturer.fmtid, Is.EqualTo(new Guid(0xE6DDCAF7, 0x29C5, 0x4F0A, 0x9A, 0x68, 0xD1, 0x94, 0x12, 0xEC, 0x70, 0x90))); + Assert.That(PKEY_Photo_LensManufacturer.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_LensModelTest() + { + Assert.That(PKEY_Photo_LensModel.fmtid, Is.EqualTo(new Guid(0xE1277516, 0x2B5F, 0x4869, 0x89, 0xB1, 0x2E, 0x58, 0x5B, 0xD3, 0x8B, 0x7A))); + Assert.That(PKEY_Photo_LensModel.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_LightSourceTest() + { + Assert.That(PKEY_Photo_LightSource.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_LightSource.pid, Is.EqualTo(37384)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MakerNoteTest() + { + Assert.That(PKEY_Photo_MakerNote.fmtid, Is.EqualTo(new Guid(0xFA303353, 0xB659, 0x4052, 0x85, 0xE9, 0xBC, 0xAC, 0x79, 0x54, 0x9B, 0x84))); + Assert.That(PKEY_Photo_MakerNote.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MakerNoteOffsetTest() + { + Assert.That(PKEY_Photo_MakerNoteOffset.fmtid, Is.EqualTo(new Guid(0x813F4124, 0x34E6, 0x4D17, 0xAB, 0x3E, 0x6B, 0x1F, 0x3C, 0x22, 0x47, 0xA1))); + Assert.That(PKEY_Photo_MakerNoteOffset.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MaxApertureTest() + { + Assert.That(PKEY_Photo_MaxAperture.fmtid, Is.EqualTo(new Guid(0x08F6D7C2, 0xE3F2, 0x44FC, 0xAF, 0x1E, 0x5A, 0xA5, 0xC8, 0x1A, 0x2D, 0x3E))); + Assert.That(PKEY_Photo_MaxAperture.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MaxApertureDenominatorTest() + { + Assert.That(PKEY_Photo_MaxApertureDenominator.fmtid, Is.EqualTo(new Guid(0xC77724D4, 0x601F, 0x46C5, 0x9B, 0x89, 0xC5, 0x3F, 0x93, 0xBC, 0xEB, 0x77))); + Assert.That(PKEY_Photo_MaxApertureDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MaxApertureNumeratorTest() + { + Assert.That(PKEY_Photo_MaxApertureNumerator.fmtid, Is.EqualTo(new Guid(0xC107E191, 0xA459, 0x44C5, 0x9A, 0xE6, 0xB9, 0x52, 0xAD, 0x4B, 0x90, 0x6D))); + Assert.That(PKEY_Photo_MaxApertureNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MeteringModeTest() + { + Assert.That(PKEY_Photo_MeteringMode.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_MeteringMode.pid, Is.EqualTo(37383)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_MeteringModeTextTest() + { + Assert.That(PKEY_Photo_MeteringModeText.fmtid, Is.EqualTo(new Guid(0xF628FD8C, 0x7BA8, 0x465A, 0xA6, 0x5B, 0xC5, 0xAA, 0x79, 0x26, 0x3A, 0x9E))); + Assert.That(PKEY_Photo_MeteringModeText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_OrientationTest() + { + Assert.That(PKEY_Photo_Orientation.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_Orientation.pid, Is.EqualTo(274)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_OrientationTextTest() + { + Assert.That(PKEY_Photo_OrientationText.fmtid, Is.EqualTo(new Guid(0xA9EA193C, 0xC511, 0x498A, 0xA0, 0x6B, 0x58, 0xE2, 0x77, 0x6D, 0xCC, 0x28))); + Assert.That(PKEY_Photo_OrientationText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_PeopleNamesTest() + { + Assert.That(PKEY_Photo_PeopleNames.fmtid, Is.EqualTo(new Guid(0xE8309B6E, 0x084C, 0x49B4, 0xB1, 0xFC, 0x90, 0xA8, 0x03, 0x31, 0xB6, 0x38))); + Assert.That(PKEY_Photo_PeopleNames.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_PhotometricInterpretationTest() + { + Assert.That(PKEY_Photo_PhotometricInterpretation.fmtid, Is.EqualTo(new Guid(0x341796F1, 0x1DF9, 0x4B1C, 0xA5, 0x64, 0x91, 0xBD, 0xEF, 0xA4, 0x38, 0x77))); + Assert.That(PKEY_Photo_PhotometricInterpretation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_PhotometricInterpretationTextTest() + { + Assert.That(PKEY_Photo_PhotometricInterpretationText.fmtid, Is.EqualTo(new Guid(0x821437D6, 0x9EAB, 0x4765, 0xA5, 0x89, 0x3B, 0x1C, 0xBB, 0xD2, 0x2A, 0x61))); + Assert.That(PKEY_Photo_PhotometricInterpretationText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ProgramModeTest() + { + Assert.That(PKEY_Photo_ProgramMode.fmtid, Is.EqualTo(new Guid(0x6D217F6D, 0x3F6A, 0x4825, 0xB4, 0x70, 0x5F, 0x03, 0xCA, 0x2F, 0xBE, 0x9B))); + Assert.That(PKEY_Photo_ProgramMode.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ProgramModeTextTest() + { + Assert.That(PKEY_Photo_ProgramModeText.fmtid, Is.EqualTo(new Guid(0x7FE3AA27, 0x2648, 0x42F3, 0x89, 0xB0, 0x45, 0x4E, 0x5C, 0xB1, 0x50, 0xC3))); + Assert.That(PKEY_Photo_ProgramModeText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_RelatedSoundFileTest() + { + Assert.That(PKEY_Photo_RelatedSoundFile.fmtid, Is.EqualTo(new Guid(0x318A6B45, 0x087F, 0x4DC2, 0xB8, 0xCC, 0x05, 0x35, 0x95, 0x51, 0xFC, 0x9E))); + Assert.That(PKEY_Photo_RelatedSoundFile.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SaturationTest() + { + Assert.That(PKEY_Photo_Saturation.fmtid, Is.EqualTo(new Guid(0x49237325, 0xA95A, 0x4F67, 0xB2, 0x11, 0x81, 0x6B, 0x2D, 0x45, 0xD2, 0xE0))); + Assert.That(PKEY_Photo_Saturation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SaturationTextTest() + { + Assert.That(PKEY_Photo_SaturationText.fmtid, Is.EqualTo(new Guid(0x61478C08, 0xB600, 0x4A84, 0xBB, 0xE4, 0xE9, 0x9C, 0x45, 0xF0, 0xA0, 0x72))); + Assert.That(PKEY_Photo_SaturationText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SharpnessTest() + { + Assert.That(PKEY_Photo_Sharpness.fmtid, Is.EqualTo(new Guid(0xFC6976DB, 0x8349, 0x4970, 0xAE, 0x97, 0xB3, 0xC5, 0x31, 0x6A, 0x08, 0xF0))); + Assert.That(PKEY_Photo_Sharpness.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SharpnessTextTest() + { + Assert.That(PKEY_Photo_SharpnessText.fmtid, Is.EqualTo(new Guid(0x51EC3F47, 0xDD50, 0x421D, 0x87, 0x69, 0x33, 0x4F, 0x50, 0x42, 0x4B, 0x1E))); + Assert.That(PKEY_Photo_SharpnessText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ShutterSpeedTest() + { + Assert.That(PKEY_Photo_ShutterSpeed.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_ShutterSpeed.pid, Is.EqualTo(37377)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ShutterSpeedDenominatorTest() + { + Assert.That(PKEY_Photo_ShutterSpeedDenominator.fmtid, Is.EqualTo(new Guid(0xE13D8975, 0x81C7, 0x4948, 0xAE, 0x3F, 0x37, 0xCA, 0xE1, 0x1E, 0x8F, 0xF7))); + Assert.That(PKEY_Photo_ShutterSpeedDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_ShutterSpeedNumeratorTest() + { + Assert.That(PKEY_Photo_ShutterSpeedNumerator.fmtid, Is.EqualTo(new Guid(0x16EA4042, 0xD6F4, 0x4BCA, 0x83, 0x49, 0x7C, 0x78, 0xD3, 0x0F, 0xB3, 0x33))); + Assert.That(PKEY_Photo_ShutterSpeedNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SubjectDistanceTest() + { + Assert.That(PKEY_Photo_SubjectDistance.fmtid, Is.EqualTo(new Guid(0x14B81DA1, 0x0135, 0x4D31, 0x96, 0xD9, 0x6C, 0xBF, 0xC9, 0x67, 0x1A, 0x99))); + Assert.That(PKEY_Photo_SubjectDistance.pid, Is.EqualTo(37382)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SubjectDistanceDenominatorTest() + { + Assert.That(PKEY_Photo_SubjectDistanceDenominator.fmtid, Is.EqualTo(new Guid(0x0C840A88, 0xB043, 0x466D, 0x97, 0x66, 0xD4, 0xB2, 0x6D, 0xA3, 0xFA, 0x77))); + Assert.That(PKEY_Photo_SubjectDistanceDenominator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_SubjectDistanceNumeratorTest() + { + Assert.That(PKEY_Photo_SubjectDistanceNumerator.fmtid, Is.EqualTo(new Guid(0x8AF4961C, 0xF526, 0x43E5, 0xAA, 0x81, 0xDB, 0x76, 0x82, 0x19, 0x17, 0x8D))); + Assert.That(PKEY_Photo_SubjectDistanceNumerator.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_TagViewAggregateTest() + { + Assert.That(PKEY_Photo_TagViewAggregate.fmtid, Is.EqualTo(new Guid(0xB812F15D, 0xC2D8, 0x4BBF, 0xBA, 0xCD, 0x79, 0x74, 0x43, 0x46, 0x11, 0x3F))); + Assert.That(PKEY_Photo_TagViewAggregate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_TranscodedForSyncTest() + { + Assert.That(PKEY_Photo_TranscodedForSync.fmtid, Is.EqualTo(new Guid(0x9A8EBB75, 0x6458, 0x4E82, 0xBA, 0xCB, 0x35, 0xC0, 0x09, 0x5B, 0x03, 0xBB))); + Assert.That(PKEY_Photo_TranscodedForSync.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_WhiteBalanceTest() + { + Assert.That(PKEY_Photo_WhiteBalance.fmtid, Is.EqualTo(new Guid(0xEE3D3D8A, 0x5381, 0x4CFA, 0xB1, 0x3B, 0xAA, 0xF6, 0x6B, 0x5F, 0x4E, 0xC9))); + Assert.That(PKEY_Photo_WhiteBalance.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Photo_WhiteBalanceTextTest() + { + Assert.That(PKEY_Photo_WhiteBalanceText.fmtid, Is.EqualTo(new Guid(0x6336B95E, 0xC7A7, 0x426D, 0x86, 0xFD, 0x7A, 0xE3, 0xD3, 0x9C, 0x84, 0xB4))); + Assert.That(PKEY_Photo_WhiteBalanceText.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_AdvancedTest() + { + Assert.That(PKEY_PropGroup_Advanced.fmtid, Is.EqualTo(new Guid(0x900A403B, 0x097B, 0x4B95, 0x8A, 0xE2, 0x07, 0x1F, 0xDA, 0xEE, 0xB1, 0x18))); + Assert.That(PKEY_PropGroup_Advanced.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_AudioTest() + { + Assert.That(PKEY_PropGroup_Audio.fmtid, Is.EqualTo(new Guid(0x2804D469, 0x788F, 0x48AA, 0x85, 0x70, 0x71, 0xB9, 0xC1, 0x87, 0xE1, 0x38))); + Assert.That(PKEY_PropGroup_Audio.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_CalendarTest() + { + Assert.That(PKEY_PropGroup_Calendar.fmtid, Is.EqualTo(new Guid(0x9973D2B5, 0xBFD8, 0x438A, 0xBA, 0x94, 0x53, 0x49, 0xB2, 0x93, 0x18, 0x1A))); + Assert.That(PKEY_PropGroup_Calendar.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_CameraTest() + { + Assert.That(PKEY_PropGroup_Camera.fmtid, Is.EqualTo(new Guid(0xDE00DE32, 0x547E, 0x4981, 0xAD, 0x4B, 0x54, 0x2F, 0x2E, 0x90, 0x07, 0xD8))); + Assert.That(PKEY_PropGroup_Camera.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_ContactTest() + { + Assert.That(PKEY_PropGroup_Contact.fmtid, Is.EqualTo(new Guid(0xDF975FD3, 0x250A, 0x4004, 0x85, 0x8F, 0x34, 0xE2, 0x9A, 0x3E, 0x37, 0xAA))); + Assert.That(PKEY_PropGroup_Contact.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_ContentTest() + { + Assert.That(PKEY_PropGroup_Content.fmtid, Is.EqualTo(new Guid(0xD0DAB0BA, 0x368A, 0x4050, 0xA8, 0x82, 0x6C, 0x01, 0x0F, 0xD1, 0x9A, 0x4F))); + Assert.That(PKEY_PropGroup_Content.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_DescriptionTest() + { + Assert.That(PKEY_PropGroup_Description.fmtid, Is.EqualTo(new Guid(0x8969B275, 0x9475, 0x4E00, 0xA8, 0x87, 0xFF, 0x93, 0xB8, 0xB4, 0x1E, 0x44))); + Assert.That(PKEY_PropGroup_Description.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_FileSystemTest() + { + Assert.That(PKEY_PropGroup_FileSystem.fmtid, Is.EqualTo(new Guid(0xE3A7D2C1, 0x80FC, 0x4B40, 0x8F, 0x34, 0x30, 0xEA, 0x11, 0x1B, 0xDC, 0x2E))); + Assert.That(PKEY_PropGroup_FileSystem.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_GeneralTest() + { + Assert.That(PKEY_PropGroup_General.fmtid, Is.EqualTo(new Guid(0xCC301630, 0xB192, 0x4C22, 0xB3, 0x72, 0x9F, 0x4C, 0x6D, 0x33, 0x8E, 0x07))); + Assert.That(PKEY_PropGroup_General.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_GPSTest() + { + Assert.That(PKEY_PropGroup_GPS.fmtid, Is.EqualTo(new Guid(0xF3713ADA, 0x90E3, 0x4E11, 0xAA, 0xE5, 0xFD, 0xC1, 0x76, 0x85, 0xB9, 0xBE))); + Assert.That(PKEY_PropGroup_GPS.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_ImageTest() + { + Assert.That(PKEY_PropGroup_Image.fmtid, Is.EqualTo(new Guid(0xE3690A87, 0x0FA8, 0x4A2A, 0x9A, 0x9F, 0xFC, 0xE8, 0x82, 0x70, 0x55, 0xAC))); + Assert.That(PKEY_PropGroup_Image.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_MediaTest() + { + Assert.That(PKEY_PropGroup_Media.fmtid, Is.EqualTo(new Guid(0x61872CF7, 0x6B5E, 0x4B4B, 0xAC, 0x2D, 0x59, 0xDA, 0x84, 0x45, 0x92, 0x48))); + Assert.That(PKEY_PropGroup_Media.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_MediaAdvancedTest() + { + Assert.That(PKEY_PropGroup_MediaAdvanced.fmtid, Is.EqualTo(new Guid(0x8859A284, 0xDE7E, 0x4642, 0x99, 0xBA, 0xD4, 0x31, 0xD0, 0x44, 0xB1, 0xEC))); + Assert.That(PKEY_PropGroup_MediaAdvanced.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_MessageTest() + { + Assert.That(PKEY_PropGroup_Message.fmtid, Is.EqualTo(new Guid(0x7FD7259D, 0x16B4, 0x4135, 0x9F, 0x97, 0x7C, 0x96, 0xEC, 0xD2, 0xFA, 0x9E))); + Assert.That(PKEY_PropGroup_Message.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_MusicTest() + { + Assert.That(PKEY_PropGroup_Music.fmtid, Is.EqualTo(new Guid(0x68DD6094, 0x7216, 0x40F1, 0xA0, 0x29, 0x43, 0xFE, 0x71, 0x27, 0x04, 0x3F))); + Assert.That(PKEY_PropGroup_Music.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_OriginTest() + { + Assert.That(PKEY_PropGroup_Origin.fmtid, Is.EqualTo(new Guid(0x2598D2FB, 0x5569, 0x4367, 0x95, 0xDF, 0x5C, 0xD3, 0xA1, 0x77, 0xE1, 0xA5))); + Assert.That(PKEY_PropGroup_Origin.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_PhotoAdvancedTest() + { + Assert.That(PKEY_PropGroup_PhotoAdvanced.fmtid, Is.EqualTo(new Guid(0x0CB2BF5A, 0x9EE7, 0x4A86, 0x82, 0x22, 0xF0, 0x1E, 0x07, 0xFD, 0xAD, 0xAF))); + Assert.That(PKEY_PropGroup_PhotoAdvanced.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_RecordedTVTest() + { + Assert.That(PKEY_PropGroup_RecordedTV.fmtid, Is.EqualTo(new Guid(0xE7B33238, 0x6584, 0x4170, 0xA5, 0xC0, 0xAC, 0x25, 0xEF, 0xD9, 0xDA, 0x56))); + Assert.That(PKEY_PropGroup_RecordedTV.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropGroup_VideoTest() + { + Assert.That(PKEY_PropGroup_Video.fmtid, Is.EqualTo(new Guid(0xBEBE0920, 0x7671, 0x4C54, 0xA3, 0xEB, 0x49, 0xFD, 0xDF, 0xC1, 0x91, 0xEE))); + Assert.That(PKEY_PropGroup_Video.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_InfoTipTextTest() + { + Assert.That(PKEY_InfoTipText.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_InfoTipText.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_ConflictPromptTest() + { + Assert.That(PKEY_PropList_ConflictPrompt.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_ConflictPrompt.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_ContentViewModeForBrowseTest() + { + Assert.That(PKEY_PropList_ContentViewModeForBrowse.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_ContentViewModeForBrowse.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_ContentViewModeForSearchTest() + { + Assert.That(PKEY_PropList_ContentViewModeForSearch.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_ContentViewModeForSearch.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_ExtendedTileInfoTest() + { + Assert.That(PKEY_PropList_ExtendedTileInfo.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_ExtendedTileInfo.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_FileOperationPromptTest() + { + Assert.That(PKEY_PropList_FileOperationPrompt.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_FileOperationPrompt.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_FullDetailsTest() + { + Assert.That(PKEY_PropList_FullDetails.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_FullDetails.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_InfoTipTest() + { + Assert.That(PKEY_PropList_InfoTip.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_InfoTip.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_NonPersonalTest() + { + Assert.That(PKEY_PropList_NonPersonal.fmtid, Is.EqualTo(new Guid(0x49D1091F, 0x082E, 0x493F, 0xB2, 0x3F, 0xD2, 0x30, 0x8A, 0xA9, 0x66, 0x8C))); + Assert.That(PKEY_PropList_NonPersonal.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_PreviewDetailsTest() + { + Assert.That(PKEY_PropList_PreviewDetails.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_PreviewDetails.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_PreviewTitleTest() + { + Assert.That(PKEY_PropList_PreviewTitle.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_PreviewTitle.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_QuickTipTest() + { + Assert.That(PKEY_PropList_QuickTip.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_QuickTip.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_TileInfoTest() + { + Assert.That(PKEY_PropList_TileInfo.fmtid, Is.EqualTo(new Guid(0xC9944A21, 0xA406, 0x48FE, 0x82, 0x25, 0xAE, 0xC7, 0xE2, 0x4C, 0x21, 0x1B))); + Assert.That(PKEY_PropList_TileInfo.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_PropList_XPDetailsPanelTest() + { + Assert.That(PKEY_PropList_XPDetailsPanel.fmtid, Is.EqualTo(new Guid(0xF2275480, 0xF782, 0x4291, 0xBD, 0x94, 0xF1, 0x36, 0x93, 0x51, 0x3A, 0xEC))); + Assert.That(PKEY_PropList_XPDetailsPanel.pid, Is.EqualTo(0)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_ChannelNumberTest() + { + Assert.That(PKEY_RecordedTV_ChannelNumber.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_ChannelNumber.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_CreditsTest() + { + Assert.That(PKEY_RecordedTV_Credits.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_Credits.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_DateContentExpiresTest() + { + Assert.That(PKEY_RecordedTV_DateContentExpires.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_DateContentExpires.pid, Is.EqualTo(15)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_EpisodeNameTest() + { + Assert.That(PKEY_RecordedTV_EpisodeName.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_EpisodeName.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsATSCContentTest() + { + Assert.That(PKEY_RecordedTV_IsATSCContent.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsATSCContent.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsClosedCaptioningAvailableTest() + { + Assert.That(PKEY_RecordedTV_IsClosedCaptioningAvailable.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsClosedCaptioningAvailable.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsDTVContentTest() + { + Assert.That(PKEY_RecordedTV_IsDTVContent.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsDTVContent.pid, Is.EqualTo(17)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsHDContentTest() + { + Assert.That(PKEY_RecordedTV_IsHDContent.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsHDContent.pid, Is.EqualTo(18)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsRepeatBroadcastTest() + { + Assert.That(PKEY_RecordedTV_IsRepeatBroadcast.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsRepeatBroadcast.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_IsSAPTest() + { + Assert.That(PKEY_RecordedTV_IsSAP.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_IsSAP.pid, Is.EqualTo(14)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_NetworkAffiliationTest() + { + Assert.That(PKEY_RecordedTV_NetworkAffiliation.fmtid, Is.EqualTo(new Guid(0x2C53C813, 0xFB63, 0x4E22, 0xA1, 0xAB, 0x0B, 0x33, 0x1C, 0xA1, 0xE2, 0x73))); + Assert.That(PKEY_RecordedTV_NetworkAffiliation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_OriginalBroadcastDateTest() + { + Assert.That(PKEY_RecordedTV_OriginalBroadcastDate.fmtid, Is.EqualTo(new Guid(0x4684FE97, 0x8765, 0x4842, 0x9C, 0x13, 0xF0, 0x06, 0x44, 0x7B, 0x17, 0x8C))); + Assert.That(PKEY_RecordedTV_OriginalBroadcastDate.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_ProgramDescriptionTest() + { + Assert.That(PKEY_RecordedTV_ProgramDescription.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_ProgramDescription.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_RecordingTimeTest() + { + Assert.That(PKEY_RecordedTV_RecordingTime.fmtid, Is.EqualTo(new Guid(0xA5477F61, 0x7A82, 0x4ECA, 0x9D, 0xDE, 0x98, 0xB6, 0x9B, 0x24, 0x79, 0xB3))); + Assert.That(PKEY_RecordedTV_RecordingTime.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_StationCallSignTest() + { + Assert.That(PKEY_RecordedTV_StationCallSign.fmtid, Is.EqualTo(new Guid(0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57))); + Assert.That(PKEY_RecordedTV_StationCallSign.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_RecordedTV_StationNameTest() + { + Assert.That(PKEY_RecordedTV_StationName.fmtid, Is.EqualTo(new Guid(0x1B5439E7, 0xEBA1, 0x4AF8, 0xBD, 0xD7, 0x7A, 0xF1, 0xD4, 0x54, 0x94, 0x93))); + Assert.That(PKEY_RecordedTV_StationName.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_AutoSummaryTest() + { + Assert.That(PKEY_Search_AutoSummary.fmtid, Is.EqualTo(new Guid(0x560C36C0, 0x503A, 0x11CF, 0xBA, 0xA1, 0x00, 0x00, 0x4C, 0x75, 0x2A, 0x9A))); + Assert.That(PKEY_Search_AutoSummary.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_ContainerHashTest() + { + Assert.That(PKEY_Search_ContainerHash.fmtid, Is.EqualTo(new Guid(0xBCEEE283, 0x35DF, 0x4D53, 0x82, 0x6A, 0xF3, 0x6A, 0x3E, 0xEF, 0xC6, 0xBE))); + Assert.That(PKEY_Search_ContainerHash.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_ContentsTest() + { + Assert.That(PKEY_Search_Contents.fmtid, Is.EqualTo(new Guid(0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC))); + Assert.That(PKEY_Search_Contents.pid, Is.EqualTo(19)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_EntryIDTest() + { + Assert.That(PKEY_Search_EntryID.fmtid, Is.EqualTo(new Guid(0x49691C90, 0x7E17, 0x101A, 0xA9, 0x1C, 0x08, 0x00, 0x2B, 0x2E, 0xCD, 0xA9))); + Assert.That(PKEY_Search_EntryID.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_ExtendedPropertiesTest() + { + Assert.That(PKEY_Search_ExtendedProperties.fmtid, Is.EqualTo(new Guid(0x7B03B546, 0xFA4F, 0x4A52, 0xA2, 0xFE, 0x03, 0xD5, 0x31, 0x1E, 0x58, 0x65))); + Assert.That(PKEY_Search_ExtendedProperties.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_GatherTimeTest() + { + Assert.That(PKEY_Search_GatherTime.fmtid, Is.EqualTo(new Guid(0x0B63E350, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_Search_GatherTime.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_HitCountTest() + { + Assert.That(PKEY_Search_HitCount.fmtid, Is.EqualTo(new Guid(0x49691C90, 0x7E17, 0x101A, 0xA9, 0x1C, 0x08, 0x00, 0x2B, 0x2E, 0xCD, 0xA9))); + Assert.That(PKEY_Search_HitCount.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_IsClosedDirectoryTest() + { + Assert.That(PKEY_Search_IsClosedDirectory.fmtid, Is.EqualTo(new Guid(0x0B63E343, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_Search_IsClosedDirectory.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_IsFullyContainedTest() + { + Assert.That(PKEY_Search_IsFullyContained.fmtid, Is.EqualTo(new Guid(0x0B63E343, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_Search_IsFullyContained.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_QueryFocusedSummaryTest() + { + Assert.That(PKEY_Search_QueryFocusedSummary.fmtid, Is.EqualTo(new Guid(0x560C36C0, 0x503A, 0x11CF, 0xBA, 0xA1, 0x00, 0x00, 0x4C, 0x75, 0x2A, 0x9A))); + Assert.That(PKEY_Search_QueryFocusedSummary.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_QueryFocusedSummaryWithFallbackTest() + { + Assert.That(PKEY_Search_QueryFocusedSummaryWithFallback.fmtid, Is.EqualTo(new Guid(0x560C36C0, 0x503A, 0x11CF, 0xBA, 0xA1, 0x00, 0x00, 0x4C, 0x75, 0x2A, 0x9A))); + Assert.That(PKEY_Search_QueryFocusedSummaryWithFallback.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_QueryPropertyHitsTest() + { + Assert.That(PKEY_Search_QueryPropertyHits.fmtid, Is.EqualTo(new Guid(0x49691C90, 0x7E17, 0x101A, 0xA9, 0x1C, 0x08, 0x00, 0x2B, 0x2E, 0xCD, 0xA9))); + Assert.That(PKEY_Search_QueryPropertyHits.pid, Is.EqualTo(21)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_RankTest() + { + Assert.That(PKEY_Search_Rank.fmtid, Is.EqualTo(new Guid(0x49691C90, 0x7E17, 0x101A, 0xA9, 0x1C, 0x08, 0x00, 0x2B, 0x2E, 0xCD, 0xA9))); + Assert.That(PKEY_Search_Rank.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_StoreTest() + { + Assert.That(PKEY_Search_Store.fmtid, Is.EqualTo(new Guid(0xA06992B3, 0x8CAF, 0x4ED7, 0xA5, 0x47, 0xB2, 0x59, 0xE3, 0x2A, 0xC9, 0xFC))); + Assert.That(PKEY_Search_Store.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_UrlToIndexTest() + { + Assert.That(PKEY_Search_UrlToIndex.fmtid, Is.EqualTo(new Guid(0x0B63E343, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_Search_UrlToIndex.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Search_UrlToIndexWithModificationTimeTest() + { + Assert.That(PKEY_Search_UrlToIndexWithModificationTime.fmtid, Is.EqualTo(new Guid(0x0B63E343, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04))); + Assert.That(PKEY_Search_UrlToIndexWithModificationTime.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_AlbumTest() + { + Assert.That(PKEY_Supplemental_Album.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_Album.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_AlbumIDTest() + { + Assert.That(PKEY_Supplemental_AlbumID.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_AlbumID.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_LocationTest() + { + Assert.That(PKEY_Supplemental_Location.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_Location.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_PersonTest() + { + Assert.That(PKEY_Supplemental_Person.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_Person.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_ResourceIdTest() + { + Assert.That(PKEY_Supplemental_ResourceId.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_ResourceId.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Supplemental_TagTest() + { + Assert.That(PKEY_Supplemental_Tag.fmtid, Is.EqualTo(new Guid(0x0C73B141, 0x39D6, 0x4653, 0xA6, 0x83, 0xCA, 0xB2, 0x91, 0xEA, 0xF9, 0x5B))); + Assert.That(PKEY_Supplemental_Tag.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_DescriptionIDTest() + { + Assert.That(PKEY_DescriptionID.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_DescriptionID.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_InternalNameTest() + { + Assert.That(PKEY_InternalName.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_InternalName.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_LibraryLocationsCountTest() + { + Assert.That(PKEY_LibraryLocationsCount.fmtid, Is.EqualTo(new Guid(0x908696C7, 0x8F87, 0x44F2, 0x80, 0xED, 0xA8, 0xC1, 0xC6, 0x89, 0x45, 0x75))); + Assert.That(PKEY_LibraryLocationsCount.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetSFGAOFlagsStringsTest() + { + Assert.That(PKEY_Link_TargetSFGAOFlagsStrings.fmtid, Is.EqualTo(new Guid(0xD6942081, 0xD53B, 0x443D, 0xAD, 0x47, 0x5E, 0x05, 0x9D, 0x9C, 0xD2, 0x7A))); + Assert.That(PKEY_Link_TargetSFGAOFlagsStrings.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Link_TargetUrlTest() + { + Assert.That(PKEY_Link_TargetUrl.fmtid, Is.EqualTo(new Guid(0x5CBF2787, 0x48CF, 0x4208, 0xB9, 0x0E, 0xEE, 0x5E, 0x5D, 0x42, 0x02, 0x94))); + Assert.That(PKEY_Link_TargetUrl.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_NamespaceCLSIDTest() + { + Assert.That(PKEY_NamespaceCLSID.fmtid, Is.EqualTo(new Guid(0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0))); + Assert.That(PKEY_NamespaceCLSID.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Shell_SFGAOFlagsStringsTest() + { + Assert.That(PKEY_Shell_SFGAOFlagsStrings.fmtid, Is.EqualTo(new Guid(0xD6942081, 0xD53B, 0x443D, 0xAD, 0x47, 0x5E, 0x05, 0x9D, 0x9C, 0xD2, 0x7A))); + Assert.That(PKEY_Shell_SFGAOFlagsStrings.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StatusBarSelectedItemCountTest() + { + Assert.That(PKEY_StatusBarSelectedItemCount.fmtid, Is.EqualTo(new Guid(0x26DC287C, 0x6E3D, 0x4BD3, 0xB2, 0xB0, 0x6A, 0x26, 0xBA, 0x2E, 0x34, 0x6D))); + Assert.That(PKEY_StatusBarSelectedItemCount.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_StatusBarViewItemCountTest() + { + Assert.That(PKEY_StatusBarViewItemCount.fmtid, Is.EqualTo(new Guid(0x26DC287C, 0x6E3D, 0x4BD3, 0xB2, 0xB0, 0x6A, 0x26, 0xBA, 0x2E, 0x34, 0x6D))); + Assert.That(PKEY_StatusBarViewItemCount.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_ExcludeFromShowInNewInstallTest() + { + Assert.That(PKEY_AppUserModel_ExcludeFromShowInNewInstall.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_ExcludeFromShowInNewInstall.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_IDTest() + { + Assert.That(PKEY_AppUserModel_ID.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_ID.pid, Is.EqualTo(5)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_IsDestListSeparatorTest() + { + Assert.That(PKEY_AppUserModel_IsDestListSeparator.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_IsDestListSeparator.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_IsDualModeTest() + { + Assert.That(PKEY_AppUserModel_IsDualMode.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_IsDualMode.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_PreventPinningTest() + { + Assert.That(PKEY_AppUserModel_PreventPinning.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_PreventPinning.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_RelaunchCommandTest() + { + Assert.That(PKEY_AppUserModel_RelaunchCommand.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_RelaunchCommand.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_RelaunchDisplayNameResourceTest() + { + Assert.That(PKEY_AppUserModel_RelaunchDisplayNameResource.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_RelaunchDisplayNameResource.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_RelaunchIconResourceTest() + { + Assert.That(PKEY_AppUserModel_RelaunchIconResource.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_RelaunchIconResource.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_StartPinOptionTest() + { + Assert.That(PKEY_AppUserModel_StartPinOption.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_StartPinOption.pid, Is.EqualTo(12)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_ToastActivatorCLSIDTest() + { + Assert.That(PKEY_AppUserModel_ToastActivatorCLSID.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_ToastActivatorCLSID.pid, Is.EqualTo(26)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_AppUserModel_VisualElementsManifestHintPathTest() + { + Assert.That(PKEY_AppUserModel_VisualElementsManifestHintPath.fmtid, Is.EqualTo(new Guid(0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3))); + Assert.That(PKEY_AppUserModel_VisualElementsManifestHintPath.pid, Is.EqualTo(31)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_EdgeGesture_DisableTouchWhenFullscreenTest() + { + Assert.That(PKEY_EdgeGesture_DisableTouchWhenFullscreen.fmtid, Is.EqualTo(new Guid(0x32CE38B2, 0x2C9A, 0x41B1, 0x9B, 0xC5, 0xB3, 0x78, 0x43, 0x94, 0xAA, 0x44))); + Assert.That(PKEY_EdgeGesture_DisableTouchWhenFullscreen.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Software_DateLastUsedTest() + { + Assert.That(PKEY_Software_DateLastUsed.fmtid, Is.EqualTo(new Guid(0x841E4F90, 0xFF59, 0x4D16, 0x89, 0x47, 0xE8, 0x1B, 0xBF, 0xFA, 0xB3, 0x6D))); + Assert.That(PKEY_Software_DateLastUsed.pid, Is.EqualTo(16)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Software_ProductNameTest() + { + Assert.That(PKEY_Software_ProductName.fmtid, Is.EqualTo(new Guid(0x0CEF7D53, 0xFA64, 0x11D1, 0xA2, 0x03, 0x00, 0x00, 0xF8, 0x1F, 0xED, 0xEE))); + Assert.That(PKEY_Software_ProductName.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_CommentsTest() + { + Assert.That(PKEY_Sync_Comments.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_Comments.pid, Is.EqualTo(13)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ConflictDescriptionTest() + { + Assert.That(PKEY_Sync_ConflictDescription.fmtid, Is.EqualTo(new Guid(0xCE50C159, 0x2FB8, 0x41FD, 0xBE, 0x68, 0xD3, 0xE0, 0x42, 0xE2, 0x74, 0xBC))); + Assert.That(PKEY_Sync_ConflictDescription.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ConflictFirstLocationTest() + { + Assert.That(PKEY_Sync_ConflictFirstLocation.fmtid, Is.EqualTo(new Guid(0xCE50C159, 0x2FB8, 0x41FD, 0xBE, 0x68, 0xD3, 0xE0, 0x42, 0xE2, 0x74, 0xBC))); + Assert.That(PKEY_Sync_ConflictFirstLocation.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ConflictSecondLocationTest() + { + Assert.That(PKEY_Sync_ConflictSecondLocation.fmtid, Is.EqualTo(new Guid(0xCE50C159, 0x2FB8, 0x41FD, 0xBE, 0x68, 0xD3, 0xE0, 0x42, 0xE2, 0x74, 0xBC))); + Assert.That(PKEY_Sync_ConflictSecondLocation.pid, Is.EqualTo(7)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_HandlerCollectionIDTest() + { + Assert.That(PKEY_Sync_HandlerCollectionID.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_HandlerCollectionID.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_HandlerIDTest() + { + Assert.That(PKEY_Sync_HandlerID.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_HandlerID.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_HandlerNameTest() + { + Assert.That(PKEY_Sync_HandlerName.fmtid, Is.EqualTo(new Guid(0xCE50C159, 0x2FB8, 0x41FD, 0xBE, 0x68, 0xD3, 0xE0, 0x42, 0xE2, 0x74, 0xBC))); + Assert.That(PKEY_Sync_HandlerName.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_HandlerTypeTest() + { + Assert.That(PKEY_Sync_HandlerType.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_HandlerType.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_HandlerTypeLabelTest() + { + Assert.That(PKEY_Sync_HandlerTypeLabel.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_HandlerTypeLabel.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ItemIDTest() + { + Assert.That(PKEY_Sync_ItemID.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_ItemID.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ItemNameTest() + { + Assert.That(PKEY_Sync_ItemName.fmtid, Is.EqualTo(new Guid(0xCE50C159, 0x2FB8, 0x41FD, 0xBE, 0x68, 0xD3, 0xE0, 0x42, 0xE2, 0x74, 0xBC))); + Assert.That(PKEY_Sync_ItemName.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_ProgressPercentageTest() + { + Assert.That(PKEY_Sync_ProgressPercentage.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_ProgressPercentage.pid, Is.EqualTo(23)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_StateTest() + { + Assert.That(PKEY_Sync_State.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_State.pid, Is.EqualTo(24)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Sync_StatusTest() + { + Assert.That(PKEY_Sync_Status.fmtid, Is.EqualTo(new Guid(0x7BD5533E, 0xAF15, 0x44DB, 0xB8, 0xC8, 0xBD, 0x66, 0x24, 0xE1, 0xD0, 0x32))); + Assert.That(PKEY_Sync_Status.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Task_BillingInformationTest() + { + Assert.That(PKEY_Task_BillingInformation.fmtid, Is.EqualTo(new Guid(0xD37D52C6, 0x261C, 0x4303, 0x82, 0xB3, 0x08, 0xB9, 0x26, 0xAC, 0x6F, 0x12))); + Assert.That(PKEY_Task_BillingInformation.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Task_CompletionStatusTest() + { + Assert.That(PKEY_Task_CompletionStatus.fmtid, Is.EqualTo(new Guid(0x084D8A0A, 0xE6D5, 0x40DE, 0xBF, 0x1F, 0xC8, 0x82, 0x0E, 0x7C, 0x87, 0x7C))); + Assert.That(PKEY_Task_CompletionStatus.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Task_OwnerTest() + { + Assert.That(PKEY_Task_Owner.fmtid, Is.EqualTo(new Guid(0x08C7CC5F, 0x60F2, 0x4494, 0xAD, 0x75, 0x55, 0xE3, 0xE0, 0xB5, 0xAD, 0xD0))); + Assert.That(PKEY_Task_Owner.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_CompressionTest() + { + Assert.That(PKEY_Video_Compression.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_Compression.pid, Is.EqualTo(10)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_DirectorTest() + { + Assert.That(PKEY_Video_Director.fmtid, Is.EqualTo(new Guid(0x64440492, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_Director.pid, Is.EqualTo(20)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_EncodingBitrateTest() + { + Assert.That(PKEY_Video_EncodingBitrate.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_EncodingBitrate.pid, Is.EqualTo(8)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_FourCCTest() + { + Assert.That(PKEY_Video_FourCC.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_FourCC.pid, Is.EqualTo(44)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_FrameHeightTest() + { + Assert.That(PKEY_Video_FrameHeight.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_FrameHeight.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_FrameRateTest() + { + Assert.That(PKEY_Video_FrameRate.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_FrameRate.pid, Is.EqualTo(6)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_FrameWidthTest() + { + Assert.That(PKEY_Video_FrameWidth.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_FrameWidth.pid, Is.EqualTo(3)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_HorizontalAspectRatioTest() + { + Assert.That(PKEY_Video_HorizontalAspectRatio.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_HorizontalAspectRatio.pid, Is.EqualTo(42)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_IsSphericalTest() + { + Assert.That(PKEY_Video_IsSpherical.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_IsSpherical.pid, Is.EqualTo(100)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_IsStereoTest() + { + Assert.That(PKEY_Video_IsStereo.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_IsStereo.pid, Is.EqualTo(98)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_OrientationTest() + { + Assert.That(PKEY_Video_Orientation.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_Orientation.pid, Is.EqualTo(99)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_SampleSizeTest() + { + Assert.That(PKEY_Video_SampleSize.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_SampleSize.pid, Is.EqualTo(9)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_StreamNameTest() + { + Assert.That(PKEY_Video_StreamName.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_StreamName.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_StreamNumberTest() + { + Assert.That(PKEY_Video_StreamNumber.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_StreamNumber.pid, Is.EqualTo(11)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_TotalBitrateTest() + { + Assert.That(PKEY_Video_TotalBitrate.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_TotalBitrate.pid, Is.EqualTo(43)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_TranscodedForSyncTest() + { + Assert.That(PKEY_Video_TranscodedForSync.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_TranscodedForSync.pid, Is.EqualTo(46)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Video_VerticalAspectRatioTest() + { + Assert.That(PKEY_Video_VerticalAspectRatio.fmtid, Is.EqualTo(new Guid(0x64440491, 0x4C8B, 0x11D1, 0x8B, 0x70, 0x08, 0x00, 0x36, 0xB1, 0x1A, 0x03))); + Assert.That(PKEY_Video_VerticalAspectRatio.pid, Is.EqualTo(45)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Volume_FileSystemTest() + { + Assert.That(PKEY_Volume_FileSystem.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_Volume_FileSystem.pid, Is.EqualTo(4)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Volume_IsMappedDriveTest() + { + Assert.That(PKEY_Volume_IsMappedDrive.fmtid, Is.EqualTo(new Guid(0x149C0B69, 0x2C2D, 0x48FC, 0x80, 0x8F, 0xD3, 0x18, 0xD7, 0x8C, 0x46, 0x36))); + Assert.That(PKEY_Volume_IsMappedDrive.pid, Is.EqualTo(2)); + } + + /// Validates that the value of the property is correct. + [Test] + public static void PKEY_Volume_IsRootTest() + { + Assert.That(PKEY_Volume_IsRoot.fmtid, Is.EqualTo(new Guid(0x9B174B35, 0x40FF, 0x11D2, 0xA2, 0x7E, 0x00, 0xC0, 0x4F, 0xC3, 0x08, 0x71))); + Assert.That(PKEY_Volume_IsRoot.pid, Is.EqualTo(10)); + } +} From c0ef05f979aef022f0f5c8d51adb67623d2ee81b Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 11:47:14 -0700 Subject: [PATCH 10/12] Generating bindings for um/KnownFolders.h and um/knownfolderpathscom.h --- TerraFX.Interop.Windows.sln | 16 + .../um/knownfolderpathscom/generate.rsp | 14 + .../Windows/um/knownfolderpathscom/header.txt | 4 + .../um-knownfolderpathscom.h | 2 + .../Windows/um/knownfolders/generate.rsp | 16 + generation/Windows/um/knownfolders/header.txt | 4 + .../Windows/um/knownfolders/um-knownfolders.h | 2 + .../Windows/um/knownfolderpathscom/IID.cs | 60 + .../ISystemDataPathsInterop.cs | 313 ++ .../IUserDataPathsInterop.cs | 159 + .../Windows/um/knownfolders/Windows.cs | 3564 +++++++++++++++++ .../ISystemDataPathsInteropTests.cs | 50 + .../IUserDataPathsInteropTests.cs | 50 + .../Windows/um/knownfolders/WindowsTests.cs | 1008 +++++ 14 files changed, 5262 insertions(+) create mode 100644 generation/Windows/um/knownfolderpathscom/generate.rsp create mode 100644 generation/Windows/um/knownfolderpathscom/header.txt create mode 100644 generation/Windows/um/knownfolderpathscom/um-knownfolderpathscom.h create mode 100644 generation/Windows/um/knownfolders/generate.rsp create mode 100644 generation/Windows/um/knownfolders/header.txt create mode 100644 generation/Windows/um/knownfolders/um-knownfolders.h create mode 100644 sources/Interop/Windows/Windows/um/knownfolderpathscom/IID.cs create mode 100644 sources/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInterop.cs create mode 100644 sources/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInterop.cs create mode 100644 sources/Interop/Windows/Windows/um/knownfolders/Windows.cs create mode 100644 tests/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInteropTests.cs create mode 100644 tests/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInteropTests.cs create mode 100644 tests/Interop/Windows/Windows/um/knownfolders/WindowsTests.cs diff --git a/TerraFX.Interop.Windows.sln b/TerraFX.Interop.Windows.sln index 03ef195b58..686415ad1c 100644 --- a/TerraFX.Interop.Windows.sln +++ b/TerraFX.Interop.Windows.sln @@ -3014,6 +3014,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "propkey", "propkey", "{21B7 generation\Windows\um\propkey\um-propkey.h = generation\Windows\um\propkey\um-propkey.h EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "knownfolders", "knownfolders", "{DBA8B1B8-BE4B-4C8F-BD75-EAD47581AE39}" + ProjectSection(SolutionItems) = preProject + generation\Windows\um\knownfolders\generate.rsp = generation\Windows\um\knownfolders\generate.rsp + generation\Windows\um\knownfolders\header.txt = generation\Windows\um\knownfolders\header.txt + generation\Windows\um\knownfolders\um-knownfolders.h = generation\Windows\um\knownfolders\um-knownfolders.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "knownfolderpathscom", "knownfolderpathscom", "{EA5B695A-5F25-401E-9FD9-23BFDEFBA01B}" + ProjectSection(SolutionItems) = preProject + generation\Windows\um\knownfolderpathscom\generate.rsp = generation\Windows\um\knownfolderpathscom\generate.rsp + generation\Windows\um\knownfolderpathscom\header.txt = generation\Windows\um\knownfolderpathscom\header.txt + generation\Windows\um\knownfolderpathscom\um-knownfolderpathscom.h = generation\Windows\um\knownfolderpathscom\um-knownfolderpathscom.h + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -3478,6 +3492,8 @@ Global {8891C297-49D7-495C-B66E-2A77C3D5F50D} = {3BDDFFAD-B31F-4930-B557-E8486D23C67A} {7ADEB031-2298-4F79-8103-79CFF01CA00C} = {F9716DD9-2967-4295-AC71-F1FD5A9EEFEF} {21B748B3-53EF-42AD-B5F3-A5215C5AE574} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE} + {DBA8B1B8-BE4B-4C8F-BD75-EAD47581AE39} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE} + {EA5B695A-5F25-401E-9FD9-23BFDEFBA01B} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461} diff --git a/generation/Windows/um/knownfolderpathscom/generate.rsp b/generation/Windows/um/knownfolderpathscom/generate.rsp new file mode 100644 index 0000000000..99148b946f --- /dev/null +++ b/generation/Windows/um/knownfolderpathscom/generate.rsp @@ -0,0 +1,14 @@ +@../../../settings.rsp +@../../../remap.rsp +--file +um-knownfolderpathscom.h +--methodClassName +Windows +--namespace +TerraFX.Interop.Windows +--output +../../../../sources/Interop/Windows/Windows/um/knownfolderpathscom +--test-output +../../../../tests/Interop/Windows/Windows/um/knownfolderpathscom +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/knownfolderpathscom.h diff --git a/generation/Windows/um/knownfolderpathscom/header.txt b/generation/Windows/um/knownfolderpathscom/header.txt new file mode 100644 index 0000000000..729667bb90 --- /dev/null +++ b/generation/Windows/um/knownfolderpathscom/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/Windows/um/knownfolderpathscom/um-knownfolderpathscom.h b/generation/Windows/um/knownfolderpathscom/um-knownfolderpathscom.h new file mode 100644 index 0000000000..bdb80c1d20 --- /dev/null +++ b/generation/Windows/um/knownfolderpathscom/um-knownfolderpathscom.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/Windows/um/knownfolders/generate.rsp b/generation/Windows/um/knownfolders/generate.rsp new file mode 100644 index 0000000000..dcdb15e0f9 --- /dev/null +++ b/generation/Windows/um/knownfolders/generate.rsp @@ -0,0 +1,16 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +DEFINE_KNOWN_FOLDER +--file +um-knownfolders.h +--methodClassName +Windows +--namespace +TerraFX.Interop.Windows +--output +../../../../sources/Interop/Windows/Windows/um/knownfolders +--test-output +../../../../tests/Interop/Windows/Windows/um/knownfolders +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/knownfolders.h diff --git a/generation/Windows/um/knownfolders/header.txt b/generation/Windows/um/knownfolders/header.txt new file mode 100644 index 0000000000..661382a126 --- /dev/null +++ b/generation/Windows/um/knownfolders/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolders.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/Windows/um/knownfolders/um-knownfolders.h b/generation/Windows/um/knownfolders/um-knownfolders.h new file mode 100644 index 0000000000..d7ffbdb435 --- /dev/null +++ b/generation/Windows/um/knownfolders/um-knownfolders.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/sources/Interop/Windows/Windows/um/knownfolderpathscom/IID.cs b/sources/Interop/Windows/Windows/um/knownfolderpathscom/IID.cs new file mode 100644 index 0000000000..5db5dd6266 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/knownfolderpathscom/IID.cs @@ -0,0 +1,60 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static partial class IID +{ + public static ref readonly Guid IID_IUserDataPathsInterop + { + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0xF0, 0x2E, 0xF1, + 0xFB, 0xBE, + 0xC9, 0x46, + 0x9E, + 0xE5, + 0x8A, + 0x06, + 0x81, + 0xF1, + 0x3F, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemDataPathsInterop + { + get + { + ReadOnlySpan data = new byte[] { + 0x26, 0x0B, 0x4D, 0x86, + 0x37, 0x3A, + 0x51, 0x42, + 0x9A, + 0x02, + 0xB2, + 0x31, + 0x19, + 0x8D, + 0xE0, + 0x60 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInterop.cs b/sources/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInterop.cs new file mode 100644 index 0000000000..a18733bf88 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInterop.cs @@ -0,0 +1,313 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +/// +[Guid("864D0B26-3A37-4251-9A02-B231198DE060")] +[NativeTypeName("struct ISystemDataPathsInterop : IUnknown")] +[NativeInheritance("IUnknown")] +public unsafe partial struct ISystemDataPathsInterop : ISystemDataPathsInterop.Interface +{ + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged)(lpVtbl[0]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged)(lpVtbl[1]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged)(lpVtbl[2]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT get_CommonAdminTools([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[3]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT get_CommonOemLinks([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[4]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT get_CommonPrograms([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[5]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_CommonStartMenu([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[6]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_CommonStartup([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[7]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_CommonTemplates([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[8]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_LocalizedResources([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[9]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_ProgramFiles([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[10]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_ProgramFilesCommon([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[11]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_ProgramFilesCommonHost([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[12]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_ProgramFilesCommonX64([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[13]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_ProgramFilesCommonX86([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[14]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_ProgramFilesCommonArm([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[15]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_ProgramFilesHost([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[16]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT get_ProgramFilesX64([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[17]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_ProgramFilesX86([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[18]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT get_ProgramFilesArm([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[19]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT get_Resource([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[20]))((ISystemDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IUnknown.Interface + { + [VtblIndex(3)] + HRESULT get_CommonAdminTools([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(4)] + HRESULT get_CommonOemLinks([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(5)] + HRESULT get_CommonPrograms([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(6)] + HRESULT get_CommonStartMenu([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(7)] + HRESULT get_CommonStartup([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(8)] + HRESULT get_CommonTemplates([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(9)] + HRESULT get_LocalizedResources([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(10)] + HRESULT get_ProgramFiles([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(11)] + HRESULT get_ProgramFilesCommon([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(12)] + HRESULT get_ProgramFilesCommonHost([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(13)] + HRESULT get_ProgramFilesCommonX64([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(14)] + HRESULT get_ProgramFilesCommonX86([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(15)] + HRESULT get_ProgramFilesCommonArm([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(16)] + HRESULT get_ProgramFilesHost([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(17)] + HRESULT get_ProgramFilesX64([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(18)] + HRESULT get_ProgramFilesX86([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(19)] + HRESULT get_ProgramFilesArm([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(20)] + HRESULT get_Resource([NativeTypeName("LPWSTR *")] ushort** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged Release; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonAdminTools; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonOemLinks; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonPrograms; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonStartMenu; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonStartup; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CommonTemplates; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_LocalizedResources; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFiles; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesCommon; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesCommonHost; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesCommonX64; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesCommonX86; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesCommonArm; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesHost; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesX64; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesX86; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_ProgramFilesArm; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_Resource; + } +} diff --git a/sources/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInterop.cs b/sources/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInterop.cs new file mode 100644 index 0000000000..3b71491a71 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInterop.cs @@ -0,0 +1,159 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +/// +[Guid("F12EF0B5-BEFB-46C9-9EE5-8A0681F13F8C")] +[NativeTypeName("struct IUserDataPathsInterop : IUnknown")] +[NativeInheritance("IUnknown")] +public unsafe partial struct IUserDataPathsInterop : IUserDataPathsInterop.Interface +{ + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged)(lpVtbl[0]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged)(lpVtbl[1]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged)(lpVtbl[2]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT get_AdminTools([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[3]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT get_CDBurning([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[4]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT get_NetworkShortcuts([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[5]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Programs([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[6]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_SendTo([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[7]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_StartMenu([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[8]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_Startup([NativeTypeName("LPWSTR *")] ushort** value) + { + return ((delegate* unmanaged)(lpVtbl[9]))((IUserDataPathsInterop*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IUnknown.Interface + { + [VtblIndex(3)] + HRESULT get_AdminTools([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(4)] + HRESULT get_CDBurning([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(5)] + HRESULT get_NetworkShortcuts([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(6)] + HRESULT get_Programs([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(7)] + HRESULT get_SendTo([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(8)] + HRESULT get_StartMenu([NativeTypeName("LPWSTR *")] ushort** value); + + [VtblIndex(9)] + HRESULT get_Startup([NativeTypeName("LPWSTR *")] ushort** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged Release; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_AdminTools; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_CDBurning; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_NetworkShortcuts; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_Programs; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_SendTo; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_StartMenu; + + [NativeTypeName("HRESULT (LPWSTR *) __attribute__((stdcall))")] + public delegate* unmanaged get_Startup; + } +} diff --git a/sources/Interop/Windows/Windows/um/knownfolders/Windows.cs b/sources/Interop/Windows/Windows/um/knownfolders/Windows.cs new file mode 100644 index 0000000000..5a4b660757 --- /dev/null +++ b/sources/Interop/Windows/Windows/um/knownfolders/Windows.cs @@ -0,0 +1,3564 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolders.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static partial class Windows +{ + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_NetworkFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC4, 0xEE, 0x0B, 0xD2, + 0xA8, 0x5C, + 0x05, 0x49, + 0xAE, + 0x3B, + 0xBF, + 0x25, + 0x1E, + 0xA0, + 0x9B, + 0x53 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ComputerFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0x83, 0xC0, 0x0A, + 0xF8, 0xBB, + 0x2A, 0x45, + 0x85, + 0x0D, + 0x79, + 0xD0, + 0x8E, + 0x66, + 0x7C, + 0xA7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_InternetFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x74, 0x78, 0x9F, 0x4D, + 0x0C, 0x4E, + 0x04, 0x49, + 0x96, + 0x7B, + 0x40, + 0xB0, + 0xD2, + 0x0C, + 0x3E, + 0x4B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ControlPanelFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0x4A, 0xA7, 0x82, + 0xB4, 0xAE, + 0x5C, 0x46, + 0xA0, + 0x14, + 0xD0, + 0x97, + 0xEE, + 0x34, + 0x6D, + 0x63 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PrintersFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2D, 0x4E, 0xFC, 0x76, + 0xAD, 0xD6, + 0x19, 0x45, + 0xA6, + 0x63, + 0x37, + 0xBD, + 0x56, + 0x06, + 0x81, + 0x85 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SyncManagerFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF8, 0x8B, 0x66, 0x43, + 0x4E, 0xC1, + 0xB2, 0x49, + 0x97, + 0xC9, + 0x74, + 0x77, + 0x84, + 0xD7, + 0x84, + 0xB7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SyncSetupFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x38, 0x41, 0x21, 0x0F, + 0xD3, 0xB1, + 0x90, 0x4A, + 0xBB, + 0xA9, + 0x27, + 0xCB, + 0xC0, + 0xC5, + 0x38, + 0x9A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ConflictFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0xFB, 0xFE, 0x4B, + 0x7D, 0x34, + 0x06, 0x40, + 0xA5, + 0xBE, + 0xAC, + 0x0C, + 0xB0, + 0x56, + 0x71, + 0x92 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SyncResultsFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x43, 0x9A, 0x9A, 0x28, + 0x44, 0xBE, + 0x57, 0x40, + 0xA4, + 0x1B, + 0x58, + 0x7A, + 0x76, + 0xD7, + 0xE7, + 0xF9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RecycleBinFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0x40, 0x53, 0xB7, + 0xCB, 0x3E, + 0x18, 0x4C, + 0xBE, + 0x4E, + 0x64, + 0xCD, + 0x4C, + 0xB7, + 0xD6, + 0xAC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ConnectionsFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0xD9, 0x0C, 0x6F, + 0x97, 0x2E, + 0xD1, 0x45, + 0x88, + 0xFF, + 0xB0, + 0xD1, + 0x86, + 0xB8, + 0xDE, + 0xDD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Fonts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x8C, 0x22, 0xFD, + 0x11, 0xAE, + 0xE3, 0x4A, + 0x86, + 0x4C, + 0x16, + 0xF3, + 0x91, + 0x0A, + 0xB8, + 0xFE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Desktop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3A, 0xCC, 0xBF, 0xB4, + 0x2C, 0xDB, + 0x4C, 0x42, + 0xB0, + 0x29, + 0x7F, + 0xE9, + 0x9A, + 0x87, + 0xC6, + 0x41 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Startup + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBB, 0x20, 0x7D, 0xB9, + 0x6A, 0xF4, + 0x97, 0x4C, + 0xBA, + 0x10, + 0x5E, + 0x36, + 0x08, + 0x43, + 0x08, + 0x54 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Programs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x77, 0x5D, 0x7F, 0xA7, + 0x2B, 0x2E, + 0xC3, 0x44, + 0xA6, + 0xA2, + 0xAB, + 0xA6, + 0x01, + 0x05, + 0x4A, + 0x51 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_StartMenu + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0x53, 0x5B, 0x62, + 0x48, 0xAB, + 0xC1, 0x4E, + 0xBA, + 0x1F, + 0xA1, + 0xEF, + 0x41, + 0x46, + 0xFC, + 0x19 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Recent + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0xC0, 0x50, 0xAE, + 0xD2, 0xEB, + 0x8A, 0x43, + 0x86, + 0x55, + 0x8A, + 0x09, + 0x2E, + 0x34, + 0x98, + 0x7A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SendTo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6C, 0x03, 0x83, 0x89, + 0xC0, 0x27, + 0x4B, 0x40, + 0x8F, + 0x08, + 0x10, + 0x2D, + 0x10, + 0xDC, + 0xFD, + 0x74 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Documents + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0x9A, 0xD3, 0xFD, + 0x8F, 0x23, + 0xAF, 0x46, + 0xAD, + 0xB4, + 0x6C, + 0x85, + 0x48, + 0x03, + 0x69, + 0xC7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Favorites + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0xF7, 0x77, 0x17, + 0xAD, 0x68, + 0x8A, 0x4D, + 0x87, + 0xBD, + 0x30, + 0xB7, + 0x59, + 0xFA, + 0x33, + 0xDD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_NetHood + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xBF, 0xAB, 0xC5, + 0x7F, 0xE1, + 0x21, 0x41, + 0x89, + 0x00, + 0x86, + 0x62, + 0x6F, + 0xC2, + 0xC9, + 0x73 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PrintHood + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8D, 0xBD, 0x74, 0x92, + 0xD1, 0xCF, + 0xC3, 0x41, + 0xB3, + 0x5E, + 0xB1, + 0x3F, + 0x55, + 0xA7, + 0x58, + 0xF4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Templates + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0x93, 0x32, 0xA6, + 0x4E, 0x66, + 0xDB, 0x48, + 0xA0, + 0x79, + 0xDF, + 0x75, + 0x9E, + 0x05, + 0x09, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonStartup + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0xEA, 0xA5, 0x82, + 0xCD, 0xD9, + 0xC5, 0x47, + 0x96, + 0x29, + 0xE1, + 0x5D, + 0x2F, + 0x71, + 0x4E, + 0x6E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonPrograms + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0xD4, 0x39, 0x01, + 0xFE, 0x6A, + 0xF2, 0x49, + 0x86, + 0x90, + 0x3D, + 0xAF, + 0xCA, + 0xE6, + 0xFF, + 0xB8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonStartMenu + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0x57, 0x11, 0xA4, + 0x2E, 0xD6, + 0x1D, 0x49, + 0xAA, + 0x7C, + 0xE7, + 0x4B, + 0x8B, + 0xE3, + 0xB0, + 0x67 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicDesktop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0D, 0x34, 0xAA, 0xC4, + 0x0F, 0xF2, + 0x63, 0x48, + 0xAF, + 0xEF, + 0xF8, + 0x7E, + 0xF2, + 0xE6, + 0xBA, + 0x25 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0x5D, 0xAB, 0x62, + 0xC1, 0xFD, + 0xC3, 0x4D, + 0xA9, + 0xDD, + 0x07, + 0x0D, + 0x1D, + 0x49, + 0x5D, + 0x97 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonTemplates + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE7, 0x37, 0x42, 0xB9, + 0xAC, 0x57, + 0x47, 0x43, + 0x91, + 0x51, + 0xB0, + 0x8C, + 0x6C, + 0x32, + 0xD1, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicDocuments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAF, 0x24, 0x48, 0xED, + 0xE4, 0xDC, + 0xA8, 0x45, + 0x81, + 0xE2, + 0xFC, + 0x79, + 0x65, + 0x08, + 0x36, + 0x34 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RoamingAppData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0x85, 0xB6, 0x3E, + 0xF9, 0x65, + 0xF6, 0x4C, + 0xA0, + 0x3A, + 0xE3, + 0xEF, + 0x65, + 0x72, + 0x9F, + 0x3D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalAppData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x85, 0x27, 0xB3, 0xF1, + 0xBA, 0x6F, + 0xCF, 0x4F, + 0x9D, + 0x55, + 0x7B, + 0x8E, + 0x7F, + 0x15, + 0x70, + 0x91 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalAppDataLow + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0xA1, 0x20, 0xA5, + 0x80, 0x17, + 0xF6, 0x4F, + 0xBD, + 0x18, + 0x16, + 0x73, + 0x43, + 0xC5, + 0xAF, + 0x16 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_InternetCache + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0x81, 0x24, 0x35, + 0xBE, 0x33, + 0x51, 0x42, + 0xBA, + 0x85, + 0x60, + 0x07, + 0xCA, + 0xED, + 0xCF, + 0x9D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Cookies + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x76, 0x0F, 0x2B, + 0xE9, 0xC0, + 0x71, 0x41, + 0x90, + 0x8E, + 0x08, + 0xA6, + 0x11, + 0xB8, + 0x4F, + 0xF6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_History + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3B, 0x8A, 0xDC, 0xD9, + 0x84, 0xB7, + 0x2E, 0x43, + 0xA7, + 0x81, + 0x5A, + 0x11, + 0x30, + 0xA7, + 0x59, + 0x63 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_System + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x77, 0x4E, 0xC1, 0x1A, + 0xE7, 0x02, + 0x5D, 0x4E, + 0xB7, + 0x44, + 0x2E, + 0xB1, + 0xAE, + 0x51, + 0x98, + 0xB7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SystemX86 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB0, 0x31, 0x52, 0xD6, + 0xF1, 0xB2, + 0x57, 0x48, + 0xA4, + 0xCE, + 0xA8, + 0xE7, + 0xC6, + 0xEA, + 0x7D, + 0x27 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Windows + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x04, 0xF4, 0x8B, 0xF3, + 0x43, 0x1D, + 0xF2, 0x42, + 0x93, + 0x05, + 0x67, + 0xDE, + 0x0B, + 0x28, + 0xFC, + 0x23 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Profile + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0x85, 0x6C, 0x5E, + 0x22, 0x0E, + 0x60, 0x47, + 0x9A, + 0xFE, + 0xEA, + 0x33, + 0x17, + 0xB6, + 0x71, + 0x73 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Pictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0x81, 0xE2, 0x33, + 0x1E, 0x4E, + 0x76, 0x46, + 0x83, + 0x5A, + 0x98, + 0x39, + 0x5C, + 0x3B, + 0xC3, + 0xBB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFilesX86 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEF, 0x40, 0x5A, 0x7C, + 0xFB, 0xA0, + 0xFC, 0x4B, + 0x87, + 0x4A, + 0xC0, + 0xF2, + 0xE0, + 0xB9, + 0xFA, + 0x8E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFilesCommonX86 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0x4D, 0x97, 0xDE, + 0xC6, 0xD9, + 0x3E, 0x4D, + 0xBF, + 0x91, + 0xF4, + 0x45, + 0x51, + 0x20, + 0xB9, + 0x17 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFilesX64 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x77, 0x93, 0x80, 0x6D, + 0xF0, 0x6A, + 0x4B, 0x44, + 0x89, + 0x57, + 0xA3, + 0x77, + 0x3F, + 0x02, + 0x20, + 0x0E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFilesCommonX64 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA7, 0xD5, 0x65, 0x63, + 0x0D, 0x0F, + 0xE5, 0x45, + 0x87, + 0xF6, + 0x0D, + 0xA5, + 0x6B, + 0x6A, + 0x4F, + 0x7D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0x63, 0x5E, 0x90, + 0xBF, 0xC1, + 0x4E, 0x49, + 0xB2, + 0x9C, + 0x65, + 0xB7, + 0x32, + 0xD3, + 0xD2, + 0x1A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ProgramFilesCommon + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x05, 0xED, 0xF1, 0xF7, + 0x6D, 0x9F, + 0xA2, 0x47, + 0xAA, + 0xAE, + 0x29, + 0xD3, + 0x17, + 0xC6, + 0xF0, + 0x66 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UserProgramFiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0xAE, 0xD7, 0x5C, + 0x19, 0x22, + 0x67, 0x4A, + 0xB8, + 0x5D, + 0x6C, + 0x9C, + 0xE1, + 0x56, + 0x60, + 0xCB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UserProgramFilesCommon + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x57, 0x30, 0xBD, 0xBC, + 0x5C, 0xCA, + 0x22, 0x46, + 0xB4, + 0x2D, + 0xBC, + 0x56, + 0xDB, + 0x0A, + 0xE5, + 0x16 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AdminTools + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x70, 0xF1, 0x4E, 0x72, + 0x2D, 0xA4, + 0xEF, 0x4F, + 0x9F, + 0x26, + 0xB6, + 0x0E, + 0x84, + 0x6F, + 0xBA, + 0x4F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonAdminTools + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7D, 0x4E, 0x38, 0xD0, + 0xC3, 0xBA, + 0x97, 0x47, + 0x8F, + 0x14, + 0xCB, + 0xA2, + 0x29, + 0xB3, + 0x92, + 0xB5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Music + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x71, 0xD5, 0xD8, 0x4B, + 0x19, 0x6D, + 0xD3, 0x48, + 0xBE, + 0x97, + 0x42, + 0x22, + 0x20, + 0x08, + 0x0E, + 0x43 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Videos + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1D, 0x9B, 0x98, 0x18, + 0xB5, 0x99, + 0x5B, 0x45, + 0x84, + 0x1C, + 0xAB, + 0x7C, + 0x74, + 0xE4, + 0xDD, + 0xFC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Ringtones + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4B, 0x04, 0x70, 0xC8, + 0x9E, 0xF4, + 0x26, 0x41, + 0xA9, + 0xC3, + 0xB5, + 0x2A, + 0x1F, + 0xF4, + 0x11, + 0xE8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicPictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0xFB, 0xEB, 0xB6, + 0x07, 0x69, + 0x3C, 0x41, + 0x9A, + 0xF7, + 0x4F, + 0xC2, + 0xAB, + 0xF0, + 0x7C, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicMusic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0xFA, 0x14, 0x32, + 0x57, 0x97, + 0x98, 0x42, + 0xBB, + 0x61, + 0x92, + 0xA9, + 0xDE, + 0xAA, + 0x44, + 0xFF + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicVideos + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3A, 0x18, 0x00, 0x24, + 0x85, 0x61, + 0xFB, 0x49, + 0xA2, + 0xD8, + 0x4A, + 0x39, + 0x2A, + 0x60, + 0x2B, + 0xA3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicRingtones + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x60, 0xAB, 0x55, 0xE5, + 0x3B, 0x15, + 0x17, 0x4D, + 0x9F, + 0x04, + 0xA5, + 0xFE, + 0x99, + 0xFC, + 0x15, + 0xEC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ResourceDir + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x31, 0x0C, 0xD1, 0x8A, + 0xDB, 0x2A, + 0x96, 0x42, + 0xA8, + 0xF7, + 0xE4, + 0x70, + 0x12, + 0x32, + 0xC9, + 0x72 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalizedResourcesDir + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0x37, 0x00, 0x2A, + 0x4C, 0x22, + 0xDE, 0x49, + 0xB8, + 0xD1, + 0x44, + 0x0D, + 0xF7, + 0xEF, + 0x3D, + 0xDC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonOEMLinks + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0xE2, 0xBA, 0xC1, + 0xDF, 0x10, + 0x34, 0x43, + 0xBE, + 0xDD, + 0x7A, + 0xA2, + 0x0B, + 0x22, + 0x7A, + 0x9D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CDBurning + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0xAB, 0x52, 0x9E, + 0x0D, 0xF8, + 0xDF, 0x49, + 0xAC, + 0xB8, + 0x43, + 0x30, + 0xF5, + 0x68, + 0x78, + 0x55 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UserProfiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x72, 0xD2, 0x62, 0x07, + 0x0A, 0xC5, + 0xB0, 0x4B, + 0xA3, + 0x82, + 0x69, + 0x7D, + 0xCD, + 0x72, + 0x9B, + 0x80 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Playlists + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0xC1, 0x92, 0xDE, + 0x7F, 0x83, + 0x69, 0x4F, + 0xA3, + 0xBB, + 0x86, + 0xE6, + 0x31, + 0x20, + 0x4A, + 0x23 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SamplePlaylists + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x69, 0xCA, 0x15, + 0xEE, 0x30, + 0xC1, 0x49, + 0xAC, + 0xE1, + 0x6B, + 0x5E, + 0xC3, + 0x72, + 0xAF, + 0xB5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SampleMusic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x68, 0xC6, 0x50, 0xB2, + 0x7D, 0xF5, + 0xE1, 0x4E, + 0xA6, + 0x3C, + 0x29, + 0x0E, + 0xE7, + 0xD1, + 0xAA, + 0x1F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SamplePictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x40, 0x05, 0x90, 0xC4, + 0x79, 0x23, + 0x75, 0x4C, + 0x84, + 0x4B, + 0x64, + 0xE6, + 0xFA, + 0xF8, + 0x71, + 0x6B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SampleVideos + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0xAD, 0x9E, 0x85, + 0x85, 0x2E, + 0xAD, 0x48, + 0xA7, + 0x1A, + 0x09, + 0x69, + 0xCB, + 0x56, + 0xA6, + 0xCD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PhotoAlbums + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0xCF, 0xD2, 0x69, + 0x33, 0xFC, + 0xB7, 0x4F, + 0x9A, + 0x0C, + 0xEB, + 0xB0, + 0xF0, + 0xFC, + 0xB4, + 0x3C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Public + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x76, 0xDF, 0xDF, + 0x2A, 0xC8, + 0x63, 0x4D, + 0x90, + 0x6A, + 0x56, + 0x44, + 0xAC, + 0x45, + 0x73, + 0x85 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ChangeRemovePrograms + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAC, 0x66, 0x72, 0xDF, + 0x74, 0x92, + 0x67, 0x48, + 0x8D, + 0x55, + 0x3B, + 0xD6, + 0x61, + 0xDE, + 0x87, + 0x2D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppUpdates + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0xCE, 0x05, 0xA3, + 0x27, 0xF5, + 0x2B, 0x49, + 0x8B, + 0x1A, + 0x7E, + 0x76, + 0xFA, + 0x98, + 0xD6, + 0xE4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AddNewPrograms + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x71, 0xD9, 0x61, 0xDE, + 0xBC, 0x5E, + 0x02, 0x4F, + 0xA3, + 0xA9, + 0x6C, + 0x82, + 0x89, + 0x5E, + 0x5C, + 0x04 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Downloads + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0xE2, 0x4D, 0x37, + 0x3F, 0x12, + 0x65, 0x45, + 0x91, + 0x64, + 0x39, + 0xC4, + 0x92, + 0x5E, + 0x46, + 0x7B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicDownloads + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9B, 0x4C, 0x64, 0x3D, + 0xB8, 0x1F, + 0x30, 0x4F, + 0x9B, + 0x45, + 0xF6, + 0x70, + 0x23, + 0x5F, + 0x79, + 0xC0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SavedSearches + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x04, 0x3A, 0x1D, 0x7D, + 0xBB, 0xDE, + 0x15, 0x41, + 0x95, + 0xCF, + 0x2F, + 0x29, + 0xDA, + 0x29, + 0x20, + 0xDA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_QuickLaunch + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0xF0, 0xA4, 0x52, + 0x75, 0x7B, + 0xA9, 0x48, + 0x9F, + 0x6B, + 0x4B, + 0x87, + 0xA2, + 0x10, + 0xBC, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Contacts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0x48, 0x78, 0x56, + 0xCB, 0xC6, + 0x2B, 0x46, + 0x81, + 0x69, + 0x88, + 0xE3, + 0x50, + 0xAC, + 0xB8, + 0x82 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SidebarParts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2E, 0x36, 0x5D, 0xA7, + 0xFC, 0x50, + 0xB7, 0x4F, + 0xAC, + 0x2C, + 0xA8, + 0xBE, + 0xAA, + 0x31, + 0x44, + 0x93 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SidebarDefaultParts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0x6E, 0x39, 0x7B, + 0xC5, 0x9E, + 0x00, 0x43, + 0xBE, + 0x0A, + 0x24, + 0x82, + 0xEB, + 0xAE, + 0x1A, + 0x26 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicGameTasks + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0x25, 0xBF, 0xDE, + 0xA8, 0xE1, + 0x59, 0x4C, + 0xB6, + 0xA2, + 0x41, + 0x45, + 0x86, + 0x47, + 0x6A, + 0xEA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_GameTasks + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0xAE, 0x4F, 0x05, + 0xD8, 0x4D, + 0x87, 0x47, + 0x80, + 0xB6, + 0x09, + 0x02, + 0x20, + 0xC4, + 0xB7, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SavedGames + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFF, 0x32, 0x5C, 0x4C, + 0x9D, 0xBB, + 0xB0, 0x43, + 0xB5, + 0xB4, + 0x2D, + 0x72, + 0xE5, + 0x4E, + 0xAA, + 0xA4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Games + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1A, 0x2C, 0xC5, 0xCA, + 0x3D, 0xB5, + 0xDC, 0x4E, + 0x92, + 0xD7, + 0x6B, + 0x2E, + 0x8A, + 0xC1, + 0x94, + 0x34 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SEARCH_MAPI + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x18, 0x0E, 0xEC, 0x98, + 0x98, 0x20, + 0x44, 0x4D, + 0x86, + 0x44, + 0x66, + 0x97, + 0x93, + 0x15, + 0xA2, + 0x81 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SEARCH_CSC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0xE4, 0x32, 0xEE, + 0xCA, 0x31, + 0xBA, 0x4A, + 0x81, + 0x4F, + 0xA5, + 0xEB, + 0xD2, + 0xFD, + 0x6D, + 0x5E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Links + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0xD5, 0xB9, 0xBF, + 0xA9, 0xC6, + 0x4C, 0x40, + 0xB2, + 0xB2, + 0xAE, + 0x6D, + 0xB6, + 0xAF, + 0x49, + 0x68 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UsersFiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0x0F, 0xCE, 0xF3, + 0x01, 0x49, + 0xCC, 0x4A, + 0x86, + 0x48, + 0xD5, + 0xD4, + 0x4B, + 0x04, + 0xEF, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UsersLibraries + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x54, 0x02, 0xA3, + 0xFF, 0xDE, + 0x4B, 0x46, + 0xAB, + 0xE8, + 0x61, + 0xC8, + 0x64, + 0x8D, + 0x93, + 0x9B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SearchHome + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD1, 0x37, 0x03, 0x19, + 0xCA, 0xB8, + 0x21, 0x41, + 0xA6, + 0x39, + 0x6D, + 0x47, + 0x2D, + 0x16, + 0x97, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_OriginalImages + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAA, 0xC0, 0x36, 0x2C, + 0x12, 0x58, + 0x87, 0x4B, + 0xBF, + 0xD0, + 0x4C, + 0xD0, + 0xDF, + 0xB1, + 0x9B, + 0x39 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_DocumentsLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7D, 0xB1, 0x0D, 0x7B, + 0xD2, 0x9C, + 0x93, 0x4A, + 0x97, + 0x33, + 0x46, + 0xCC, + 0x89, + 0x02, + 0x2E, + 0x7C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_MusicLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0xAB, 0x12, 0x21, + 0x6A, 0xC8, + 0xFE, 0x4F, + 0xA3, + 0x68, + 0x0D, + 0xE9, + 0x6E, + 0x47, + 0x01, + 0x2E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PicturesLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0xAE, 0x90, 0xA9, + 0x3B, 0xA0, + 0x80, 0x4E, + 0x94, + 0xBC, + 0x99, + 0x12, + 0xD7, + 0x50, + 0x41, + 0x04 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_VideosLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2F, 0x92, 0x1E, 0x49, + 0x43, 0x56, + 0xF4, 0x4A, + 0xA7, + 0xEB, + 0x4E, + 0x7A, + 0x13, + 0x8D, + 0x81, + 0x74 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RecordedTVLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0xDB, 0x6F, 0x1A, + 0x2D, 0xF4, + 0x58, 0x43, + 0xA7, + 0x98, + 0xB7, + 0x4D, + 0x74, + 0x59, + 0x26, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_HomeGroup + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6B, 0x8A, 0x52, 0x52, + 0xE3, 0xB9, + 0xDD, 0x4A, + 0xB6, + 0x0D, + 0x58, + 0x8C, + 0x2D, + 0xBA, + 0x84, + 0x2D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_HomeGroupCurrentUser + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0xB6, 0x74, 0x9B, + 0xFD, 0x0D, + 0x11, 0x4F, + 0x9E, + 0x78, + 0x5F, + 0x78, + 0x00, + 0xF2, + 0xE7, + 0x72 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_DeviceMetadataStore + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE9, 0xA5, 0xE4, 0x5C, + 0xEB, 0xE4, + 0x9D, 0x47, + 0xB8, + 0x9F, + 0x13, + 0x0C, + 0x02, + 0x88, + 0x61, + 0x55 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Libraries + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDC, 0xA5, 0x3E, 0x1B, + 0x87, 0xB5, + 0x86, 0x47, + 0xB4, + 0xEF, + 0xBD, + 0x1D, + 0xC3, + 0x32, + 0xAE, + 0xAE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicLibraries + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0B, 0xF8, 0xDA, 0x48, + 0xCF, 0xE6, + 0x4E, 0x4F, + 0xB8, + 0x00, + 0x0E, + 0x69, + 0xD8, + 0x4E, + 0xE3, + 0x84 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_UserPinned + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x95, 0x39, 0x9E, + 0x9C, 0x1F, + 0x13, 0x4F, + 0xB8, + 0x27, + 0x48, + 0xB2, + 0x4B, + 0x6C, + 0x71, + 0x74 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ImplicitAppShortcuts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6F, 0x25, 0xB5, 0xBC, + 0xF6, 0x79, + 0xEE, 0x4C, + 0xB7, + 0x25, + 0xDC, + 0x34, + 0xE4, + 0x02, + 0xFD, + 0x46 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AccountPictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB1, 0xA0, 0x8C, 0x00, + 0xB4, 0x55, + 0x56, 0x4C, + 0xB8, + 0xA8, + 0x4D, + 0xE4, + 0xB2, + 0x99, + 0xD3, + 0xBE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_PublicUserTiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6C, 0xAF, 0x82, 0x04, + 0xF1, 0x08, + 0x34, 0x4C, + 0x8C, + 0x90, + 0xE1, + 0x7E, + 0xC9, + 0x8B, + 0x1E, + 0x17 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppsFolder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8D, 0x50, 0x87, 0x1E, + 0xC2, 0x89, + 0xF0, 0x42, + 0x8A, + 0x7E, + 0x64, + 0x5A, + 0x0F, + 0x50, + 0xCA, + 0x58 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_StartMenuAllPrograms + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEF, 0x05, 0x63, 0xF2, + 0x48, 0x69, + 0xB9, 0x40, + 0xB2, + 0x55, + 0x81, + 0x45, + 0x3D, + 0x09, + 0xC7, + 0x85 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CommonStartMenuPlaces + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0x87, 0x40, 0xA4, + 0xA0, 0x87, + 0x7D, 0x4F, + 0xB7, + 0x00, + 0x02, + 0x07, + 0xB9, + 0x66, + 0x19, + 0x4A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_ApplicationShortcuts + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0x87, 0x91, 0xA3, + 0xF2, 0xE5, + 0x90, 0x48, + 0xB3, + 0xD9, + 0xA7, + 0xE5, + 0x43, + 0x32, + 0x32, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RoamingTiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5A, 0xFC, 0xBC, 0x00, + 0x94, 0xED, + 0x48, 0x4E, + 0x96, + 0xA1, + 0x3F, + 0x62, + 0x17, + 0xF2, + 0x19, + 0x90 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RoamedTileImages + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA5, 0xD5, 0xA8, 0xAA, + 0xD6, 0xF1, + 0x59, 0x42, + 0xBA, + 0xA8, + 0x78, + 0xE7, + 0xEF, + 0x60, + 0x83, + 0x5E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Screenshots + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0xDE, 0xBE, 0xB7, + 0x94, 0xDF, + 0x82, 0x46, + 0xA7, + 0xD8, + 0x57, + 0xA5, + 0x26, + 0x20, + 0xB8, + 0x6F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CameraRoll + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0xB8, 0x5F, 0xAB, + 0xE2, 0x7C, + 0x83, 0x4F, + 0x91, + 0x5D, + 0x55, + 0x08, + 0x46, + 0xC9, + 0x53, + 0x7B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SkyDrive + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0xBA, 0x2B, 0xA5, + 0xE1, 0xE9, + 0x5F, 0x43, + 0xB3, + 0xD9, + 0x28, + 0xDA, + 0xA6, + 0x48, + 0xC0, + 0xF6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_OneDrive + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x46, 0xBA, 0x2B, 0xA5, + 0xE1, 0xE9, + 0x5F, 0x43, + 0xB3, + 0xD9, + 0x28, + 0xDA, + 0xA6, + 0x48, + 0xC0, + 0xF6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SkyDriveDocuments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0x9E, 0xD8, 0x24, + 0x19, 0x2F, + 0x34, 0x45, + 0x9D, + 0xDE, + 0x6A, + 0x66, + 0x71, + 0xFB, + 0xB8, + 0xFE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SkyDrivePictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x19, 0x97, 0x33, + 0x47, 0x8C, + 0x94, 0x48, + 0x94, + 0xC2, + 0xD8, + 0xF7, + 0x7A, + 0xDD, + 0x44, + 0xA6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SkyDriveMusic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9E, 0x45, 0xF2, 0xC3, + 0xD6, 0x80, + 0xDC, 0x45, + 0xBF, + 0xEF, + 0x1F, + 0x76, + 0x9F, + 0x2B, + 0xE7, + 0x30 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SkyDriveCameraRoll + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x11, 0x68, 0x7E, 0x76, + 0xCB, 0x49, + 0x73, 0x42, + 0x87, + 0xC2, + 0x20, + 0xF3, + 0x55, + 0xE1, + 0x08, + 0x5B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SearchHistory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB6, 0x3D, 0x4C, 0x0D, + 0xA3, 0x03, + 0x2F, 0x46, + 0xA0, + 0xE6, + 0x08, + 0x92, + 0x4C, + 0x41, + 0xB5, + 0xD4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SearchTemplates + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFE, 0x6B, 0x63, 0x7E, + 0xA9, 0xDF, + 0x5E, 0x4D, + 0xB4, + 0x56, + 0xD7, + 0xB3, + 0x98, + 0x51, + 0xD8, + 0xA9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CameraRollLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0xDF, 0x20, 0x2B, + 0xDA, 0x1E, + 0x39, 0x40, + 0x80, + 0x97, + 0x38, + 0x79, + 0x82, + 0x27, + 0xD5, + 0xB7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SavedPictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0x38, 0x19, 0x3B, + 0xAD, 0xD3, + 0xAB, 0x4E, + 0x96, + 0x5A, + 0x69, + 0x82, + 0x9D, + 0x1F, + 0xB5, + 0x9F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_SavedPicturesLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x12, 0x58, 0x5B, 0xE2, + 0x88, 0xBE, + 0xD9, 0x4B, + 0x94, + 0xB0, + 0x29, + 0x23, + 0x34, + 0x77, + 0xB6, + 0xC3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RetailDemo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9E, 0xC6, 0xD4, 0x12, + 0xAD, 0x24, + 0x23, 0x49, + 0xBE, + 0x19, + 0x31, + 0x32, + 0x1C, + 0x43, + 0xA7, + 0x67 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Device + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDC, 0xC1, 0x2A, 0x1C, + 0x58, 0x43, + 0x6C, 0x4B, + 0x97, + 0x33, + 0xAF, + 0x21, + 0x15, + 0x65, + 0x76, + 0xF0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_DevelopmentFiles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8E, 0xE0, 0xE8, 0xDB, + 0x53, 0x30, + 0xBC, 0x4B, + 0xB1, + 0x83, + 0x2A, + 0x7B, + 0x2B, + 0x19, + 0x1E, + 0x59 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_Objects3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x25, 0xDD, 0xC0, 0x31, + 0x39, 0x94, + 0x12, 0x4F, + 0xBF, + 0x41, + 0x7F, + 0xF4, + 0xED, + 0xA3, + 0x87, + 0x22 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppCaptures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x71, 0xFE, 0xC0, 0xED, + 0xD8, 0x98, + 0x4A, 0x4F, + 0xB9, + 0x20, + 0xC8, + 0xDC, + 0x13, + 0x3C, + 0xB1, + 0x65 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalDocuments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD3, 0xE2, 0x2E, 0xF4, + 0x9F, 0x90, + 0x07, 0x49, + 0x88, + 0x71, + 0x4C, + 0x22, + 0xFC, + 0x0B, + 0xF7, + 0x56 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalPictures + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x01, 0xDD, 0x0D, + 0x6C, 0xB0, + 0xD5, 0x45, + 0x8C, + 0x4C, + 0xF5, + 0x97, + 0x13, + 0x85, + 0x46, + 0x39 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalVideos + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x68, 0x6A, 0x28, 0x35, + 0x57, 0x3C, + 0xA1, 0x41, + 0xBB, + 0xB1, + 0x0E, + 0xAE, + 0x73, + 0xD7, + 0x6C, + 0x95 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalMusic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x9A, 0xC6, 0xA0, + 0xC8, 0x21, + 0x71, 0x46, + 0x87, + 0x03, + 0x79, + 0x34, + 0x16, + 0x2F, + 0xCF, + 0x1D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalDownloads + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9B, 0xEE, 0x83, 0x7D, + 0x44, 0x22, + 0x70, 0x4E, + 0xB1, + 0xF5, + 0x53, + 0x93, + 0x04, + 0x2A, + 0xF1, + 0xE4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_RecordedCalls + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0x40, 0x8B, 0x2F, + 0xED, 0x83, + 0xEE, 0x48, + 0xB3, + 0x83, + 0xA1, + 0xF1, + 0x57, + 0xEC, + 0x6F, + 0x9A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AllAppMods + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x99, 0x78, 0xD6, 0x7A, + 0xAF, 0x66, + 0xBA, 0x43, + 0x91, + 0x56, + 0x6A, + 0xAD, + 0x42, + 0xE6, + 0xC5, + 0x96 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_CurrentAppMods + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x20, 0x0B, 0xB4, 0x3D, + 0x30, 0x2A, + 0xBE, 0x4D, + 0x91, + 0x7E, + 0x77, + 0x1D, + 0xD2, + 0x1D, + 0xD0, + 0x99 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppDataDesktop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x79, 0xE2, 0xC5, 0xB2, + 0xDD, 0x7A, + 0x9F, 0x43, + 0xB2, + 0x8C, + 0xC4, + 0x1F, + 0xE1, + 0xBB, + 0xF6, + 0x72 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppDataDocuments + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x66, 0xE1, 0x7B, + 0x7F, 0x1F, + 0xAC, 0x44, + 0xBF, + 0xF0, + 0x83, + 0xE1, + 0x5F, + 0x2F, + 0xFC, + 0xA1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppDataFavorites + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBC, 0xEF, 0xFB, 0x7C, + 0x1F, 0xDE, + 0xAA, 0x45, + 0xB8, + 0x43, + 0xA5, + 0x42, + 0xAC, + 0x53, + 0x6C, + 0xC9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_AppDataProgramData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0x40, 0x9D, 0x55, + 0x36, 0xA0, + 0xFA, 0x40, + 0xAF, + 0x61, + 0x84, + 0xCB, + 0x43, + 0x0A, + 0x4D, + 0x34 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [NativeTypeName("const GUID")] + public static ref readonly Guid FOLDERID_LocalStorage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD3, 0x08, 0xEB, 0xB3, + 0xF3, 0xA1, + 0x6B, 0x49, + 0x86, + 0x5A, + 0x42, + 0xB5, + 0x36, + 0xCD, + 0xA0, + 0xEC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/tests/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInteropTests.cs b/tests/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInteropTests.cs new file mode 100644 index 0000000000..d1fbd4d3e9 --- /dev/null +++ b/tests/Interop/Windows/Windows/um/knownfolderpathscom/ISystemDataPathsInteropTests.cs @@ -0,0 +1,50 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemDataPathsInteropTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemDataPathsInterop).GUID, Is.EqualTo(IID_ISystemDataPathsInterop)); + } + + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(ISystemDataPathsInterop))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(ISystemDataPathsInterop).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + if (Environment.Is64BitProcess) + { + Assert.That(sizeof(ISystemDataPathsInterop), Is.EqualTo(8)); + } + else + { + Assert.That(sizeof(ISystemDataPathsInterop), Is.EqualTo(4)); + } + } +} diff --git a/tests/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInteropTests.cs b/tests/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInteropTests.cs new file mode 100644 index 0000000000..1033ffd912 --- /dev/null +++ b/tests/Interop/Windows/Windows/um/knownfolderpathscom/IUserDataPathsInteropTests.cs @@ -0,0 +1,50 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolderpathscom.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataPathsInteropTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataPathsInterop).GUID, Is.EqualTo(IID_IUserDataPathsInterop)); + } + + /// Validates that the struct is blittable. + [Test] + public static void IsBlittableTest() + { + Assert.That(Marshal.SizeOf(), Is.EqualTo(sizeof(IUserDataPathsInterop))); + } + + /// Validates that the struct has the right . + [Test] + public static void IsLayoutSequentialTest() + { + Assert.That(typeof(IUserDataPathsInterop).IsLayoutSequential, Is.True); + } + + /// Validates that the struct has the correct size. + [Test] + public static void SizeOfTest() + { + if (Environment.Is64BitProcess) + { + Assert.That(sizeof(IUserDataPathsInterop), Is.EqualTo(8)); + } + else + { + Assert.That(sizeof(IUserDataPathsInterop), Is.EqualTo(4)); + } + } +} diff --git a/tests/Interop/Windows/Windows/um/knownfolders/WindowsTests.cs b/tests/Interop/Windows/Windows/um/knownfolders/WindowsTests.cs new file mode 100644 index 0000000000..139ca0e79a --- /dev/null +++ b/tests/Interop/Windows/Windows/um/knownfolders/WindowsTests.cs @@ -0,0 +1,1008 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/knownfolders.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using static TerraFX.Interop.Windows.Windows; + +namespace TerraFX.Interop.Windows.UnitTests; + +/// Provides validation of the class. +public static partial class WindowsTests +{ + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_NetworkFolderTest() + { + Assert.That(FOLDERID_NetworkFolder, Is.EqualTo(new Guid(0xD20BEEC4, 0x5CA8, 0x4905, 0xAE, 0x3B, 0xBF, 0x25, 0x1E, 0xA0, 0x9B, 0x53))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ComputerFolderTest() + { + Assert.That(FOLDERID_ComputerFolder, Is.EqualTo(new Guid(0x0AC0837C, 0xBBF8, 0x452A, 0x85, 0x0D, 0x79, 0xD0, 0x8E, 0x66, 0x7C, 0xA7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_InternetFolderTest() + { + Assert.That(FOLDERID_InternetFolder, Is.EqualTo(new Guid(0x4D9F7874, 0x4E0C, 0x4904, 0x96, 0x7B, 0x40, 0xB0, 0xD2, 0x0C, 0x3E, 0x4B))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ControlPanelFolderTest() + { + Assert.That(FOLDERID_ControlPanelFolder, Is.EqualTo(new Guid(0x82A74AEB, 0xAEB4, 0x465C, 0xA0, 0x14, 0xD0, 0x97, 0xEE, 0x34, 0x6D, 0x63))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PrintersFolderTest() + { + Assert.That(FOLDERID_PrintersFolder, Is.EqualTo(new Guid(0x76FC4E2D, 0xD6AD, 0x4519, 0xA6, 0x63, 0x37, 0xBD, 0x56, 0x06, 0x81, 0x85))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SyncManagerFolderTest() + { + Assert.That(FOLDERID_SyncManagerFolder, Is.EqualTo(new Guid(0x43668BF8, 0xC14E, 0x49B2, 0x97, 0xC9, 0x74, 0x77, 0x84, 0xD7, 0x84, 0xB7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SyncSetupFolderTest() + { + Assert.That(FOLDERID_SyncSetupFolder, Is.EqualTo(new Guid(0xf214138, 0xb1d3, 0x4a90, 0xbb, 0xa9, 0x27, 0xcb, 0xc0, 0xc5, 0x38, 0x9a))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ConflictFolderTest() + { + Assert.That(FOLDERID_ConflictFolder, Is.EqualTo(new Guid(0x4bfefb45, 0x347d, 0x4006, 0xa5, 0xbe, 0xac, 0x0c, 0xb0, 0x56, 0x71, 0x92))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SyncResultsFolderTest() + { + Assert.That(FOLDERID_SyncResultsFolder, Is.EqualTo(new Guid(0x289a9a43, 0xbe44, 0x4057, 0xa4, 0x1b, 0x58, 0x7a, 0x76, 0xd7, 0xe7, 0xf9))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RecycleBinFolderTest() + { + Assert.That(FOLDERID_RecycleBinFolder, Is.EqualTo(new Guid(0xB7534046, 0x3ECB, 0x4C18, 0xBE, 0x4E, 0x64, 0xCD, 0x4C, 0xB7, 0xD6, 0xAC))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ConnectionsFolderTest() + { + Assert.That(FOLDERID_ConnectionsFolder, Is.EqualTo(new Guid(0x6F0CD92B, 0x2E97, 0x45D1, 0x88, 0xFF, 0xB0, 0xD1, 0x86, 0xB8, 0xDE, 0xDD))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_FontsTest() + { + Assert.That(FOLDERID_Fonts, Is.EqualTo(new Guid(0xFD228CB7, 0xAE11, 0x4AE3, 0x86, 0x4C, 0x16, 0xF3, 0x91, 0x0A, 0xB8, 0xFE))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DesktopTest() + { + Assert.That(FOLDERID_Desktop, Is.EqualTo(new Guid(0xB4BFCC3A, 0xDB2C, 0x424C, 0xB0, 0x29, 0x7F, 0xE9, 0x9A, 0x87, 0xC6, 0x41))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_StartupTest() + { + Assert.That(FOLDERID_Startup, Is.EqualTo(new Guid(0xB97D20BB, 0xF46A, 0x4C97, 0xBA, 0x10, 0x5E, 0x36, 0x08, 0x43, 0x08, 0x54))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramsTest() + { + Assert.That(FOLDERID_Programs, Is.EqualTo(new Guid(0xA77F5D77, 0x2E2B, 0x44C3, 0xA6, 0xA2, 0xAB, 0xA6, 0x01, 0x05, 0x4A, 0x51))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_StartMenuTest() + { + Assert.That(FOLDERID_StartMenu, Is.EqualTo(new Guid(0x625B53C3, 0xAB48, 0x4EC1, 0xBA, 0x1F, 0xA1, 0xEF, 0x41, 0x46, 0xFC, 0x19))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RecentTest() + { + Assert.That(FOLDERID_Recent, Is.EqualTo(new Guid(0xAE50C081, 0xEBD2, 0x438A, 0x86, 0x55, 0x8A, 0x09, 0x2E, 0x34, 0x98, 0x7A))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SendToTest() + { + Assert.That(FOLDERID_SendTo, Is.EqualTo(new Guid(0x8983036C, 0x27C0, 0x404B, 0x8F, 0x08, 0x10, 0x2D, 0x10, 0xDC, 0xFD, 0x74))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DocumentsTest() + { + Assert.That(FOLDERID_Documents, Is.EqualTo(new Guid(0xFDD39AD0, 0x238F, 0x46AF, 0xAD, 0xB4, 0x6C, 0x85, 0x48, 0x03, 0x69, 0xC7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_FavoritesTest() + { + Assert.That(FOLDERID_Favorites, Is.EqualTo(new Guid(0x1777F761, 0x68AD, 0x4D8A, 0x87, 0xBD, 0x30, 0xB7, 0x59, 0xFA, 0x33, 0xDD))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_NetHoodTest() + { + Assert.That(FOLDERID_NetHood, Is.EqualTo(new Guid(0xC5ABBF53, 0xE17F, 0x4121, 0x89, 0x00, 0x86, 0x62, 0x6F, 0xC2, 0xC9, 0x73))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PrintHoodTest() + { + Assert.That(FOLDERID_PrintHood, Is.EqualTo(new Guid(0x9274BD8D, 0xCFD1, 0x41C3, 0xB3, 0x5E, 0xB1, 0x3F, 0x55, 0xA7, 0x58, 0xF4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_TemplatesTest() + { + Assert.That(FOLDERID_Templates, Is.EqualTo(new Guid(0xA63293E8, 0x664E, 0x48DB, 0xA0, 0x79, 0xDF, 0x75, 0x9E, 0x05, 0x09, 0xF7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonStartupTest() + { + Assert.That(FOLDERID_CommonStartup, Is.EqualTo(new Guid(0x82A5EA35, 0xD9CD, 0x47C5, 0x96, 0x29, 0xE1, 0x5D, 0x2F, 0x71, 0x4E, 0x6E))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonProgramsTest() + { + Assert.That(FOLDERID_CommonPrograms, Is.EqualTo(new Guid(0x0139D44E, 0x6AFE, 0x49F2, 0x86, 0x90, 0x3D, 0xAF, 0xCA, 0xE6, 0xFF, 0xB8))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonStartMenuTest() + { + Assert.That(FOLDERID_CommonStartMenu, Is.EqualTo(new Guid(0xA4115719, 0xD62E, 0x491D, 0xAA, 0x7C, 0xE7, 0x4B, 0x8B, 0xE3, 0xB0, 0x67))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicDesktopTest() + { + Assert.That(FOLDERID_PublicDesktop, Is.EqualTo(new Guid(0xC4AA340D, 0xF20F, 0x4863, 0xAF, 0xEF, 0xF8, 0x7E, 0xF2, 0xE6, 0xBA, 0x25))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramDataTest() + { + Assert.That(FOLDERID_ProgramData, Is.EqualTo(new Guid(0x62AB5D82, 0xFDC1, 0x4DC3, 0xA9, 0xDD, 0x07, 0x0D, 0x1D, 0x49, 0x5D, 0x97))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonTemplatesTest() + { + Assert.That(FOLDERID_CommonTemplates, Is.EqualTo(new Guid(0xB94237E7, 0x57AC, 0x4347, 0x91, 0x51, 0xB0, 0x8C, 0x6C, 0x32, 0xD1, 0xF7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicDocumentsTest() + { + Assert.That(FOLDERID_PublicDocuments, Is.EqualTo(new Guid(0xED4824AF, 0xDCE4, 0x45A8, 0x81, 0xE2, 0xFC, 0x79, 0x65, 0x08, 0x36, 0x34))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RoamingAppDataTest() + { + Assert.That(FOLDERID_RoamingAppData, Is.EqualTo(new Guid(0x3EB685DB, 0x65F9, 0x4CF6, 0xA0, 0x3A, 0xE3, 0xEF, 0x65, 0x72, 0x9F, 0x3D))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalAppDataTest() + { + Assert.That(FOLDERID_LocalAppData, Is.EqualTo(new Guid(0xF1B32785, 0x6FBA, 0x4FCF, 0x9D, 0x55, 0x7B, 0x8E, 0x7F, 0x15, 0x70, 0x91))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalAppDataLowTest() + { + Assert.That(FOLDERID_LocalAppDataLow, Is.EqualTo(new Guid(0xA520A1A4, 0x1780, 0x4FF6, 0xBD, 0x18, 0x16, 0x73, 0x43, 0xC5, 0xAF, 0x16))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_InternetCacheTest() + { + Assert.That(FOLDERID_InternetCache, Is.EqualTo(new Guid(0x352481E8, 0x33BE, 0x4251, 0xBA, 0x85, 0x60, 0x07, 0xCA, 0xED, 0xCF, 0x9D))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CookiesTest() + { + Assert.That(FOLDERID_Cookies, Is.EqualTo(new Guid(0x2B0F765D, 0xC0E9, 0x4171, 0x90, 0x8E, 0x08, 0xA6, 0x11, 0xB8, 0x4F, 0xF6))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_HistoryTest() + { + Assert.That(FOLDERID_History, Is.EqualTo(new Guid(0xD9DC8A3B, 0xB784, 0x432E, 0xA7, 0x81, 0x5A, 0x11, 0x30, 0xA7, 0x59, 0x63))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SystemTest() + { + Assert.That(FOLDERID_System, Is.EqualTo(new Guid(0x1AC14E77, 0x02E7, 0x4E5D, 0xB7, 0x44, 0x2E, 0xB1, 0xAE, 0x51, 0x98, 0xB7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SystemX86Test() + { + Assert.That(FOLDERID_SystemX86, Is.EqualTo(new Guid(0xD65231B0, 0xB2F1, 0x4857, 0xA4, 0xCE, 0xA8, 0xE7, 0xC6, 0xEA, 0x7D, 0x27))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_WindowsTest() + { + Assert.That(FOLDERID_Windows, Is.EqualTo(new Guid(0xF38BF404, 0x1D43, 0x42F2, 0x93, 0x05, 0x67, 0xDE, 0x0B, 0x28, 0xFC, 0x23))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProfileTest() + { + Assert.That(FOLDERID_Profile, Is.EqualTo(new Guid(0x5E6C858F, 0x0E22, 0x4760, 0x9A, 0xFE, 0xEA, 0x33, 0x17, 0xB6, 0x71, 0x73))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PicturesTest() + { + Assert.That(FOLDERID_Pictures, Is.EqualTo(new Guid(0x33E28130, 0x4E1E, 0x4676, 0x83, 0x5A, 0x98, 0x39, 0x5C, 0x3B, 0xC3, 0xBB))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesX86Test() + { + Assert.That(FOLDERID_ProgramFilesX86, Is.EqualTo(new Guid(0x7C5A40EF, 0xA0FB, 0x4BFC, 0x87, 0x4A, 0xC0, 0xF2, 0xE0, 0xB9, 0xFA, 0x8E))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesCommonX86Test() + { + Assert.That(FOLDERID_ProgramFilesCommonX86, Is.EqualTo(new Guid(0xDE974D24, 0xD9C6, 0x4D3E, 0xBF, 0x91, 0xF4, 0x45, 0x51, 0x20, 0xB9, 0x17))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesX64Test() + { + Assert.That(FOLDERID_ProgramFilesX64, Is.EqualTo(new Guid(0x6d809377, 0x6af0, 0x444b, 0x89, 0x57, 0xa3, 0x77, 0x3f, 0x02, 0x20, 0x0e))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesCommonX64Test() + { + Assert.That(FOLDERID_ProgramFilesCommonX64, Is.EqualTo(new Guid(0x6365d5a7, 0xf0d, 0x45e5, 0x87, 0xf6, 0xd, 0xa5, 0x6b, 0x6a, 0x4f, 0x7d))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesTest() + { + Assert.That(FOLDERID_ProgramFiles, Is.EqualTo(new Guid(0x905e63b6, 0xc1bf, 0x494e, 0xb2, 0x9c, 0x65, 0xb7, 0x32, 0xd3, 0xd2, 0x1a))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ProgramFilesCommonTest() + { + Assert.That(FOLDERID_ProgramFilesCommon, Is.EqualTo(new Guid(0xF7F1ED05, 0x9F6D, 0x47A2, 0xAA, 0xAE, 0x29, 0xD3, 0x17, 0xC6, 0xF0, 0x66))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UserProgramFilesTest() + { + Assert.That(FOLDERID_UserProgramFiles, Is.EqualTo(new Guid(0x5cd7aee2, 0x2219, 0x4a67, 0xb8, 0x5d, 0x6c, 0x9c, 0xe1, 0x56, 0x60, 0xcb))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UserProgramFilesCommonTest() + { + Assert.That(FOLDERID_UserProgramFilesCommon, Is.EqualTo(new Guid(0xbcbd3057, 0xca5c, 0x4622, 0xb4, 0x2d, 0xbc, 0x56, 0xdb, 0x0a, 0xe5, 0x16))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AdminToolsTest() + { + Assert.That(FOLDERID_AdminTools, Is.EqualTo(new Guid(0x724EF170, 0xA42D, 0x4FEF, 0x9F, 0x26, 0xB6, 0x0E, 0x84, 0x6F, 0xBA, 0x4F))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonAdminToolsTest() + { + Assert.That(FOLDERID_CommonAdminTools, Is.EqualTo(new Guid(0xD0384E7D, 0xBAC3, 0x4797, 0x8F, 0x14, 0xCB, 0xA2, 0x29, 0xB3, 0x92, 0xB5))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_MusicTest() + { + Assert.That(FOLDERID_Music, Is.EqualTo(new Guid(0x4BD8D571, 0x6D19, 0x48D3, 0xBE, 0x97, 0x42, 0x22, 0x20, 0x08, 0x0E, 0x43))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_VideosTest() + { + Assert.That(FOLDERID_Videos, Is.EqualTo(new Guid(0x18989B1D, 0x99B5, 0x455B, 0x84, 0x1C, 0xAB, 0x7C, 0x74, 0xE4, 0xDD, 0xFC))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RingtonesTest() + { + Assert.That(FOLDERID_Ringtones, Is.EqualTo(new Guid(0xC870044B, 0xF49E, 0x4126, 0xA9, 0xC3, 0xB5, 0x2A, 0x1F, 0xF4, 0x11, 0xE8))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicPicturesTest() + { + Assert.That(FOLDERID_PublicPictures, Is.EqualTo(new Guid(0xB6EBFB86, 0x6907, 0x413C, 0x9A, 0xF7, 0x4F, 0xC2, 0xAB, 0xF0, 0x7C, 0xC5))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicMusicTest() + { + Assert.That(FOLDERID_PublicMusic, Is.EqualTo(new Guid(0x3214FAB5, 0x9757, 0x4298, 0xBB, 0x61, 0x92, 0xA9, 0xDE, 0xAA, 0x44, 0xFF))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicVideosTest() + { + Assert.That(FOLDERID_PublicVideos, Is.EqualTo(new Guid(0x2400183A, 0x6185, 0x49FB, 0xA2, 0xD8, 0x4A, 0x39, 0x2A, 0x60, 0x2B, 0xA3))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicRingtonesTest() + { + Assert.That(FOLDERID_PublicRingtones, Is.EqualTo(new Guid(0xE555AB60, 0x153B, 0x4D17, 0x9F, 0x04, 0xA5, 0xFE, 0x99, 0xFC, 0x15, 0xEC))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ResourceDirTest() + { + Assert.That(FOLDERID_ResourceDir, Is.EqualTo(new Guid(0x8AD10C31, 0x2ADB, 0x4296, 0xA8, 0xF7, 0xE4, 0x70, 0x12, 0x32, 0xC9, 0x72))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalizedResourcesDirTest() + { + Assert.That(FOLDERID_LocalizedResourcesDir, Is.EqualTo(new Guid(0x2A00375E, 0x224C, 0x49DE, 0xB8, 0xD1, 0x44, 0x0D, 0xF7, 0xEF, 0x3D, 0xDC))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonOEMLinksTest() + { + Assert.That(FOLDERID_CommonOEMLinks, Is.EqualTo(new Guid(0xC1BAE2D0, 0x10DF, 0x4334, 0xBE, 0xDD, 0x7A, 0xA2, 0x0B, 0x22, 0x7A, 0x9D))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CDBurningTest() + { + Assert.That(FOLDERID_CDBurning, Is.EqualTo(new Guid(0x9E52AB10, 0xF80D, 0x49DF, 0xAC, 0xB8, 0x43, 0x30, 0xF5, 0x68, 0x78, 0x55))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UserProfilesTest() + { + Assert.That(FOLDERID_UserProfiles, Is.EqualTo(new Guid(0x0762D272, 0xC50A, 0x4BB0, 0xA3, 0x82, 0x69, 0x7D, 0xCD, 0x72, 0x9B, 0x80))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PlaylistsTest() + { + Assert.That(FOLDERID_Playlists, Is.EqualTo(new Guid(0xDE92C1C7, 0x837F, 0x4F69, 0xA3, 0xBB, 0x86, 0xE6, 0x31, 0x20, 0x4A, 0x23))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SamplePlaylistsTest() + { + Assert.That(FOLDERID_SamplePlaylists, Is.EqualTo(new Guid(0x15CA69B3, 0x30EE, 0x49C1, 0xAC, 0xE1, 0x6B, 0x5E, 0xC3, 0x72, 0xAF, 0xB5))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SampleMusicTest() + { + Assert.That(FOLDERID_SampleMusic, Is.EqualTo(new Guid(0xB250C668, 0xF57D, 0x4EE1, 0xA6, 0x3C, 0x29, 0x0E, 0xE7, 0xD1, 0xAA, 0x1F))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SamplePicturesTest() + { + Assert.That(FOLDERID_SamplePictures, Is.EqualTo(new Guid(0xC4900540, 0x2379, 0x4C75, 0x84, 0x4B, 0x64, 0xE6, 0xFA, 0xF8, 0x71, 0x6B))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SampleVideosTest() + { + Assert.That(FOLDERID_SampleVideos, Is.EqualTo(new Guid(0x859EAD94, 0x2E85, 0x48AD, 0xA7, 0x1A, 0x09, 0x69, 0xCB, 0x56, 0xA6, 0xCD))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PhotoAlbumsTest() + { + Assert.That(FOLDERID_PhotoAlbums, Is.EqualTo(new Guid(0x69D2CF90, 0xFC33, 0x4FB7, 0x9A, 0x0C, 0xEB, 0xB0, 0xF0, 0xFC, 0xB4, 0x3C))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicTest() + { + Assert.That(FOLDERID_Public, Is.EqualTo(new Guid(0xDFDF76A2, 0xC82A, 0x4D63, 0x90, 0x6A, 0x56, 0x44, 0xAC, 0x45, 0x73, 0x85))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ChangeRemoveProgramsTest() + { + Assert.That(FOLDERID_ChangeRemovePrograms, Is.EqualTo(new Guid(0xdf7266ac, 0x9274, 0x4867, 0x8d, 0x55, 0x3b, 0xd6, 0x61, 0xde, 0x87, 0x2d))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppUpdatesTest() + { + Assert.That(FOLDERID_AppUpdates, Is.EqualTo(new Guid(0xa305ce99, 0xf527, 0x492b, 0x8b, 0x1a, 0x7e, 0x76, 0xfa, 0x98, 0xd6, 0xe4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AddNewProgramsTest() + { + Assert.That(FOLDERID_AddNewPrograms, Is.EqualTo(new Guid(0xde61d971, 0x5ebc, 0x4f02, 0xa3, 0xa9, 0x6c, 0x82, 0x89, 0x5e, 0x5c, 0x04))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DownloadsTest() + { + Assert.That(FOLDERID_Downloads, Is.EqualTo(new Guid(0x374de290, 0x123f, 0x4565, 0x91, 0x64, 0x39, 0xc4, 0x92, 0x5e, 0x46, 0x7b))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicDownloadsTest() + { + Assert.That(FOLDERID_PublicDownloads, Is.EqualTo(new Guid(0x3d644c9b, 0x1fb8, 0x4f30, 0x9b, 0x45, 0xf6, 0x70, 0x23, 0x5f, 0x79, 0xc0))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SavedSearchesTest() + { + Assert.That(FOLDERID_SavedSearches, Is.EqualTo(new Guid(0x7d1d3a04, 0xdebb, 0x4115, 0x95, 0xcf, 0x2f, 0x29, 0xda, 0x29, 0x20, 0xda))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_QuickLaunchTest() + { + Assert.That(FOLDERID_QuickLaunch, Is.EqualTo(new Guid(0x52a4f021, 0x7b75, 0x48a9, 0x9f, 0x6b, 0x4b, 0x87, 0xa2, 0x10, 0xbc, 0x8f))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ContactsTest() + { + Assert.That(FOLDERID_Contacts, Is.EqualTo(new Guid(0x56784854, 0xc6cb, 0x462b, 0x81, 0x69, 0x88, 0xe3, 0x50, 0xac, 0xb8, 0x82))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SidebarPartsTest() + { + Assert.That(FOLDERID_SidebarParts, Is.EqualTo(new Guid(0xa75d362e, 0x50fc, 0x4fb7, 0xac, 0x2c, 0xa8, 0xbe, 0xaa, 0x31, 0x44, 0x93))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SidebarDefaultPartsTest() + { + Assert.That(FOLDERID_SidebarDefaultParts, Is.EqualTo(new Guid(0x7b396e54, 0x9ec5, 0x4300, 0xbe, 0xa, 0x24, 0x82, 0xeb, 0xae, 0x1a, 0x26))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicGameTasksTest() + { + Assert.That(FOLDERID_PublicGameTasks, Is.EqualTo(new Guid(0xdebf2536, 0xe1a8, 0x4c59, 0xb6, 0xa2, 0x41, 0x45, 0x86, 0x47, 0x6a, 0xea))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_GameTasksTest() + { + Assert.That(FOLDERID_GameTasks, Is.EqualTo(new Guid(0x54fae61, 0x4dd8, 0x4787, 0x80, 0xb6, 0x9, 0x2, 0x20, 0xc4, 0xb7, 0x0))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SavedGamesTest() + { + Assert.That(FOLDERID_SavedGames, Is.EqualTo(new Guid(0x4c5c32ff, 0xbb9d, 0x43b0, 0xb5, 0xb4, 0x2d, 0x72, 0xe5, 0x4e, 0xaa, 0xa4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_GamesTest() + { + Assert.That(FOLDERID_Games, Is.EqualTo(new Guid(0xcac52c1a, 0xb53d, 0x4edc, 0x92, 0xd7, 0x6b, 0x2e, 0x8a, 0xc1, 0x94, 0x34))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SEARCH_MAPITest() + { + Assert.That(FOLDERID_SEARCH_MAPI, Is.EqualTo(new Guid(0x98ec0e18, 0x2098, 0x4d44, 0x86, 0x44, 0x66, 0x97, 0x93, 0x15, 0xa2, 0x81))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SEARCH_CSCTest() + { + Assert.That(FOLDERID_SEARCH_CSC, Is.EqualTo(new Guid(0xee32e446, 0x31ca, 0x4aba, 0x81, 0x4f, 0xa5, 0xeb, 0xd2, 0xfd, 0x6d, 0x5e))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LinksTest() + { + Assert.That(FOLDERID_Links, Is.EqualTo(new Guid(0xbfb9d5e0, 0xc6a9, 0x404c, 0xb2, 0xb2, 0xae, 0x6d, 0xb6, 0xaf, 0x49, 0x68))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UsersFilesTest() + { + Assert.That(FOLDERID_UsersFiles, Is.EqualTo(new Guid(0xf3ce0f7c, 0x4901, 0x4acc, 0x86, 0x48, 0xd5, 0xd4, 0x4b, 0x04, 0xef, 0x8f))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UsersLibrariesTest() + { + Assert.That(FOLDERID_UsersLibraries, Is.EqualTo(new Guid(0xa302545d, 0xdeff, 0x464b, 0xab, 0xe8, 0x61, 0xc8, 0x64, 0x8d, 0x93, 0x9b))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SearchHomeTest() + { + Assert.That(FOLDERID_SearchHome, Is.EqualTo(new Guid(0x190337d1, 0xb8ca, 0x4121, 0xa6, 0x39, 0x6d, 0x47, 0x2d, 0x16, 0x97, 0x2a))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_OriginalImagesTest() + { + Assert.That(FOLDERID_OriginalImages, Is.EqualTo(new Guid(0x2C36C0AA, 0x5812, 0x4b87, 0xbf, 0xd0, 0x4c, 0xd0, 0xdf, 0xb1, 0x9b, 0x39))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DocumentsLibraryTest() + { + Assert.That(FOLDERID_DocumentsLibrary, Is.EqualTo(new Guid(0x7b0db17d, 0x9cd2, 0x4a93, 0x97, 0x33, 0x46, 0xcc, 0x89, 0x02, 0x2e, 0x7c))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_MusicLibraryTest() + { + Assert.That(FOLDERID_MusicLibrary, Is.EqualTo(new Guid(0x2112ab0a, 0xc86a, 0x4ffe, 0xa3, 0x68, 0xd, 0xe9, 0x6e, 0x47, 0x1, 0x2e))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PicturesLibraryTest() + { + Assert.That(FOLDERID_PicturesLibrary, Is.EqualTo(new Guid(0xa990ae9f, 0xa03b, 0x4e80, 0x94, 0xbc, 0x99, 0x12, 0xd7, 0x50, 0x41, 0x4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_VideosLibraryTest() + { + Assert.That(FOLDERID_VideosLibrary, Is.EqualTo(new Guid(0x491e922f, 0x5643, 0x4af4, 0xa7, 0xeb, 0x4e, 0x7a, 0x13, 0x8d, 0x81, 0x74))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RecordedTVLibraryTest() + { + Assert.That(FOLDERID_RecordedTVLibrary, Is.EqualTo(new Guid(0x1a6fdba2, 0xf42d, 0x4358, 0xa7, 0x98, 0xb7, 0x4d, 0x74, 0x59, 0x26, 0xc5))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_HomeGroupTest() + { + Assert.That(FOLDERID_HomeGroup, Is.EqualTo(new Guid(0x52528a6b, 0xb9e3, 0x4add, 0xb6, 0xd, 0x58, 0x8c, 0x2d, 0xba, 0x84, 0x2d))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_HomeGroupCurrentUserTest() + { + Assert.That(FOLDERID_HomeGroupCurrentUser, Is.EqualTo(new Guid(0x9b74b6a3, 0xdfd, 0x4f11, 0x9e, 0x78, 0x5f, 0x78, 0x0, 0xf2, 0xe7, 0x72))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DeviceMetadataStoreTest() + { + Assert.That(FOLDERID_DeviceMetadataStore, Is.EqualTo(new Guid(0x5ce4a5e9, 0xe4eb, 0x479d, 0xb8, 0x9f, 0x13, 0x0c, 0x02, 0x88, 0x61, 0x55))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LibrariesTest() + { + Assert.That(FOLDERID_Libraries, Is.EqualTo(new Guid(0x1b3ea5dc, 0xb587, 0x4786, 0xb4, 0xef, 0xbd, 0x1d, 0xc3, 0x32, 0xae, 0xae))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicLibrariesTest() + { + Assert.That(FOLDERID_PublicLibraries, Is.EqualTo(new Guid(0x48daf80b, 0xe6cf, 0x4f4e, 0xb8, 0x00, 0x0e, 0x69, 0xd8, 0x4e, 0xe3, 0x84))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_UserPinnedTest() + { + Assert.That(FOLDERID_UserPinned, Is.EqualTo(new Guid(0x9e3995ab, 0x1f9c, 0x4f13, 0xb8, 0x27, 0x48, 0xb2, 0x4b, 0x6c, 0x71, 0x74))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ImplicitAppShortcutsTest() + { + Assert.That(FOLDERID_ImplicitAppShortcuts, Is.EqualTo(new Guid(0xbcb5256f, 0x79f6, 0x4cee, 0xb7, 0x25, 0xdc, 0x34, 0xe4, 0x2, 0xfd, 0x46))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AccountPicturesTest() + { + Assert.That(FOLDERID_AccountPictures, Is.EqualTo(new Guid(0x008ca0b1, 0x55b4, 0x4c56, 0xb8, 0xa8, 0x4d, 0xe4, 0xb2, 0x99, 0xd3, 0xbe))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_PublicUserTilesTest() + { + Assert.That(FOLDERID_PublicUserTiles, Is.EqualTo(new Guid(0x0482af6c, 0x08f1, 0x4c34, 0x8c, 0x90, 0xe1, 0x7e, 0xc9, 0x8b, 0x1e, 0x17))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppsFolderTest() + { + Assert.That(FOLDERID_AppsFolder, Is.EqualTo(new Guid(0x1e87508d, 0x89c2, 0x42f0, 0x8a, 0x7e, 0x64, 0x5a, 0x0f, 0x50, 0xca, 0x58))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_StartMenuAllProgramsTest() + { + Assert.That(FOLDERID_StartMenuAllPrograms, Is.EqualTo(new Guid(0xf26305ef, 0x6948, 0x40b9, 0xb2, 0x55, 0x81, 0x45, 0x3d, 0x9, 0xc7, 0x85))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CommonStartMenuPlacesTest() + { + Assert.That(FOLDERID_CommonStartMenuPlaces, Is.EqualTo(new Guid(0xa440879f, 0x87a0, 0x4f7d, 0xb7, 0x0, 0x2, 0x7, 0xb9, 0x66, 0x19, 0x4a))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ApplicationShortcutsTest() + { + Assert.That(FOLDERID_ApplicationShortcuts, Is.EqualTo(new Guid(0xa3918781, 0xe5f2, 0x4890, 0xb3, 0xd9, 0xa7, 0xe5, 0x43, 0x32, 0x32, 0x8c))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RoamingTilesTest() + { + Assert.That(FOLDERID_RoamingTiles, Is.EqualTo(new Guid(0xbcfc5a, 0xed94, 0x4e48, 0x96, 0xa1, 0x3f, 0x62, 0x17, 0xf2, 0x19, 0x90))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RoamedTileImagesTest() + { + Assert.That(FOLDERID_RoamedTileImages, Is.EqualTo(new Guid(0xaaa8d5a5, 0xf1d6, 0x4259, 0xba, 0xa8, 0x78, 0xe7, 0xef, 0x60, 0x83, 0x5e))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_ScreenshotsTest() + { + Assert.That(FOLDERID_Screenshots, Is.EqualTo(new Guid(0xb7bede81, 0xdf94, 0x4682, 0xa7, 0xd8, 0x57, 0xa5, 0x26, 0x20, 0xb8, 0x6f))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CameraRollTest() + { + Assert.That(FOLDERID_CameraRoll, Is.EqualTo(new Guid(0xab5fb87b, 0x7ce2, 0x4f83, 0x91, 0x5d, 0x55, 0x8, 0x46, 0xc9, 0x53, 0x7b))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SkyDriveTest() + { + Assert.That(FOLDERID_SkyDrive, Is.EqualTo(new Guid(0xa52bba46, 0xe9e1, 0x435f, 0xb3, 0xd9, 0x28, 0xda, 0xa6, 0x48, 0xc0, 0xf6))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_OneDriveTest() + { + Assert.That(FOLDERID_OneDrive, Is.EqualTo(new Guid(0xa52bba46, 0xe9e1, 0x435f, 0xb3, 0xd9, 0x28, 0xda, 0xa6, 0x48, 0xc0, 0xf6))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SkyDriveDocumentsTest() + { + Assert.That(FOLDERID_SkyDriveDocuments, Is.EqualTo(new Guid(0x24d89e24, 0x2f19, 0x4534, 0x9d, 0xde, 0x6a, 0x66, 0x71, 0xfb, 0xb8, 0xfe))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SkyDrivePicturesTest() + { + Assert.That(FOLDERID_SkyDrivePictures, Is.EqualTo(new Guid(0x339719b5, 0x8c47, 0x4894, 0x94, 0xc2, 0xd8, 0xf7, 0x7a, 0xdd, 0x44, 0xa6))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SkyDriveMusicTest() + { + Assert.That(FOLDERID_SkyDriveMusic, Is.EqualTo(new Guid(0xc3f2459e, 0x80d6, 0x45dc, 0xbf, 0xef, 0x1f, 0x76, 0x9f, 0x2b, 0xe7, 0x30))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SkyDriveCameraRollTest() + { + Assert.That(FOLDERID_SkyDriveCameraRoll, Is.EqualTo(new Guid(0x767e6811, 0x49cb, 0x4273, 0x87, 0xc2, 0x20, 0xf3, 0x55, 0xe1, 0x08, 0x5b))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SearchHistoryTest() + { + Assert.That(FOLDERID_SearchHistory, Is.EqualTo(new Guid(0x0d4c3db6, 0x03a3, 0x462f, 0xa0, 0xe6, 0x08, 0x92, 0x4c, 0x41, 0xb5, 0xd4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SearchTemplatesTest() + { + Assert.That(FOLDERID_SearchTemplates, Is.EqualTo(new Guid(0x7e636bfe, 0xdfa9, 0x4d5e, 0xb4, 0x56, 0xd7, 0xb3, 0x98, 0x51, 0xd8, 0xa9))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CameraRollLibraryTest() + { + Assert.That(FOLDERID_CameraRollLibrary, Is.EqualTo(new Guid(0x2b20df75, 0x1eda, 0x4039, 0x80, 0x97, 0x38, 0x79, 0x82, 0x27, 0xd5, 0xb7))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SavedPicturesTest() + { + Assert.That(FOLDERID_SavedPictures, Is.EqualTo(new Guid(0x3b193882, 0xd3ad, 0x4eab, 0x96, 0x5a, 0x69, 0x82, 0x9d, 0x1f, 0xb5, 0x9f))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_SavedPicturesLibraryTest() + { + Assert.That(FOLDERID_SavedPicturesLibrary, Is.EqualTo(new Guid(0xe25b5812, 0xbe88, 0x4bd9, 0x94, 0xb0, 0x29, 0x23, 0x34, 0x77, 0xb6, 0xc3))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RetailDemoTest() + { + Assert.That(FOLDERID_RetailDemo, Is.EqualTo(new Guid(0x12d4c69e, 0x24ad, 0x4923, 0xbe, 0x19, 0x31, 0x32, 0x1c, 0x43, 0xa7, 0x67))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DeviceTest() + { + Assert.That(FOLDERID_Device, Is.EqualTo(new Guid(0x1C2AC1DC, 0x4358, 0x4B6C, 0x97, 0x33, 0xAF, 0x21, 0x15, 0x65, 0x76, 0xF0))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_DevelopmentFilesTest() + { + Assert.That(FOLDERID_DevelopmentFiles, Is.EqualTo(new Guid(0xdbe8e08e, 0x3053, 0x4bbc, 0xb1, 0x83, 0x2a, 0x7b, 0x2b, 0x19, 0x1e, 0x59))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_Objects3DTest() + { + Assert.That(FOLDERID_Objects3D, Is.EqualTo(new Guid(0x31c0dd25, 0x9439, 0x4f12, 0xbf, 0x41, 0x7f, 0xf4, 0xed, 0xa3, 0x87, 0x22))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppCapturesTest() + { + Assert.That(FOLDERID_AppCaptures, Is.EqualTo(new Guid(0xedc0fe71, 0x98d8, 0x4f4a, 0xb9, 0x20, 0xc8, 0xdc, 0x13, 0x3c, 0xb1, 0x65))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalDocumentsTest() + { + Assert.That(FOLDERID_LocalDocuments, Is.EqualTo(new Guid(0xf42ee2d3, 0x909f, 0x4907, 0x88, 0x71, 0x4c, 0x22, 0xfc, 0x0b, 0xf7, 0x56))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalPicturesTest() + { + Assert.That(FOLDERID_LocalPictures, Is.EqualTo(new Guid(0x0ddd015d, 0xb06c, 0x45d5, 0x8c, 0x4c, 0xf5, 0x97, 0x13, 0x85, 0x46, 0x39))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalVideosTest() + { + Assert.That(FOLDERID_LocalVideos, Is.EqualTo(new Guid(0x35286a68, 0x3c57, 0x41a1, 0xbb, 0xb1, 0x0e, 0xae, 0x73, 0xd7, 0x6c, 0x95))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalMusicTest() + { + Assert.That(FOLDERID_LocalMusic, Is.EqualTo(new Guid(0xa0c69a99, 0x21c8, 0x4671, 0x87, 0x03, 0x79, 0x34, 0x16, 0x2f, 0xcf, 0x1d))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalDownloadsTest() + { + Assert.That(FOLDERID_LocalDownloads, Is.EqualTo(new Guid(0x7d83ee9b, 0x2244, 0x4e70, 0xb1, 0xf5, 0x53, 0x93, 0x04, 0x2a, 0xf1, 0xe4))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_RecordedCallsTest() + { + Assert.That(FOLDERID_RecordedCalls, Is.EqualTo(new Guid(0x2f8b40c2, 0x83ed, 0x48ee, 0xb3, 0x83, 0xa1, 0xf1, 0x57, 0xec, 0x6f, 0x9a))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AllAppModsTest() + { + Assert.That(FOLDERID_AllAppMods, Is.EqualTo(new Guid(0x7ad67899, 0x66af, 0x43ba, 0x91, 0x56, 0x6a, 0xad, 0x42, 0xe6, 0xc5, 0x96))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_CurrentAppModsTest() + { + Assert.That(FOLDERID_CurrentAppMods, Is.EqualTo(new Guid(0x3db40b20, 0x2a30, 0x4dbe, 0x91, 0x7e, 0x77, 0x1d, 0xd2, 0x1d, 0xd0, 0x99))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppDataDesktopTest() + { + Assert.That(FOLDERID_AppDataDesktop, Is.EqualTo(new Guid(0xb2c5e279, 0x7add, 0x439f, 0xb2, 0x8c, 0xc4, 0x1f, 0xe1, 0xbb, 0xf6, 0x72))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppDataDocumentsTest() + { + Assert.That(FOLDERID_AppDataDocuments, Is.EqualTo(new Guid(0x7be16610, 0x1f7f, 0x44ac, 0xbf, 0xf0, 0x83, 0xe1, 0x5f, 0x2f, 0xfc, 0xa1))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppDataFavoritesTest() + { + Assert.That(FOLDERID_AppDataFavorites, Is.EqualTo(new Guid(0x7cfbefbc, 0xde1f, 0x45aa, 0xb8, 0x43, 0xa5, 0x42, 0xac, 0x53, 0x6c, 0xc9))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_AppDataProgramDataTest() + { + Assert.That(FOLDERID_AppDataProgramData, Is.EqualTo(new Guid(0x559d40a3, 0xa036, 0x40fa, 0xaf, 0x61, 0x84, 0xcb, 0x43, 0xa, 0x4d, 0x34))); + } + + /// Validates that the value of the property is correct. + [Test] + public static void FOLDERID_LocalStorageTest() + { + Assert.That(FOLDERID_LocalStorage, Is.EqualTo(new Guid(0xB3EB08D3, 0xA1F3, 0x496B, 0x86, 0x5A, 0x42, 0xB5, 0x36, 0xCD, 0xA0, 0xEC))); + } +} From 42e119082d2f037aec7bd06fe473ab1814e7bb9c Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 12:08:28 -0700 Subject: [PATCH 11/12] Fixing Span returning properties in the SetupAPI and shellapi manual files --- .../SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs | 4 ++-- .../SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs | 4 ++-- .../SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs | 4 ++-- .../SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs | 4 ++-- .../SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs | 8 ++++---- .../SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs | 8 ++++---- .../SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs | 4 ++-- .../SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs | 4 ++-- .../SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs | 4 ++-- .../SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs | 4 ++-- .../SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs | 12 +++++------ .../SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs | 12 +++++------ .../SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs | 12 +++++------ .../SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs | 12 +++++------ .../SP_DRVINFO_DETAIL_DATA_A.Manual.cs | 12 +++++------ .../SP_DRVINFO_DETAIL_DATA_W.Manual.cs | 12 +++++------ .../SP_INF_SIGNER_INFO_V1_A.Manual.cs | 12 +++++------ .../SP_INF_SIGNER_INFO_V1_W.Manual.cs | 12 +++++------ .../SP_INF_SIGNER_INFO_V2_A.Manual.cs | 12 +++++------ .../SP_INF_SIGNER_INFO_V2_W.Manual.cs | 12 +++++------ .../SP_ORIGINAL_FILE_INFO_A.Manual.cs | 8 ++++---- .../SP_ORIGINAL_FILE_INFO_W.Manual.cs | 8 ++++---- .../SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs | 4 ++-- .../SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs | 4 ++-- .../SP_SELECTDEVICE_PARAMS_A.Manual.cs | 20 +++++++++---------- .../SP_SELECTDEVICE_PARAMS_W.Manual.cs | 16 +++++++-------- .../SP_TROUBLESHOOTER_PARAMS_A.Manual.cs | 8 ++++---- .../SP_TROUBLESHOOTER_PARAMS_W.Manual.cs | 8 ++++---- .../um/shellapi/NOTIFYICONDATAA.Manual.cs | 12 +++++------ .../um/shellapi/NOTIFYICONDATAW.Manual.cs | 12 +++++------ .../Windows/um/shellapi/SHFILEINFOA.Manual.cs | 8 ++++---- .../Windows/um/shellapi/SHFILEINFOW.Manual.cs | 8 ++++---- .../um/shellapi/SHSTOCKICONINFO.Manual.cs | 4 ++-- 33 files changed, 144 insertions(+), 144 deletions(-) diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs index 8066f45669..7c8f234c34 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs @@ -135,11 +135,11 @@ public Span FullTargetName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullTargetName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullTargetName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullTargetName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullTargetName[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs index 1cac484290..d3fe560295 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs @@ -135,11 +135,11 @@ public Span FullTargetName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullTargetName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullTargetName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullTargetName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullTargetName[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs index 92ffb09b2b..dc8dd9fa0b 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs @@ -55,11 +55,11 @@ public Span FullInfPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs index db4c614c27..a716391657 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs @@ -55,11 +55,11 @@ public Span FullInfPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs index 9254667fde..84670fcaf5 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs @@ -55,11 +55,11 @@ public Span FullInfPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 260); } } } @@ -86,11 +86,11 @@ public Span ReinstallInstance { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ReinstallInstance[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ReinstallInstance[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.ReinstallInstance[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ReinstallInstance[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs index cefbddd9b9..30e2ef61da 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs @@ -55,11 +55,11 @@ public Span FullInfPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.FullInfPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.FullInfPath[0], 260); } } } @@ -86,11 +86,11 @@ public Span ReinstallInstance { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ReinstallInstance[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ReinstallInstance[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.ReinstallInstance[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ReinstallInstance[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs index 0f3c10714c..3ae44acb4f 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs @@ -85,11 +85,11 @@ public Span RemoteMachineName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.RemoteMachineName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.RemoteMachineName[0], 263); } else { - return MemoryMarshal.CreateSpan(ref _value64.RemoteMachineName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.RemoteMachineName[0], 263); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs index 6c88463240..700207743e 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs @@ -85,11 +85,11 @@ public Span RemoteMachineName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.RemoteMachineName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.RemoteMachineName[0], 263); } else { - return MemoryMarshal.CreateSpan(ref _value64.RemoteMachineName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.RemoteMachineName[0], 263); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs index cc9a7cefd1..e1b9790471 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs @@ -181,11 +181,11 @@ public Span DriverPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DriverPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DriverPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DriverPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DriverPath[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs index 9f5af1488f..8eb6cf99ff 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs @@ -181,11 +181,11 @@ public Span DriverPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DriverPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DriverPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DriverPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DriverPath[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs index 660cdb5550..e3fd4769ac 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs @@ -87,11 +87,11 @@ public Span Description { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Description[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Description[0], 256); } } } @@ -103,11 +103,11 @@ public Span MfgName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 256); } } } @@ -119,11 +119,11 @@ public Span ProviderName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs index ca6ce36fa1..9345c97cf0 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs @@ -87,11 +87,11 @@ public Span Description { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Description[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Description[0], 256); } } } @@ -103,11 +103,11 @@ public Span MfgName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 256); } } } @@ -119,11 +119,11 @@ public Span ProviderName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs index 82f7359052..006ae67077 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs @@ -87,11 +87,11 @@ public Span Description { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Description[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Description[0], 256); } } } @@ -103,11 +103,11 @@ public Span MfgName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 256); } } } @@ -119,11 +119,11 @@ public Span ProviderName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs index c746729b27..96741452d9 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs @@ -87,11 +87,11 @@ public Span Description { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Description[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Description[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Description[0], 256); } } } @@ -103,11 +103,11 @@ public Span MfgName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.MfgName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.MfgName[0], 256); } } } @@ -119,11 +119,11 @@ public Span ProviderName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ProviderName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ProviderName[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs index e316fe0b6d..129c24aa66 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs @@ -118,11 +118,11 @@ public Span SectionName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.SectionName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.SectionName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.SectionName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.SectionName[0], 256); } } } @@ -134,11 +134,11 @@ public Span InfFileName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.InfFileName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.InfFileName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.InfFileName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.InfFileName[0], 260); } } } @@ -150,11 +150,11 @@ public Span DrvDescription { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DrvDescription[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DrvDescription[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.DrvDescription[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DrvDescription[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs index 0f60a3a8fb..0000135668 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs @@ -118,11 +118,11 @@ public Span SectionName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.SectionName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.SectionName[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.SectionName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.SectionName[0], 256); } } } @@ -134,11 +134,11 @@ public Span InfFileName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.InfFileName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.InfFileName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.InfFileName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.InfFileName[0], 260); } } } @@ -150,11 +150,11 @@ public Span DrvDescription { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DrvDescription[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DrvDescription[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.DrvDescription[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DrvDescription[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs index 9c15f7b74c..856356a3ee 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs @@ -55,11 +55,11 @@ public Span CatalogFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span DigitalSigner { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 260); } } } @@ -87,11 +87,11 @@ public Span DigitalSignerVersion { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs index f1beb26520..ef4ea5ccda 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs @@ -55,11 +55,11 @@ public Span CatalogFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span DigitalSigner { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 260); } } } @@ -87,11 +87,11 @@ public Span DigitalSignerVersion { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs index 05b13dfa87..8295c628c0 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs @@ -55,11 +55,11 @@ public Span CatalogFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span DigitalSigner { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 260); } } } @@ -87,11 +87,11 @@ public Span DigitalSignerVersion { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs index 62fa4032a5..42577eaa74 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs @@ -55,11 +55,11 @@ public Span CatalogFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.CatalogFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.CatalogFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span DigitalSigner { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSigner[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSigner[0], 260); } } } @@ -87,11 +87,11 @@ public Span DigitalSignerVersion { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.DigitalSignerVersion[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.DigitalSignerVersion[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs index bb1915392a..6ae3415287 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs @@ -55,11 +55,11 @@ public Span OriginalInfName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.OriginalInfName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.OriginalInfName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.OriginalInfName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.OriginalInfName[0], 260); } } } @@ -71,11 +71,11 @@ public Span OriginalCatalogName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.OriginalCatalogName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.OriginalCatalogName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.OriginalCatalogName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.OriginalCatalogName[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs index 21c04dae59..7aed898de6 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs @@ -55,11 +55,11 @@ public Span OriginalInfName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.OriginalInfName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.OriginalInfName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.OriginalInfName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.OriginalInfName[0], 260); } } } @@ -71,11 +71,11 @@ public Span OriginalCatalogName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.OriginalCatalogName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.OriginalCatalogName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.OriginalCatalogName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.OriginalCatalogName[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs index d8057f7a87..7cdf1c9052 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs @@ -55,11 +55,11 @@ public Span PowerMessageWake { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.PowerMessageWake[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.PowerMessageWake[0], 512); } else { - return MemoryMarshal.CreateSpan(ref _value64.PowerMessageWake[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.PowerMessageWake[0], 512); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs index d2c3f5f3f4..ded5e4a94b 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs @@ -55,11 +55,11 @@ public Span PowerMessageWake { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.PowerMessageWake[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.PowerMessageWake[0], 512); } else { - return MemoryMarshal.CreateSpan(ref _value64.PowerMessageWake[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.PowerMessageWake[0], 512); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs index f972eed461..67230d20f4 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs @@ -55,11 +55,11 @@ public Span Title { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Title[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Title[0], 60); } else { - return MemoryMarshal.CreateSpan(ref _value64.Title[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Title[0], 60); } } } @@ -71,11 +71,11 @@ public Span Instructions { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Instructions[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Instructions[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Instructions[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Instructions[0], 256); } } } @@ -87,11 +87,11 @@ public Span ListLabel { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ListLabel[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ListLabel[0], 30); } else { - return MemoryMarshal.CreateSpan(ref _value64.ListLabel[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ListLabel[0], 30); } } } @@ -103,11 +103,11 @@ public Span SubTitle { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.SubTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.SubTitle[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.SubTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.SubTitle[0], 256); } } } @@ -119,11 +119,11 @@ public Span Reserved { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Reserved[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Reserved[0], 2); } else { - return MemoryMarshal.CreateSpan(ref _value64.Reserved[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Reserved[0], 2); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs index ed09dd65a7..7b8a214c05 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs @@ -55,11 +55,11 @@ public Span Title { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Title[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Title[0], 60); } else { - return MemoryMarshal.CreateSpan(ref _value64.Title[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Title[0], 60); } } } @@ -71,11 +71,11 @@ public Span Instructions { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.Instructions[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.Instructions[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.Instructions[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.Instructions[0], 256); } } } @@ -87,11 +87,11 @@ public Span ListLabel { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ListLabel[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ListLabel[0], 30); } else { - return MemoryMarshal.CreateSpan(ref _value64.ListLabel[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ListLabel[0], 30); } } } @@ -103,11 +103,11 @@ public Span SubTitle { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.SubTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.SubTitle[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.SubTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.SubTitle[0], 256); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs index 075803a096..e8064aa635 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs @@ -55,11 +55,11 @@ public Span ChmFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ChmFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ChmFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.ChmFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ChmFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span HtmlTroubleShooter { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.HtmlTroubleShooter[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.HtmlTroubleShooter[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.HtmlTroubleShooter[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.HtmlTroubleShooter[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs index f6ee7a6249..4ded77043d 100644 --- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs +++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs @@ -55,11 +55,11 @@ public Span ChmFile { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.ChmFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.ChmFile[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.ChmFile[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.ChmFile[0], 260); } } } @@ -71,11 +71,11 @@ public Span HtmlTroubleShooter { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.HtmlTroubleShooter[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.HtmlTroubleShooter[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.HtmlTroubleShooter[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.HtmlTroubleShooter[0], 260); } } } diff --git a/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAA.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAA.Manual.cs index d9970b3727..8b7ea249de 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAA.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAA.Manual.cs @@ -130,11 +130,11 @@ public Span szTip { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szTip[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szTip[0], 128); } else { - return MemoryMarshal.CreateSpan(ref _value64.szTip[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szTip[0], 128); } } } @@ -178,11 +178,11 @@ public Span szInfo { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szInfo[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szInfo[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.szInfo[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szInfo[0], 256); } } } @@ -194,11 +194,11 @@ public Span szInfoTitle { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szInfoTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szInfoTitle[0], 64); } else { - return MemoryMarshal.CreateSpan(ref _value64.szInfoTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szInfoTitle[0], 64); } } } diff --git a/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAW.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAW.Manual.cs index bb3059c216..534137e04d 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAW.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/NOTIFYICONDATAW.Manual.cs @@ -130,11 +130,11 @@ public Span szTip { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szTip[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szTip[0], 128); } else { - return MemoryMarshal.CreateSpan(ref _value64.szTip[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szTip[0], 128); } } } @@ -178,11 +178,11 @@ public Span szInfo { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szInfo[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szInfo[0], 256); } else { - return MemoryMarshal.CreateSpan(ref _value64.szInfo[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szInfo[0], 256); } } } @@ -194,11 +194,11 @@ public Span szInfoTitle { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szInfoTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szInfoTitle[0], 64); } else { - return MemoryMarshal.CreateSpan(ref _value64.szInfoTitle[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szInfoTitle[0], 64); } } } diff --git a/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOA.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOA.Manual.cs index 66e3b787aa..f9f3b591f8 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOA.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOA.Manual.cs @@ -85,11 +85,11 @@ public Span szDisplayName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szDisplayName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szDisplayName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.szDisplayName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szDisplayName[0], 260); } } } @@ -101,11 +101,11 @@ public Span szTypeName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szTypeName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szTypeName[0], 80); } else { - return MemoryMarshal.CreateSpan(ref _value64.szTypeName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szTypeName[0], 80); } } } diff --git a/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOW.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOW.Manual.cs index f490aded22..ee087c732d 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOW.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/SHFILEINFOW.Manual.cs @@ -85,11 +85,11 @@ public Span szDisplayName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szDisplayName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szDisplayName[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.szDisplayName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szDisplayName[0], 260); } } } @@ -101,11 +101,11 @@ public Span szTypeName { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szTypeName[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szTypeName[0], 80); } else { - return MemoryMarshal.CreateSpan(ref _value64.szTypeName[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szTypeName[0], 80); } } } diff --git a/sources/Interop/Windows/Windows/um/shellapi/SHSTOCKICONINFO.Manual.cs b/sources/Interop/Windows/Windows/um/shellapi/SHSTOCKICONINFO.Manual.cs index 36d6776534..8e7ebd2c90 100644 --- a/sources/Interop/Windows/Windows/um/shellapi/SHSTOCKICONINFO.Manual.cs +++ b/sources/Interop/Windows/Windows/um/shellapi/SHSTOCKICONINFO.Manual.cs @@ -100,11 +100,11 @@ public Span szPath { if (sizeof(nint) == 4) { - return MemoryMarshal.CreateSpan(ref _value32.szPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value32.szPath[0], 260); } else { - return MemoryMarshal.CreateSpan(ref _value64.szPath[0], 1); + return MemoryMarshal.CreateSpan(ref _value64.szPath[0], 260); } } } From b1a260e1ac851f8ed6a3cdf2e65a91b6d7e6778e Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sun, 31 Jul 2022 12:20:42 -0700 Subject: [PATCH 12/12] Ensure there is no IID test for guidless types --- .../DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs | 7 ------- .../Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs | 7 ------- .../Windows/um/shdeprecated/CIE4ConnectionPointTests.cs | 7 ------- 3 files changed, 21 deletions(-) diff --git a/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs b/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs index ef9e5c9bcf..3a7d86b826 100644 --- a/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs +++ b/tests/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7Tests.cs @@ -13,13 +13,6 @@ namespace TerraFX.Interop.DirectX.UnitTests; /// Provides validation of the struct. public static unsafe partial class ID3D11On12On7Tests { - /// Validates that the of the struct is correct. - [Test] - public static void GuidOfTest() - { - Assert.That(typeof(ID3D11On12On7).GUID, Is.EqualTo(IID_ID3D11On12On7)); - } - /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs b/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs index a93463df3d..ccb678084f 100644 --- a/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs +++ b/tests/Interop/Windows/Windows/um/mfapi/MFASYNCRESULTTests.cs @@ -13,13 +13,6 @@ namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class MFASYNCRESULTTests { - /// Validates that the of the struct is correct. - [Test] - public static void GuidOfTest() - { - Assert.That(typeof(MFASYNCRESULT).GUID, Is.EqualTo(IID_tagMFASYNCRESULT)); - } - /// Validates that the struct is blittable. [Test] public static void IsBlittableTest() diff --git a/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs b/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs index 7c96568f1f..7e7d9eda92 100644 --- a/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs +++ b/tests/Interop/Windows/Windows/um/shdeprecated/CIE4ConnectionPointTests.cs @@ -13,13 +13,6 @@ namespace TerraFX.Interop.Windows.UnitTests; /// Provides validation of the struct. public static unsafe partial class CIE4ConnectionPointTests { - /// Validates that the of the struct is correct. - [Test] - public static void GuidOfTest() - { - Assert.That(typeof(CIE4ConnectionPoint).GUID, Is.EqualTo(IID_CIE4ConnectionPoint)); - } - /// Validates that the struct is blittable. [Test] public static void IsBlittableTest()