Share via


GetForegroundKeyboardTarget (Compact 2013)

3/28/2014

This function returns a handle to the window that is currently receiving input from the keyboard.

Syntax

HWND GetForegroundKeyboardTarget(void);

Parameters

None.

Return Value

This function returns a window handle if successful and NULL otherwise.

Remarks

This function is linked during the build process.

Requirements

Header

pwinuser.h

See Also

Reference

Keyboard Functions