- dwVersion
The version number of the smart card module.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function with the requested version.
On output, this member must be set to the version of this structure that the smart card module returns.
- pbAtr
The ATR string that identifies the smart card.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- cbAtr
The size, in bytes, of the string contained in the pbAtr parameter.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pwszCardName
A pointer to a null-terminated wide character string that contains the name of the smart card.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pfnCspAlloc
A PFN_CSP_ALLOC function pointer.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pfnCspReAlloc
A PFN_CSP_REALLOC function pointer.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pfnCspFree
A PFN_CSP_FREE function pointer.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pfnCspCacheAddFile
A PFN_CSP_CACHE_ADD_FILE function pointer.
This member must be initialized by the CSP or KSP after calling the CardAcquireContext function. Implementations of CardAcquireContext must check that this member is not set to NULL before using or caching the pointer.
- pfnCspCacheLookupFile
A PFN_CSP_CACHE_LOOKUP_FILE function pointer.
This member must be initialized by the CSP or KSP after calling the CardAcquireContext function. Implementations of CardAcquireContext must check that this member is not set to NULL before using or caching the pointer.
- pfnCspCacheDeleteFile
A PFN_CSP_CACHE_DELETE_FILE function pointer.
This member must be initialized by the CSP or KSP after calling the CardAcquireContext function. Implementations of CardAcquireContext must check that this member is not set to NULL before using or caching the pointer.
- pvCacheContext
A pointer to a context value used by the functions pointed to by the PFN_CSP_CACHE_ADD_FILE, PFN_CSP_CACHE_LOOKUP_FILE, and PFN_CSP_CACHE_DELETE_FILE function pointers.
This member must be initialized by the CSP or KSP after calling the CardAcquireContext function. Implementations of CardAcquireContext must check that this member is not set to NULL before using or caching the pointer.
- pfnCspPadData
A PFN_CSP_PAD_DATA function pointer.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- hSCardCtx
A handle that identifies the resource manager context. The CSP or KSP retrieves the resource manager context from a previous call to the
SCardEstablishContext function.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- hScard
A handle to a smart card. The CSP or KSP retrieves this handle from a previous call to the SCardConnect function.
This member must be initialized by the CSP or KSP before calling the CardAcquireContext function.
- pvVendorSpecific
A pointer to card-specific information that the smart card module can use.
- pfnCardDeleteContext
A pointer to the CardDeleteContext function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardQueryCapabilities
A pointer to the CardQueryCapabilities function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardDeleteContainer
A pointer to the CardDeleteContainer function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardCreateContainer
A pointer to the CardCreateContainer function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardGetContainerInfo
A pointer to the CardGetContainerInfo function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardAuthenticatePin
A pointer to the CardAuthenticatePin function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardGetChallenge
A pointer to the CardGetChallenge function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardAuthenticateChallenge
A pointer to the CardAuthenticateChallenge function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardUnblockPin
A pointer to the CardUnblockPin function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardChangeAuthenticator
A pointer to the CardChangeAuthenticator function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardDeauthenticate
A pointer to the CardDeauthenticate function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardCreateDirectory
A pointer to the CardCreateDirectory function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardDeleteDirectory
A pointer to the CardDeleteDirectory function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pvUnused3
Reserved.
- pvUnused4
Reserved.
- pfnCardCreateFile
A pointer to the CardCreateFile function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardReadFile
A pointer to the CardReadFile function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardWriteFile
A pointer to the CardWriteFile function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardDeleteFile
A pointer to the CardDeleteFile function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardEnumFiles
A pointer to the CardEnumFiles function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardGetFileInfo
A pointer to the CardGetFileInfo function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardQueryFreeSpace
A pointer to the CardQueryFreeSpace function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardQueryKeySizes
A pointer to the CardQueryKeySizes function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardSignData
A pointer to the CardSignData function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardRSADecrypt
A pointer to the CardRSADecrypt function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardConstructDHAgreement
A pointer to the CardDHAgreement function implemented by the smart card module.
This member is initialized by the CardAcquireContext function of the smart card module.
- pfnCardDeriveKey
A pointer to the CardDeriveKey function implemented by the smart card module.
Windows Server 2003, Windows XP, Windows 2000 Server, and Windows 2000 Professional: This function is not supported.
- pfnCardDestroyDHAgreement
A pointer to the CardDestroyDHAgreement function implemented by the smart card module.
Windows Server 2003, Windows XP, Windows 2000 Server, and Windows 2000 Professional: This function is not supported.
- pfnCspGetDHAgreement
A pointer to the CspGetDHAgreement callback function set by the CSP.
Windows Server 2003, Windows XP, Windows 2000 Server, and Windows 2000 Professional: This function is not supported.