IOCTL_SERIAL_GET_PROPERTIES
Other versions of this page are also available for the following:
8/28/2008
This IOCTL retrieves information about the communications properties for a device. The DeviceIoControl function executes this IOCTL.
Parameters
- dwOpenData
[in] Handle returned from a call to the COM_Open function.
- dwCode
[in] Set to this IOCTL: IOCTL_SERIAL_GET_PROPERTIES.
- pBufIn
Ignored.
- dwLenIn
Ignored.
- pBufOut
[out] Pointer to a COMMPROP structure.
- dwLenOut
[out] Greater than or equal to sizeof(COMMPROP).
- pdwActualOut
[out] Pointer to a DWORD variable to return length of returned data. If there is no error, set to sizeof(COMMPROP).
Return Values
Returns TRUE if successful. Returns FALSE otherwise. To get extended error information, call GetLastError.
Requirements
Header | pegdser.h |
Windows Embedded CE | Windows CE 1.0 and later |