Partager via


StopIPSec (Windows Embedded CE 6.0)

1/6/2010

This function stops IPSec.

Syntax

HRESULT StopIPSec(void);

Parameters

None.

Return Value

Returns S_OK if successful, or an appropriate HRESULT value otherwise.

Remarks

This function reduces the internal reference count by one. If the reference count reaches zero, then IPSec is shut down. You must call this function each time you have made a successful call to StartIPSec. Do not call StopIPSec if the call to StartIPSec has failed.

Requirements

Header ipsec_api.h
Library Ipsec_api.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IPSec Functions
StartIPSec