C to ctype conversion

Uday Shah <[email protected]> Wed, 29 Aug 2012 16:38:14 -0700
Newsgroups gmane.comp.python.ctypes
Message-ID <CAFLCvTKGfue=THB9FB_B15x1EW2US2rtB9H+daB3t3=vG4nGmg@mail.gmail.com>
typedef void * (*MALLOCFUNCPTR)( size_t size );

I have a C function defined as below:
void DLL_ENTRY UploadData( BOOL *pChangeCountError,
                           MALLOCFUNCPTR pMf,
                           ulong *pMsgLen,
                           uchar **pMsgData );

I want to implement CType interface to this function to access it via
Python. How can I convert these arguments to the CType for python?

Any help is greatly appreciated.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/