[Tutor] ctypes wintypes
alan.gauld at yahoo.co.uk
Tue Oct 3 19:50:23 EDT 2017
On 03/10/17 22:30, Michael C wrote:
> I am trying to create SYSTEM_INFO structure and MEMORY_BASIC_INFORMATION
> I think there are modules for this purpose? Is it the ctypes.wintypes?
wintypes does define many of the standard Win32 API types
but sadly neither of the two you mention seem to be included.
Since the module consists entirely of type definitions
the easiest way to find out what it holds is probably
just to open the module source code and search/look.
On my system(Linux) it lives in:
You might be able to create your own definition based
on the Windows type data and combining the more primitive
types that are declared in wintypes.
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor