nn::midi::CTR::Reset Function

Syntax

Result Reset();

Parameters

None.

Return Values

Returns the result of the operation.

Value Description
Success Process was successful. The return value's IsSuccess function returns true in this state.
ResultNotOpened The function was executed while the MIDI device was in a closed state. Run the nn::midi::CTR::Open function to open the MIDI device.
ResultUnknownDevice Device could not be recognized. Confirm that UIC-MIDI is inserted in the card slot and then reload the program.
A value other than the above Unexpected error.

Description

Resets a MIDI device to the state immediately after Open was called. If Read has been called from a different thread, Read will return an error.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL