IObexSink::Notify

This method notifies the user of incoming requests.

HRESULT Notify(
  OBEX_EVENT Event,
  IUnknown* pUnk1,
  IUnknown* pUnk2
);

Parameters

  • Event
    [in] Event message.
  • pUnk1
    [in] Pointer to the first parameter definition.
  • pUnk2
    [in] Pointer to the second parameter definition.

Return Values

The appropriate HResult is returned.

Remarks

This method is called when a device is discovered or when more information about it is found.

When you implement this method, it must be thread safe.

Note   There is one callback thread for each IObex interface. No time consuming operations should be performed on the callback notifications. If any long operations are performed, then notification of the other OBEX events will be delayed until the notification returns.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Obex.h, Obex.idl.
Link Library: Uuid.lib.

See Also

IObexSink | OBEX Interfaces

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.