Funzione BCryptFreeBuffer (bcrypt.h)

La funzione BCryptFreeBuffer viene usata per liberare memoria allocata da una delle funzioni CNG.

Sintassi

void BCryptFreeBuffer(
  [in] PVOID pvBuffer
);

Parametri

[in] pvBuffer

Puntatore al buffer di memoria da liberare.

Valore restituito

nessuno

Osservazioni

BCryptFreeBuffer deve essere chiamato nella stessa modalità del processore della funzione API BCrypt che ha allocato il buffer. Inoltre, se il buffer è stato allocato in PASSIVE_LEVELIRQL, deve essere liberato in quel runtime di integrazione. Se il buffer è stato allocato in DISPATCH_LEVELIRQL, può essere liberato in DISPATCH_LEVELIRQL o PASSIVE_LEVELIRQL.

Per chiamare questa funzione in modalità kernel, usare Cng.lib, che fa parte di Driver Development Kit (DDK). Windows Server 2008 e Windows Vista: Per chiamare questa funzione in modalità kernel, usare Ksecdd.lib.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [app desktop | App UWP]
Server minimo supportato Windows Server 2008 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione bcrypt.h
Libreria Bcrypt.lib
DLL Bcrypt.dll

Vedi anche

BCryptEnumContexts

BCryptEnumRegisteredProviders

BCryptQueryProviderRegistration