USBD_ParseConfigurationDescriptor 함수(usbdlib.h)

USBD_ParseConfigurationDescriptor 루틴은 더 이상 사용되지 않습니다. 대신 USBD_ParseConfigurationDescriptorEx 사용합니다.

구문

PUSB_INTERFACE_DESCRIPTOR USBD_ParseConfigurationDescriptor(
  [in] PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
  [in] UCHAR                         InterfaceNumber,
  [in] UCHAR                         AlternateSetting
);

매개 변수

[in] ConfigurationDescriptor

검색할 인터페이스가 포함된 USB 구성 설명자에 대한 포인터입니다.

[in] InterfaceNumber

검색할 인터페이스의 디바이스 정의 인덱스를 지정합니다. 검색 기준이 아니어야 하는 경우 -1로 설정해야 합니다.

[in] AlternateSetting

검색할 인터페이스의 디바이스 정의 대체 설정 인덱스를 지정합니다. 호출자가 대체 설정 값을 검색 기준으로 사용하지 않으려면 이 매개 변수를 -1로 설정해야 합니다.

반환 값

USBD_ParseConfigurationDescriptor 지정된 검색 조건과 일치하는 첫 번째 인터페이스 설명자에 대한 포인터를 반환합니다. 검색 조건과 일치하는 인터페이스가 없으면 NULL을 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 더 이상 사용되지 않습니다. 대신 USBD_ParseConfigurationDescriptorEx 사용합니다.
대상 플랫폼 유니버설
헤더 usbdlib.h
라이브러리 Usbd.lib

추가 정보

USB 디바이스 드라이버 프로그래밍 참조

USBD_ParseConfigurationDescriptorEx