C# 클래스 Common.PInvoke

파일 보기 프로젝트 열기: vitalyobukhov/WebSaver

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