Provides a Boolean test that can be used to make decisions based on the attachment's execution policy.
HRESULT CheckPolicy( );
This method has no parameters.
Returns one of the following values.
|Any other failure code||Disable|
IAttachmentExecute::CheckPolicy examines a set of properties known collectively as evidence. Anything used to determine trust level is considered evidence. These properties are set using the following methods.
|Minimum supported client||Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|
|DLL||Shdocvw.dll (version 6.0 or later)|