HttpDeleteSecurityCredentials Function  
 
VOID WINAPI HttpDeleteSecurityCredentials(
  LPSECURITYCREDENTIALS *lppCredentials  
);

The HttpDeleteSecurityCredentials function deletes an existing SECURITYCREDENTIALS structure.

Parameters

lppCredentials
Pointer to an LPSECURITYCREDENTIALS pointer. On exit from the function, the pointer will be NULL.

Return Value

None.

Example

if (lpSecCred != NULL)
    HttpDeleteSecurityCredentials(&lpSecCred);

HttpUninitialize();

Remarks

This function can be used to release the memory allocated to the client or server credentials after a secure connection has been terminated.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cshtpv12.lib
Unicode: Implemented as Unicode and ANSI versions

See Also