RtUnlockKernel

RtUnlockKernel unlocks sections of the kernel's virtual address space previously locked into physical memory.

Syntax

BOOL RtUnlockKernel(
    ULONG Section
);

Parameters

Section

A number specifying which section of the kernel to lock. Currently, the value RT_KLOCK_ALL is supported.

Return Values

TRUE if the function succeeds, FALSE if invalid parameters are specified

Remarks

RtUnlockKernel unlocks sections of the kernel's memory previously locked by a call to RtLockKernel. The behavior of unlocking memory not previously locked by RtLockKernel is undefined and unpredictable.

Because processes are always locked, this function has no impact on RTSS determinism. This call is a NO-OP (no operation) when issued from RTSS applications.

Requirements

Header Rtapi.h
Library Rtx_Rtss.lib

See Also:

RtAllocateLockedMemory

RtCommitLockHeap

RtCommitLockProcessHeap

RtCommitLockStack

RtFreeLockedMemory

RtLockKernel

RtLockProcess

RtUnlockProcess

IntervalZero.com | Support | Give Feedback