次の方法で共有


GweBypassCoredllThunk_t::GetWindowRect_I (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

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

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

See Also

Reference

GweBypassCoredllThunk_t
GetWindowRect
GweBypassCoredllThunk_t::GetClientRect_I
RECT