AuthzInitializeCompoundContext function (authz.h)
The AuthzInitializeCompoundContext function creates a user-mode context from the given user and device security contexts.
Syntax
AUTHZAPI BOOL AuthzInitializeCompoundContext(
[in] AUTHZ_CLIENT_CONTEXT_HANDLE UserContext,
[in] AUTHZ_CLIENT_CONTEXT_HANDLE DeviceContext,
[out] PAUTHZ_CLIENT_CONTEXT_HANDLE phCompoundContext
);
Parameters
[in] UserContext
User context to create the compound context from.
[in] DeviceContext
Device context to create the compound context from. This must not be the same as the user context.
[out] phCompoundContext
Used to return the resultant compound context.
Return value
If the function succeeds, it returns TRUE.
If the function fails, it returns FALSE. To get extended error information, call GetLastError.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | authz.h |
Library | Authz.lib |
DLL | Authz.dll |