C# Класс Common.PInvoke

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
BeginUpdateResource System.IntPtr
EndUpdateResource bool
EnumResourceNames bool
FindResource System.IntPtr
FreeLibrary bool
GetClientRect bool
GetLanguage ushort
GetLastInputInfo bool
GetResourceNamesCallback bool
GetWindowLong System.IntPtr
GetWindowLong32 System.IntPtr
GetWindowLong64 System.IntPtr
LoadLibraryEx System.IntPtr
LoadResource System.IntPtr
LockResource System.IntPtr
SetParent System.IntPtr
SetWindowLong System.IntPtr
SetWindowLong32 System.IntPtr
SetWindowLong64 System.IntPtr
SizeofResource uint
UpdateResource bool

Открытые методы

Метод Описание
BeginUpdateResource ( string filename ) : IntPtr
CompleteUpdateResource ( IntPtr updateHandle ) : bool
DeleteResource ( IntPtr updateHandle, ushort type, ushort name ) : bool
DiscardUpdateResource ( IntPtr updateHandle ) : bool
GetFreeIconNames ( IEnumerable busyNames ) : IEnumerable
GetLastWin32Exception ( ) : Exception
GetResourceNames ( IntPtr module, uint type ) : ushort[]
GetStringTable ( IEnumerable texts ) : byte[]>.Dictionary
LoadDatafile ( string filename ) : IntPtr
LoadResourceBytes ( IntPtr module, ushort type, ushort name ) : byte[]
SetWindowChild ( IntPtr window ) : bool
UpdateResource ( IntPtr updateHandle, ushort type, ushort name, byte data ) : bool

Приватные методы

Метод Описание
BeginUpdateResource ( string filename, bool deleteExisting ) : IntPtr
EndUpdateResource ( IntPtr updateHandle, bool discard ) : bool
EnumResourceNames ( IntPtr module, uint type, EnumResourceNamesProcedure procedure, IntPtr parameter ) : bool
FindResource ( IntPtr module, uint name, uint type ) : IntPtr
FreeLibrary ( IntPtr module ) : bool
GetClientRect ( IntPtr window, Rectangle &rectangle ) : bool
GetLanguage ( PrimaryLanguage primary, SecondaryLanguage secondary ) : ushort
GetLastInputInfo ( LastInputInfo &info ) : bool
GetResourceNamesCallback ( IntPtr module, ushort type, ushort name, IntPtr parameterPtr ) : bool
GetWindowLong ( IntPtr window, WindowLongOffset offset ) : IntPtr
GetWindowLong32 ( IntPtr window, int offset ) : IntPtr
GetWindowLong64 ( IntPtr window, int offset ) : IntPtr
LoadLibraryEx ( string filename, IntPtr reserved, uint flags ) : IntPtr
LoadResource ( IntPtr module, IntPtr findHandle ) : IntPtr
LockResource ( IntPtr loadHandle ) : IntPtr
SetParent ( IntPtr window, IntPtr parent ) : IntPtr
SetWindowLong ( IntPtr window, WindowLongOffset offset, IntPtr value ) : IntPtr
SetWindowLong32 ( IntPtr window, int offset, IntPtr value ) : IntPtr
SetWindowLong64 ( IntPtr window, int offset, IntPtr value ) : IntPtr
SizeofResource ( IntPtr module, IntPtr findHandle ) : uint
UpdateResource ( IntPtr updateHandle, ushort type, ushort name, ushort language, byte data, uint size ) : bool

Описание методов

BeginUpdateResource() публичный статический Метод

public static BeginUpdateResource ( string filename ) : IntPtr
filename string
Результат System.IntPtr

CompleteUpdateResource() публичный статический Метод

public static CompleteUpdateResource ( IntPtr updateHandle ) : bool
updateHandle System.IntPtr
Результат bool

DeleteResource() публичный статический Метод

public static DeleteResource ( IntPtr updateHandle, ushort type, ushort name ) : bool
updateHandle System.IntPtr
type ushort
name ushort
Результат bool

DiscardUpdateResource() публичный статический Метод

public static DiscardUpdateResource ( IntPtr updateHandle ) : bool
updateHandle System.IntPtr
Результат bool

GetFreeIconNames() публичный статический Метод

public static GetFreeIconNames ( IEnumerable busyNames ) : IEnumerable
busyNames IEnumerable
Результат IEnumerable

GetLastWin32Exception() публичный статический Метод

public static GetLastWin32Exception ( ) : Exception
Результат System.Exception

GetResourceNames() публичный статический Метод

public static GetResourceNames ( IntPtr module, uint type ) : ushort[]
module System.IntPtr
type uint
Результат ushort[]

GetStringTable() публичный статический Метод

public static GetStringTable ( IEnumerable texts ) : byte[]>.Dictionary
texts IEnumerable
Результат byte[]>.Dictionary

LoadDatafile() публичный статический Метод

public static LoadDatafile ( string filename ) : IntPtr
filename string
Результат System.IntPtr

LoadResourceBytes() публичный статический Метод

public static LoadResourceBytes ( IntPtr module, ushort type, ushort name ) : byte[]
module System.IntPtr
type ushort
name ushort
Результат byte[]

SetWindowChild() публичный статический Метод

public static SetWindowChild ( IntPtr window ) : bool
window System.IntPtr
Результат bool

UpdateResource() публичный статический Метод

public static UpdateResource ( IntPtr updateHandle, ushort type, ushort name, byte data ) : bool
updateHandle System.IntPtr
type ushort
name ushort
data byte
Результат bool