Skip to content

Commit 1fb0856

Browse files
committed
correct the signature for UrlApplyScheme
1 parent bd4e5f5 commit 1fb0856

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

FlashpointSecurePlayer/Shared.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,14 @@ uint cchBuffer
192192

193193
[Flags]
194194
public enum URL_APPLYFlags : uint {
195+
Zero = 0x00000000,
195196
URL_APPLY_DEFAULT = 0x00000001,
196197
URL_APPLY_GUESSSCHEME = 0x00000002,
197198
URL_APPLY_GUESSFILE = 0x00000004,
198199
URL_APPLY_FORCEAPPLY = 0x00000008
199200
}
200201

201-
[DllImport("SHLWAPI.DLL", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)]
202+
[DllImport("Shlwapi.dll", CharSet = CharSet.Auto)]
202203
public static extern int UrlApplyScheme(
203204
[MarshalAs(UnmanagedType.LPTStr)]
204205
string pszIn,

0 commit comments

Comments
 (0)