UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> SetWindowLongPtr    

NOTE: Use SetWindowLongPtr instead of SetWindowLong to ensure maximum compatibility with both 32-bit and 64-bit operating systems. Consult MSDN for details.

Private Declare PtrSafe Function SetWindowLongPtr Lib "user32" Alias "SetWindowLongPtrA" ( _
   ByVal hWnd As LongPtr, _
   ByVal nIndex As Long, _
   ByVal dwNewLong As LongPtr _
) As LongPtr

NOTE: The code reflects a possible number(s) of declarations. Depending on your specific needs, you may want different syntax. For details on how to declare an API procedure, consult API article. For pre-VBA7 (pre-Access 2010) compatible syntax, there are several sites that already documents the same API in more details. ALLAPI at mentalis.org is one such resource.

MSDN Reference: SetWindowLongPtr
See other pages that uses SetWindowLongPtr

Edit Discussion
Custom Search

Thank you for your support!
This page has been accessed 7,326 times.  This page was last modified 17:58, 22 May 2011 by BananaRepublic.   Disclaimers