Applications de bureau Windows
Réduire la table des matières
Développer la table des matières
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

CertStoreProvSetCTLProperty callback function

The CertStoreProvSetCTLProperty callback function determines whether a property can be set on a CTL. It is called by CertSetCTLContextProperty before setting a CTL's property. It can also be called by CertGetCTLContextProperty, when getting a hash property that needs to be created and then persisted. This callback function does not set the CTL_CONTEXT's property.

Syntax


BOOL WINAPI CertStoreProvSetCTLProperty(
  _In_       HCERTSTOREPROV hStoreProv,
  _In_       PCCTL_CONTEXT  pCtlContext,
  _In_       DWORD          dwPropId,
  _In_       DWORD          dwFlags,
  _In_ const void           *pvData
);

typedef void (*PFN_CERT_STORE_PROV_SET_CTL_PROPERTY)();

Parameters

hStoreProv [in]

A handle to a certificate store.

pCtlContext [in]

A pointer to a CTL_CONTEXT structure.

dwPropId [in]

Identifier of the property to be set.

dwFlags [in]

Any needed flag values.

pvData [in]

A pointer to a buffer containing the property value to be set.

Return value

Returns TRUE if the property can be set. Returns FALSE if the property cannot be set.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

See also

CertGetCTLContextProperty
CertSetCTLContextProperty
CTL_CONTEXT

 

 

Afficher:
© 2016 Microsoft