Windows Dev Center

Collapse the table of content
Expand the table of content
Espandi Riduci a icona
EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

CryptMemRealloc function

The CryptMemRealloc function frees the memory currently allocated for a buffer and allocates memory for a new buffer.

Syntax


LPVOID WINAPI CryptMemRealloc(
  _In_ LPVOID pv,
  _In_ ULONG  cbSize
);

Parameters

pv [in]

A pointer to a currently allocated buffer.

cbSize [in]

Number of bytes to be allocated.

Return value

Returns a pointer to the buffer allocated. If the function fails, NULL is returned. When you have finished using the buffer, free the memory by calling the CryptMemFree function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

Library

Crypt32.lib

DLL

Crypt32.dll

See also

CryptMemAlloc
CryptMemFree

 

 

Aggiunte alla community

AGGIUNGI
Mostra:
© 2015 Microsoft