tags:

views:

26

answers:

1

Could someone help me how should I call the following function using ctypes python library:

DWORD myfunc(LPCSTR a,BYTE b, LPBYTE c, LPDWORD d, LPCBYTE *e,DWORD LEN)

How should I declare and initialize the arguments of the mentioned functions? Could someone provide an example?

+1  A: 

Try:

from ctypes.wintypes import *

It has most of the types you want.

fmark