ExpressCard 1000 Programming Reference
MTECSDK_QueryInfo
MTECSDK_QueryInfo
function inquires data of a given section name from the given device name.
ULONG MTECSDK_QueryInf (
char
*pcDevName,
char
*pcSection,
char
*pcSectionData,
DWORD *pdwLength
);
Parameters
pcDevName
Pointer to null terminated string containing device name
.
pcSection
Pointer to null terminated string containing the section name. e.g. Device Capabilities, Device Usage, DeviceStatus, etc.
pcSectionData
Pointer to the buffer that is used to store the data of the inquiry section.
pdwLength
Specifies the size of the pcSectionData buffer.
Return Values
EC_ST_OK
EC_ST_DEVICE_NOT_OPEN
EC_ST_DEVICE_NOT_RESPONDING
EC_ST_DEVICE_CONNECTION_ERROR
EC_ST_REQUEST_TIMEDOUT
EC_ST_CONNECT_REQUEST_TIMEDOUT
EC_ST_ERR_INTERNET_CONNECT
EC_ST_ERR_HTTP_OPEN_REQUEST
EC_ST_ERR_HTTP_SEND_REQUEST
EC_ST_NOT_ENOUGH_MEMORY
EC_ST_BAD_DEVICE_NAME
EC_ST_BAD_QUERY_PARM
EC_ST_BAD_BUFFER
EC_ST_BAD_BUFFER_LENGTH
18
Summary of Contents for EXPRESSCARD 1000
Page 6: ......