The EnableAttachment method enables the attachment for the given index
HRESULT EnableAttachment(
[in] LONG p_nIndex
);
Parameters:
p_nIndex
[in] attachment index
Return values:
S_OK on success or COM error codeNV_NOT_INITIALIZED - Initialize was not calledNV_UNKNOWN_PROFILE - no profile loadedNV_INVALID_ATTACHMENT - invalid attachment indexRemarks:
This method enables the attachment at position given by p_nIndex