CWindow::GetWindowLongPtr
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( );
Заметки
See GetWindowLongPtr in the Windows SDK.
Заметки
If you are retrieving a pointer or a handle, this function supersedes the CWindow::GetWindowLong method.
![]() |
---|
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.
Требования
Header: atlwin.h