Click here to Skip to main content
15,887,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: IOCTL_STORAGE_GET_DEVICE_NUMBER fail to get disk number Pin
MKC0024-Feb-10 23:21
MKC0024-Feb-10 23:21 
Thanks
After using that i get correct disk number. But i found starting offset and extent length different.It shows very large value for starting offset.And extent length shows a value(0x7e00) which is the position in disk from where this partition start.
Does extentlength means total size of drive or position of drive in disk?

typedef struct _DISK_EXTENT {
DWORD DiskNumber;
LARGE_INTEGER StartingOffset;
LARGE_INTEGER ExtentLength;
} DISK_EXTENT, *PDISK_EXTENT;
typedef struct _VOLUME_DISK_EXTENTS {
DWORD NumberOfDiskExtents;
DISK_EXTENT Extents[1];
} VOLUME_DISK_EXTENTS, *PVOLUME_DISK_EXTENTS;
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 
GeneralRe: how do i call c++ dll function from another c ++ dll Pin
Rajesh R Subramanian5-Feb-10 6:51
professionalRajesh R Subramanian5-Feb-10 6:51 

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.