Ignore:
Timestamp:
Nov 26, 2015, 3:24:03 AM (6 years ago)
Author:
roman
Message:

Added previously not included hooks; added IFilterMapper3 hook suppors; template library related updates; added FGT to replace ROT (to access services in particular) - work in progress; fixed class enumeration hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DirectShowSpy/Common.h

    r468 r545  
    4343public:
    4444// CProcessTokenPrivileges
    45         CProcessTokenPrivileges() throw() :
     45        CProcessTokenPrivileges() :
    4646                m_bTakeOwnershipPrivilegeEnabled(FALSE),
    4747                m_bRestorePrivilegeEnabled(FALSE)
     
    6666                __E(m_ProcessToken.EnablePrivilege(SE_RESTORE_NAME));
    6767                m_bRestorePrivilegeEnabled = TRUE;
     68        }
     69        BOOL IsTakeOwnershipPrivilegeEnabled() const
     70        {
     71                return m_bTakeOwnershipPrivilegeEnabled;
     72        }
     73        BOOL IsRestorePrivilegeEnabled() const
     74        {
     75                return m_bRestorePrivilegeEnabled;
    6876        }
    6977};
Note: See TracChangeset for help on using the changeset viewer.