Changeset 229 for trunk/include/helpers
- Timestamp:
- Nov 24, 2002, 9:45:05 PM (23 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/comctl.h
r214 r229 481 481 #define SBCF_3DSUNK 0x0100 482 482 #define SBCF_3DEXPLORERSTYLE 0x0200 483 // new with V 0.9.21(2002-08-21) [umoeller]483 // new with V1.0.0 (2002-08-21) [umoeller] 484 484 // this simulates the Warp 4 entry field margins around the 485 485 // right split window, but leaves the left window flat -
trunk/include/helpers/dialog.h
r209 r229 106 106 // flags for winhAdjustControls; any combination of 107 107 // XAC_MOVEX, XAC_MOVEY, XAC_SIZEX, XAC_SIZEY 108 // removed V 0.9.21(2002-08-18) [umoeller]108 // removed V1.0.0 (2002-08-18) [umoeller] 109 109 110 110 SIZEL szlDlgUnits; … … 244 244 245 245 #define START_TABLE_EXT(fl) { TYPE_START_NEW_TABLE, (ULONG)NULL, fl } 246 // added V 0.9.21(2002-08-16) [umoeller]246 // added V1.0.0 (2002-08-16) [umoeller] 247 247 248 248 #define START_TABLE_ALIGN START_TABLE_EXT(TABLE_ALIGN_COLUMNS) … … 251 251 252 252 #define START_GROUP_TABLE_EXT(pDef, fl) { TYPE_START_NEW_TABLE, (ULONG)pDef, fl } 253 // added V 0.9.21(2002-08-16) [umoeller]253 // added V1.0.0 (2002-08-16) [umoeller] 254 254 255 255 #define START_GROUP_TABLE_ALIGN(pDef) START_GROUP_TABLE_EXT(pDef, TABLE_ALIGN_COLUMNS) -
trunk/include/helpers/dosh.h
r220 r229 353 353 // drive was booted from 354 354 355 // media flags: all changed V 0.9.21(2002-08-31) [umoeller]355 // media flags: all changed V1.0.0 (2002-08-31) [umoeller] 356 356 357 357 #define DFL_MEDIA_PRESENT 0x0100 … … 371 371 // set for CD-ROMs only if the CD-ROM 372 372 // door is currently open 373 // V 0.9.21(2002-08-31) [umoeller]373 // V1.0.0 (2002-08-31) [umoeller] 374 374 375 375 #define DFL_SUPPORTS_EAS 0x0800 -
trunk/include/helpers/lan.h
r114 r229 32 32 #define LANH_HEADER_INCLUDED 33 33 34 APIRET lanInit(VOID); 34 #ifndef SNLEN 35 #define CNLEN 15 /* Computer name length */ 36 #define UNCLEN (CNLEN+2) /* UNC computer name length */ 37 #define NNLEN 12 /* 8.3 Net name length */ 38 #define RMLEN (UNCLEN+1+NNLEN) /* Maximum remote name length */ 39 40 #define SNLEN 15 /* Service name length */ 41 #define STXTLEN 63 /* Service text length */ 42 #endif 35 43 36 44 #pragma pack(1) 45 46 /* 47 *@@ SERVER: 48 * 49 */ 50 37 51 typedef struct _SERVER 38 52 { … … 44 58 PSZ pszComment; // server comment 45 59 } SERVER, *PSERVER; 60 61 /* 62 *@@ SERVICEBUF1: 63 * 64 */ 65 66 typedef struct _SERVICEBUF1 // service_info_1 67 { 68 unsigned char svci1_name[SNLEN+1]; 69 unsigned short svci1_status; 70 unsigned long svci1_code; 71 unsigned short svci1_pid; 72 } SERVICEBUF1, *PSERVICEBUF1; 73 74 /* 75 *@@ SERVICEBUF2: 76 * 77 */ 78 79 typedef struct _SERVICEBUF2 // service_info_2 80 { 81 unsigned char svci2_name[SNLEN+1]; /* service name */ 82 unsigned short svci2_status; /* See status values below */ 83 unsigned long svci2_code; /* install code of service */ 84 unsigned short svci2_pid; /* pid of service program */ 85 unsigned char svci2_text[STXTLEN+1]; /* text area for use by services */ 86 } SERVICEBUF2, *PSERVICEBUF2; 87 46 88 #pragma pack() 89 90 #ifndef SV_TYPE_ALL 91 #define SV_TYPE_ALL 0xFFFFFFFF /* handy for NetServerEnum2 */ 92 #endif 93 94 #ifndef SERVICE_INSTALL_STATE 95 #define SERVICE_INSTALL_STATE 0x03 96 #define SERVICE_UNINSTALLED 0x00 97 // service stopped (not running) 98 #define SERVICE_INSTALL_PENDING 0x01 99 // service start pending 100 #define SERVICE_UNINSTALL_PENDING 0x02 101 // service stop pending 102 #define SERVICE_INSTALLED 0x03 103 // service started 104 105 #define SERVICE_PAUSE_STATE 0x0C 106 #define SERVICE_ACTIVE 0x00 107 // service active (not paused) 108 #define SERVICE_CONTINUE_PENDING 0x04 109 // service continue pending 110 #define SERVICE_PAUSE_PENDING 0x08 111 // service pause pending 112 #define SERVICE_PAUSED 0x0C 113 // service paused 114 115 #define SERVICE_NOT_UNINSTALLABLE 0x00 116 // service cannot be stopped 117 #define SERVICE_UNINSTALLABLE 0x10 118 // service can be stopped 119 120 #define SERVICE_NOT_PAUSABLE 0x00 121 // service cannot be paused 122 #define SERVICE_PAUSABLE 0x20 123 // service can be paused 124 125 /* Requester service only: 126 * Bits 8,9,10 -- redirection paused/active */ 127 128 #define SERVICE_REDIR_PAUSED 0x700 129 #define SERVICE_REDIR_DISK_PAUSED 0x100 130 // redirector for disks paused 131 #define SERVICE_REDIR_PRINT_PAUSED 0x200 132 // redirector for spooled devices paused 133 #define SERVICE_REDIR_COMM_PAUSED 0x400 134 // redirector for serial devices paused 135 136 #define SERVICE_CTRL_INTERROGATE 0 137 #define SERVICE_CTRL_PAUSE 1 138 #define SERVICE_CTRL_CONTINUE 2 139 #define SERVICE_CTRL_UNINSTALL 3 140 #endif 141 142 APIRET lanInit(VOID); 47 143 48 144 APIRET lanQueryServers(PSERVER *paServers, 49 145 ULONG *pcServers); 50 146 147 APIRET lanServiceGetInfo(PCSZ pcszServiceName, 148 PSERVICEBUF2 pBuf); 149 150 APIRET lanServiceInstall(PCSZ pcszServiceName, 151 PSERVICEBUF2 pBuf2); 152 153 APIRET lanServiceControl(PCSZ pcszServiceName, 154 ULONG opcode, 155 PSERVICEBUF2 pBuf2); 51 156 #endif 52 157 -
trunk/include/helpers/pmsems.h
r208 r229 39 39 * the OS/2 debugging handbook. 40 40 * 41 *@@added V 0.9.21(2002-08-12) [umoeller]41 *@@added V1.0.0 (2002-08-12) [umoeller] 42 42 */ 43 43 -
trunk/include/helpers/prfh.h
r216 r229 65 65 // PrfReset failed V0.9.19 (2002-04-02) [umoeller] 66 66 67 #define ERROR_PRF_LAST (ERROR_PRF_FIRST + 11) 67 #define PRFERR_INVALID_APP_NAME (ERROR_PRF_FIRST + 12) 68 // V1.0.0 (2002-09-17) [umoeller] 69 #define PRFERR_INVALID_KEY_NAME (ERROR_PRF_FIRST + 13) 70 // V1.0.0 (2002-09-17) [umoeller] 71 72 #define ERROR_PRF_LAST (ERROR_PRF_FIRST + 13) 68 73 69 74 /* ****************************************************************** … … 110 115 // V0.9.19 (2002-04-17) [umoeller] 111 116 112 // class replacements list V 0.9.21(2002-08-26) [umoeller]117 // class replacements list V1.0.0 (2002-08-26) [umoeller] 113 118 DECLARE_PRFH_STRING(WPINIAPP_REPLACEMENTS, "PM_Workplace:ReplaceList"); 114 119 -
trunk/include/helpers/xprf.h
r113 r229 135 135 ********************************************************************/ 136 136 137 #define XINI_MAGIC_BYTES "hjba78j,"138 139 137 #ifdef LINKLIST_HEADER_INCLUDED 138 139 #define XINI_MAGIC_BYTES "xpRfMa\x03" 140 140 141 /* 141 142 *@@ XINI: … … 151 152 CHAR acMagic[sizeof(XINI_MAGIC_BYTES)]; 152 153 // magic bytes for security 154 // removed V1.0.0 (2002-09-20) [umoeller] 153 155 CHAR szFilename[CCHMAXPATH]; 156 154 157 HFILE hFile; // returned by DosProtectOpen 155 FHLOCK hLock; // lock ID of DosProtectOpen 158 // FHLOCK hLock; // lock ID of DosProtectOpen 159 // removed V1.0.0 (2002-09-20) [umoeller] 156 160 BOOL fDirty; // TRUE if changed and needs to be flushed 157 161 // on close … … 159 163 // applications list 160 164 LINKLIST llApps; // contains PXINIAPPDATA items 161 ULONG cApps; // count of items on list162 165 } XINI, *PXINI; 163 166 #else … … 168 171 PXINI *ppxini); 169 172 170 BOOL xprfCloseProfile(PXINI hIni); 171 172 /* BOOL xprfQueryProfileData(PXINI hIni, 173 const char *pcszApp, 174 const char *pcszKey, 175 PVOID pBuffer, 176 PULONG pulBufferMax); */ 177 178 BOOL xprfWriteProfileData(PXINI hIni, 179 const char *pcszApp, 180 const char *pcszKey, 181 PVOID pData, 182 ULONG ulDataLen); 173 APIRET xprfCloseProfile(PXINI hIni); 174 175 APIRET xprfQueryProfileSize(PXINI pXIni, 176 PCSZ pszAppName, 177 PCSZ pszKeyName, 178 PULONG pulDataLen); 179 180 APIRET xprfQueryProfileData(PXINI pXIni, 181 PCSZ pszAppName, 182 PCSZ pszKeyName, 183 PVOID pBuffer, 184 PULONG pulBufferMax); 185 186 APIRET xprfWriteProfileData(PXINI hIni, 187 const char *pcszApp, 188 const char *pcszKey, 189 PVOID pData, 190 ULONG ulDataLen); 191 192 APIRET xprfQueryKeysForApp(PXINI hIni, 193 PCSZ pcszApp, 194 PSZ *ppszKeys); 183 195 184 196 /* ****************************************************************** … … 209 221 210 222 APIRET xprfCopyKey(HINI hiniSource, 211 P SZ pszSourceApp,212 P SZ pszKey,223 PCSZ pszSourceApp, 224 PCSZ pszKey, 213 225 PXINI hiniTarget, 214 PSZ pszTargetApp); 226 PCSZ pszTargetApp); 227 228 APIRET xprfCopyKey2(PXINI hiniSource, 229 PCSZ pszSourceApp, 230 PCSZ pszKey, 231 HINI hiniTarget, 232 PCSZ pszTargetApp); 215 233 216 234 APIRET xprfCopyApp(HINI hiniSource, 217 P SZ pszSourceApp,235 PCSZ pszSourceApp, 218 236 PXINI hiniTarget, 219 P SZ pszTargetApp,237 PCSZ pszTargetApp, 220 238 PSZ pszErrorKey); 221 239 240 APIRET xprfCopyApp2(PXINI hiniSource, 241 PCSZ pszSourceApp, 242 HINI hiniTarget, 243 PCSZ pszTargetApp, 244 PSZ pszErrorKey); 245 222 246 APIRET xprfCopyProfile(HINI hOld, 223 P SZ pszNew,247 PCSZ pszNew, 224 248 PFN_PRF_PROGRESS pfnProgressCallback, 225 249 ULONG ulUser, 226 250 ULONG ulCount, 227 ULONG ulMax); 251 ULONG ulMax, 252 PSZ pszFailingApp); 228 253 229 254 APIRET xprfSaveINIs(HAB hab, 230 255 PFN_PRF_PROGRESS pfnProgressCallback, 231 ULONG ulUser); 256 ULONG ulUser, 257 PSZ pszFailingINI, 258 PSZ pszFailingApp, 259 PSZ pszFailingKey); 232 260 #endif 233 261
Note:
See TracChangeset
for help on using the changeset viewer.