Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function stops an editor from editing data on a specific session.
NTSTATUS DisassociateSession(PVOIDEditorHandle,PVOIDSessionHandle)
Parameters
- EditorHandle
[in] Pointer that specifies the handle that identifies the editor to the 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
DisassociateSession maintains all current port mappings. If you initialize a new session after calling DisassociateSession, a new connection is established; the previous connection is not renewed.
Standard NAT continues to occur after you call DisassociateSession. DisassociateSession is useful for protocols that require you to edit a specific packet early in the session, but not later packets.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Natedit.h.
Link Library: Coredll.dll.
See Also
Send Feedback on this topic to the authors