Partager via


StartIPSec (Windows Embedded CE 6.0)

1/6/2010

This function starts IPSec.

Syntax

HRESULT StartIPSec(void);

Parameters

None.

Return Value

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

Remarks

If IPSec is already running, this function increments an internal reference count. If the function call to StartIPSec succeeds, make sure to call StopIPSec to stop IPSec.

Requirements

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

See Also

Reference

IPSec Functions
StopIPSec