/// <summary>
/// The callback function that is invoked when security origin list is acquired.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate void SecurityOriginListAcquiredCallback(IList<WebSecurityOrigin> list);
/// <summary>
/// The callback function that is invoked when storage usage is acquired.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate void StorageUsageAcquiredCallback(ulong usage);
/// <summary>
/// The callback function that is invoked when password data list is acquired.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate void PasswordDataListAcquiredCallback(IList<WebPasswordData> list);
/// <summary>
/// The callback function that is invoked when download is started.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate void DownloadStartedCallback(string url);
/// <summary>
/// The callback function that is invoked when current mime type need be overridden.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate bool MimeOverriddenCallback(string url, string currentMime, out string newMime);
/// <summary>
/// The callback function that is invoked when http request need be intercepted.
/// </summary>
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate void HttpRequestInterceptedCallback(WebHttpRequestInterceptor interceptor);
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
private delegate void WebContextSecurityOriginListAcquiredProxyCallback(IntPtr list);
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
private delegate void WebContextPasswordDataListAcquiredProxyCallback(IntPtr list);
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
private delegate void WebContextHttpRequestInterceptedProxyCallback(IntPtr interceptor);
/// <summary>