The Command method executes a command on a deferred action message. The Microsoft Exchange Client calls this method when the associated rule is triggered.
Input parameter. Points to a string containing an encoding of the command to execute. The Microsoft Exchange Client obtains this command encoding through a call to the GetCommand method.
cb
Input parameter. The size, in bytes, of the MAPI ENTRYID structure where peid points.
peid
Input parameter. Points to an ENTRYID structure containing the entry identifier of the message to which the command applies.
Return Values
Return E_FAIL if the command fails; return NOERROR if the command completes successfully.
Remarks
The custom action DLL can use the IExchangeRuleExtCallback interface's methods to obtain information on the Microsoft Exchange Client.