Share via


DeleteHandler (Windows CE 5.0)

Send Feedback

This function is called by the network address translation (NAT) driver when a mapping associated with an editor is removed.

NTSTATUSDeleteHandler( PVOIDInterfaceHandle, PVOIDSessionHandle, PVOIDEditorContext, PVOIDEditorSessionContext)

Parameters

  • InterfaceHandle
    [in] Handle to an interface.
  • SessionHandle
    [in] Handle to the session. Use this handle when calling the QueryInfoSession function.
  • EditorContext
    [in] Pointer to a context that the NAT editor supplied when the editor called the RegisterEditor function.
  • EditorSessionContext
    [in] Pointer to the context of the session mapping that the editor supplied when the editor called the CreateHandler function.

Return Values

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

Remarks

CreateHandler and DeleteHandler cannot invoke any helper functions other than QueryInfoSession because of synchronization considerations.

Requirements

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

See Also

CreateHandler | QueryInfoSession | RegisterEditor

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.