PageRenderTime 35ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/libusbK/src/lusbk_bknd_unsupported.c

http://usb-travis.googlecode.com/
C | 561 lines | 475 code | 69 blank | 17 comment | 0 complexity | 5ee064909a881258a1e9076b976cd540 MD5 | raw file
Possible License(s): GPL-3.0, LGPL-3.0, LGPL-2.0
  1. /*!********************************************************************
  2. libusbK - Multi-driver USB library.
  3. Copyright (C) 2012 Travis Lee Robinson. All Rights Reserved.
  4. libusb-win32.sourceforge.net
  5. Development : Travis Lee Robinson (libusbdotnet@gmail.com)
  6. Testing : Xiaofan Chen (xiaofanc@gmail.com)
  7. At the discretion of the user of this library, this software may be
  8. licensed under the terms of the GNU Public License v3 or a BSD-Style
  9. license as outlined in the following files:
  10. * LICENSE-gpl3.txt
  11. * LICENSE-bsd.txt
  12. License files are located in a license folder at the root of source and
  13. binary distributions.
  14. ********************************************************************!*/
  15. #include "lusbk_bknd_unsupported.h"
  16. KUSB_EXP BOOL KUSB_API Unsupported_Initialize(
  17. _in HANDLE DeviceHandle,
  18. _out KUSB_HANDLE* InterfaceHandle)
  19. {
  20. UNREFERENCED_PARAMETER(DeviceHandle);
  21. UNREFERENCED_PARAMETER(InterfaceHandle);
  22. SetLastError(ERROR_NOT_SUPPORTED);
  23. return FALSE;
  24. }
  25. KUSB_EXP BOOL KUSB_API Unsupported_GetDescriptor(
  26. _in KUSB_HANDLE InterfaceHandle,
  27. _in UCHAR DescriptorType,
  28. _in UCHAR Index,
  29. _in USHORT LanguageID,
  30. _out PUCHAR Buffer,
  31. _in UINT BufferLength,
  32. _outopt PUINT LengthTransferred)
  33. {
  34. UNREFERENCED_PARAMETER(InterfaceHandle);
  35. UNREFERENCED_PARAMETER(DescriptorType);
  36. UNREFERENCED_PARAMETER(Index);
  37. UNREFERENCED_PARAMETER(LanguageID);
  38. UNREFERENCED_PARAMETER(Buffer);
  39. UNREFERENCED_PARAMETER(BufferLength);
  40. UNREFERENCED_PARAMETER(LengthTransferred);
  41. SetLastError(ERROR_NOT_SUPPORTED);
  42. return FALSE;
  43. }
  44. KUSB_EXP BOOL KUSB_API Unsupported_QueryDeviceInformation(
  45. _in KUSB_HANDLE InterfaceHandle,
  46. _in UINT InformationType,
  47. _ref PUINT BufferLength,
  48. _ref PVOID Buffer)
  49. {
  50. UNREFERENCED_PARAMETER(InterfaceHandle);
  51. UNREFERENCED_PARAMETER(InformationType);
  52. UNREFERENCED_PARAMETER(BufferLength);
  53. UNREFERENCED_PARAMETER(Buffer);
  54. SetLastError(ERROR_NOT_SUPPORTED);
  55. return FALSE;
  56. }
  57. KUSB_EXP BOOL KUSB_API Unsupported_SetCurrentAlternateSetting(
  58. _in KUSB_HANDLE InterfaceHandle,
  59. _in UCHAR AltSettingNumber)
  60. {
  61. UNREFERENCED_PARAMETER(InterfaceHandle);
  62. UNREFERENCED_PARAMETER(AltSettingNumber);
  63. SetLastError(ERROR_NOT_SUPPORTED);
  64. return FALSE;
  65. }
  66. KUSB_EXP BOOL KUSB_API Unsupported_GetCurrentAlternateSetting(
  67. _in KUSB_HANDLE InterfaceHandle,
  68. _out PUCHAR AltSettingNumber)
  69. {
  70. UNREFERENCED_PARAMETER(InterfaceHandle);
  71. UNREFERENCED_PARAMETER(AltSettingNumber);
  72. SetLastError(ERROR_NOT_SUPPORTED);
  73. return FALSE;
  74. }
  75. KUSB_EXP BOOL KUSB_API Unsupported_SetPipePolicy(
  76. _in KUSB_HANDLE InterfaceHandle,
  77. _in UCHAR PipeID,
  78. _in UINT PolicyType,
  79. _in UINT ValueLength,
  80. _in PVOID Value)
  81. {
  82. UNREFERENCED_PARAMETER(InterfaceHandle);
  83. UNREFERENCED_PARAMETER(PipeID);
  84. UNREFERENCED_PARAMETER(PolicyType);
  85. UNREFERENCED_PARAMETER(ValueLength);
  86. UNREFERENCED_PARAMETER(Value);
  87. SetLastError(ERROR_NOT_SUPPORTED);
  88. return FALSE;
  89. }
  90. KUSB_EXP BOOL KUSB_API Unsupported_GetPipePolicy(
  91. _in KUSB_HANDLE InterfaceHandle,
  92. _in UCHAR PipeID,
  93. _in UINT PolicyType,
  94. _ref PUINT ValueLength,
  95. _out PVOID Value)
  96. {
  97. UNREFERENCED_PARAMETER(InterfaceHandle);
  98. UNREFERENCED_PARAMETER(PipeID);
  99. UNREFERENCED_PARAMETER(PolicyType);
  100. UNREFERENCED_PARAMETER(ValueLength);
  101. UNREFERENCED_PARAMETER(Value);
  102. SetLastError(ERROR_NOT_SUPPORTED);
  103. return FALSE;
  104. }
  105. KUSB_EXP BOOL KUSB_API Unsupported_ReadPipe(
  106. _in KUSB_HANDLE InterfaceHandle,
  107. _in UCHAR PipeID,
  108. _out PUCHAR Buffer,
  109. _in UINT BufferLength,
  110. _outopt PUINT LengthTransferred,
  111. _inopt LPOVERLAPPED Overlapped)
  112. {
  113. UNREFERENCED_PARAMETER(InterfaceHandle);
  114. UNREFERENCED_PARAMETER(PipeID);
  115. UNREFERENCED_PARAMETER(Buffer);
  116. UNREFERENCED_PARAMETER(BufferLength);
  117. UNREFERENCED_PARAMETER(LengthTransferred);
  118. UNREFERENCED_PARAMETER(Overlapped);
  119. SetLastError(ERROR_NOT_SUPPORTED);
  120. return FALSE;
  121. }
  122. KUSB_EXP BOOL KUSB_API Unsupported_WritePipe(
  123. _in KUSB_HANDLE InterfaceHandle,
  124. _in UCHAR PipeID,
  125. _in PUCHAR Buffer,
  126. _in UINT BufferLength,
  127. _outopt PUINT LengthTransferred,
  128. _inopt LPOVERLAPPED Overlapped)
  129. {
  130. UNREFERENCED_PARAMETER(InterfaceHandle);
  131. UNREFERENCED_PARAMETER(PipeID);
  132. UNREFERENCED_PARAMETER(Buffer);
  133. UNREFERENCED_PARAMETER(BufferLength);
  134. UNREFERENCED_PARAMETER(LengthTransferred);
  135. UNREFERENCED_PARAMETER(Overlapped);
  136. SetLastError(ERROR_NOT_SUPPORTED);
  137. return FALSE;
  138. }
  139. KUSB_EXP BOOL KUSB_API Unsupported_ControlTransfer(
  140. _in KUSB_HANDLE InterfaceHandle,
  141. _in WINUSB_SETUP_PACKET SetupPacket,
  142. _refopt PUCHAR Buffer,
  143. _in UINT BufferLength,
  144. _outopt PUINT LengthTransferred,
  145. _inopt LPOVERLAPPED Overlapped)
  146. {
  147. UNREFERENCED_PARAMETER(InterfaceHandle);
  148. UNREFERENCED_PARAMETER(SetupPacket);
  149. UNREFERENCED_PARAMETER(Buffer);
  150. UNREFERENCED_PARAMETER(BufferLength);
  151. UNREFERENCED_PARAMETER(LengthTransferred);
  152. UNREFERENCED_PARAMETER(Overlapped);
  153. SetLastError(ERROR_NOT_SUPPORTED);
  154. return FALSE;
  155. }
  156. KUSB_EXP BOOL KUSB_API Unsupported_ResetPipe(
  157. _in KUSB_HANDLE InterfaceHandle,
  158. _in UCHAR PipeID)
  159. {
  160. UNREFERENCED_PARAMETER(InterfaceHandle);
  161. UNREFERENCED_PARAMETER(PipeID);
  162. SetLastError(ERROR_NOT_SUPPORTED);
  163. return FALSE;
  164. }
  165. KUSB_EXP BOOL KUSB_API Unsupported_AbortPipe(
  166. _in KUSB_HANDLE InterfaceHandle,
  167. _in UCHAR PipeID)
  168. {
  169. UNREFERENCED_PARAMETER(InterfaceHandle);
  170. UNREFERENCED_PARAMETER(PipeID);
  171. SetLastError(ERROR_NOT_SUPPORTED);
  172. return FALSE;
  173. }
  174. KUSB_EXP BOOL KUSB_API Unsupported_FlushPipe(
  175. _in KUSB_HANDLE InterfaceHandle,
  176. _in UCHAR PipeID)
  177. {
  178. UNREFERENCED_PARAMETER(InterfaceHandle);
  179. UNREFERENCED_PARAMETER(PipeID);
  180. SetLastError(ERROR_NOT_SUPPORTED);
  181. return FALSE;
  182. }
  183. KUSB_EXP BOOL KUSB_API Unsupported_SetPowerPolicy(
  184. _in KUSB_HANDLE InterfaceHandle,
  185. _in UINT PolicyType,
  186. _in UINT ValueLength,
  187. _in PVOID Value)
  188. {
  189. UNREFERENCED_PARAMETER(InterfaceHandle);
  190. UNREFERENCED_PARAMETER(PolicyType);
  191. UNREFERENCED_PARAMETER(ValueLength);
  192. UNREFERENCED_PARAMETER(Value);
  193. SetLastError(ERROR_NOT_SUPPORTED);
  194. return FALSE;
  195. }
  196. KUSB_EXP BOOL KUSB_API Unsupported_GetPowerPolicy(
  197. _in KUSB_HANDLE InterfaceHandle,
  198. _in UINT PolicyType,
  199. _ref PUINT ValueLength,
  200. _out PVOID Value)
  201. {
  202. UNREFERENCED_PARAMETER(InterfaceHandle);
  203. UNREFERENCED_PARAMETER(PolicyType);
  204. UNREFERENCED_PARAMETER(ValueLength);
  205. UNREFERENCED_PARAMETER(Value);
  206. SetLastError(ERROR_NOT_SUPPORTED);
  207. return FALSE;
  208. }
  209. KUSB_EXP BOOL KUSB_API Unsupported_GetOverlappedResult(
  210. _in KUSB_HANDLE InterfaceHandle,
  211. _in LPOVERLAPPED Overlapped,
  212. _out PUINT lpNumberOfBytesTransferred,
  213. _in BOOL bWait)
  214. {
  215. UNREFERENCED_PARAMETER(InterfaceHandle);
  216. UNREFERENCED_PARAMETER(Overlapped);
  217. UNREFERENCED_PARAMETER(lpNumberOfBytesTransferred);
  218. UNREFERENCED_PARAMETER(bWait);
  219. SetLastError(ERROR_NOT_SUPPORTED);
  220. return FALSE;
  221. }
  222. KUSB_EXP BOOL KUSB_API Unsupported_ResetDevice(
  223. _in KUSB_HANDLE InterfaceHandle)
  224. {
  225. UNREFERENCED_PARAMETER(InterfaceHandle);
  226. SetLastError(ERROR_NOT_SUPPORTED);
  227. return FALSE;
  228. }
  229. KUSB_EXP BOOL KUSB_API Unsupported_Init(
  230. _out KUSB_HANDLE* InterfaceHandle,
  231. _in KLST_DEVINFO_HANDLE DevInfo)
  232. {
  233. UNREFERENCED_PARAMETER(DevInfo);
  234. UNREFERENCED_PARAMETER(InterfaceHandle);
  235. SetLastError(ERROR_NOT_SUPPORTED);
  236. return FALSE;
  237. }
  238. KUSB_EXP BOOL KUSB_API Unsupported_SetConfiguration(
  239. _in KUSB_HANDLE InterfaceHandle,
  240. _in UCHAR ConfigurationNumber)
  241. {
  242. UNREFERENCED_PARAMETER(InterfaceHandle);
  243. UNREFERENCED_PARAMETER(ConfigurationNumber);
  244. SetLastError(ERROR_NOT_SUPPORTED);
  245. return FALSE;
  246. }
  247. KUSB_EXP BOOL KUSB_API Unsupported_GetConfiguration(
  248. _in KUSB_HANDLE InterfaceHandle,
  249. _out PUCHAR ConfigurationNumber)
  250. {
  251. UNREFERENCED_PARAMETER(InterfaceHandle);
  252. UNREFERENCED_PARAMETER(ConfigurationNumber);
  253. SetLastError(ERROR_NOT_SUPPORTED);
  254. return FALSE;
  255. }
  256. KUSB_EXP BOOL KUSB_API Unsupported_ClaimInterface(
  257. _in KUSB_HANDLE InterfaceHandle,
  258. _in UCHAR NumberOrIndex,
  259. _in BOOL IsIndex)
  260. {
  261. UNREFERENCED_PARAMETER(InterfaceHandle);
  262. UNREFERENCED_PARAMETER(NumberOrIndex);
  263. UNREFERENCED_PARAMETER(IsIndex);
  264. SetLastError(ERROR_NOT_SUPPORTED);
  265. return FALSE;
  266. }
  267. KUSB_EXP BOOL KUSB_API Unsupported_ReleaseInterface(
  268. _in KUSB_HANDLE InterfaceHandle,
  269. _in UCHAR NumberOrIndex,
  270. _in BOOL IsIndex)
  271. {
  272. UNREFERENCED_PARAMETER(InterfaceHandle);
  273. UNREFERENCED_PARAMETER(NumberOrIndex);
  274. UNREFERENCED_PARAMETER(IsIndex);
  275. SetLastError(ERROR_NOT_SUPPORTED);
  276. return FALSE;
  277. }
  278. KUSB_EXP BOOL KUSB_API Unsupported_SetAltInterface(
  279. _in KUSB_HANDLE InterfaceHandle,
  280. _in UCHAR NumberOrIndex,
  281. _in BOOL IsIndex,
  282. _in UCHAR AltSettingNumber)
  283. {
  284. UNREFERENCED_PARAMETER(InterfaceHandle);
  285. UNREFERENCED_PARAMETER(NumberOrIndex);
  286. UNREFERENCED_PARAMETER(IsIndex);
  287. UNREFERENCED_PARAMETER(AltSettingNumber);
  288. SetLastError(ERROR_NOT_SUPPORTED);
  289. return FALSE;
  290. }
  291. KUSB_EXP BOOL KUSB_API Unsupported_GetAltInterface(
  292. _in KUSB_HANDLE InterfaceHandle,
  293. _in UCHAR NumberOrIndex,
  294. _in BOOL IsIndex,
  295. _out PUCHAR AltSettingNumber)
  296. {
  297. UNREFERENCED_PARAMETER(InterfaceHandle);
  298. UNREFERENCED_PARAMETER(NumberOrIndex);
  299. UNREFERENCED_PARAMETER(IsIndex);
  300. UNREFERENCED_PARAMETER(AltSettingNumber);
  301. SetLastError(ERROR_NOT_SUPPORTED);
  302. return FALSE;
  303. }
  304. KUSB_EXP BOOL KUSB_API Unsupported_IsoReadPipe(
  305. _in KUSB_HANDLE InterfaceHandle,
  306. _in UCHAR PipeID,
  307. _out PUCHAR Buffer,
  308. _in UINT BufferLength,
  309. _in LPOVERLAPPED Overlapped,
  310. _refopt PKISO_CONTEXT IsoContext)
  311. {
  312. UNREFERENCED_PARAMETER(InterfaceHandle);
  313. UNREFERENCED_PARAMETER(PipeID);
  314. UNREFERENCED_PARAMETER(IsoContext);
  315. UNREFERENCED_PARAMETER(Buffer);
  316. UNREFERENCED_PARAMETER(BufferLength);
  317. UNREFERENCED_PARAMETER(Overlapped);
  318. SetLastError(ERROR_NOT_SUPPORTED);
  319. return FALSE;
  320. }
  321. KUSB_EXP BOOL KUSB_API Unsupported_IsoWritePipe(
  322. _in KUSB_HANDLE InterfaceHandle,
  323. _in UCHAR PipeID,
  324. _in PUCHAR Buffer,
  325. _in UINT BufferLength,
  326. _in LPOVERLAPPED Overlapped,
  327. _refopt PKISO_CONTEXT IsoContext)
  328. {
  329. UNREFERENCED_PARAMETER(InterfaceHandle);
  330. UNREFERENCED_PARAMETER(PipeID);
  331. UNREFERENCED_PARAMETER(IsoContext);
  332. UNREFERENCED_PARAMETER(Buffer);
  333. UNREFERENCED_PARAMETER(BufferLength);
  334. UNREFERENCED_PARAMETER(Overlapped);
  335. SetLastError(ERROR_NOT_SUPPORTED);
  336. return FALSE;
  337. }
  338. KUSB_EXP BOOL KUSB_API Unsupported_GetCurrentFrameNumber(
  339. _in KUSB_HANDLE InterfaceHandle,
  340. _out PUINT FrameNumber)
  341. {
  342. UNREFERENCED_PARAMETER(InterfaceHandle);
  343. UNREFERENCED_PARAMETER(FrameNumber);
  344. SetLastError(ERROR_NOT_SUPPORTED);
  345. return FALSE;
  346. }
  347. KUSB_EXP BOOL KUSB_API Unsupported_Free(
  348. _in KUSB_HANDLE InterfaceHandle)
  349. {
  350. UNREFERENCED_PARAMETER(InterfaceHandle);
  351. SetLastError(ERROR_NOT_SUPPORTED);
  352. return FALSE;
  353. }
  354. KUSB_EXP BOOL KUSB_API Unsupported_GetAssociatedInterface(
  355. _in KUSB_HANDLE InterfaceHandle,
  356. _in UCHAR AssociatedInterfaceIndex,
  357. _out KUSB_HANDLE* AssociatedInterfaceHandle)
  358. {
  359. UNREFERENCED_PARAMETER(InterfaceHandle);
  360. UNREFERENCED_PARAMETER(AssociatedInterfaceIndex);
  361. UNREFERENCED_PARAMETER(AssociatedInterfaceHandle);
  362. SetLastError(ERROR_NOT_SUPPORTED);
  363. return FALSE;
  364. }
  365. KUSB_EXP BOOL KUSB_API Unsupported_Clone(
  366. _in KUSB_HANDLE InterfaceHandle,
  367. _out KUSB_HANDLE* DstInterfaceHandle)
  368. {
  369. UNREFERENCED_PARAMETER(InterfaceHandle);
  370. UNREFERENCED_PARAMETER(DstInterfaceHandle);
  371. SetLastError(ERROR_NOT_SUPPORTED);
  372. return FALSE;
  373. }
  374. KUSB_EXP BOOL KUSB_API Unsupported_QueryPipe(
  375. _in KUSB_HANDLE InterfaceHandle,
  376. _in UCHAR AltSettingNumber,
  377. _in UCHAR PipeIndex,
  378. _out PWINUSB_PIPE_INFORMATION PipeInformation)
  379. {
  380. UNREFERENCED_PARAMETER(InterfaceHandle);
  381. UNREFERENCED_PARAMETER(AltSettingNumber);
  382. UNREFERENCED_PARAMETER(PipeIndex);
  383. UNREFERENCED_PARAMETER(PipeInformation);
  384. SetLastError(ERROR_NOT_SUPPORTED);
  385. return FALSE;
  386. }
  387. KUSB_EXP BOOL KUSB_API Unsupported_QueryInterfaceSettings(
  388. _in KUSB_HANDLE InterfaceHandle,
  389. _in UCHAR AltSettingIndex,
  390. _out PUSB_INTERFACE_DESCRIPTOR UsbAltInterfaceDescriptor)
  391. {
  392. UNREFERENCED_PARAMETER(InterfaceHandle);
  393. UNREFERENCED_PARAMETER(AltSettingIndex);
  394. UNREFERENCED_PARAMETER(UsbAltInterfaceDescriptor);
  395. SetLastError(ERROR_NOT_SUPPORTED);
  396. return FALSE;
  397. }
  398. BOOL GetProcAddress_Unsupported(__out KPROC* ProcAddress, __in LONG FunctionID)
  399. {
  400. switch(FunctionID)
  401. {
  402. case KUSB_FNID_Initialize:
  403. *ProcAddress = (KPROC)Unsupported_Initialize;
  404. break;
  405. case KUSB_FNID_GetDescriptor:
  406. *ProcAddress = (KPROC)Unsupported_GetDescriptor;
  407. break;
  408. case KUSB_FNID_QueryDeviceInformation:
  409. *ProcAddress = (KPROC)Unsupported_QueryDeviceInformation;
  410. break;
  411. case KUSB_FNID_SetCurrentAlternateSetting:
  412. *ProcAddress = (KPROC)Unsupported_SetCurrentAlternateSetting;
  413. break;
  414. case KUSB_FNID_GetCurrentAlternateSetting:
  415. *ProcAddress = (KPROC)Unsupported_GetCurrentAlternateSetting;
  416. break;
  417. case KUSB_FNID_SetPipePolicy:
  418. *ProcAddress = (KPROC)Unsupported_SetPipePolicy;
  419. break;
  420. case KUSB_FNID_GetPipePolicy:
  421. *ProcAddress = (KPROC)Unsupported_GetPipePolicy;
  422. break;
  423. case KUSB_FNID_ReadPipe:
  424. *ProcAddress = (KPROC)Unsupported_ReadPipe;
  425. break;
  426. case KUSB_FNID_WritePipe:
  427. *ProcAddress = (KPROC)Unsupported_WritePipe;
  428. break;
  429. case KUSB_FNID_ControlTransfer:
  430. *ProcAddress = (KPROC)Unsupported_ControlTransfer;
  431. break;
  432. case KUSB_FNID_ResetPipe:
  433. *ProcAddress = (KPROC)Unsupported_ResetPipe;
  434. break;
  435. case KUSB_FNID_AbortPipe:
  436. *ProcAddress = (KPROC)Unsupported_AbortPipe;
  437. break;
  438. case KUSB_FNID_FlushPipe:
  439. *ProcAddress = (KPROC)Unsupported_FlushPipe;
  440. break;
  441. case KUSB_FNID_SetPowerPolicy:
  442. *ProcAddress = (KPROC)Unsupported_SetPowerPolicy;
  443. break;
  444. case KUSB_FNID_GetPowerPolicy:
  445. *ProcAddress = (KPROC)Unsupported_GetPowerPolicy;
  446. break;
  447. case KUSB_FNID_GetOverlappedResult:
  448. *ProcAddress = (KPROC)Unsupported_GetOverlappedResult;
  449. break;
  450. case KUSB_FNID_ResetDevice:
  451. *ProcAddress = (KPROC)Unsupported_ResetDevice;
  452. break;
  453. case KUSB_FNID_Init:
  454. *ProcAddress = (KPROC)Unsupported_Init;
  455. break;
  456. case KUSB_FNID_SetConfiguration:
  457. *ProcAddress = (KPROC)Unsupported_SetConfiguration;
  458. break;
  459. case KUSB_FNID_GetConfiguration:
  460. *ProcAddress = (KPROC)Unsupported_GetConfiguration;
  461. break;
  462. case KUSB_FNID_ClaimInterface:
  463. *ProcAddress = (KPROC)Unsupported_ClaimInterface;
  464. break;
  465. case KUSB_FNID_ReleaseInterface:
  466. *ProcAddress = (KPROC)Unsupported_ReleaseInterface;
  467. break;
  468. case KUSB_FNID_SetAltInterface:
  469. *ProcAddress = (KPROC)Unsupported_SetAltInterface;
  470. break;
  471. case KUSB_FNID_GetAltInterface:
  472. *ProcAddress = (KPROC)Unsupported_GetAltInterface;
  473. break;
  474. case KUSB_FNID_IsoReadPipe:
  475. *ProcAddress = (KPROC)Unsupported_IsoReadPipe;
  476. break;
  477. case KUSB_FNID_IsoWritePipe:
  478. *ProcAddress = (KPROC)Unsupported_IsoWritePipe;
  479. break;
  480. case KUSB_FNID_GetCurrentFrameNumber:
  481. *ProcAddress = (KPROC)Unsupported_GetCurrentFrameNumber;
  482. break;
  483. default:
  484. *ProcAddress = (KPROC)NULL;
  485. USBERRN("Unrecognized function id! FunctionID=%u", FunctionID);
  486. break;
  487. }
  488. return LusbwError(ERROR_NOT_SUPPORTED);
  489. }