Compartir a través de


TimeoutSession (Windows CE 5.0)

Send Feedback

This function causes a session to time out.

NTSTATUS TimeoutSession(PVOIDEditorHandle,PVOIDSessionHandle)

Parameters

  • EditorHandle
    [in] Pointer that specifies the handle that identifies the editor to a network address translation (NAT) module.
  • SessionHandle
    [in] Handle to the session. Use this handle when calling the QueryInfoSession function.

Return Values

STATUS_SUCCESS indicates success. A non-zero value indicates failure.

Remarks

Calling TimeoutSession ends the session and removes all of the port mappings for that session. Once the port mappings are removed, no further translation occurs on the session. The NAT driver removes port mappings asynchronously, so translation might not stop immediately.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Natedit.h.
Link Library: Coredll.dll.

See Also

QueryInfoSession

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.