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.

20 lines
395 B

  1. /*
  2. */
  3. #pragma once
  4. class CSxApwContext
  5. {
  6. public:
  7. CSxApwContext();
  8. ~CSxApwContext();
  9. HRESULT Init(HANDLE ActCtxHandle);
  10. };
  11. /*
  12. These functions are not sufficient. Someone still has to map from HMODULE to HANDLE, and
  13. not just keep creating a new one.
  14. */
  15. HRESULT SxApwHmoduleFromAddress(void* p, HMODULE* phModule);
  16. HRESULT SxApwHmoduleFromObject(IUnknown* punk, HMODULE* phModule);