In the Device Notifications section, the last part of the sample code removes the handles. In doing so, the function requires two elements to be passed. In the example, only "handles" is passed, which results in an error when the code is executed. Here either "( handles[0], handles[1])" or (*handels) would have to be passed.
In the Device Notifications section, the last part of the sample code removes the handles. In doing so, the function requires two elements to be passed. In the example, only "handles" is passed, which results in an error when the code is executed. Here either "( handles[0], handles[1])" or (*handels) would have to be passed.