mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
635 B
31 lines
635 B
// RunOrNot_.h : main header file for the RUNORNOT DLL
|
|
//
|
|
|
|
#include "debug.h"
|
|
#include "digsig.h"
|
|
#include "resource.h" // main symbols
|
|
#include "runornot.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
void FormatMessage(HINSTANCE hinst, LPTSTR szMessage, int cbMessage, UINT nFormatID, ...);
|
|
|
|
inline LONG Width(const RECT& rc)
|
|
{
|
|
return rc.right - rc.left;
|
|
}
|
|
|
|
inline LONG Height(const RECT& rc)
|
|
{
|
|
return rc.bottom - rc.top;
|
|
}
|
|
|
|
inline POINT Center(const RECT& rc)
|
|
{
|
|
POINT pt;
|
|
pt.x = (rc.left + rc.right) / 2;
|
|
pt.y = (rc.top + rc.bottom) / 2;
|
|
return pt;
|
|
}
|
|
|