SeUnlockSubjectContext - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

VOID SeUnlockSubjectContext(
  [in] PSECURITY_SUBJECT_CONTEXT SubjectContext
);

View the official Windows Driver Kit DDI reference
// wdm.h

VOID SeUnlockSubjectContext(
  [in] PSECURITY_SUBJECT_CONTEXT SubjectContext
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-seunlocksubjectcontext)

SeUnlockSubjectContext function (ntifs.h)

Description

The SeUnlockSubjectContext routine unlocks the tokens of a captured subject context that were locked by a call to SeLockSubjectContext.

Parameters

SubjectContext [in]

Pointer to a SECURITY_SUBJECT_CONTEXT structure whose tokens are to be unlocked.

Remarks

SeUnlockSubjectContext releases the read locks on the tokens in the captured subject context.

Each call to SeLockSubjectContext must be matched by a subsequent call to SeUnlockSubjectContext.

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

See also

SECURITY_SUBJECT_CONTEXT

SeCaptureSubjectContext

SeCaptureSubjectContextEx

SeLockSubjectContext

SePrivilegeCheck

SeQueryAuthenticationIdToken

SeQuerySubjectContextToken

SeReleaseSubjectContext


Windows Driver Kit DDI reference (nf-wdm-seunlocksubjectcontext)

SeUnlockSubjectContext function (wdm.h)

Description

The SeUnlockSubjectContext routine unlocks the tokens of a captured subject context that were locked by a call to SeLockSubjectContext.

Parameters

SubjectContext [in]

Pointer to a SECURITY_SUBJECT_CONTEXT structure whose tokens are to be unlocked.

Remarks

SeUnlockSubjectContext releases the read locks on the tokens in the captured subject context.

Each call to SeLockSubjectContext must be matched by a subsequent call to SeUnlockSubjectContext.

For more information about security and access control, see the documentation on these topics in the Microsoft Windows SDK.

See also

SECURITY_SUBJECT_CONTEXT

SeCaptureSubjectContext

SeLockSubjectContext

SePrivilegeCheck

SeQueryAuthenticationIdToken

SeQuerySubjectContextToken

SeReleaseSubjectContext