I am trying to make a series of calls to an unmarshalled DLL. The header file for the DLL reads as follows:
Code:
BOOL WINAPI InitUSB (void); BOOL WINAPI CloseUSB (void); BOOL WINAPI USBReadData(BYTE Endpoint,DWORD BytesToRead,PBYTE DataBuffer); BOOL WINAPI USBSendCommand(BYTE bCmd); BOOL WINAPI USBGetCommand (BYTE bCmd, WORD wLength, PBYTE pData);
In my code I have defined...