LPM_CommitResv function (lpmapi.h)
The LPM_CommitResv function is called by the PCM to obtain reservation commitment decisions from the LPM.
Syntax
void LPM_CommitResv(
[in] RSVP_SESSION *RsvpSession,
[in] RSVP_HOP *FlowInstalledIntf,
[in] RESV_STYLE *RsvpStyle,
[in] int FilterSpecCount,
[in] FILTER_SPEC **ppFilterSpecList,
[in] IS_FLOWSPEC *pMergedFlowSpec,
[in] ULONG CommitDecision
);
Parameters
[in] RsvpSession
Pointer to the RSVP session object for which the reservation commitment is being requested.
[in] FlowInstalledIntf
Pointer to the interface on which the message was received. The received interface IP address is supplied as the RSVP HOP object, and the Logical Interface Handle is set to the SNMP Index. Note that interface index numbers can change with the addition and deletion of interfaces, due to the Plug and Play features of Windows 2000.
[in] RsvpStyle
RSVP reservation style being requested.
[in] FilterSpecCount
Number of filter specs in ppFilterSpecList.
[in] ppFilterSpecList
Array of filter specs, listing the senders for whom the flow is created.
[in] pMergedFlowSpec
The FLOWSPEC structure installed on the specified interface. The FLOWSPEC structure is a merged flow for all receivers that can be reached by FlowInstalledIntf.
[in] CommitDecision
Value of the commitment decision reached by the LPM. The following list indicates possible values:
RESOURCES_ALLOCATED
RESOURCES_MODIFIED
Return value
None
Remarks
When the resources are allocated by the SBM for a new reservation, it calls LPMs with CommitDecision set to RESOURCES_ALLOCATED. When resources allocated for an existing reservation are changed, the SBM calls the LPM_CommitResv function with CommitDecision set to RESOURCES_MODIFIED.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | lpmapi.h |