Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PolyLine and graph scaling - aka Fer shame Carlo. Pin
npuleio7-Feb-10 23:30
npuleio7-Feb-10 23:30 
QuestionDoubts about sockets in vc++ Pin
thangvel5-Feb-10 0:32
thangvel5-Feb-10 0:32 
AnswerRe: Doubts about sockets in vc++ Pin
Richard MacCutchan5-Feb-10 0:46
mveRichard MacCutchan5-Feb-10 0:46 
AnswerRe: Doubts about sockets in vc++ Pin
CPallini5-Feb-10 0:52
mveCPallini5-Feb-10 0:52 
AnswerRe: Doubts about sockets in vc++ Pin
fat_boy5-Feb-10 1:04
fat_boy5-Feb-10 1:04 
AnswerRe: Doubts about sockets in vc++ Pin
Moak5-Feb-10 2:26
Moak5-Feb-10 2:26 
QuestionIOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
MKC0024-Feb-10 22:26
MKC0024-Feb-10 22:26 
AnswerRe: IOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
vasu_sri4-Feb-10 22:36
vasu_sri4-Feb-10 22:36 
u can try with this IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS structure.
it gives pratition number.

like this,
VOLUME_DISK_EXTENTS pdg;
....
DeviceIoControl(...,IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS,...);
....
pdg.Extents->DiskNumber;

thats it.

Regards,
Srinivas

GeneralRe: IOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
MKC0024-Feb-10 23:21
MKC0024-Feb-10 23:21 
GeneralRe: IOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
vasu_sri4-Feb-10 23:40
vasu_sri4-Feb-10 23:40 
GeneralRe: IOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
Adam Roderick J5-Feb-10 0:10
Adam Roderick J5-Feb-10 0:10 
Questionpicture control is hidden by static box Pin
learningvisualc4-Feb-10 21:48
learningvisualc4-Feb-10 21:48 
AnswerRe: picture control is hidden by static box Pin
KingsGambit4-Feb-10 22:14
KingsGambit4-Feb-10 22:14 
GeneralRe: picture control is hidden by static box Pin
learningvisualc4-Feb-10 22:26
learningvisualc4-Feb-10 22:26 
GeneralRe: picture control is hidden by static box Pin
KingsGambit4-Feb-10 22:38
KingsGambit4-Feb-10 22:38 
GeneralRe: picture control is hidden by static box Pin
learningvisualc4-Feb-10 22:53
learningvisualc4-Feb-10 22:53 
GeneralRe: picture control is hidden by static box Pin
Moak4-Feb-10 23:15
Moak4-Feb-10 23:15 
GeneralRe: picture control is hidden by static box Pin
KingsGambit4-Feb-10 23:21
KingsGambit4-Feb-10 23:21 
GeneralRe: picture control is hidden by static box Pin
KingsGambit4-Feb-10 23:34
KingsGambit4-Feb-10 23:34 
QuestionFAST Embedded Model Approach Pin
debrah.h484-Feb-10 19:45
debrah.h484-Feb-10 19:45 
AnswerVoted to remove Pin
Rajesh R Subramanian4-Feb-10 21:41
professionalRajesh R Subramanian4-Feb-10 21:41 
Questionhow do i call c++ dll function from another c ++ dll Pin
jadhavjitendrar4-Feb-10 19:05
jadhavjitendrar4-Feb-10 19:05 
AnswerRe: how do i call c++ dll function from another c ++ dll Pin
Rajesh R Subramanian4-Feb-10 19:14
professionalRajesh R Subramanian4-Feb-10 19:14 
AnswerRe: how do i call c++ dll function from another c ++ dll [modified] Pin
Adam Roderick J4-Feb-10 21:17
Adam Roderick J4-Feb-10 21:17 
AnswerRe: how do i call c++ dll function from another c ++ dll Pin
fat_boy5-Feb-10 1:08
fat_boy5-Feb-10 1:08 

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.