Skip to content

Latest commit

 

History

History
144 lines (114 loc) · 3.92 KB

nf-mprapi-mpradminderegisterconnectionnotification.md

File metadata and controls

144 lines (114 loc) · 3.92 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mprapi.MprAdminDeregisterConnectionNotification
MprAdminDeregisterConnectionNotification function (mprapi.h)
The MprAdminDeregisterConnectionNotification function deregisters an event object that was previously registered using MprAdminRegisterConnectionNotification. Once deregistered, this event is no longer signaled when an interface connects or disconnects.
MprAdminDeregisterConnectionNotification
MprAdminDeregisterConnectionNotification function [RAS]
_mpr_mpradminderegisterconnectionnotification
mprapi/MprAdminDeregisterConnectionNotification
rras.mpradminderegisterconnectionnotification
rras\mpradminderegisterconnectionnotification.htm
RRAS
72918a54-8e8a-404a-9fd3-45b0bcc98038
12/05/2018
MprAdminDeregisterConnectionNotification, MprAdminDeregisterConnectionNotification function [RAS], _mpr_mpradminderegisterconnectionnotification, mprapi/MprAdminDeregisterConnectionNotification, rras.mpradminderegisterconnectionnotification
mprapi.h
Windows
None supported
Windows 2000 Server [desktop apps only]
Mprapi.lib
Mprapi.dll
Windows
19H1
MprAdminDeregisterConnectionNotification
mprapi/MprAdminDeregisterConnectionNotification
c++
APIRef
kbSyntax
DllExport
Mprapi.dll
MprAdminDeregisterConnectionNotification

MprAdminDeregisterConnectionNotification function

-description

The MprAdminDeregisterConnectionNotification function deregisters an event object that was previously registered using MprAdminRegisterConnectionNotification. Once deregistered, this event is no longer signaled when an interface connects or disconnects.

-parameters

-param hMprServer [in]

Handle to the router on which to execute this call. Obtain this handle by calling MprAdminServerConnect.

-param hEventNotification [in]

Handle to an event object to deregister. This event is no longer signaled when an interface connects or disconnects.

-returns

If the function is successful, the return value is NO_ERROR.

If the function fails, the return value is one of the following error codes.

Value Meaning
ERROR_ACCESS_DENIED
The calling application does not have sufficient privileges.
ERROR_DDM_NOT_RUNNING
The Demand Dial Manager (DDM) is not running.
ERROR_INVALID_PARAMETER
The hEventNotification parameter is NULL or is an invalid handle.
Other
Use FormatMessage to retrieve the system error message that corresponds to the error code returned.
 
 

-see-also

FormatMessage

MprAdminRegisterConnectionNotification

Router Administration Functions

Router Management Reference