C language function:GetWindowLongPtr sample codes

Search sample code in the internet.It is the result.


TITLE : How to subclass a window multiple times
const LONG_PTR pfnWndProc = ::GetWindowLongPtr(pThis->m_hWnd, GWLP_WNDPROC);.......
http://chabster.blogspot.com/2011/08/how-to-subclass-window-multiple-times.html


TITLE : How to subclass a window multiple times
if (pThis->m_pfnSuperWindowProc && ::GetWindowLongPtr(pThis->m_hWnd, GWLP_WNDPROC) == pfnWndProc) {.......
http://chabster.blogspot.com/2011/08/how-to-subclass-window-multiple-times.html
TITLE : How to subclass a window multiple times
const WNDPROC pActiveProc = reinterpret_cast(::GetWindowLongPtr(m_hWnd, GWLP_WNDPROC));.......
http://chabster.blogspot.com/2011/08/how-to-subclass-window-multiple-times.html
TITLE : Samples/multimedia/directshow/baseclasses/streams.h - external/webrtc/deps/third_party/winsdk_samples_v71 - Git at Google
T _GetWindowLongPtr(HWND hwnd, int nIndex).......
http://chromium.googlesource.com/external/webrtc/deps/third_party/winsdk_samples_v71/+/373e927dc5ffdb61b9fb63da3d261e71f8d50dc8/Samples/multimedia/directshow/baseclasses/streams.h
TITLE : Samples/multimedia/directshow/baseclasses/streams.h - external/webrtc/deps/third_party/winsdk_samples_v71 - Git at Google
return (T)GetWindowLongPtr(hwnd, nIndex);.......
http://chromium.googlesource.com/external/webrtc/deps/third_party/winsdk_samples_v71/+/373e927dc5ffdb61b9fb63da3d261e71f8d50dc8/Samples/multimedia/directshow/baseclasses/streams.h
TITLE : Command Link Button Control | codexpert blog
ASSERT((::GetWindowLongPtr(hWndButton, GWL_STYLE) & BS_TYPEMASK) == BS_COMMANDLINK);.......
http://codexpert.ro/blog/2013/01/31/command-link-button-control/
TITLE : Rendering using OpenGL ES 2.0/3.0 in a zero copy mode on MALI T628 - Graphics Discussions - Graphics & Multimedia - Arm Community
CAVWindow *pThis = (CAVWindow *)GetWindowLongPtr(hWnd, GWLP_USERDATA);.......
http://community.arm.com/graphics/f/discussions/5224/rendering-using-opengl-es-2-0-3-0-in-a-zero-copy-mode-on-mali-t628
TITLE : O
return ((Window*)GetWindowLongPtr(.......
http://d.hatena.ne.jp/ousttrue/@of=22
search Google

https://www.google.com/#q=GetWindowLongPtr