VDC_SetPosition

Microsoft SQL Server Virtual Backup

Microsoft SQL Server Virtual Backup Device Specification

VDC_SetPosition

This command is required if VDF_Position or VDF_RandomAccess is set in the configuration. The position field must be provided as input to this command. The resulting position must be returned on command completion similar to when a GetPosition command is executed immediately after the SetPosition.

If VDF_RandomAccess is specified, the input position is interpreted as a byte offset relative to the beginning of data, current position, or end of data. The beginning of data, VDC_Beginning (0), current position, VDC_Current (1), or end of data, VDC_End (2), information is obtained from the size field of the command.

If SetPosition is used without VDF_RandomAccess, then the position is device defined. Only positions previously returned by a GetPosition command are specified by a SetPosition command.