ArbitrationHandler
CONFIGRET ArbitrationHandler(ARBFUNC afcFunc, ULONG ulRefData,
DEVNODE dnDevNode, NODELIST_HEADER pnlhNodeListHeader);
An arbitrator-supplied function that processes arbitration messages for a device node.
- Returns CR_SUCCESS if successful, or one of the error values given in Constants.
- afcFunc
- Arbitration message. Can be one of these values.
| ARB_TEST_ALLOC |
Check if requested allocation works. |
| ARB_RETEST_ALLOC |
Check if previous allocation works. |
| ARB_SET_ALLOC |
Set the tested allocation. |
| ARB_RELEASE_ALLOC |
Release the tested allocation. |
| ARB_QUERY_FREE |
Return free resource. |
| ARB_REMOVE |
Device node is gone. |
| ARB_FORCE_ALLOC |
Force previous TEST_ALLOC |
- ulRefData
- 32-bit reference data value. This is the 32-bit value specified in the call to the CONFIGMG_Register_Arbitrator service when the handler was registered.
- dnDevNode
- Handle of the device node associated with this arbitrator.
- pnlhNodeListHeader
- Address of a NODELIST_HEADER structure that contains information about the logical configurations of all devices to be be configured.