Beispiel #1
0
 public static extern IntPtr MapViewOfFile(
     IntPtr hFileMappingObject,          // handle to file-mapping object
     Win32FileMapAccess dwDesiredAccess, // Access mode
     uint dwFileOffsetHigh,              // High-order DWORD of offset
     uint dwFileOffsetLow,               // Low-order DWORD of offset
     uint dwNumberOfBytesToMap           // Number of bytes to map
     );
        public static extern IntPtr OpenFileMapping(
			Win32FileMapAccess dwDesiredAccess, // Access mode
			bool isInheritHandle, // Inherit flag
			string lpName // Object name
			);
        public static extern IntPtr MapViewOfFile(
			IntPtr hFileMappingObject, // handle to file-mapping object
			Win32FileMapAccess dwDesiredAccess, // Access mode
			uint dwFileOffsetHigh, // High-order DWORD of offset
			uint dwFileOffsetLow, // Low-order DWORD of offset
			uint dwNumberOfBytesToMap // Number of bytes to map
			);
Beispiel #4
0
 public static extern IntPtr OpenFileMapping(
     Win32FileMapAccess dwDesiredAccess, // Access mode
     bool isInheritHandle,               // Inherit flag
     string lpName                       // Object name
     );
 public static extern IntPtr OpenFileMapping(Win32FileMapAccess dwDesiredAccess, bool isInheritHandle, string lpName);
 public static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject, Win32FileMapAccess dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap);