On Wed, Aug 2, 2017 at 12:49 AM, Pali Rohár <pali.rohar@xxxxxxxxx> wrote: > On Tuesday 01 August 2017 19:22:32 Darren Hart wrote: >> Pali, how does the "magic number identifier" in the BMOF map to the object_id? >> Have we retained that information in what we export today? > > MOF describe C++ like object system and for particular structures or > methods there is GUID and WMI id. > > When you want to call WMI function implemented in ACPI you need to know: > * name of ACPI function > * instance number > * WMI id > * structure of input buffer > > Name of ACPI function is taken from _WDG where is mapping from GUID to > object_id and ACPI function consist of well-known prefix and object_id > as a suffix. GUID is present in MOF. Where to get correct instance > number is still question for me. WMI id and structure of input buffer is > described in MOF. I assume that any user API for making WMI calls will have userspace pass in either the GUID or maybe the MOF method name, not the object id. --Andy