|
|
Microsoft OS/2 SDK PM 02-24-1989
/* include res file definitions */
#include "inires.h"
/****************************** Global Defines ******************************/
#define MAX_STRING_LEN 132
#define MAX_APP_NAMES 256
#define APP_FORM 0 /* Display Formats */
#define ALL_FORM 1
#define SZALL "Show All Entries"
#define SZAPP "Show Application Names"
/*********************** Common Function Declarations ***********************/
void ErrMessage( PCHAR );
VOID FindNext( VOID );
VOID PrintThread( VOID );
MRESULT CALLBACK SearchWndProc( HWND, USHORT, MPARAM, MPARAM );
MRESULT CALLBACK AddKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
MRESULT CALLBACK DelAppWndProc( HWND, USHORT, MPARAM, MPARAM );
MRESULT CALLBACK DelKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
MRESULT CALLBACK ChangeKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
/****************************** Type Definitions ****************************/
typedef struct
{
CHAR szKey[MAX_STRING_LEN];
CHAR szValue[MAX_STRING_LEN];
} PAIRSTRUCT;
typedef PAIRSTRUCT* PPAIRSTRUCT;
typedef struct
{
CHAR szAppName[MAX_STRING_LEN];
USHORT cKeys;
PPAIRSTRUCT pPairs;
} GROUPSTRUCT;
typedef GROUPSTRUCT* PGROUPSTRUCT;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.