GweBypassCoredllThunk_t::GetWindowThreadProcessId_I

This method retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.

static DWORD WINAPI GetWindowThreadProcessId_I(
  HWND hwndThis,
  LPDWORD lpdwProcessId
);

Parameters

  • hwndThis
    [in] Handle to the window.
  • lpdwProcessId
    [out] Pointer to a 32-bit value that receives the process identifier. If this parameter is not NULL, GweBypassCoredllThunk_t::GetWindowThreadProcessId_I copies the identifier of the process to the 32-bit value; otherwise, it does not.

Return Values

The return value is the identifier of the thread that created the window.

Remarks

This method is an internal version of the GetWindowThreadProcessId function.

Requirements

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

See Also

GetWindowThreadProcessId

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.