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.
62 lines
1.4 KiB
62 lines
1.4 KiB
/* ************************************************
|
|
* File: Convert.h
|
|
* Purpose: Header file for Convert.c
|
|
* ************************************************
|
|
*/
|
|
|
|
#ifndef _CONVERT_
|
|
#define _CONVERT_
|
|
|
|
#ifndef RC_INVOKED
|
|
#pragma message ("Convert.h: C interfaces declared")
|
|
#endif /* RC_INVOKED */
|
|
|
|
|
|
#include "windows.h"
|
|
#include "windowsx.h"
|
|
|
|
#include "macname1.h"
|
|
#include "macos\AppleEve.h"
|
|
#include "macos\Menus.h"
|
|
#include "macos\Processe.h"
|
|
#include "macos\textutil.h"
|
|
#include "macos\Windows.h"
|
|
#include "macname2.h"
|
|
|
|
#include <String.h>
|
|
// -----------------------------------------
|
|
|
|
|
|
#define ON 0x00
|
|
#define OFF 0xFF
|
|
#define SELECTED 1
|
|
#define HILITED true
|
|
#define ACTIVE false
|
|
|
|
#define PLACE_IN_FRONT (WindowPtr) -1L
|
|
#define PLACE_IN_BACK 0L
|
|
#define VISIBLE true
|
|
|
|
// Copied from the old winwlm.h
|
|
#ifndef lstrcpyn
|
|
LPSTR WINAPI lstrcpynA(LPSTR lpString1, LPCSTR lpString2, int nMaxBytes);
|
|
#ifdef UNICODE
|
|
#define lstrcpyn lstrcpynW
|
|
#else
|
|
#define lstrcpyn lstrcpynA
|
|
#endif // !UNICODE
|
|
#endif // ifndef lstrcpyn
|
|
// ------------------------------------------
|
|
|
|
|
|
void __cdecl ShowHexNum(StringPtr firstStr, long theNum);
|
|
void __cdecl ShowNum(StringPtr wordStr, long theNum);
|
|
void __cdecl WindowsToMacRect(const PRECT windowsRectPtr, RectPtr macRectPtr);
|
|
|
|
|
|
WindowPtr MyGetWrapperWindow(HWND hwnd);
|
|
|
|
|
|
void FillerFunction(void);
|
|
|
|
#endif // ifndef _CONVERT_
|