Solved

IOCTL_DISK_GET_DRIVE_LAYOUT=???

Posted on 2000-03-10
4
441 Views
Last Modified: 2008-03-17
What's IOCTL_DISK_GET_DRIVE_LAYOUT equal to? You can see it in winioctl.h, I haven't it;)
0
Comment
Question by:ITugay
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:AndrewRodionov
ID: 2603745
Hi!

I can see the following line:

#define IOCTL_DISK_GET_DRIVE_LAYOUT     CTL_CODE(IOCTL_DISK_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)

Andrew
0
 
LVL 9

Author Comment

by:ITugay
ID: 2603769
Hi Andrew,
what's this mean? Can you calculate value of subj?

Thanx,
Igor.

0
 
LVL 2

Accepted Solution

by:
AndrewRodionov earned 20 total points
ID: 2603790
As far as I understand IOCTL_DISK_GET_DRIVE_LAYOUT is equal to 475148 (dec) or 7400C (hex).

Andrew
0
 
LVL 9

Author Comment

by:ITugay
ID: 2603841
Thanx Andrew,
You realy help me.

Cheers,
Igor.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now