Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Match USB Printer to friendly name Pin
gbeez10-Jun-08 12:04
gbeez10-Jun-08 12:04 
QuestionTracking Download Programatically Pin
Knight Rider27-May-08 8:39
Knight Rider27-May-08 8:39 
QuestionRe: Tracking Download Programatically Pin
David Crow27-May-08 9:43
David Crow27-May-08 9:43 
AnswerRe: Tracking Download Programatically Pin
Knight Rider27-May-08 11:25
Knight Rider27-May-08 11:25 
QuestionRe: Tracking Download Programatically Pin
David Crow27-May-08 15:55
David Crow27-May-08 15:55 
AnswerRe: Tracking Download Programatically Pin
led mike27-May-08 10:57
led mike27-May-08 10:57 
QuestionDisk Info Pin
john563227-May-08 7:01
john563227-May-08 7:01 
AnswerRe: Disk Info Pin
Jijo.Raj27-May-08 7:19
Jijo.Raj27-May-08 7:19 
If you just need the disk size information then use GetDiskFreeSpaceEx(). if you want more details such as tracks, sectors etc, partition info, then DeviceIoControl() will be helpful.

Check control codes such as IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GET_DRIVE_LAYOUT_EX etc.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: Disk Info Pin
Xeqtr27-May-08 8:27
Xeqtr27-May-08 8:27 
AnswerRe: Disk Info Pin
SandipG 27-May-08 18:37
SandipG 27-May-08 18:37 
GeneralRe: Disk Info Pin
Xeqtr27-May-08 22:55
Xeqtr27-May-08 22:55 
QuestionWindows upgradation problem Pin
problemfixer27-May-08 6:52
problemfixer27-May-08 6:52 
QuestionRe: Windows upgradation problem Pin
David Crow27-May-08 6:54
David Crow27-May-08 6:54 
AnswerRe: Windows upgradation problem Pin
led mike27-May-08 8:27
led mike27-May-08 8:27 
QuestionCursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
Robert Palma Jr.27-May-08 6:01
Robert Palma Jr.27-May-08 6:01 
QuestionRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
David Crow27-May-08 6:53
David Crow27-May-08 6:53 
AnswerRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
Robert Palma Jr.27-May-08 8:59
Robert Palma Jr.27-May-08 8:59 
GeneralRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
David Crow27-May-08 9:42
David Crow27-May-08 9:42 
GeneralRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
Robert Palma Jr.27-May-08 9:49
Robert Palma Jr.27-May-08 9:49 
QuestionSaving/loading data in listbox from e.g. text file in MFC SDI ? Pin
phicho27-May-08 5:48
phicho27-May-08 5:48 
AnswerRe: Saving/loading data in listbox from e.g. text file in MFC SDI ? Pin
David Crow27-May-08 6:09
David Crow27-May-08 6:09 
AnswerRe: Saving/loading data in listbox from e.g. text file in MFC SDI ? Pin
phicho28-May-08 9:31
phicho28-May-08 9:31 
QuestionProblem with OpenSSL Pin
Dr. Kelwin27-May-08 4:21
Dr. Kelwin27-May-08 4:21 
QuestionRe: Problem with OpenSSL Pin
Moak27-May-08 5:24
Moak27-May-08 5:24 
AnswerRe: Problem with OpenSSL Pin
Dr. Kelwin27-May-08 5:39
Dr. Kelwin27-May-08 5:39 

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.