Changeset 21
- Timestamp:
- Jan 8, 2001, 6:54:48 PM (25 years ago)
- Location:
- trunk
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/cnrh.h
r17 r21 39 39 #endif 40 40 41 /* 42 *@@category: Helpers\PM helpers\Container helpers\Details view helpers 43 */ 44 41 45 /* ****************************************************************** 42 46 * … … 107 111 ULONG ulFieldReturn); 108 112 113 /* 114 *@@category: Helpers\PM helpers\Container helpers\Record core helpers 115 */ 116 109 117 /* ****************************************************************** 110 118 * … … 174 182 WinSendMsg(hwndCnr, CM_INVALIDATERECORD, NULL, MPFROM2SHORT(0, CMA_ERASE | CMA_REPOSITION | CMA_TEXTCHANGED)) 175 183 184 /* 185 *@@category: Helpers\PM helpers\Container helpers\View management 186 */ 187 176 188 /* ****************************************************************** 177 189 * … … 186 198 * be a PCNRINFO. 187 199 * Example: 200 * 188 201 + CNRINFO CnrInfo; 189 202 + cnrhQueryCnrInfo(&CnrInfo); … … 199 212 /* 200 213 *@@ BEGIN_CNRINFO: 201 * this func starts a "container info" block for the 202 * following functions. 214 * this macro starts a "container info" block. In such 215 * a block, you may use the following macros: 216 * 217 * -- cnrhSetTitle 218 * 219 * -- cnrhSetSplitBarAfter 220 * 221 * -- cnrhSetSplitBarPos 222 * 223 * -- cnrhSetTreeBmpOrIconSize 224 * 225 * -- cnrhSetBmpOrIconSize 226 * 227 * -- cnrhSetView (most frequently) 228 * 229 * -- cnrhSetTreeIndent 230 * 231 * -- cnrhSetSortFunc 232 * 233 * Typical usage is like this: 234 * 235 + BEGIN_CNRINFO() 236 + { 237 + cnrhSetTreeIndent(20); 238 + cnrhSetView(CV_TREE | CV_ICON | CA_TREELINE); 239 + } END_CNRINFO(hwndCnr); 240 * 203 241 * This must always be followed by END_CNRINFO(), 204 242 * or you'll get funny compilation errors. … … 215 253 /* 216 254 *@@ END_CNRINFO: 217 * this ends a "container info" block started by218 * BEGIN_CNRINFO.255 * this macro ends a "container info" block. 256 * See BEGIN_CNRINFO. 219 257 * 220 258 *@@added V0.9.0 … … 228 266 /* 229 267 *@@ cnrhSetTitle: 230 * this sets the container title to the specified268 * this macro sets the container title to the specified 231 269 * text. You must specify CA_CONTAINERTITLE with 232 270 * cnrhSetView then. 271 * 272 * This can only be used after BEGIN_CNRINFO(). 233 273 * 234 274 *@@added V0.9.1 (99-12-18) [umoeller] … … 278 318 * tree views. 279 319 * The default is the system icon size (32 or 40). 320 * 321 * This can only be used after BEGIN_CNRINFO(). 280 322 */ 281 323 … … 304 346 /* 305 347 *@@ cnrhSetView: 306 * this sets the container view attributes (CNRINFO.flWindowAttr). 307 * 308 * This can only be used after BEGIN_CNRINFO(). 348 * this macro sets the container view attributes (CNRINFO.flWindowAttr). 349 * 350 * This can only be used after BEGIN_CNRINFO(), like this: 351 * 352 + BEGIN_CNRINFO() 353 + { 354 + cnrhSetView(CV_TEXT | CV_FLOW); 355 + } END_CNRINFO(hwndCnr); 309 356 * 310 357 * The following combinations are useful for flWindowAttr. … … 382 429 /* 383 430 *@@ cnrhSetTreeIndent: 384 * this sets the horizontal spacing between levels431 * this macro sets the horizontal spacing between levels 385 432 * in Tree views. 433 * 434 * This can only be used after BEGIN_CNRINFO(). 386 435 * 387 436 *@@added V0.9.0 … … 394 443 /* 395 444 *@@ cnrhSetSortFunc: 396 * this sets the sort function for a container. 445 * this macro sets the sort function for a container. 446 * 397 447 * This can only be used after BEGIN_CNRINFO(). 398 448 * … … 473 523 PRECORDCORE preccCurrent); 474 524 525 /* 526 *@@category: Helpers\PM helpers\Container helpers\Record relations/iteration 527 */ 528 475 529 /* ****************************************************************** 476 530 * -
trunk/include/helpers/comctl.h
r20 r21 440 440 // TOOLINFO.uFlags flags (ORed) 441 441 // #define TTF_IDISHWND 0x0001 442 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 bullshit442 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 crap 443 443 #define TTF_CENTERBELOW 0x0002 444 444 #define TTF_CENTERABOVE 0x0004 445 445 // #define TTF_RTLREADING 0x0004 446 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 bullshit446 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 crap 447 447 #define TTF_SUBCLASS 0x0008 448 448 // non-Win95 flags … … 460 460 * and many other TTM_* messages. 461 461 * 462 *@@changed V0.9.7 (2001-01-03) [umoeller]: removed all that win95 bullshit462 *@@changed V0.9.7 (2001-01-03) [umoeller]: removed all that win95 crap 463 463 */ 464 464 … … 526 526 * This structure is used with the TTN_NEEDTEXT notification. 527 527 * 528 *@@changed V0.9.7 (2001-01-03) [umoeller]: got rid of this win95 bullshit528 *@@changed V0.9.7 (2001-01-03) [umoeller]: got rid of this win95 crap 529 529 */ 530 530 -
trunk/include/helpers/stringh.h
r14 r21 125 125 const char *pcszEndChars); 126 126 127 PSZ strhFindEOL( PSZ pszSearchIn, ULONG *pulOffset);127 PSZ strhFindEOL(const char *pcszSearchIn, ULONG *pulOffset); 128 128 129 129 PSZ strhFindNextLine(PSZ pszSearchIn, PULONG pulOffset); -
trunk/include/helpers/textv_html.h
r14 r21 66 66 PSZ pszTitle; // contents of TITLE tag (must be freed) 67 67 LINKLIST llLinks; // list of XHTMLLINK structures; empty if none 68 // (auto-free mode; use lstClear) 68 69 } XHTMLDATA, *PXHTMLDATA; 69 70 #endif -
trunk/include/helpers/xstring.h
r18 r21 65 65 typedef void XWPENTRY XSTRCLEAR(PXSTRING pxstr); 66 66 typedef XSTRCLEAR *PXSTRCLEAR; 67 68 ULONG XWPENTRY xstrReserve(PXSTRING pxstr, ULONG ulBytes); 69 typedef ULONG XWPENTRY XSTRRESERVE(PXSTRING pxstr, ULONG ulBytes); 70 typedef XSTRRESERVE *PXSTRRESERVE; 67 71 68 72 PXSTRING XWPENTRY xstrCreate(ULONG ulPreAllocate); -
trunk/readme.txt
r16 r21 1 XWP Helpers 0.9. 6README1 XWP Helpers 0.9.7 README 2 2 (W) Ulrich Mller, October 26, 2000 3 Last updated December 11, 2000, Ulrich Mller3 Last updated January 6, 2001, Ulrich Mller 4 4 5 5 … … 131 131 132 132 Of course, nothing stops you from writing your own makefile 133 if you find all this to complicated. However, if you choose133 if you find all this too complicated. However, if you choose 134 134 to use my makefile from within your own project, you can 135 135 then simply change to the src\helpers directory and start a … … 159 159 compile. 160 160 161 I have a "flat" include policy, meaning that include files 162 may not include other files. Instead, #include's may only 163 occur in C files. This makes makefile dependencies easier 164 to maintain. 165 161 166 Besides, the helpers C code expects a file called "setup.h" 162 167 in your include path somewhere. This is included by _all_ … … 178 183 // with VAC, use _Optlink; that's faster than _System 179 184 #define XWPENTRY _Optlink 185 // or: #define XWPENTRY _System 180 186 #endif 181 187 -
trunk/src/helpers/animate.c
r18 r21 65 65 /* 66 66 *@@category: Helpers\PM helpers\Animation helpers 67 * See animate.c. 67 68 */ 68 69 -
trunk/src/helpers/cctl_chart.c
r18 r21 81 81 /* 82 82 *@@category: Helpers\PM helpers\Window classes\Chart control 83 * See cctl_chart.c. 83 84 */ 84 85 -
trunk/src/helpers/cctl_checkcnr.c
r14 r21 81 81 /* 82 82 *@@category: Helpers\PM helpers\Window classes\Checkbox containers 83 * See cctl_checkcnr.c. 83 84 */ 84 85 -
trunk/src/helpers/cctl_progbar.c
r18 r21 81 81 /* 82 82 *@@category: Helpers\PM helpers\Window classes\Progress bars 83 * See cctl_progbar.c. 83 84 */ 84 85 -
trunk/src/helpers/cctl_splitwin.c
r14 r21 81 81 /* 82 82 *@@category: Helpers\PM helpers\Window classes\Split windows 83 * See cctl_splitwin.c. 83 84 */ 84 85 -
trunk/src/helpers/cctl_tooltip.c
r20 r21 81 81 /* 82 82 *@@category: Helpers\PM helpers\Window classes\Tooltips 83 * See cctl_tooltip.c. 83 84 */ 84 85 … … 1289 1290 // compose values for that msg 1290 1291 TOOLTIPTEXT ttt = {0}; 1291 _Pmpf(("TTM_GETTEXT: PSZ_TEXTCALLBACK "));1292 _Pmpf(("TTM_GETTEXT: PSZ_TEXTCALLBACK... sending TTN_NEEDTEXT")); 1292 1293 ttt.hwndTooltip = hwndTooltip; 1293 1294 ttt.hwndTool = pti->hwndTool; 1294 WinSendMsg(pti->hwndTool ,1295 WinSendMsg(pti->hwndToolOwner, 1295 1296 WM_CONTROL, 1296 1297 MPFROM2SHORT(pttd->ulTooltipID, // tooltip control wnd ID -
trunk/src/helpers/cnrh.c
r17 r21 63 63 64 64 /* 65 *@@category: Helpers\PM helpers\Container helpers 66 * See cnrh.c. 67 */ 68 69 /* 65 70 *@@category: Helpers\PM helpers\Container helpers\Details view helpers 71 * these functions aid you in setting up the FIELDINFO structures 72 * for a container Details view. Use cnrhSetFieldInfos for that. 66 73 */ 67 74 … … 343 350 /* 344 351 *@@category: Helpers\PM helpers\Container helpers\Record core helpers 352 * functions for allocating and inserting records more easily. 353 * 354 * Use cnrhAllocRecords first to allocate, then cnrhInsertRecords 355 * to insert the records. 345 356 */ 346 357 … … 742 753 /* 743 754 *@@category: Helpers\PM helpers\Container helpers\View management 755 * functions for easily managing container views. 756 * 757 * Most importantly, this has the BEGIN_CNRINFO and END_CNRINFO 758 * macros which make CNRINFO handling easier. Also see 759 * cnrhSetView for that. 744 760 */ 745 761 … … 812 828 * 813 829 * With fl, specify any or none of the following: 830 * 814 831 * -- FRFP_RIGHTSPLITWINDOW: test right split Details view 815 832 * instead of main cnr. 833 * 816 834 * -- FRFP_SCREENCOORDS: *pptl specifies the point to 817 835 * check in _screen_ coordinates, instead of … … 1310 1328 /* 1311 1329 *@@category: Helpers\PM helpers\Container helpers\Record relations/iteration 1330 * functions for querying the relation of records and 1331 * iterating through records. 1312 1332 */ 1313 1333 … … 1396 1416 // first call: get parent of precTest; 1397 1417 // subsequent calls: climb up 1398 precParentThis = WinSendMsg(hwndCnr,1399 CM_QUERYRECORD,1400 precParentThis,1401 MPFROM2SHORT(CMA_PARENT,1402 CMA_ITEMORDER));1418 precParentThis = (PRECORDCORE)WinSendMsg(hwndCnr, 1419 CM_QUERYRECORD, 1420 precParentThis, 1421 MPFROM2SHORT(CMA_PARENT, 1422 CMA_ITEMORDER)); 1403 1423 if (precParentThis == (PRECORDCORE)-1) 1404 1424 break; -
trunk/src/helpers/comctl.c
r14 r21 124 124 /* 125 125 *@@category: Helpers\PM helpers\Window classes\Menu buttons 126 * See comctl.c and ctlMakeMenuButton. 126 127 */ 127 128 … … 495 496 /* 496 497 *@@category: Helpers\PM helpers\Window classes\Static bitmaps 498 * See comctl.c and ctl_fnwpBitmapStatic. 497 499 */ 498 500 … … 978 980 /* 979 981 *@@category: Helpers\PM helpers\Window classes\Stretched bitmaps 982 * See comctl.c and ctlPrepareStretchedBitmap. 980 983 */ 981 984 … … 1061 1064 /* 1062 1065 *@@category: Helpers\PM helpers\Window classes\Hotkey entry field 1066 * See comctl.c and ctl_fnwpObjectHotkeyEntryField. 1063 1067 */ 1064 1068 -
trunk/src/helpers/datetime.c
r15 r21 54 54 /* 55 55 *@@category: Helpers\C helpers\Date/time helpers 56 * See datetime.c. 56 57 */ 57 58 -
trunk/src/helpers/debug.c
r14 r21 88 88 /* 89 89 *@@category: Helpers\Control program helpers\Exceptions/debugging 90 * See except.c and debug.c. 90 91 */ 91 92 -
trunk/src/helpers/dosh.c
r17 r21 73 73 /* 74 74 *@@category: Helpers\Control program helpers\Miscellaneous 75 * Miscellaneous helpers in dosh.c that didn't fit into any other 76 * category. 75 77 */ 76 78 … … 215 217 216 218 /* 217 *@@category: Helpers\Control program helpers\Memory management 219 *@@category: Helpers\Control program helpers\Shared memory management 220 * helpers for allocating and requesting shared memory. 218 221 */ 219 222 … … 286 289 /* 287 290 *@@category: Helpers\Control program helpers\Drive management 291 * functions for managing drives... enumerating, testing, 292 * querying etc. 288 293 */ 289 294 … … 1297 1302 /* 1298 1303 *@@category: Helpers\Control program helpers\Directory management 1304 * directory helpers (querying, creating, deleting etc.). 1299 1305 */ 1300 1306 … … 1534 1540 /* 1535 1541 *@@category: Helpers\Control program helpers\Module handling 1542 * helpers for importing functions from a module (DLL). 1536 1543 */ 1537 1544 … … 1591 1598 /* 1592 1599 *@@category: Helpers\Control program helpers\Performance (CPU load) helpers 1600 * helpers around DosPerfSysCall. 1593 1601 */ 1594 1602 … … 1852 1860 /* 1853 1861 *@@category: Helpers\Control program helpers\Process management 1862 * helpers for starting subprocesses. 1854 1863 */ 1855 1864 -
trunk/src/helpers/dosh2.c
r18 r21 346 346 /* 347 347 *@@category: Helpers\Control program helpers\Environment management 348 * helpers for managing those ugly environment string arrays 349 * that are used with DosStartSession and WinStartApp. 348 350 */ 349 351 … … 749 751 /* 750 752 *@@category: Helpers\Control program helpers\Executable info 753 * these functions can retrieve BLDLEVEL information from 754 * any executable module. See doshExecOpen. 751 755 */ 752 756 … … 1195 1199 /* 1196 1200 *@@category: Helpers\Control program helpers\Partitions info 1201 * functions for retrieving partition information directly 1202 * from the partition tables on the disk. See doshGetPartitionsList. 1197 1203 */ 1198 1204 -
trunk/src/helpers/eah.c
r14 r21 98 98 /* 99 99 *@@category: Helpers\Control program helpers\Extended attributes 100 * See eah.c. 100 101 */ 101 102 … … 404 405 /* 405 406 *@@category: Helpers\Control program helpers\Extended attributes\Translation helpers 407 * these functions are built on top of the regular EA helpers 408 * (see eah.c) to convert standard types to EAs. 406 409 */ 407 410 -
trunk/src/helpers/except.c
r15 r21 264 264 /* 265 265 *@@category: Helpers\Control program helpers\Exceptions/debugging 266 * See except.c. 266 267 */ 267 268 -
trunk/src/helpers/gpih.c
r18 r21 77 77 LONG DisplayCaps[CAPS_DEVICE_POLYSET_POINTS] = {0}; 78 78 BOOL fCapsQueried = FALSE; 79 80 /* 81 *@@category: Helpers\PM helpers\GPI helpers 82 * See gpih.c. 83 */ 79 84 80 85 /* -
trunk/src/helpers/level.c
r14 r21 50 50 /* 51 51 *@@category: Helpers\Control program helpers\SYSLEVEL parsing 52 * helpers for parsing SYSLEVEL files. See lvlOpenLevelFile. 52 53 */ 53 54 -
trunk/src/helpers/linklist.c
r17 r21 79 79 /* 80 80 *@@category: Helpers\C helpers\Linked lists 81 * See linklist.c. 81 82 */ 82 83 -
trunk/src/helpers/memdebug.c
r14 r21 131 131 /* 132 132 *@@category: Helpers\C helpers\Heap debugging 133 * See memdebug.c. 133 134 */ 134 135 -
trunk/src/helpers/shapewin.c
r14 r21 213 213 /* 214 214 *@@category: Helpers\PM helpers\Window classes\Shaped windows (transparency) 215 * see shapewin.c. 215 216 */ 216 217 -
trunk/src/helpers/stringh.c
r18 r21 59 59 /* 60 60 *@@category: Helpers\C helpers\String management 61 * See stringh.c and xstring.c. 62 */ 63 64 /* 65 *@@category: Helpers\C helpers\String management\C string helpers 66 * See stringh.c. 61 67 */ 62 68 … … 988 994 */ 989 995 990 PSZ strhFindEOL( PSZ pszSearchIn, // in: where to search996 PSZ strhFindEOL(const char *pcszSearchIn, // in: where to search 991 997 PULONG pulOffset) // out: offset (ptr can be NULL) 992 998 { 993 PSZ p = pszSearchIn,994 prc = NULL;999 const char *p = pcszSearchIn, 1000 *prc = 0; 995 1001 while (TRUE) 996 1002 { … … 1004 1010 1005 1011 if (pulOffset) 1006 *pulOffset = prc - pszSearchIn; 1007 return (prc); 1012 *pulOffset = prc - pcszSearchIn; 1013 1014 return ((PSZ)prc); 1008 1015 } 1009 1016 -
trunk/src/helpers/syssound.c
r18 r21 96 96 /* 97 97 *@@category: Helpers\Profile (INI) helpers\System sounds 98 * see syssound.c. 98 99 */ 99 100 -
trunk/src/helpers/textv_html.c
r14 r21 56 56 /* 57 57 *@@category: Helpers\PM helpers\Window classes\XTextView control\HTML conversion 58 * see textv_html.c. 58 59 */ 59 60 … … 2060 2061 ULONG cbSource = strlen(*ppszText); 2061 2062 2063 XHTMLDATA xhtmlTemp = {0}; 2064 BOOL fUsingTemp = FALSE; 2062 2065 COPYTARGET ct = {0}; 2063 2066 … … 2069 2072 ct.fSkipNextSpace = TRUE; 2070 2073 ct.pxhtml = (PXHTMLDATA)pxhtml; 2074 if (ct.pxhtml == NULL) // not specified: 2075 { 2076 ct.pxhtml = &xhtmlTemp; 2077 fUsingTemp = TRUE; 2078 } 2079 2080 lstInit(&ct.pxhtml->llLinks, TRUE); // auto-free 2071 2081 2072 2082 // step 2: … … 2218 2228 lstClear(&ct.llLists); 2219 2229 2230 if (fUsingTemp) 2231 { 2232 if (xhtmlTemp.pszTitle) 2233 free(xhtmlTemp.pszTitle); 2234 lstClear(&xhtmlTemp.llLinks); 2235 // ### better really clear this... there are PSZ's inside 2236 } 2237 2220 2238 return (brc); 2221 2239 } -
trunk/src/helpers/threads.c
r19 r21 6 6 * message queue which is created automatically. 7 7 * 8 * See thrCreate() for how to start such a thread. 9 * 8 10 * Usage: All OS/2 programs. 9 11 * … … 13 15 * This file is new with V0.81 and contains all the thread 14 16 * functions that used to be in helpers.c. 15 *16 * Use thrCreate() to start a thread.17 17 * 18 18 * Note: Version numbering in this file relates to XWorkplace version … … 56 56 /* 57 57 *@@category: Helpers\Control program helpers\Thread management 58 * see threads.c. 58 59 */ 59 60 -
trunk/src/helpers/timer.c
r19 r21 91 91 /* 92 92 *@@category: Helpers\PM helpers\Timer replacements 93 * see timer.c. 93 94 */ 94 95 -
trunk/src/helpers/tmsgfile.c
r14 r21 84 84 /* 85 85 *@@category: Helpers\Control program helpers\Text message files (TMF) 86 * see tmsgfile.c. 86 87 */ 87 88 -
trunk/src/helpers/tree.c
r14 r21 102 102 /* 103 103 *@@category: Helpers\C helpers\Red-black balanced binary trees 104 * See tree.c. 104 105 */ 105 106 -
trunk/src/helpers/winh.c
r18 r21 2469 2469 * wrapper around WinStartApp which fixes the 2470 2470 * specified PROGDETAILS to (hopefully) work 2471 * work with all executable types :2472 * 2473 * 1.This fixes the executable info to support:2474 * 2475 * 2476 * 2477 * 2478 * 2479 * 2480 * 2481 * 2. Handles and merges special and default2482 * 2483 * 2484 * 2485 * 2486 * 2487 * 2471 * work with all executable types. 2472 * 2473 * This fixes the executable info to support: 2474 * 2475 * -- starting "*" executables (command prompts 2476 * for OS/2, DOS, Win-OS/2); 2477 * 2478 * -- starting ".CMD" and ".BAT" files as 2479 * PROGDETAILS.pszExecutable. 2480 * 2481 * This also handles and merges special and default 2482 * environments for the app to be started. 2483 * If PROGDETAILS.pszEnvironment is empty 2484 * and the application is a Win-OS/2 app, 2485 * this uses the default Win-OS/2 settings 2486 * as specified in the "Win-OS/2" WPS settings 2487 * object. 2488 2488 * 2489 2489 * Even though this isn't clearly said in PMREF, -
trunk/src/helpers/wphandle.c
r14 r21 69 69 /* 70 70 *@@category: Helpers\PM helpers\Workplace Shell\Handles (OS2SYS.INI) 71 * See wphandle.c. 71 72 */ 72 73 -
trunk/src/helpers/xprf.c
r14 r21 109 109 /* 110 110 *@@category: Helpers\Profile (INI) replacement functions 111 * See xprf.c. 111 112 */ 112 113 -
trunk/src/helpers/xstring.c
r18 r21 113 113 114 114 /* 115 *@@category: Helpers\C helpers\String management 115 *@@category: Helpers\C helpers\String management\XStrings (with memory management) 116 * See xstring.c. 116 117 */ 117 118 … … 240 241 free(pxstr->psz); 241 242 memset(pxstr, 0, sizeof(XSTRING)); 243 } 244 245 /* 246 *@@ xstrReserve: 247 * this function makes sure that the specified 248 * XSTRING has at least ulBytes bytes allocated. 249 * 250 * This function is useful if you plan to do 251 * a lot of string replacements or appends and 252 * want to avoid that the buffer is reallocated 253 * with each operation. Before those operations, 254 * call this function to make room for the operations. 255 * 256 * If ulBytes is smaller than the current allocation, 257 * this function does nothing. 258 * 259 * The XSTRING must be initialized before the 260 * call. 261 * 262 * Returns the new total no. of allocated bytes. 263 * 264 *@@added V0.9.7 (2001-01-07) [umoeller] 265 */ 266 267 ULONG xstrReserve(PXSTRING pxstr, 268 ULONG ulBytes) 269 { 270 ULONG cbNeeded = ulBytes; 271 272 if (cbNeeded > pxstr->cbAllocated) 273 { 274 // we need more memory than we have previously 275 // allocated: 276 if (pxstr->cbAllocated) 277 // appendee already had memory: 278 // reallocate 279 pxstr->psz = (PSZ)realloc(pxstr->psz, 280 cbNeeded); 281 else 282 { 283 // appendee has no memory: 284 pxstr->psz = (PSZ)malloc(cbNeeded); 285 *(pxstr->psz) = 0; 286 } 287 288 pxstr->cbAllocated = cbNeeded; 289 // ulLength is unchanged 290 } 291 292 return (pxstr->cbAllocated); 242 293 } 243 294
Note:
See TracChangeset
for help on using the changeset viewer.