RtkRtssDetach

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

Syntax

NTSTATUS RtkRtssDetach(
    RTSSINST RtssInst
);

Parameters

RtssInst

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

Return Value

Returns STATUS_SUCCESS on success or on failure one of the following NTSTATUS error codes is possible:

Remarks

This call is made only once by a kernel-resident device driver to disconnect or detach from RTSS. This call is usually made at, but not restricted to, driver unload.

Requirements

Minimum Supported Version RTX64 2013 with Service Pack 1
Header RtkApi.h
Library RtkApi.lib
IRQL PASSIVE_LEVEL

See Also:

RtkRtssAttach

RtkRtssAttachEx