Не компилируется строка: DeviceIoControl(Device_Handle,IOCTL_USBPRINT_GET_1284_ID,NULL, 0, buffer, sizeof(buffer), &BytesReturned, NULL); выдаёт: error C2065 IOCTL_USBPRINT_GET_1284_ID undeclared identifier Подскажите чайнику, может какого заголовка не хватает? Вставил: #include <iostream.h> #include <fstream.h> #include <stdlib.h> #include <fcntl.h> #include <afxwin.h> #include <setupapi.h> #include <tchar.h> #include "stdafx.h" не помогает.
|