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