C# Class Common.PInvoke

Afficher le fichier Open project: vitalyobukhov/WebSaver

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

BeginUpdateResource() public static méthode

public static BeginUpdateResource ( string filename ) : IntPtr
filename string
Résultat System.IntPtr

CompleteUpdateResource() public static méthode

public static CompleteUpdateResource ( IntPtr updateHandle ) : bool
updateHandle System.IntPtr
Résultat bool

DeleteResource() public static méthode

public static DeleteResource ( IntPtr updateHandle, ushort type, ushort name ) : bool
updateHandle System.IntPtr
type ushort
name ushort
Résultat bool

DiscardUpdateResource() public static méthode

public static DiscardUpdateResource ( IntPtr updateHandle ) : bool
updateHandle System.IntPtr
Résultat bool

GetFreeIconNames() public static méthode

public static GetFreeIconNames ( IEnumerable busyNames ) : IEnumerable
busyNames IEnumerable
Résultat IEnumerable

GetLastWin32Exception() public static méthode

public static GetLastWin32Exception ( ) : Exception
Résultat System.Exception

GetResourceNames() public static méthode

public static GetResourceNames ( IntPtr module, uint type ) : ushort[]
module System.IntPtr
type uint
Résultat ushort[]

GetStringTable() public static méthode

public static GetStringTable ( IEnumerable texts ) : byte[]>.Dictionary
texts IEnumerable
Résultat byte[]>.Dictionary

LoadDatafile() public static méthode

public static LoadDatafile ( string filename ) : IntPtr
filename string
Résultat System.IntPtr

LoadResourceBytes() public static méthode

public static LoadResourceBytes ( IntPtr module, ushort type, ushort name ) : byte[]
module System.IntPtr
type ushort
name ushort
Résultat byte[]

SetWindowChild() public static méthode

public static SetWindowChild ( IntPtr window ) : bool
window System.IntPtr
Résultat bool

UpdateResource() public static méthode

public static UpdateResource ( IntPtr updateHandle, ushort type, ushort name, byte data ) : bool
updateHandle System.IntPtr
type ushort
name ushort
data byte
Résultat bool