mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixes for CharSet marshaling, this caused problems with the IE Capturing.
This commit is contained in:
parent
d1c7ee5e87
commit
aad04bc9d7
7 changed files with 16 additions and 16 deletions
|
@ -583,7 +583,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// http://www.pinvoke.net/default.aspx/credui.CredUIPromptForCredentialsW
|
||||
/// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthn/security/creduipromptforcredentials.asp
|
||||
/// </summary>
|
||||
[DllImport("credui", EntryPoint="CredUIPromptForCredentialsW", CharSet=CharSet.Unicode)]
|
||||
[DllImport("credui", CharSet=CharSet.Unicode)]
|
||||
public static extern ReturnCodes PromptForCredentials(
|
||||
ref INFO creditUR,
|
||||
string targetName,
|
||||
|
@ -601,7 +601,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// http://www.pinvoke.net/default.aspx/credui.CredUIConfirmCredentials
|
||||
/// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthn/security/creduiconfirmcredentials.asp
|
||||
/// </summary>
|
||||
[DllImport("credui.dll", EntryPoint="CredUIConfirmCredentialsW", CharSet=CharSet.Unicode)]
|
||||
[DllImport("credui.dll", CharSet=CharSet.Unicode)]
|
||||
public static extern ReturnCodes ConfirmCredentials(string targetName, bool confirm);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue