README.md
December 4, 2022 ยท View on GitHub
Description
Ever wanted to pass a String to a callback function, only to find out it only accepts Long's as inputs?
Now you can pass in the memory address (A long), then use the string as normal within the function.
Also included are pointer conversions to Two, Four, Eight and Twenty Two bit variables
More Info
| Submitted On | 2006-10-05 06:50:02 |
| By | Rob |
| Level | Advanced |
| User Rating | 5.0 (10 globes from 2 users) |
| Compatibility | VB 6.0 |
| Category | Windows API Call/ Explanation |
| World | Visual Basic |
| Archive File | Pointer_Ma2023271052006.zip |
API Declarations
Public Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)