InitACPICall

Find PSD and get pointer to ACPI function. PACPIFUNCTION APIENTRY InitACPICall (char *Component)

Parameters

 * Component : ASCIIZ name for print in debug log

Return

 * return : Pointer to ACPI function if success, else NULL

Sample

 * 1) include 
 * 2) include 
 * 3) include 
 * 4) include 
 * 5) include 

PACPIFUNCTION PSD = NULL;   // Pointer to ACPI function

void MyInitDriver(void){ PSD = (PACPIFUNCTION)InitACPICall("MyDriver"); if (PSD) {       PSD->AcpiOsPrintf("MyDriver can work with ACPI\n"); } } 

Links

 * ACPI Toolkit Web Site