Partager via


IStore::ReceiveFromInfrared (Compact 7)

3/12/2014

The ReceiveFromInfrared method initiates reception of an item over an infrared link.

Any type of item (Appointment, Task, Contact, Note or Mail) can be received over an infrared link. An item received over an infrared link is placed in the default folder for that type of item, in this Item Store.

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 ReceiveFromInfrared();

Return Value

The ReceiveFromInfrared method returns the following standard HRESULT values.

  • S_OK
    The operation completed successfully.
  • E_FAIL
    The operation failed due to an unspecified error.
  • E_INVALIDARG
    The operation failed because one (or more) of the arguments is not valid.
  • E_OUTOFMEMORY
    The operation failed because it needs more memory resources.
  • E_UNEXPECTED
    The operation failed due to an unexpected failure.

Remarks

New for Windows Embedded Compact 7.

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

IStore