IDSF::Version Property
The Version property gets the DSF version object (IDSFVersion).
This property is read-only.
Syntax
HRESULT get_Version(
[out, retval] DSFVersion **ppDSFVersion
);
Property Value
A pointer to caller-allocated space in which to return the interface on the DSFVersion object. The caller must release this interface.
Error Codes
Version returns S_OK if the DSFVersion object is returned correctly or E_POINTER if the ppDSFVersion parameter is not a valid pointer.
This method can also return many standard COM return values.
Examples
The following VBScript code example shows you how to use the DSFVersion object.
Dim DSF : Set DSF = CreateObject("DSF.DSF")
Dim DSFVersion : Set DSFVersion = DSF.Version
Dim DSFMajorVersion : DSFMajorVersion = DSFVersion.Major
Dim DSFMinorVersion : DSFMinorVersion = DSFVersion.Minor
Dim OSMajorVersion : OSMajorVersion = DSFVersion.OSMajor
Dim OSMinorVersion : OSMinorVersion = DSFVersion.OSMinor
Requirements
Header |
DSFif.h |
See Also
Send comments about this topic to Microsoft
Build date: 9/21/2010