MibEntryCreate

[This is preliminary documentation and subject to change.]

The routing protocol should call MibEntryCreate to execute an SNMP MIB-style Create request of the router manager or a peer protocol DLL.

DWORD ( * MibEntryCreate ) (
  DWORD TargetProtocolId,      // ID of DLL to process the request
  DWORD InputDataSize,      // size of the data for the request
  PVOID InputData      // address of the data for the request
);

Parameters

TargetProtocolId
Specifies the ID of the DLL that should process this request. This parameter may be the ID of the router manager or the ID of a routing protocol.
InputDataSize
Specifies the size, in bytes, of the data to pass with the Create request.
InputData
Pointer to the data to pass with the Create request.

Return Value

NO_ERROR
The MIB entry was created successfully.
ERROR_CAN_NOT_COMPLETE
The attempt to create the MIB entry failed.
ERROR_INVALID_PARAMETER
The size or content of the input data are incompatible with the request.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with mprapi.lib.

See Also

Protocol Identifiers, MibEntryDelete