search for: dmi_interate

Displaying 1 result from an estimated 1 matches for "dmi_interate".

2006 Aug 14
0
First attempt to use DMI in a com32 module
...mi and three files in com32/modules/. dmi.c This is the core program that makes the dmi tables accessible. dmi_utils.c Just a small util file to display some more complicated messages dmitest.c The program that show how to use the dmi inside a com32 module. The way the API works : dmi_interate() tells if a DMI table is present or not. s_dmi is the structure that contains the dmi informations. parse_dmitable(&dmi) fills a dmi structure with the elements founds in the table. And.... that's all ;) So the following code is enough : s_dmi dmi; if (dmi_iterate()) parse_dmitable(&amp...