2.2.22 FAX_VERSION

The FAX_VERSION structure contains information about the version of the fax server components. This structure is used by FAX_GetVersion (section 3.1.4.1.64).

 typedef struct {
   DWORD dwSizeOfStruct;
   BOOL bValid;
   WORD wMajorVersion;
   WORD wMinorVersion;
   WORD wMajorBuildNumber;
   WORD wMinorBuildNumber;
   DWORD dwFlags;
 } FAX_VERSION,
  *PFAX_VERSION;

dwSizeOfStruct: A DWORD ([MS-DTYP] section 2.2.9) value that holds the total size of the structure, in bytes. This value MUST be 20 bytes.

bValid: A Boolean value indicating the validity of the version information returned.

Note  This value MUST be set to false if no version information is returned in this structure.

wMajorVersion: A WORD containing the major version number of the fax server component.

wMinorVersion: A WORD containing the minor version number of the fax server component.

wMajorBuildNumber: A WORD containing the major build number of the fax server component.

wMinorBuildNumber: A WORD containing the minor build number of the fax server component.

dwFlags: A DWORD that MUST contain one of the following values.

Value/code

Meaning

0x00000000

Indicates that the server component was built in release mode.

Note  If built in release mode, this value MUST be zero, which is the default.

FAX_VER_FLAG_CHECKED

0x00000001

Indicates that the server component was built in debug mode.

FAX_VER_FLAG_EVALUATION

0x00000002

Indicates that the server component was built for evaluation purposes. Reserved for future use.