Export (0) Print
Expand All
Expand Minimize

CertStoreProvReadCTL callback function

The CertStoreProvReadCTL callback function is called to read the provider's copy of the CTL context and, if it exists, to create a new CTL context. Currently, this callback function is not called directly by the store APIs but it can be exported to support other providers based on it.

Syntax


BOOL WINAPI CertStoreProvReadCTL(
  _In_   HCERTSTOREPROV hStoreProv,
  _In_   PCCTL_CONTEXT pStoreCtlContext,
  _In_   DWORD dwFlags,
  _Out_  PCCTL_CONTEXT *ppProvCtlContext
);

Parameters

hStoreProv [in]

HCERTSTOREPROV handle to a certificate store.

pStoreCtlContext [in]

A pointer to a CTL_CONTEXT structure.

dwFlags [in]

Any needed flag values.

ppProvCtlContext [out]

A pointer to a pointer to a CTL_CONTEXT structure to be returned by the function. The context will be freed by calling CertFreeCTLContext.

Return value

Returns TRUE if the function succeeds or FALSE if it fails.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

See also

CTL_CONTEXT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft