IWindowsDevicesAllJoynBusAttachmentFactoryInterop::CreateFromWin32Handle method

Constructs an AllJoynBusAttachment over an existing alljoyn_busattachment instance without taking ownership.

Syntax


HRESULT CreateFromWin32Handle(
  [in]  UInt64  win32handle,
  [in]  Boolean enableAboutData,
  [in]  REFIID  riid,
  [out] void    **ppv
);

Parameters

win32handle [in]

The Win32 handle for the existing instance.

enableAboutData [in]

Toggle to enable AboutData.

riid [in]

The ID of the IAllJoynBusAttachment interface.

ppv [out]

Out parameter through which the AllJoynBusAttachment is returned.

Return value

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

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview [desktop apps only]

Minimum supported phone

Windows 10 Mobile

Header

Windows.devices.alljoyn.interop.h

See also

IInspectable
IWindowsDevicesAllJoynBusAttachmentFactoryInterop

 

 

Community Additions

ADD
Show: