Bullock, Howard A. wrote:

>Also, I checked the Win32::API docs and the MSDN web and could not find
>any information about memcpy that would lead me to:
>Win32::API('ntdll.dll', 'memcpy', 'PNN', 'V', '_cdecl'); where can I get
>more information about why this was constructed in this manner?
>  
>
memcpy uses the C calling convention,  hence the '_cdecl'  ... it is an
extension to Win32::API i added some time ago.

memcpy normally takes 2 pointers, and an integer length value.
the trick is to specify one of the pointers as an integer, and pass it
the pointer to something you got from another api, as integer value.

willem




_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to