示例#1
0
 internal static extern SafeFileHandle CreateFile(
     [In] string lpFileName,
     [In] int dwDesiredAccess,
     [In] int dwShareMode,
     [In] SecurityAttributes lpSecurityAttributes,
     [In] int dwCreationDisposition,
     [In] int dwFlagsAndAttributes,
     [In] SafeFileHandle hTemplateFile);
示例#2
0
 SafeFileHandle IWindowsFacade.CreateFile(string lpFileName, int dwDesiredAccess, int dwShareMode,
                                          SecurityAttributes lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes,
                                          SafeFileHandle hTemplateFile)
 {
     return(CreateFile(lpFileName, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile));
 }