|
///////////////////////////////////////////////////////////////
//
// WindowHelper.h
//
// Created: 20/07/2003
// Copyright (c) 2003 Ralph Hare (ralph.hare@ysgyfarnog.co.uk)
// All rights reserved.
//
// The code and information is provided "as-is" without
// warranty of any kind, either expressed or implied.
//
///////////////////////////////////////////////////////////////
#ifndef __WINDOWHELPER_H_8360FA15_18D4_4399_8D81_A9F5D6A4F383_
#define __WINDOWHELPER_H_8360FA15_18D4_4399_8D81_A9F5D6A4F383_
#include "tstring.h"
namespace WindowHelper
{
/**
* Retrieve the class name of the given window
**/
tstring GetClassName( HWND hWnd );
struct VersionInfo
{
WORD minorVersion;
WORD majorVersion;
WORD fileVersion;
WORD buildNumber;
};
/**
* Retrive the module version info of the application that
* owns the passed window
**/
bool GetWindowModuleVersion( HWND hWnd, VersionInfo &versionInfo );
}
#endif // __WINDOWHELPER_H_8360FA15_18D4_4399_8D81_A9F5D6A4F383_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.