Microsoft DirectX 8.1 (C++)

CPersistStream::GetSoftwareVersion

Retrieves the software version for this stream.

Syntax

virtual DWORD GetSoftwareVersion(void);

Return Value

Returns a DWORD containing the version number. Each time the format of the stream is changed, this function should be altered to return a larger number than before.

Remarks

For an explanation as to why file format version numbers are useful, see Version Numbers.

See Also