Namespaces | Enumerations | Functions

utilintf.h File Reference

#include "strbasic.h"
#include "utilexp.h"

Go to the source code of this file.

Namespaces

namespace   UtilityInterface

Enumerations

enum   EProductID { k3dsMax, k3dsMaxDesign }
 

Identifiers for 3ds Max based products.

More...

Functions

UtilExport const MCHAR *  GetRegistryKeyBase ()
  Returns the base product registry key: "SOFTWARE\<Company Name>\<Product Name>\<version>".
UtilExport const MCHAR *  GetRegistryCompanyBase ()
  Returns the base company registry key: "SOFTWARE\<Company Name>".
UtilExport const MCHAR *  GetRegistrySoftwareBase ()
  Returns the software base (i.e. SOFTWARE - should be static from release to release.)
UtilExport const MCHAR *  GetCompanyName ()
  Returns the company name (i.e. Autodesk). Mainly for branding purposes.
UtilExport const MCHAR *  GetProductName ()
  Returns the product name (i.e. 3dsmax).
UtilExport EProductID  GetProductID ()
  Allows to identify the product based on an identifier.
UtilExport const MCHAR *  GetCurrentVersion ()
  Returns the current release-number (major, minor release: #.#).
UtilExport bool  GetBoolEnvironmentVariable (const MCHAR *pEnvVarName, bool defaultVal)
  Returns the true/false value of an environment variable.
UtilExport void  DisplayOutOfMemoryWarning ()
  Display a warning telling the user the application is out of memory.
UtilExport bool  DisplayOutOfMemoryWarning (MCHAR *message)
  Displays a warning telling the user the application is out of memory.