NAME

HrThisThreadAdviseSink  (MAPI32.42)

SYNOPSIS

 HRESULT HrThisThreadAdviseSink
 (
  LPMAPIADVISESINK  lpSink,
  LPMAPIADVISESINK* lppNewSink
 )

DESCRIPTION

Ensure that an advise sink is only notified in its originating thread.

PARAMS

lpSink [In] IMAPIAdviseSink interface to be protected.
lppNewSink [In] Destination for wrapper IMAPIAdviseSink interface.

RETURNS

Success: S_OK. *lppNewSink contains a new sink to use in place of lpSink.

Failure: E_INVALIDARG, if any parameter is invalid.

IMPLEMENTATION

Declared in "mapiutil.h". https://source.winehq.org/source/include/mapiutil.h

Implemented in "dlls/mapi32/util.c". https://source.winehq.org/source/dlls/mapi32/util.c

Debug channel "mapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.