// ntifs.h
VOID SeReleaseSubjectContext(
[in, out] PSECURITY_SUBJECT_CONTEXT SubjectContext
);
View the official Windows Driver Kit DDI reference
// wdm.h
VOID SeReleaseSubjectContext(
[in, out] PSECURITY_SUBJECT_CONTEXT SubjectContext
);
View the official Windows Driver Kit DDI reference
No description available.
The SeReleaseSubjectContext routine releases a subject security context captured by an earlier call to SeCaptureSubjectContext.
SubjectContext
[in, out]Pointer to the captured security context.
File systems must call SeCaptureSubjectContext before performing access validation or generating audit messages. This is necessary to provide a consistent security context to routines such as SeQueryAuthenticationIdToken, SeQuerySubjectContextToken, and SePrivilegeCheck. After these operations have been performed, the captured context should be released as soon as possible by calling SeReleaseSubjectContext.
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.
The SeReleaseSubjectContext routine releases a subject security context captured by an earlier call to SeCaptureSubjectContext.
SubjectContext
[in, out]Pointer to the captured security context.
File systems must call SeCaptureSubjectContext before performing access validation or generating audit messages. This is necessary to provide a consistent security context to routines such as SeQueryAuthenticationIdToken, SeQuerySubjectContextToken, and SePrivilegeCheck. After these operations have been performed, the captured context should be released as soon as possible by calling SeReleaseSubjectContext.
For more information about security and access control, see the documentation on these topics in the Microsoft Windows SDK.