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
466 B

  1. // MSConfigCtl.cpp : Implementation of CMSConfigCtl
  2. #include "stdafx.h"
  3. #include "Msconfig.h"
  4. #include "MSConfigCtl.h"
  5. #include "pagegeneral.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CMSConfigCtl
  8. STDMETHODIMP CMSConfigCtl::SetParentHWND(DWORD_PTR dwHWND)
  9. {
  10. AFX_MANAGE_STATE(AfxGetStaticModuleState());
  11. if (m_fDoNotRun)
  12. return S_OK;
  13. m_hwndParent = (HWND)dwHWND; // TBD - fix this for 64-bit windows
  14. return S_OK;
  15. }