GetDemultiplexedStub function

Creates an object forwarder sink to assist a client in receiving asynchronous calls from Windows Management.

Note

This API is for internal use only. It's not intended for use from developer code.

Syntax

HRESULT GetDemultiplexedStub (
   [in] IUnknown*    pObject,
   [in] boolean      isLocal,
   [out] IUnknown**  ppObject
);

Parameters

pObject
[in] A pointer to the client's in-process implementation of IWbemObjectSink.

isLocal
[in] A flag that indicates whether the event is local (true); otherwise, false.

ppObject
[out] A object forwarder sink to assist a client in receiving asynchronous calls from Windows Management.

Return value

If the function succeeds, the return value is S_OK (0).

If the function fails, the return value is a non-zero error code. To get extended error information, call the GetErrorInfo function.

Requirements

Platforms: See System Requirements.

Header: WMINet_Utils.idl

.NET Framework Versions: Available since 4.7.2

See also