Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Determining integrity level and isolation

It may be necessary for your ActiveX control to determine the current integrity or isolation level. This can be achieved by checking the process token, as shown here:

The GetTokenInformation function gets information about an access token, if the calling process has rights to access the information.

For an example, see Searching for a SID in an access token.

To determine if a process is running in an AppContainer, use the TokenIsAppContainer value from the TOKEN_INFORMATION_CLASS enumeration.

For more info, see:

Related topics

Enhanced protected mode (EPM) may be enabled on the desktop
Supporting enhanced protected mode (EPM)
Granting resource access to AppContainers
Creating and opening securable objects



© 2015 Microsoft