C# 클래스 Interop

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
CheckForAvailableVirtualMemory ( ulong nativeSize ) : void
CreateFileMapping ( IntPtr hFile, Kernel32 &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
CreateFileMapping ( IntPtr hFile, mincore &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
CreateFileMapping ( SafeFileHandle, hFile, Kernel32 &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
CreateFileMapping ( SafeFileHandle, hFile, mincore &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
MapViewOfFile ( SafeMemoryMappedFileHandle hFileMappingObject, int desiredAccess, long fileOffset, UIntPtr numberOfBytesToMap ) : SafeMemoryMappedViewHandle
OpenFileMapping ( int desiredAccess, bool inheritHandle, string name ) : SafeMemoryMappedFileHandle
VirtualAlloc ( SafeHandle baseAddress, UIntPtr size, int allocationType, int protection ) : IntPtr

비공개 메소드들

메소드 설명
HRESULT_FROM_WIN32 ( int errorCode ) : int
MapSecurityStatus ( uint statusCode ) : string
SplitLong ( long number, int &high, int &low ) : void

메소드 상세

CheckForAvailableVirtualMemory() 공개 정적인 메소드

public static CheckForAvailableVirtualMemory ( ulong nativeSize ) : void
nativeSize ulong
리턴 void

CreateFileMapping() 공개 정적인 메소드

public static CreateFileMapping ( IntPtr hFile, Kernel32 &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
hFile IntPtr
securityAttributes Kernel32
pageProtection int
maximumSize long
name string
리턴 SafeMemoryMappedFileHandle

CreateFileMapping() 공개 정적인 메소드

public static CreateFileMapping ( IntPtr hFile, mincore &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
hFile IntPtr
securityAttributes mincore
pageProtection int
maximumSize long
name string
리턴 SafeMemoryMappedFileHandle

CreateFileMapping() 공개 정적인 메소드

public static CreateFileMapping ( SafeFileHandle, hFile, Kernel32 &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
hFile SafeFileHandle,
securityAttributes Kernel32
pageProtection int
maximumSize long
name string
리턴 SafeMemoryMappedFileHandle

CreateFileMapping() 공개 정적인 메소드

public static CreateFileMapping ( SafeFileHandle, hFile, mincore &securityAttributes, int pageProtection, long maximumSize, string name ) : SafeMemoryMappedFileHandle
hFile SafeFileHandle,
securityAttributes mincore
pageProtection int
maximumSize long
name string
리턴 SafeMemoryMappedFileHandle

MapViewOfFile() 공개 정적인 메소드

public static MapViewOfFile ( SafeMemoryMappedFileHandle hFileMappingObject, int desiredAccess, long fileOffset, UIntPtr numberOfBytesToMap ) : SafeMemoryMappedViewHandle
hFileMappingObject SafeMemoryMappedFileHandle
desiredAccess int
fileOffset long
numberOfBytesToMap UIntPtr
리턴 SafeMemoryMappedViewHandle

OpenFileMapping() 공개 정적인 메소드

public static OpenFileMapping ( int desiredAccess, bool inheritHandle, string name ) : SafeMemoryMappedFileHandle
desiredAccess int
inheritHandle bool
name string
리턴 SafeMemoryMappedFileHandle

VirtualAlloc() 공개 정적인 메소드

public static VirtualAlloc ( SafeHandle baseAddress, UIntPtr size, int allocationType, int protection ) : IntPtr
baseAddress SafeHandle
size UIntPtr
allocationType int
protection int
리턴 IntPtr