diff --git a/PInvoke/CldApi/cfapi.Funcs.cs b/PInvoke/CldApi/cfapi.Funcs.cs index 57cedb4e..cceac3b0 100644 --- a/PInvoke/CldApi/cfapi.Funcs.cs +++ b/PInvoke/CldApi/cfapi.Funcs.cs @@ -50,8 +50,8 @@ namespace Vanara.PInvoke // CF_CONNECTION_KEY *ConnectionKey ); [DllImport(Lib.CldApi, SetLastError = false, ExactSpelling = true)] [PInvokeData("cfapi.h", MSDNShortId = "287DA978-9797-48DF-9C90-BA53BB82475C")] - public static extern HRESULT CfConnectSyncRoot([MarshalAs(UnmanagedType.LPWStr)] string SyncRootPath, in CF_CALLBACK_REGISTRATION CallbackTable, [In, Optional] IntPtr CallbackContext, - CF_CONNECT_FLAGS ConnectFlags, out CF_CONNECTION_KEY ConnectionKey); + public static extern HRESULT CfConnectSyncRoot([MarshalAs(UnmanagedType.LPWStr)] string SyncRootPath, [In, MarshalAs(UnmanagedType.LPArray)] CF_CALLBACK_REGISTRATION[] CallbackTable, + [In, Optional] IntPtr CallbackContext, CF_CONNECT_FLAGS ConnectFlags, out CF_CONNECTION_KEY ConnectionKey); /// Converts a normal file/directory to a placeholder file/directory. /// Handle to the file or directory to be converted.