GetForegroundInfo (Windows CE 5.0)

Send Feedback

This function retrieves information about the current foreground thread.

BOOL WINAPI GetForegroundInfo(  GET_FOREGROUND_INFO* pgfi);

Parameters

  • pgfi
    [out] Pointer to the GET_FOREGROUND_INFO structure that receives information about the current foreground thread.

Return Values

Returns TRUE if successful and FALSE otherwise

Remarks

This function is only available to OEMs.

GetForegroundInfo is used by other more specialized functions such as GetForegroundKeyboardTarget, GetForegroundKeyboardLayoutHandle, and ImmGetConversionStatusForeground. Use the more specialized functions whenever possible.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Pwinuser.h.
Link Library: Linked during platform build

See Also

Keyboard Functions | GET_FOREGROUND_INFO | GetForegroundKeyboardTarget | GetForegroundKeyboardLayoutHandle | ImmGetConversionStatusForeground

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.