Compartilhar via


QuerySecurityPackageInfo (Windows CE 5.0)

Send Feedback

This function retrieves information about a specified security package. This information includes the bounds on sizes of authentication information, credentials, and contexts.

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 Values

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

Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 2.10 and later.
Header: Security.h, Sspi.h.
Link Library: Secur32.lib.

See Also

FreeContextBuffer | SecPkgInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.