Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves information about the specified window, including a value at a specified offset into the extra window memory.
LONG_PTR GetWindowLongPtr(
int nIndex
) const throw( );
Remarks
See GetWindowLongPtr in the Windows SDK.
Remarks
If you are retrieving a pointer or a handle, this function supersedes the CWindow::GetWindowLong method.
Note
Pointers and handles are 32 bits on 32-bit Windows and 64 bits on 64-bit Windows.
To write code that is compatible with both 32-bit and 64-bit versions of Windows, use CWindow::GetWindowLongPtr.
Requirements
Header: atlwin.h