arguments to calldll.call_foreign_function() ?
jkn at nicorp.f9.co.uk
Thu Jun 21 09:15:27 EDT 2001
Thanks very much! I see there's been another posting just earlier
around the same topic, synchronicitously (?). Your comments there were
very helpful as well, Gordon, thanks.
Onwards with my experimentation ...
gmcm at hypernet.com (Gordon McMillan) wrote in message news:<90C68291Bgmcmhypernetcom at 184.108.40.206>...
> Jon Nicoll wrote:
> >Hi there
> > I want to experiment with using calldll to access a win32
> >function: QueryPerformanceCounter(), which has a prototype
> >BOOL QueryPerformanceCounter(
> > LARGE_INTEGER *lpPerformanceCount // address of current counter
> > );
> >>> from dynwin import windll
> >>> k = windll.module('kernel32')
> >>> b = windll.membuf(8)
> >>> k.QueryPerformanceCounter(b.address())
> >>> b.read()
> - Gordon
More information about the Python-list