To send an event, the component instrumentation sends a DmiIndicate block to the service layer's DmiIndicate() entry point. The event data is defined in a DmiEventData block that corresponds to the oIndicationData field in the DmiIndicate block.
The format for the command block is: ┌──────────────────────────────────────────────────────────────────────────────┐
Variable Name
│ Table 48. DmiEventData Command Block │
├───────────────┬───────────────┬───────────────┬──────────────────────────────┤
│ OFFSET │ SIZE │ TYPE │ VARIABLE NAME │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 0 │ 4 │ INT │ iClassCount │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 4 │ 4 │ STRUCT │ DmiClassData[ ] │
└───────────────┴───────────────┴───────────────┴──────────────────────────────┘
iClassCount
Variable Description
The format of the DmiClassData block is: ┌──────────────────────────────────────────────────────────────────────────────┐│Table49
.DmiClassDataCommandBlock │
├───────────────┬───────────────┬───────────────┬──────────────────────────────┤
│ OFFSET │ SIZE │ TYPE │ VARIABLE NAME │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 0 │ 4 │ INT │ iComponentId │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 4 │ 4 │ OFFSET │ osClassString │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 8 │ 4 │ INT │ iRowCount │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 12 │ 4 │ STRUCT │ DmiGetRowCnf[ ] │
└───────────────┴───────────────┴───────────────┴──────────────────────────────┘
Variable Name