QuerySecurityPackageInfo (Compact 2013)
3/28/2014
This function retrieves information about a specified security package. This information includes the bounds on sizes of authentication information, credentials, and contexts.
Syntax
SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfo(
SEC_WCHAR SEC_FAR* pszPackageName,
PSecPkgInfo SEC_FAR* ppPackageInfo
);
Parameters
- pszPackageName
[in] Pointer to the name of the security package.
- ppPackageInfo
[out] Pointer to a SecPkgInfo structure containing information about the specified security package.
Return Value
Returns SEC_E_OK to indicate success. The function returns a nonzero error value to indicate failure.
Remarks
The caller must call the FreeContextBuffer function to free the buffer retrieved in ppPackageInfo.
Requirements
Header |
security.h, |
Library |
secur32.lib |
See Also
Reference
Authentication Services Functions
FreeContextBuffer
SecPkgInfo