home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
lpr32.zip
/
lpr32.h.ori
< prev
next >
Wrap
Text File
|
2001-03-05
|
2KB
|
72 lines
#define PATH_LPR32_PDR "?:\\OS2\\DLL\\LPR32.PDR"
#define LPR32_DLL "LPR32.PDR"
#define NO_ERROR 0
#define ERROR_MORE_DATA 234
#define ERROR_INSUFFICIENT_BUFFER 122
#define PORT_ID_1 5001
#define PORT_DESC_1 5002
#define PORT_ID_2 5003
#define PORT_DESC_2 5004
#define PORT_ID_3 5005
#define PORT_DESC_3 5006
#define PORT_ID_4 5007
#define PORT_DESC_4 5008
#define PORT_ID_5 5009
#define PORT_DESC_5 5010
#define PORT_ID_6 5011
#define PORT_DESC_6 5012
#define PORT_ID_7 5013
#define PORT_DESC_7 5014
#define PORT_ID_8 5015
#define PORT_DESC_8 5016
#define PORT_ID_9 5017
#define PORT_DESC_9 5018
#define PORT_HELP_TITLE 5100
#define PORT_ERR_TITLE 7000
#define PDR_ID_PROPERTIES 6001
#define PORT_ID_FIRST PORT_ID_1
#define PORT_ID_LAST PORT_ID_9
#define LPR32_ICON 7001
#define STR_LEN_PORTNAME 64
#define STR_LEN_PORTDESC 256
#define STR_LEN_DESC 81
#define PORT_ENTRY_LEN 256
#define STR_LEN_TITLE 256
/*
** port defaults
*/
#define DEF_INITIALIZATION "127.0.0.1;"
#define DEF_TERMINATION ";"
#define DEF_PORTDRIVER "LPR32;"
#define DEF_TIMEOUT "45;"
#define APPNAME_LEAD_STR "PM_"
#define KEY_DESCRIPTION "DESCRIPTION"
#define KEY_INITIALIZATION "INITIALIZATION"
#define KEY_TERMINATION "TERMINATION"
#define KEY_PORTDRIVER "PORTDRIVER"
#define KEY_TIMEOUT "TIMEOUT"
#define APPNAME_PM_SPOOLER_PORT "PM_SPOOLER_PORT"
#define IDD_LPR32 200
#define ID_NUMBER_OF_DESC_LINES 8000
#define ID_FIRST_DESC_LINES 8001
typedef struct _LPRDATA
{
HAB hAB;
HMODULE hModule;
PSZ pszPortName;
PSZ pszAppName;
ULONG lfModified;
} LPRDATA, *PLPRDATA;
#define ID_IP 201