HWGetStatus (Compact 2013)
3/26/2014
This function specifies the hardware status API.
Syntax
ULONG HWGetStatus(
PVOID pContext,
LPCOMSTAT lpStat
);
Parameters
- pContext
[in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.
- lpStat
[out] Pointer to a COMSTAT structure to hold status information.
Return Value
Zero indicates success. A value of -1 indicates failure.
Remarks
See ClearCommError for a description of lpStat.
This function supports the implementation of the lower layers of serial port drivers.
Requirements
Header |
serhw.h |
See Also
Reference
Serial Port Driver PDD Functions
HWInit