Ejemplo n.º 1
0
 internal extern static SafeFileHandle CreateFile(
     string lpFileName,
     uint dwDesiredAccess,
     uint dwShareMode,
     IntPtr lpSecurityAttributes,
     CREATION_DISPOSITION dwCreationDisposition,
     uint dwFlagsAndAttributes,
     IntPtr hTemplateFile
     );
Ejemplo n.º 2
0
 private static extern SafeFileHandle CreateFile(
     string lpFileName,
     Winnt.ACCESS_MASK dwDesiredAccess,
     SHARE_MODE dwShareMode,
     IntPtr lpSecurityAttributes,
     CREATION_DISPOSITION dwCreationDisposition,
     FILE_ATTRIBUTES dwFlagsAndAttributes,
     IntPtr hTemplateFile
     );
Ejemplo n.º 3
0
 internal extern static SafeFileHandle CreateFile(
     String lpFileName,
     UInt32 dwDesiredAccess,
     UInt32 dwShareMode,
     IntPtr lpSecurityAttributes,
     CREATION_DISPOSITION dwCreationDisposition,
     UInt32 dwFlagsAndAttributes,
     IntPtr hTemplateFile
     );