Windows Dev Center

Expand Minimize
EN
Este conteúdo não está disponível no seu idioma mas aqui tem a versão em inglês.

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

 

 

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2015 Microsoft