Esempio n. 1
0
 public static extern IntPtr CreateFile(
     string Filename,
     int DesiredAccess,
     int ShareMode,
     [In][MarshalAs(UnmanagedType.LPStruct)] SecurityAttributes SecAttr,
     int CreationDisposition,
     int FlagsAndAttributes,
     IntPtr TemplateFile);
Esempio n. 2
0
 public static extern IntPtr CreateConsoleScreenBuffer(
     int dwDesiredAccess,
     int dwShareMode,
     [In, Out][MarshalAs(UnmanagedType.LPStruct)] SecurityAttributes lpSecurityAttributes,
     int dwFlags,
     IntPtr lpScreenBufferData);