C# 클래스 Tsukikage.Windows.Messaging.MessageThread

Win32 Message Loop Thread for win32 multimedia API callbacks Win32 メッセージループスレッドを作って、マルチメディア系 Win32 APIからのコールバックを受け取る
상속: IDisposable, IMessageFilter
파일 보기 프로젝트 열기: ttsuki/ttsuki 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Exit thread by posting WM_QUIT and release all resources. WM_QUITを送ってスレッドを終了し、リソースを解放する。

Invoke ( CallbackDelegate action ) : void
MessageThread ( ) : System

Create new message loop thread. 新しいメッセージループスレッドを作る

MessageThread ( bool isBackground ) : System

Create new message loop thread. 新しいメッセージループスレッドを作る

MessageThread ( bool isBackground, ThreadPriority threadPriority ) : System

Create new message loop thread. 新しいメッセージループスレッドを作る

PostMessage ( int msg, IntPtr wParam, IntPtr lParam ) : void

Post message to the thread. スレッドにメッセージを送る

비공개 메소드들

메소드 설명
GetCurrentThreadId ( ) : int
IMessageFilter ( Message &m ) : bool
PostThreadMessage ( int idThread, int msg, IntPtr wParam, IntPtr lParam ) : bool

메소드 상세

Dispose() 공개 메소드

Exit thread by posting WM_QUIT and release all resources. WM_QUITを送ってスレッドを終了し、リソースを解放する。
public Dispose ( ) : void
리턴 void

Invoke() 공개 메소드

public Invoke ( CallbackDelegate action ) : void
action CallbackDelegate
리턴 void

MessageThread() 공개 메소드

Create new message loop thread. 新しいメッセージループスレッドを作る
public MessageThread ( ) : System
리턴 System

MessageThread() 공개 메소드

Create new message loop thread. 新しいメッセージループスレッドを作る
public MessageThread ( bool isBackground ) : System
isBackground bool バックグラウンドスレッドにする場合はtrue
리턴 System

MessageThread() 공개 메소드

Create new message loop thread. 新しいメッセージループスレッドを作る
public MessageThread ( bool isBackground, ThreadPriority threadPriority ) : System
isBackground bool バックグラウンドスレッドにする場合はtrue
threadPriority ThreadPriority スレッドの実行優先度
리턴 System

PostMessage() 공개 메소드

Post message to the thread. スレッドにメッセージを送る
public PostMessage ( int msg, IntPtr wParam, IntPtr lParam ) : void
msg int
wParam System.IntPtr
lParam System.IntPtr
리턴 void