Changeset 217 for trunk/src/helpers/dosh.c
- Timestamp:
- Aug 30, 2002, 1:21:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh.c
r201 r217 3749 3749 3750 3750 // resolve DosPerfSysCall API entry 3751 if (!(arc = DosLoadModule(NULL, 0, "DOSCALLS", &pPerfSys->hmod))) 3751 if (!(arc = DosLoadModule(NULL, 3752 0, 3753 "DOSCALLS", 3754 &pPerfSys->hmod))) 3752 3755 { 3753 3756 if (!(arc = DosQueryProcAddr(pPerfSys->hmod, 3754 3757 976, 3755 3758 "DosPerfSysCall", 3756 (PFN*) (&pPerfSys->pDosPerfSysCall))))3759 (PFN*)&pPerfSys->pDosPerfSysCall))) 3757 3760 { 3758 3761 // OK, we got the API: initialize! 3759 if (!(arc = pPerfSys->pDosPerfSysCall(CMD_KI_ENABLE, 0, 0, 0))) 3762 if (!(arc = pPerfSys->pDosPerfSysCall(CMD_KI_ENABLE, 3763 0, 3764 0, 3765 0))) 3760 3766 { 3761 3767 pPerfSys->fInitialized = TRUE; … … 3764 3770 if (!(arc = pPerfSys->pDosPerfSysCall(CMD_PERF_INFO, 3765 3771 0, 3766 (ULONG) (&pPerfSys->cProcessors),3772 (ULONG)&pPerfSys->cProcessors, 3767 3773 0))) 3768 3774 {
Note:
See TracChangeset
for help on using the changeset viewer.