Example #1
0
 public static extern IntPtr CreateConsoleScreenBuffer(
     uint dwDesiredAccess, uint dwShareMode, ref SECURITY_ATTRIBUTES lpSecurityAttributes, CONSOLE_TEXTMODE dwFlags, IntPtr lpScreenBufferData);
Example #2
0
 public static extern bool CreateHardLink(
     [In] [MarshalAs(UnmanagedType.LPTStr)] string lpFileName, [In] [MarshalAs(UnmanagedType.LPTStr)] string lpExistingFileName,
     ref SECURITY_ATTRIBUTES lpSecurityAttributes);