Esempio n. 1
0
 public static extern bool DuplicateTokenEx(
     IntPtr hExistingToken,
     uint dwDesiredAccess,
     IntPtr lpTokenAttributes,
     NativeConstants.SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
     NativeConstants.TOKEN_TYPE TokenType,
     out IntPtr phNewToken);
Esempio n. 2
0
 void NativeInterfaces.IFileDialogEvents.OnOverwrite(
     NativeInterfaces.IFileDialog pfd,
     NativeInterfaces.IShellItem psi,
     out NativeConstants.FDE_OVERWRITE_RESPONSE pResponse)
 {
     pResponse = NativeConstants.FDE_OVERWRITE_RESPONSE.FDEOR_DEFAULT;
 }
Esempio n. 3
0
 void NativeInterfaces.IFileDialogEvents.OnShareViolation(
     NativeInterfaces.IFileDialog pfd,
     NativeInterfaces.IShellItem psi,
     out NativeConstants.FDE_SHAREVIOLATION_RESPONSE pResponse)
 {
     pResponse = NativeConstants.FDE_SHAREVIOLATION_RESPONSE.FDESVR_DEFAULT;
 }