From 1a68d72ebd1c68142e223f5e2072c4927b534885 Mon Sep 17 00:00:00 2001 From: dahall Date: Sun, 26 Apr 2020 14:10:14 -0600 Subject: [PATCH] Changed CF_CALLBACK to simplify second param --- PInvoke/CldApi/cfapi.Funcs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PInvoke/CldApi/cfapi.Funcs.cs b/PInvoke/CldApi/cfapi.Funcs.cs index cceac3b0..297d332e 100644 --- a/PInvoke/CldApi/cfapi.Funcs.cs +++ b/PInvoke/CldApi/cfapi.Funcs.cs @@ -12,7 +12,7 @@ namespace Vanara.PInvoke /// The callback information. /// The callback parameters. [UnmanagedFunctionPointer(CallingConvention.Winapi)] - public delegate void CF_CALLBACK(in CF_CALLBACK_INFO CallbackInfo, in CF_CALLBACK_PARAMETERS CallbackParameters); + public delegate void CF_CALLBACK(in CF_CALLBACK_INFO CallbackInfo, IntPtr CallbackParameters); /// /// Closes the file or directory handle returned by CfOpenFileWithOplock. This should not be used with standard Win32 file handles,