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

자식 창의 창 핸들입니다.

특성

설명

중요

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

상속자 참고

기본 구현은 HwndHost 실제 프로세스를 반환하지 않지만 IntPtr.Zero 를 failsafe로 반환합니다.

적용 대상