Skip to content

Commit

Permalink
SC_HANDLE should be a managed SafeHandle derived type. Fixed #1852.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed Feb 22, 2024
1 parent 18e0afc commit 9d6d88a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generation/WinSDK/autoTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,9 +964,10 @@
"NativeTypedef": true
},
{
"Namespace": "Windows.Win32.Security",
"Namespace": "Windows.Win32.System.Services",
"Name": "SC_HANDLE",
"ValueType": "DECLARE_HANDLE",
"CloseApi": "CloseServiceHandle",
"InvalidHandleValues": [ -1, 0 ],
"NativeTypedef": true
},
Expand Down
3 changes: 3 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# fix IoRing api results
Windows.Win32.Storage.FileSystem.Apis.PopIoRingCompletion : [DllImport(api-ms-win-core-ioring-l1-1-0.dll,ExactSpelling=True,PreserveSig=False),Documentation(https://learn.microsoft.com/windows/win32/api/ioringapi/nf-ioringapi-popioringcompletion)] => [CanReturnMultipleSuccessValues,DllImport(api-ms-win-core-ioring-l1-1-0.dll,ExactSpelling=True,PreserveSig=False),Documentation(https://learn.microsoft.com/windows/win32/api/ioringapi/nf-ioringapi-popioringcompletion)]
# Fixed #1852.
Windows.Win32.Security.SC_HANDLE removed
Windows.Win32.System.Services.SC_HANDLE added

0 comments on commit 9d6d88a

Please sign in to comment.