You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a good point. Right now, the id is only verified once you call Open() because that's when the service call is made.
I can add a check for a valid endpoint id, but it's always possible that the endpoint becomes unavailable (usb cable unplugged, etc.) between the create and open, so the return value (boolean) from Open always needs to be checked.
The reason this is a two-step process is you need to be able to set up event handlers and processing objects/listeners before opening the connection.
Description
auto receiveEndpoint = session.CreateEndpointConnection(); does not return nullptr when called with invalid EndpointID
To Reproduce
call auto receiveEndpoint = session.CreateEndpointConnection(); with an invalid EndpointID
Expected behavior
nullptr returned
Screenshots
N/A
Installer Name or Version
DP6
Desktop (please complete the following information):
Win 11 Insider Pro Canary
Device information, if this is with an external MIDI device:
N/A
Application Information
C++/WinRT based on SDK sample code.
The text was updated successfully, but these errors were encountered: