mCtrl  0.8.4
Data Structures | Functions
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...


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

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:


The function supports DLLVERSIONINFO as well as DLLVERSIONINFO2 structure. See documentation of the function on MSDN for further info about the function:

Data Structure Documentation


Structure describing MCTRL.DLL version.

See Also
Data Fields
DWORD dwMajor Major version number.
DWORD dwMinor Minor version number.
DWORD dwRelease Release version number.

Function Documentation

void MCTRL_API mcVersion ( MC_VERSION lpVersion)

Retrieve MCTRL.DLL version.

[out]lpVersionPointer to the version structure.