GetMethodArgumentFromAcpi 함수(sensorsdriversutils.h)

GetMethodArgumentFromAcpi 함수는 제공된 메서드 이름을 사용하여 요청된 ACPI 항목을 읽습니다.

구문

NTSTATUS GetMethodArgumentFromAcpi(
  WDFDEVICE Device,
  PSZ       MethodName,
  UCHAR     MethodNameLength,
  BYTE      *MethodArgument,
  ULONG     MethodArgumentLength
);

매개 변수

Device

WDF 디바이스 개체를 제공합니다.

MethodName

읽을 메서드 이름을 제공합니다.

MethodNameLength

메서드 이름 길이를 바이트 단위로 제공합니다.

MethodArgument

메서드 인수를 작성할 주소를 제공합니다.

MethodArgumentLength

MethodArgument를 저장할 버퍼의 길이(바이트)를 제공합니다.

반환 값

이 함수는 NTSTATUS를 반환합니다.

요구 사항

요구 사항
헤더 sensorsdriversutils.h