Static Public Member Functions | Private Attributes | Static Private Attributes

Burger::Windows Class Reference

Class containing Win32 and Win64 specific helper functions. More...

#include <winonly.h>

Collaboration diagram for Burger::Windows:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static Word BURGER_API GetQuickTimeVersion (void)
 Return the version of QuickTime.

Private Attributes

Word32 m_uQuickTimeVersion
 QuickTime's version in 0x0102 (1.2) format.
Word8 m_bQuickTimeVersionValid
 TRUE if Quicktime's version is valid.

Static Private Attributes

static Windows s_Singleton

Detailed Description

Class containing Win32 and Win64 specific helper functions.

Code to simply common Windows operations for Win32 or Win64 specific code.

Note:
This class only exists on the BURGER_WINDOWS build target due to the specific nature of these calls. Do not attempt to use these functions on non BURGER_WINDOWS targets.

Member Function Documentation

Word BURGER_API Burger::Windows::GetQuickTimeVersion ( void   )  [static]

Return the version of QuickTime.

Detect if QuickTime is available, and if so, query it for the version present. If QuickTime is not available, the version returned is zero.

This function is written so it only asks for the version once from QuickTime. It will cache the version and return the cached value on subsequent calls.

By invoking DEEP magic, I will divine the version of QuickTimeX that is present. It will do a manual check of the system folder for eithr QTIM32.dll (Old) or Quicktime.qts (Current) and pull the version resource from the file.

Returns:
Version in the format of 0x0102 -> 1.2

Member Data Documentation

TRUE if Quicktime's version is valid.

QuickTime's version in 0x0102 (1.2) format.