| globalplatform
    | 

Go to the source code of this file.
| Macros | |
| #define | OPGP_PL_ERROR_PREFIX ((DWORD) 0x80500000) | 
| Error prefix for errors of the plugin. | |
| #define | OPGP_PL_ERROR_NO_CARD_CONTEXT_INITIALIZED (OPGP_PL_ERROR_PREFIX | (DWORD)0x0001L) | 
| The plugin is not initialized by executing OPGP_PL_establish_context. Specific error message must be stringified in plugin implementation. | |
| #define | OPGP_PL_ERROR_NO_CARD_INFO_INITIALIZED (OPGP_PL_ERROR_PREFIX | (DWORD)0x0002L) | 
| The plugin is not initialized by executing OPGP_PL_card_connect. Specific error message must be stringified in plugin implementation. | |
| Functions | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_establish_context (OPGP_CARD_CONTEXT *cardContext) | 
| This function establishes a context to connection layer. | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_release_context (OPGP_CARD_CONTEXT *cardContext) | 
| This function releases the context to the connection layer established by establish_context(). | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_list_readers (OPGP_CARD_CONTEXT cardContext, OPGP_STRING readerNames, PDWORD readerNamesLength) | 
| This function returns a list of currently available readers. | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_card_connect (OPGP_CARD_CONTEXT cardContext, OPGP_CSTRING readerName, OPGP_CARD_INFO *cardInfo, DWORD protocol) | 
| This function connects to a reader. | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_card_disconnect (OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO *cardInfo) | 
| This function disconnects a reader. | |
| OPGP_PL_API OPGP_ERROR_STATUS | OPGP_PL_send_APDU (OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, PBYTE capdu, DWORD capduLength, PBYTE rapdu, PDWORD rapduLength) | 
| This function sends an APDU. | |
This file defines all connection plugin related type definitions and must be implemented by plugins.
For errors of the plugins use the OPGP_PL_ERROR_PREFIX prefix.