Click here to Skip to main content
16,013,489 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC questions Pin
Binayak19-Jan-04 12:50
Binayak19-Jan-04 12:50 
GeneralRe: MFC questions Pin
Ravi Bhavnani19-Jan-04 12:57
professionalRavi Bhavnani19-Jan-04 12:57 
GeneralRe: MFC questions Pin
Binayak19-Jan-04 13:11
Binayak19-Jan-04 13:11 
GeneralRe: MFC questions Pin
Ravi Bhavnani19-Jan-04 13:25
professionalRavi Bhavnani19-Jan-04 13:25 
GeneralRe: MFC questions Pin
Roger Allen19-Jan-04 23:35
Roger Allen19-Jan-04 23:35 
GeneralRe: MFC questions Pin
Binayak20-Jan-04 10:00
Binayak20-Jan-04 10:00 
GeneralRe: MFC questions Pin
Binayak20-Jan-04 10:33
Binayak20-Jan-04 10:33 
GeneralQuestion about DRIVE_LAYOUT_INFORMATION Pin
Cyrus Dang19-Jan-04 11:58
Cyrus Dang19-Jan-04 11:58 
Dear all,
In Windows 2000/XP platform, we can easily get this information from function DeviceIoControl with code IOCTL_DISK_GET_DRIVE_LAYOUT. However, in Windows 98/Me, we failed. We all know that most of the fields in this struct are located at MBR and the first sector of each partition.

typedef struct _DRIVE_LAYOUT_INFORMATION {
DWORD PartitionCount;
DWORD Signature; // ********
PARTITION_INFORMATION PartitionEntry[1];
} DRIVE_LAYOUT_INFORMATION;

typedef struct _PARTITION_INFORMATION {
LARGE_INTEGER StartingOffset;
LARGE_INTEGER PartitionLength;
DWORD HiddenSectors;
DWORD PartitionNumber;// ********
BYTE PartitionType;// ********
BOOLEAN BootIndicator;// ********
BOOLEAN RecognizedPartition;// ********
BOOLEAN RewritePartition;// ********
} PARTITION_INFORMATION, *PPARTITION_INFORMATION;

Unmarked fields are got easily from partition entries in MBR and the first sector of each partition. The marked ones are unknown. Therefore, my question is how to get those marked fields? I mean the other ways to get that information in Windows 98/Me platform. Thank you very much.
Best regards.
Tuan Dang.

____
Tuan
GeneralLogging in as another user from a service Pin
Navin19-Jan-04 10:53
Navin19-Jan-04 10:53 
GeneralRe: Logging in as another user from a service Pin
Garth J Lancaster19-Jan-04 11:09
professionalGarth J Lancaster19-Jan-04 11:09 
GeneralRe: Logging in as another user from a service Pin
Navin19-Jan-04 11:14
Navin19-Jan-04 11:14 
GeneralRe: Logging in as another user from a service Pin
Garth J Lancaster19-Jan-04 11:21
professionalGarth J Lancaster19-Jan-04 11:21 
GeneralRe: Logging in as another user from a service Pin
Garth J Lancaster19-Jan-04 11:28
professionalGarth J Lancaster19-Jan-04 11:28 
GeneralRe: Logging in as another user from a service Pin
Navin19-Jan-04 11:34
Navin19-Jan-04 11:34 
GeneralPerformance issues Pin
lpRomang19-Jan-04 10:52
lpRomang19-Jan-04 10:52 
GeneralRe: Performance issues Pin
фил21-Jan-04 4:33
фил21-Jan-04 4:33 
GeneralStubborn mnemonics Pin
satcat19-Jan-04 9:48
satcat19-Jan-04 9:48 
GeneralRe: Stubborn mnemonics Pin
Michael Dunn19-Jan-04 10:28
sitebuilderMichael Dunn19-Jan-04 10:28 
GeneralRe: Stubborn mnemonics Pin
satcat19-Jan-04 14:11
satcat19-Jan-04 14:11 
GeneralMDI WS_SYSMENU question... Pin
RobJones19-Jan-04 9:26
RobJones19-Jan-04 9:26 
GeneralRe: MDI WS_SYSMENU question... Pin
Ivor S. Sargoytchev19-Jan-04 11:44
Ivor S. Sargoytchev19-Jan-04 11:44 
GeneralRe: MDI WS_SYSMENU question... Pin
RobJones19-Jan-04 14:12
RobJones19-Jan-04 14:12 
GeneralWriting in a multiline Edit Box Pin
satcat19-Jan-04 9:22
satcat19-Jan-04 9:22 
GeneralRe: Writing in a multiline Edit Box Pin
David Crow19-Jan-04 10:50
David Crow19-Jan-04 10:50 
GeneralRe: Writing in a multiline Edit Box Pin
satcat19-Jan-04 14:16
satcat19-Jan-04 14:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.