Changeset 240 for trunk/src/helpers/dosh.c
- Timestamp:
- Jan 12, 2003, 11:49:24 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh.c
r238 r240 1657 1657 ) 1658 1658 { 1659 CHAR szTemp[ 30] = "?:\\long.name.file";1659 CHAR szTemp[] = "?:\\long.name.file"; 1660 1660 szTemp[0] = ulLogicalDrive + 'A' - 1; 1661 1661 if (!(arc = DosOpen(szTemp, … … 4014 4014 + PDOSHPERFSYS pPerf = NULL; 4015 4015 + APIRET arc; 4016 + if (!(arc = arc =doshPerfOpen(&pPerf)))4016 + if (!(arc = doshPerfOpen(&pPerf))) 4017 4017 + { 4018 4018 + // this should really be in a timer, … … 4043 4043 4044 4044 // allocate DOSHPERFSYS structure 4045 *ppPerfSys = (PDOSHPERFSYS)malloc(sizeof(DOSHPERFSYS)); 4046 if (!*ppPerfSys) 4045 if (!(*ppPerfSys = (PDOSHPERFSYS)malloc(sizeof(DOSHPERFSYS)))) 4047 4046 arc = ERROR_NOT_ENOUGH_MEMORY; 4048 4047 else
Note:
See TracChangeset
for help on using the changeset viewer.