Share via


GweBypassCoredllThunk_t::GetWindowRect_I

This method retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.

static BOOL WINAPI GetWindowRect_I(
  HWND hwndThis,
  PRECT prc
);

Parameters

  • hwndThis
    [in] Handle to the window.
  • prc
    [out] Long pointer to a RECT structure that receives the screen coordinates of the upper-left and lower-right corners of the window.

Return Values

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

Remarks

This method is an internal version of the GetWindowRect function.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: GweBypassCoredllThunk.hpp.

See Also

GetWindowRect | GweBypassCoredllThunk_t::GetClientRect_I | RECT

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.