ITsSbResourcePluginStore::GetSessionNotifySink method

Retrieves a reference to a session notify sink object.

Syntax

HRESULT GetSessionNotifySink(
  [in]   ITsSbSession *pSession,
  [out]  ITsSbSessionNotifySink **ppSessionNotifySink
);

Parameters

  • pSession [in]
    A pointer to an ITsSbSession session object.

  • ppSessionNotifySink [out]
    A pointer to a pointer to an ITsSbSessionNotifySink session notify sink object. When you have finished using the object, release it by calling the Release method.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

A resource plug-in can use this method to retrieve a session notify sink object instead of storing a reference to the session notify sink object as a member variable.

Requirements

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

IDL

Sbtsv.idl

See also

ITsSbResourcePluginStore

ITsSbSession

ITsSbSessionNotifySink

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012