Functions | |
SWI_API SWI_RCODE | SwiGetServiceName (LPTSTR pstrServiceName, U32 &nSize) |
SWI_API SWI_RCODE | SwiGetDriverVersion (LPTSTR szDriverVersion, U32 szLength, U32 timeout) |
SWI_API SWI_RCODE SwiGetDriverVersion | ( | LPTSTR | szDriverVersion, | |
U32 | szLength, | |||
U32 | timeout | |||
) |
This function is used to retrieve the NDIS driver version.
This command only works with devices using the network adapter interface.
[OUT] | szDriverVersion: A NULL terminated string containing the NDIS driver version. | |
[IN] | szLength: Length of buffer provided for the NDIS driver version. A recommended buffer size of 100 bytes is recommended. | |
[IN] | timeout: Response timeout value in milliseconds. |
SWI_RCODE_REQUEST_TIMEOUT: The request has timed out.
See SWI_RCODE for other error return codes.
SWI_API SWI_RCODE SwiGetServiceName | ( | LPTSTR | pstrServiceName, | |
U32 & | nSize | |||
) |
This function is used to get the name of the driver interface in use.
This command only works with devices using the network adapter interface.
[OUT] | pstrServiceName: Buffer to store the service name | |
[IN/OUT] | nSize: Maximum service name length/required length. |
SWI_RCODE_SMALL_BUF: Buffer provided is not big enough. nSize contains the required buffer size.