Microsoft Windows CE 3.0  

HWOBJ

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure describes the characteristics of serial hardware devices.

typedef struct __HWOBJ {
PVOID
pDeviceParent; 
ULONG
BindFlags; 
DWORD
dwIntID; 
PVOID
pReserved; 
PHW_VTBL
pFuncTbl; 
} HWOBJ, *PHWOBJ;

Members

pDeviceParent
Pointer back to the DEVICE_LISTstructure which refers to this structure in its DeviceArraymember.
BindFlags
Flags controlling how the MDD layer behaves with respect to the driver's interrupt service thread (IST):
Value Description
THREAD_IN_PDD The MDD layer does nothing; interrupt handling is done in the PDD layer.
THREAD_AT_INIT The MDD starts the IST when the driver is initialized.
THREAD_AT_OPEN Not supported.
dwIntID
Interrupt identifier — such as SYSINTR_SERIAL, SYSINTR_TOUCH, and so on — used with the THREAD_AT_INIT and THREAD_AT_OPEN flags,.
pReserved
Not used; set to NULL.
pFuncTbl
Pointer to an HW_VTBLstructure that contains a table of function pointers for each of the serial device hardware functions, such as HWOpen, HWClearBreak, HWSetDTR, and so on. HW_VTBLand the full list of functions are declared in the Serhw.h header file.

Remarks

This structure enables one serial driver MDD layer to use multiple PDD layers for hardware serial ports that have different physical behavior but identical logical behavior, such as an infrared serial port and a standard 9-pin serial port.

This structure is declared in the Serhw.h header file.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

DEVICE_LIST



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.