Scroll to navigation

HrThisThreadAdviseSink(3w) Wine API HrThisThreadAdviseSink(3w)

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 "util.h".
Implemented in "dlls/mapi32/util.c".
Debug channel "mapi".
Oct 2012 Wine API