HwndHost.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean) 메서드

정의

파생 클래스에서 재정의되는 경우 호스트된 자식 창의 창 프로세스(핸들)에 액세스합니다.

protected:
 virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool % handled);
[System.Security.SecurityCritical]
protected virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled);
protected virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled);
[<System.Security.SecurityCritical>]
abstract member WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
override this.WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
abstract member WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
override this.WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
Protected Overridable Function WndProc (hwnd As IntPtr, msg As Integer, wParam As IntPtr, lParam As IntPtr, ByRef handled As Boolean) As IntPtr

매개 변수

hwnd
IntPtr

nativeint

호스트된 창의 창 핸들입니다.

msg
Int32

수행할 메시지입니다.

wParam
IntPtr

nativeint

메시지 처리와 관련될 수 있는 정보입니다. 일반적으로 플래그와 같은 작은 정보를 저장하는 데 사용됩니다.

lParam
IntPtr

nativeint

메시지 처리와 관련될 수 있는 정보입니다. 일반적으로 개체를 참조하는 데 사용됩니다.

handled
Boolean

결과 이벤트를 처리로 표시해야 하는지 여부입니다.

반품

IntPtr

nativeint

자식 창의 창 핸들입니다.

특성

설명

Important

이 형식 또는 멤버는 인터넷 보안 영역에서 사용할 수 없습니다.

상속자 참고

기본 구현은 HwndHost 실제 프로세스를 반환하지 않지만 장애 조치(failsafe)로 반환 IntPtr.Zero 됩니다.

적용 대상