RtkRtssDetach

RtkRtssDetach detaches a Windows 64 kernel device driver from the real-time Subsystem.

Syntax

Copy
NTSTATUS RtkRtssDetach(
    [in]    RTSSINST RtssInst
);

Parameters

[in] RtssInst

An RTSSINST value returned from a call to RtkRtssAttach or RtkRtssAttachEx. Pass a valid RTSSINST value or the call will fail with STATUS_INVALID_PARAMETER.

Return Value

If the function succeeds, it returns STATUS_SUCCESS. If the function fails, it returns STATUS_UNSUCCESSFUL.

Remarks

A kernel-resident device driver makes this call only once to disconnect or detach from RTSS. It is usually made at driver unload but is not restricted to it.

Requirements

Minimum supported version Header Library

IRQL

wRTOS 1.0 SDK

RtkApi.h

RtkApi_W64.lib

PASSIVE_LEVEL

See Also: