Changeset 3188 for trunk/essentials/dev-lang/perl/os2/OS2/Process
- Timestamp:
- Apr 22, 2007, 10:57:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/perl/os2/OS2/Process/Process.xs
r3187 r3188 221 221 PIB *pib; 222 222 223 223 224 if (!(_emx_env & 0x200)) return (char*)ptypes[1]; /* not OS/2. */ 225 224 226 if (CheckOSError(DosGetInfoBlocks(&tib, &pib))) 225 227 return NULL; … … 234 236 ULONG apptype; 235 237 238 236 239 if (!(_emx_env & 0x200)) 237 240 croak("file_type not implemented on DOS"); /* not OS/2. */ 241 238 242 if (CheckOSError(DosQueryAppType(path, &apptype))) { 239 243 #if 0 … … 481 485 HSWITCH hSwitch; 482 486 487 483 488 if (!(_emx_env & 0x200)) 484 489 croak("switch_entry not implemented on DOS"); /* not OS/2. */ 490 485 491 if (CheckWinError(hSwitch = 486 492 myWinQuerySwitchHandle(hwnd, pid))) … … 683 689 SWENTRY swentry; 684 690 691 685 692 if (!(_emx_env & 0x200)) 686 693 croak("process_swentry not implemented on DOS"); /* not OS/2. */ 694 695 687 696 fill_swentry(&swentry, hwnd, pid); 688 697 return newSVpvn((char*)&swentry, sizeof(swentry)); … … 697 706 SV *sv = newSVpvn("",0); 698 707 708 699 709 if (!(_emx_env & 0x200)) 700 710 croak("swentries_list not implemented on DOS"); /* not OS/2. */ 711 701 712 if (!pWinQuerySwitchList) 702 713 AssignFuncPByORD(pWinQuerySwitchList, ORD_WinQuerySwitchList); … … 759 770 ULONG rc; /* For CheckOSError */ 760 771 772 761 773 if (!(_emx_env & 0x200)) 762 774 croak("change_entry() not implemented on DOS"); /* not OS/2. */ 775 763 776 if (!pWinChangeSwitchEntry) 764 777 AssignFuncPByORD(pWinChangeSwitchEntry, ORD_WinChangeSwitchEntry);
Note:
See TracChangeset
for help on using the changeset viewer.
