Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] win32handle
The Win32 handle for the existing instance.
[in] enableAboutData
Toggle to enable AboutData.
[in] riid
The ID of the IAllJoynBusAttachment interface.
[out] ppv
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | windows.devices.alljoyn.interop.h |