You can try to use
CreateFile()
to open the device and write to it:
HANDLE hDevice = ::CreateFile(_T("\\\\.\\USB001"),
GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0);
if (INVALID_HANDLE_VALUE != hDevice)
{
LPCSTR lpszTest = "Test";
DWORD dwWritten = 0;
::WriteFile(hDevice, lpszTest, strlen(lpszTest), &dwWritten, NULL);
::CloseHandle(hDevice);
}
Note that it may be necessary to change the device name to something else (_T("\\Device\\<name>") or the the long version like 'usb#vid...&pid..&...&CLSID'). If you got the correct name, this should work.