thx,
if found following three commands, but i am not able to get them running:
usbhandle = CreateFile( ...USB PORT GUID...,
GENERIC_WRITE,
FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
0 );
-> here i get an error - GENERIC_WRITE, FILE_SHARE_WRITE, OPEN_EXISTING do not exist... ???
DeviceIoControl( usbhandle, 0x04, pIn, sizeof(szIn), pOut,
sizeof(szOut), lpByte, NULL );
0x04
pIn
szIn
pOut
szOut
...are specific port-functions/ bites to read...
and
CloseHandle( usbhandle );