Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
473 B

  1. Here are the changes necessary for porting NT5 COM plugin back to NT4.
  2. 1. Include cppfunc.h. Which redefines the new/delete operators.
  3. 2. Simulate InterlockedIncrement/InterlockedDecrement. (pdev.h, common.c, comoem.cpp)
  4. 3. Need to define your own _purecall definition (comoem.cpp)
  5. 4. Use critical section, init, enter, leave, delete (pdev.h).
  6. 5. Need to export DllInitialize, where at process attach/detach, you need to init/delete critical section for OEM (initdll.c).