Determines if protected mode is enabled for the current process.


BOOL IsProtectedModeEnabled (VOID); 

Return Value

The function returns TRUE or FALSE according to whether protected mode is or is not enabled.


This function’s question is evaluated just the once. If the function has been called before, it returns whatever it knows from the first execution.

The function requires first that the current process is a browser process (see IsBrowserProcess) and then that the protected mode is enabled for browser processes (see IsProtectedModeEnabledForIE).


The IsProtectedModeEnabled function is exported from IERTUTIL as ordinal 42 in version 7.0 and higher.