C# Class Tiny.Interop.Win32.Win32Platform

Inheritance: NativePlatform
Exibir arquivo Open project: scottwis/tiny Class Usage Examples

Public Methods

Method Description
MemoryMapFile ( string fileName ) : IUnsafeMemoryMap
StrLen ( byte pData, int maxLength ) : int
WcsLen ( char pData, int maxLength ) : int

Private Methods

Method Description
CloseHandle ( IntPtr hObject ) : bool
CreateFile ( [ lpFileName, FileAccess dwDesiredAccess, ShareMode dwShareMode, IntPtr lpSecurityAttributes, CreationDisposition dwCreationDisposition, CreateFileAttributes dwFlagsAndAttributes, IntPtr hTemplateFile ) : IntPtr
CreateFileMapping ( IntPtr hFile, IntPtr lpAttributes, ProtectionFlags flProtect, uint dwMaxiumSizeHigh, uint dwMaximumSizeLow, [ lpName ) : IntPtr
GetFileSize ( IntPtr hFile, uint &lpFileSizeHigh ) : uint
MapViewOfFile ( IntPtr hFileMappingObject, FileMapAccess dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, IntPtr dwNumberOfBytesToMap ) : void*
StrNLen ( byte pData, UIntPtr maxCount ) : UIntPtr
UnmapViewOfFile ( void lpBaseAddress ) : bool
WcsNLen ( char pData, UIntPtr maxCount ) : UIntPtr

Method Details

MemoryMapFile() public method

public MemoryMapFile ( string fileName ) : IUnsafeMemoryMap
fileName string
return IUnsafeMemoryMap

StrLen() public method

public StrLen ( byte pData, int maxLength ) : int
pData byte
maxLength int
return int

WcsLen() public method

public WcsLen ( char pData, int maxLength ) : int
pData char
maxLength int
return int