File:  [OS/2 SDKs] / pmsdk / samples / iniedit / iniedit.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:33 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
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;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.