double funcToGetDriveFreeSpace(LPSTR drive)// give drive name here
CString driveName = drive;
//LPCTSTR DiskDirectory = _T("C:\\"); // directory name
__int64 AvailableBytes; // number of bytes on disk available to the caller
__int64 TotalBytes; // number of bytes on disk
__int64 FreeBytes; // free bytes on disk
DWORD SectorsPerCluster=0; // pointer to sectors per cluster
DWORD BytesPerSector=0; // pointer to bytes per sector
DWORD FreeClusters=0; // pointer to number of free clusters
DWORD TotalClusters=0; // pointer to total number of clusters
See its not clear what you want to achieve. Give more details on what exactly is your goal, and please spare some time in explaining what have you achieved till now and what is required to be achieved. Please be specific in asking about what you want to do , else its all too vague.
I have a multi channel video mixer and want to output the video via HDMI. I started with DirectShow but the latency is like 6 frames. Much too high for what I am doing. Then I moved to DirectX. The problem that instantly surfaced is I dont know when the current frame was sent or when to send the frame. I tried using WaitForVerticalBlank or sensing where the output is but that did not help. Is there a callback I dont know about or some special hook that will allow me to time my output?
High Frequency timer seems to be exteremly inaccurate.
HELP? ideas? Sample code? What I need is something that will allow me to send an interlaced frame of HD video with very low latency. I am trying to use a video board because of its low cost and the fact it should be able to be done.
You can't put in a View class all on it's own, you need some support classes. Hopefully this article has done the job for you. If so, give them a vote and a nice comment.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]