BM_ReleaseRemoteSession function reference
Release the remote control session and destroy the handle. BM_UnInit also performs best-effort release of outstanding handles.
BMAPI BM_StatusTypeDef BM_ReleaseRemoteSession (BM_RemoteSessionHandle session)This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.