DMDLL_USBAcquirePipeInformations
해당하는 USB장치에 대한 파이프정보를 모두 구한다 ppPipeInformation 파라미터의 값은 DMCORE가 제공하는 메모리의 주소가 담겨진다.
Description
int DMDLL_USBAcquirePipeInformations(
IN DMHANDLE MasterHandle,
OUT PUSB_PIPE_INFORMATION * ppPipeInformation
)
Parameters
MasterHandle
작업중이던 디바이스 핸들, DMDLL_OpenDeviceForInterfaceDeviceStack( PipeNumber = -1 )함수를 통해서 얻은 핸들(Master)이어야 한다
ppPipeInformation
구해진 파이프정보가 담겨진 메모리주소가 리턴된다
개발자는 이후에 더이상 이 메모리가 사용될 필요가 없을때는 반드시 해당하는 메모리를 해제해야 한다(DMDLL_USBReleaseResources)
Return Values
return int
작업이 성공할 경우 DMSTAT_SUCCESS 리턴
Changelog
Examples
int nRet = 0;
PUSB_PIPE_INFORMATION pPipeInformation = 0;
nRet = DMDLL_USBAcquirePipeInformations(MasterHandle, &pPipeInformation);