Pre-allocates the target to the specified size.
|C||HRESULT IltmmCapture_AllocTarget(pCapture, Size)|
Pointer to an IltmmCapture interface.
Value containing the size in megabytes of the target to be allocated.
|S_OK||The function was successful.|
|<> S_OK||An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.|
This function is typically used when the target is defined as a file. For best capture results, always capture to a defragmented, pre-allocated capture file that is larger than the size of the capture data.
|C||Advanced Capture Application|
|C++||Advanced Capture Application|
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries