Compartir a través de


IAttachmentSecurity::IsAttachmentBlocked

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Checks if a specified attachment is blocked by Microsoft Outlook 2010 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.

See Also

Concepts

MAPI Constants

How to: Verify an Attachment is Blocked