From 673cfe18e87723d5c427a2f71545676f6fc40d0a Mon Sep 17 00:00:00 2001 From: Rafael Rivera Date: Fri, 1 Apr 2022 11:32:12 -0700 Subject: [PATCH] Add InvalidHandleAttribute to HINSTANCE (#864) * Add InvalidHandleAttribute to HINSTANCE * Update baseline --- generation/WinSDK/autoTypes.json | 3 ++- scripts/BaselineWinmd/Windows.Win32.winmd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/generation/WinSDK/autoTypes.json b/generation/WinSDK/autoTypes.json index ae728be72..13d8dabc9 100644 --- a/generation/WinSDK/autoTypes.json +++ b/generation/WinSDK/autoTypes.json @@ -26,7 +26,8 @@ "Namespace": "Windows.Win32.Foundation", "Name": "HINSTANCE", "ValueType": "DECLARE_HANDLE", - "CloseApi": "FreeLibrary" + "CloseApi": "FreeLibrary", + "InvalidHandleValues": [ 0 ] }, { "Namespace": "Windows.Win32.Foundation", diff --git a/scripts/BaselineWinmd/Windows.Win32.winmd b/scripts/BaselineWinmd/Windows.Win32.winmd index dc74b1c9a..742bebb9d 100644 --- a/scripts/BaselineWinmd/Windows.Win32.winmd +++ b/scripts/BaselineWinmd/Windows.Win32.winmd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:64ee5654ad1232c8ed52c00d6f06db8465e1933e7d8a68ecbfbcc517c02dd2db +oid sha256:6483dddc814ba9c775c5aa4798bf9d6dfbe8b650c3d601b9f03dd3c7efef8118 size 16089600