Share via


GweBypassCoredllThunk_t::ClientToScreen_I (Windows Embedded CE 6.0)

1/6/2010

This method converts the client coordinates of a specified point to screen coordinates.

Syntax

static BOOL WINAPI ClientToScreen_I(
  HWND hwndThis,
  POINT* pPoint
);

Parameters

  • hwndThis
    [in] Handle to the window whose client area is used for the conversion.
  • pPoint
    [in, out] Long pointer to a POINT structure that contains the client coordinates to be converted. The new screen coordinates are copied into this structure if the function succeeds.

Return Value

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

This method is an internal version of the ClientToScreen function.

The GweBypassCoredllThunk_t::ClientToScreen_I method replaces the client coordinates in the POINT structure with the screen coordinates. The screen coordinates are relative to the upper-left corner of the screen.

Requirements

Header gwebypasscoredllthunk.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

GweBypassCoredllThunk_t
ClientToScreen
MapWindowPoints
GweBypassCoredllThunk_t::ScreenToClient_I
POINT