C# Class Microsoft.Win32.Win32Native

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Methods

Méthode Description
CloseHandle ( IntPtr handle ) : bool
CopyFile ( String src, String dst, bool failIfExists ) : bool
CopyMemoryAnsi ( IntPtr pdst, String psrc, IntPtr sizetcb ) : void
CopyMemoryAnsi ( StringBuilder pdst, IntPtr psrc, IntPtr sizetcb ) : void
CopyMemoryUni ( IntPtr pdst, String psrc, IntPtr sizetcb ) : void
CopyMemoryUni ( StringBuilder pdst, IntPtr psrc, IntPtr sizetcb ) : void
CreateAssemblyEnum ( SafeFusionHandle &ppEnum, SafeFusionHandle pAppCtx, SafeFusionHandle pName, uint dwFlags, IntPtr pvReserved ) : int
CreateAssemblyNameObject ( SafeFusionHandle &ppEnum, String szAssemblyName, uint dwFlags, IntPtr pvReserved ) : int
CreateDirectory ( String path, SECURITY_ATTRIBUTES lpSecurityAttributes ) : bool
CreateEvent ( SECURITY_ATTRIBUTES lpSecurityAttributes, bool isManualReset, bool initialState, String name ) : SafeWaitHandle
CreateFile ( String lpFileName, int dwDesiredAccess, System dwShareMode, SECURITY_ATTRIBUTES securityAttrs, System dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile ) : SafeFileHandle
CreateFileMapping ( SafeFileHandle hFile, IntPtr lpAttributes, uint fProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, String lpName ) : SafeFileMappingHandle
CreateMutex ( SECURITY_ATTRIBUTES lpSecurityAttributes, bool initialOwner, String name ) : SafeWaitHandle
CryptAcquireContext ( IntPtr &hProv, [ container, [ provider, int provType, int flags ) : bool
CryptCreateHash ( IntPtr hProv, int Algid, IntPtr hKey, int flags, IntPtr &hHash ) : bool
CryptDestroyHash ( IntPtr hHash ) : bool
CryptGetHashParam ( IntPtr hHash, int param, [ digest, int &length, int flags ) : bool
CryptGetHashParam ( IntPtr hHash, int param, int &data, int &length, int flags ) : bool
CryptHashData ( IntPtr hHash, [ data, int length, int flags ) : bool
CryptReleaseContext ( IntPtr hProv, int flags ) : bool
DecryptFile ( String path, int reservedMustBeZero ) : bool
DeleteFile ( String path ) : bool
DeleteVolumeMountPoint ( String mountPoint ) : bool
EncryptFile ( String path ) : bool
FetchConfigurationString ( bool perMachine, String parameterName, StringBuilder parameterValue, int parameterValueLength ) : bool
FindClose ( IntPtr handle ) : bool
FindFirstFile ( String fileName, [ data ) : SafeFindHandle
FindNextFile ( SafeFindHandle hndFindFile, [ lpFindFileData ) : bool
FormatMessage ( int dwFlags, IntPtr lpSource, int dwMessageId, int dwLanguageId, StringBuilder lpBuffer, int nSize, IntPtr va_list_arguments ) : int
GetACP ( ) : int
GetCalendarInfo ( int Locale, int Calendar, int CalType, StringBuilder lpCalData, int cchData, IntPtr lpValue ) : int
GetComputerName ( StringBuilder nameBuffer, int &bufferSize ) : int
GetConsoleCP ( ) : uint
GetConsoleOutputCP ( ) : uint
GetCurrentDirectory ( int nBufferLength, StringBuilder lpBuffer ) : int
GetDiskFreeSpaceEx ( String drive, long &freeBytesForUser, long &totalBytes, long &freeBytes ) : bool
GetDriveType ( String drive ) : int
GetEnvironmentVariable ( string lpName, StringBuilder lpValue, int size ) : int
GetFileAttributesEx ( String name, int fileInfoLevel, WIN32_FILE_ATTRIBUTE_DATA &lpFileInformation ) : bool
GetFileSize ( SafeFileHandle hFile, int &highSize ) : int
GetFileType ( SafeFileHandle handle ) : int
GetFullPathName ( [ path, int numBufferChars, [ buffer, IntPtr mustBeZero ) : int
GetFullPathName ( char path, int numBufferChars, char buffer, IntPtr mustBeZero ) : int
GetLogicalDrives ( ) : int
GetLongPathName ( String path, StringBuilder longPathBuffer, int bufferLength ) : int
GetLongPathName ( [ path, [ longPathBuffer, int bufferLength ) : int
GetLongPathName ( char path, char longPathBuffer, int bufferLength ) : int
GetStdHandle ( int nStdHandle ) : IntPtr
GetSystemDirectory ( StringBuilder sb, int length ) : int
GetSystemInfo ( SYSTEM_INFO &lpSystemInfo ) : void
GetTempFileName ( String tmpPath, String prefix, uint uniqueIdOrZero, StringBuilder tmpFileName ) : uint
GetTempPath ( int bufferLen, StringBuilder buffer ) : uint
GetUserName ( StringBuilder lpBuffer, int &nSize ) : bool
GetVersionEx ( [ ver ) : bool
GetVolumeInformation ( String drive, StringBuilder volumeName, int volumeNameBufLen, int &volSerialNumber, int &maxFileNameLen, int &fileSystemFlags, StringBuilder fileSystemName, int fileSystemNameBufLen ) : bool
LocalAlloc_NoSafeHandle ( int uFlags, IntPtr sizetdwBytes ) : IntPtr
LocalFree ( IntPtr handle ) : IntPtr
LockFile ( SafeFileHandle handle, int offsetLow, int offsetHigh, int countLow, int countHigh ) : bool
MakeHRFromErrorCode ( int errorCode ) : int
MapViewOfFile ( SafeFileMappingHandle handle, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, UIntPtr dwNumerOfBytesToMap ) : SafeViewOfFileHandle
MoveFile ( String src, String dst ) : bool
OpenEvent ( int desiredAccess, bool inheritHandle, String name ) : SafeWaitHandle
OpenMutex ( int desiredAccess, bool inheritHandle, String name ) : SafeWaitHandle
Random ( bool bStrong, [ buffer, int length ) : bool
ReadFile ( SafeFileHandle handle, byte bytes, int numBytesToRead, IntPtr numBytesRead_mustBeZero, NativeOverlapped overlapped ) : int
ReadFile ( SafeFileHandle handle, byte bytes, int numBytesToRead, int &numBytesRead, IntPtr mustBeZero ) : int
ReleaseMutex ( SafeWaitHandle handle ) : bool
RemoveDirectory ( String path ) : bool
ReplaceFile ( String replacedFileName, String replacementFileName, String backupFileName, int dwReplaceFlags, IntPtr lpExclude, IntPtr lpReserved ) : bool
ResetEvent ( SafeWaitHandle handle ) : bool
SafeCreateFile ( String lpFileName, int dwDesiredAccess, System dwShareMode, SECURITY_ATTRIBUTES securityAttrs, System dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile ) : SafeFileHandle
SetConsoleCP ( uint codePage ) : bool
SetConsoleCtrlHandler ( ConsoleCtrlHandlerRoutine handler, bool addOrRemove ) : bool
SetConsoleOutputCP ( uint codePage ) : bool
SetCurrentDirectory ( String path ) : bool
SetEndOfFile ( SafeFileHandle hFile ) : bool
SetEnvironmentVariable ( string lpName, string lpValue ) : bool
SetErrorMode ( int newMode ) : int
SetEvent ( SafeWaitHandle handle ) : bool
SetFileAttributes ( String name, int attr ) : bool
SetFilePointer ( SafeFileHandle handle, long offset, System origin, int &hr ) : long
SetFilePointerWin32 ( SafeFileHandle handle, int lo, int hi, int origin ) : int
SetFileTime ( SafeFileHandle hFile, FILE_TIME creationTime, FILE_TIME lastAccessTime, FILE_TIME lastWriteTime ) : bool
SetLastError ( int errorCode ) : void
SetVolumeLabel ( String driveLetter, String volumeName ) : bool
SysAllocStringLen ( String src, int len ) : IntPtr
SysFreeString ( IntPtr bstr ) : void
SysStringLen ( IntPtr bstr ) : int
UnlockFile ( SafeFileHandle handle, int offsetLow, int offsetHigh, int countLow, int countHigh ) : bool
UnmapViewOfFile ( IntPtr lpBaseAddress ) : bool
UnsafeCreateFile ( String lpFileName, int dwDesiredAccess, System dwShareMode, SECURITY_ATTRIBUTES securityAttrs, System dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile ) : SafeFileHandle
WideCharToMultiByte ( uint cp, uint flags, char pwzSource, int cchSource, byte pbDestBuffer, int cbDestBuffer, IntPtr null1, IntPtr null2 ) : int
WriteFile ( SafeFileHandle handle, byte bytes, int numBytesToWrite, IntPtr numBytesWritten_mustBeZero, NativeOverlapped lpOverlapped ) : int
WriteFile ( SafeFileHandle handle, byte bytes, int numBytesToWrite, int &numBytesWritten, IntPtr mustBeZero ) : int
ZeroMemory ( IntPtr handle, uint length ) : void
lstrcpy ( IntPtr dst, String src ) : IntPtr
lstrcpy ( StringBuilder dst, IntPtr src ) : IntPtr
lstrlen ( IntPtr ptr ) : int
lstrlen ( sbyte ptr ) : int
lstrlenA ( IntPtr ptr ) : int
lstrlenW ( IntPtr ptr ) : int