mCtrl  0.9.2
Data Structures
version.h File Reference

Retrieving mCtrl version. More...

Go to the source code of this file.

Data Structures

struct  MC_VERSION
 Structure describing MCTRL.DLL version. More...
 

Functions

void mcVersion (MC_VERSION *lpVersion)
 Retrieve MCTRL.DLL version. More...
 

Detailed Description

Retrieving mCtrl version.

This header provides a functions to retrieve mCtrl version.

A simpler and very straightforward way is to call the function mcVersion.

More generic way is to use a de-facto standard way by calling the function DllGetVersion. MCTRL.DLL exports this function, as a lot of standard DLLs distributed by Microsoft does. Note this function has no declaration in any mCtrl public header, as it is inteded to be used with LoadLibrary only. Prototype of the function looks like this:

HRESULT MCTRL_API DllGetVersion(DLLVERSIONINFO* pdvi);

The function supports DLLVERSIONINFO as well as DLLVERSIONINFO2 structure. See documentation of the function on MSDN for further info about the function:
http://msdn.microsoft.com/en-us/library/bb776404%28VS.85%29.aspx


Data Structure Documentation

struct MC_VERSION

Structure describing MCTRL.DLL version.

See Also
mcVersion
Data Fields
DWORD dwMajor

Major version number.

DWORD dwMinor

Minor version number.

DWORD dwRelease

Release version number.

Function Documentation

void mcVersion ( MC_VERSION lpVersion)

Retrieve MCTRL.DLL version.

Parameters
[out]lpVersionPointer to the version structure.