SeUnlockSubjectContext function (wdm.h)
The SeUnlockSubjectContext routine unlocks the tokens of a captured subject context that were locked by a call to SeLockSubjectContext.
Syntax
void SeUnlockSubjectContext(
[in] PSECURITY_SUBJECT_CONTEXT SubjectContext
);
Parameters
[in] SubjectContext
Pointer to a SECURITY_SUBJECT_CONTEXT structure whose tokens are to be unlocked.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | wdm.h (include Ntifs.h, Wdm.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |