On Aug 7, 2:11 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Tue, 07 Aug 2007 04:57:19 +, rozniy wrote:
> > typedef enum olss_tag
> >{
> >OLSS_AD,
> >OLSS_DA,
> >OLSS_DIN,
> >OLSS_DOUT,
> >O
I am using Python's CTypes module to import functions from a DLL into
Python. Some of the DLL's functions take enum type arguments, eg:
olDaGetDASS (HDEV hDev, OLSS OlSs, UINT uiElement, PHDASS phDass);
//(this function is in C form)
>From the header file, I found that type OLSS is an enum, like