PFN_CSP_REALLOC function pointer

The PFN_CSP_REALLOC function is called through a pointer in the CARD_DATA structure when the card minidriver wants to change the size of a block of memory. The existing contents of the memory block are copied to the reallocated block to the extent that they fit.

Syntax

typedef LPVOID ( WINAPI *PFN_CSP_REALLOC)(
  _In_ LPVOID Address,
  _In_ SIZE_T Size
);

Parameters

  • Address [in]
    Pointer to existing memory block.

  • Size [in]
    Size, in bytes, of the memory block following this operation.

Return value

Nonzero if the reallocation was successful; otherwise, NULL.

Requirements

Target platform

Desktop

Header

Cardmod.h (include Cardmod.h)

 

 

Send comments about this topic to Microsoft