111,082
社区成员




/// <summary>
/// Tells the camera that there is enough space on the HDD if SaveTo is set to Host
/// This method does not use the actual free space!
/// </summary>
public void SetCapacity()
{
lock (LVlock)
{
//create new capacity struct
EDSDK.EdsCapacity capacity = new EDSDK.EdsCapacity();
//set big enough values
capacity.Reset = 1;
capacity.BytesPerSector = 0x1000;
capacity.NumberOfFreeClusters = 0x7FFFFFFF;
//set the values to camera
Error = EDSDK.EdsSetCapacity(Ref, capacity);
}
}