Skip to content

Commit 56ae307

Browse files
Lamparter0x5bfa
andauthored
Fix overload signature
Co-authored-by: 0x5BFA <[email protected]> Signed-off-by: Lamparter <[email protected]>
1 parent 8e77d85 commit 56ae307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private async void Window_Closed(object sender, WindowEventArgs args)
229229
{
230230
fixed (char* fileDialog = "FILEDIALOG")
231231
{
232-
HANDLE eventHandle = PInvoke.CreateEvent(bManualReset: false, bInitialState: false, lpName: fileDialog);
232+
HANDLE eventHandle = PInvoke.CreateEvent((SECURITY_ATTRIBUTES*)null, false, false, fileDialog);
233233
PInvoke.SetEvent(eventHandle);
234234
PInvoke.CloseHandle(eventHandle);
235235
}

0 commit comments

Comments
 (0)