IAttachmentSecurity::IsAttachmentBlocked
Applies to: Outlook 2013 | Outlook 2016
Checks if a specified attachment is blocked by Microsoft Outlook 2010 or Microsoft Outlook 2013 for viewing and indexing.
HRESULT IAttachmentSecurity::IsAttachmentBlocked(
LPCWSTR pwszFileName
BOOL *pfBlocked
);
Parameters
pwszFileName
[in] Pointer to the filename of an attachment.
pfBlocked
[out] Pointer to a value indicating true if the specified attachment is blocked; otherwise, false.