What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Get information from pointer?

Get information from pointer?
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Get information from pointer?
heres an example of WM_COPYDATA

code:

/*
        typedef struct {
           DWORD dwData; 4
           DWORD cbData; 4
           PVOID lpData; 4
        } COPYDATASTRUCT; 12
        */
       
        var struct = Interop.Allocate(12);
        Interop.Call('Kernel32','RtlMoveMemory', struct, lParam,12);
       
        var dwData = struct.ReadDWORD(0);
        var cbData = struct.ReadDWORD(4);
        var lpData = struct.ReadDWORD(8);


This post was edited on 12-17-2006 at 04:48 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
12-17-2006 04:47 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get information from pointer? - by deAd on 12-17-2006 at 04:34 PM
RE: Get information from pointer? - by Spunky on 12-17-2006 at 04:37 PM
RE: Get information from pointer? - by deAd on 12-17-2006 at 04:39 PM
RE: Get information from pointer? - by Spunky on 12-17-2006 at 04:46 PM
RE: Get information from pointer? - by -dt- on 12-17-2006 at 04:47 PM
RE: Get information from pointer? - by deAd on 12-17-2006 at 05:02 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On