All commands issued through the MI start with a DmiMgmtCommand block. Each outstanding command requires a separate DmiMgmtCommand block. Typically, a command consists of the DmiMgmtCommand block, with additional parameters appended to specify such things as the target of a request or the key data for a table, for example.
The format for the command block is: ┌──────────────────────────────────────────────────────────────────────────────┐
Variable Name
│ Table 13. DmiMgmtCommand Command Block │
├───────────────┬───────────────┬───────────────┬──────────────────────────────┤
│ OFFSET │ SIZE │ TYPE │ VARIABLE NAME │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 0 │ 4 │ INT │ iLevelCheck │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 4 │ 4 │ INT │ iCommand │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 8 │ 4 │ INT │ iCmdLen │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 12 │ 4 │ INT │ iMgmtHandle │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 16 │ 4 │ INT │ iCmdHandle │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 20 │ 4 │ OFFSET │ osLanguage │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 24 │ 4 │ OFFSET │ oSecurity │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 28 │ 4 │ INT │ iCnfBufLen │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 32 │ 4 │ PTR │ pCnfBuf │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 36 │ 4 │ INT │ iRequestCount │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 40 │ 4 │ INT │ iCnfCount │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 44 │ 4 │ INT │ iStatus │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 48 │ 16 │ STRUCT │ DmiCiCommand │
└───────────────┴───────────────┴───────────────┴──────────────────────────────┘
iLevelCheck
Variable Description
Note: The length of the confirm buffer for DmiListComponentCmd commands should be at least 2K to ensure adequate space for the class strings.
The format of the DmiSecurity block is: ┌──────────────────────────────────────────────────────────────────────────────┐│Table14
.DmiSecurityCommandBlock │
├───────────────┬───────────────┬───────────────┬──────────────────────────────┤
│ OFFSET │ SIZE │ TYPE │ VARIABLE NAME │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 0 │ 4 │ INT │ iSecurityLen │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 4 │ 4 │ INT │ iSecurityType │
├───────────────┼───────────────┼───────────────┼──────────────────────────────┤
│ 8 │ x │ STRUCT │ SecurityData │
└───────────────┴───────────────┴───────────────┴──────────────────────────────┘
Variable Name