IFolder2::SendToInfrared (Compact 7)
3/12/2014
The SendToInfrared method transmits items in the Infrared folder over the infrared (IR) port. This method is supported only for the Infrared folder.
Note While the Pocket Outlook Object Model (POOM) has methods related to infrared communication, Windows Embedded Compact 7 does not support the use of infrared hardware.
Syntax
HRESULT SendToInfrared();
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
The operation completed successfully. |
E_ABORT |
The user canceled the transfer before it was completed. |
E_FAIL |
The operation failed due to an unspecified error. |
E_OUTOFMEMORY |
The operation failed because it needs more memory resources. |
E_UNEXPECTED |
The operation failed due to an unexpected failure. |
Remarks
The SendToInfrared method is new for Windows Embedded Compact 7. It sends only items that are in the Infrared folder. Use the IFolder::AddItemToInfraredFolder method to copy items to the Infrared folder before calling the SendToInfrared method.
Requirements
Header |
pimstore.h |
Library |
Pimstore.lib |