Click here to Skip to main content
15,914,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm developing an USB application for interfacing USB device. When I call the DeviceIOControl() with IOCTL call "IOCTL_DISK_GET_PARTITION_INFO", I get the error as "The network request is not supported"(i get the error code as 50 using GetLastError())

Can any one help me out from this?

Regards
Mohan
Posted
Updated 3-Jan-11 21:16pm
v2

IOCTL_DISK_GET_PARTITION_INFO is superseded by IOCTL_DISK_GET_PARTITION_INFO_EX. More information here[^]
 
Share this answer
 
In the remarks section of IOCTL_DISK_GET_PARTITION_INFO[^] there's a table which shows for which disk types it's supported and a note on 64 bit systems; did you verify your disk is a valid target?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900