Click here to Skip to main content
15,914,943 members
Home / Discussions / C#
   

C#

 
QuestionGet used space of DVD disc Pin
ndkit4-Jun-13 16:39
ndkit4-Jun-13 16:39 
Currently, I use IMAPI library to get the used space of DVD disc on Win7. The calculation is start when insert DVD (handle by WM_DEVICECHANGE window event).
However, with multi session disk (disk that is write many time without finalize), sometime it takes long time to get used space (double when comparing with Window Explorer).

I also investigated and found some other ways to get used space (use IOCTL_DISK_GET_DRIVE_GEOMETRY, IOCTL_SCSI_PASS_THROUGH_DIRECT). The calculating time is improved but result is different from Window result.

I also wonder there is any way that I can reuse the result of window (window also calculated the used space right after insert DVD) without re-calculating? Or any one else to calculate the used space?

Thank you for your interested and helping me.
AnswerRe: Get used space of DVD disc Pin
Abhinav S4-Jun-13 20:58
Abhinav S4-Jun-13 20:58 
GeneralRe: Get used space of DVD disc Pin
ndkit5-Jun-13 1:38
ndkit5-Jun-13 1:38 
QuestionASP or WPF? Pin
jeramyRR4-Jun-13 13:00
jeramyRR4-Jun-13 13:00 
AnswerRe: ASP or WPF? Pin
Ron Beyer4-Jun-13 15:56
professionalRon Beyer4-Jun-13 15:56 
GeneralRe: ASP or WPF? Pin
jeramyRR4-Jun-13 16:04
jeramyRR4-Jun-13 16:04 
GeneralRe: ASP or WPF? Pin
Ron Beyer4-Jun-13 16:07
professionalRon Beyer4-Jun-13 16:07 
GeneralRe: ASP or WPF? Pin
jeramyRR4-Jun-13 16:08
jeramyRR4-Jun-13 16:08 
AnswerRe: ASP or WPF? Pin
V.5-Jun-13 2:32
professionalV.5-Jun-13 2:32 
GeneralRe: ASP or WPF? Pin
jeramyRR5-Jun-13 5:39
jeramyRR5-Jun-13 5:39 
AnswerRe: ASP or WPF? Pin
Jasmine25015-Jun-13 12:07
Jasmine25015-Jun-13 12:07 
AnswerRe: ASP or WPF? Pin
_Maxxx_5-Jun-13 20:05
professional_Maxxx_5-Jun-13 20:05 
QuestionUSB Device search Pin
Blubbo4-Jun-13 7:19
Blubbo4-Jun-13 7:19 
AnswerRe: USB Device search Pin
Dave Kreskowiak4-Jun-13 10:59
mveDave Kreskowiak4-Jun-13 10:59 
GeneralRe: USB Device search Pin
Blubbo5-Jun-13 2:11
Blubbo5-Jun-13 2:11 
QuestionXLOCK in Sqlserver Pin
GauravSatpute3-Jun-13 23:53
GauravSatpute3-Jun-13 23:53 
AnswerRe: XLOCK in Sqlserver Pin
Eddy Vluggen4-Jun-13 0:29
professionalEddy Vluggen4-Jun-13 0:29 
AnswerRe: XLOCK in Sqlserver Pin
Nicholas Marty4-Jun-13 3:09
professionalNicholas Marty4-Jun-13 3:09 
AnswerRe: XLOCK in Sqlserver Pin
jschell4-Jun-13 8:47
jschell4-Jun-13 8:47 
QuestionAny one help me about the Recursion Concept Diagramatically. Pin
sgunasekhar3-Jun-13 23:09
sgunasekhar3-Jun-13 23:09 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
OriginalGriff3-Jun-13 23:24
mveOriginalGriff3-Jun-13 23:24 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Keith Barrow4-Jun-13 0:03
professionalKeith Barrow4-Jun-13 0:03 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
uspatel4-Jun-13 2:18
professionaluspatel4-Jun-13 2:18 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Abhinav S4-Jun-13 3:22
Abhinav S4-Jun-13 3:22 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Alan Balkany4-Jun-13 4:51
Alan Balkany4-Jun-13 4: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.