QuerySecurityPackageInfo (Windows Embedded CE 6.0)
1/6/2010
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, sspi.h |
Library | secur32.lib |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
Authentication Services Functions
FreeContextBuffer
SecPkgInfo