This function retrieves information about a specified security package. This information includes the bounds on sizes of authentication information, credentials, and contexts.
At a Glance
Header file: | Sspi.h |
Windows CE versions: | 2.10 and later |
Syntax
SECURITY_STATUS QuerySecurityPackageInfo(
SEC_CHAR * pszPackageName, PSecPkgInfo *ppPackageInfo);
Parameters
pszPackageName
Pointer to a null-terminated string that specifies the name of the security package.
ppPackageInfo
Pointer to a variable that receives a pointer to a SecPkgInfo structure containing information about the specified security package.
Return Values
SEC_E_OK indicates success. A nonzero error value indicates failure.
Remarks
The caller must call the FreeContextBuffer function to free the buffer returned in ppPackageInfo.
See Also