DiMgslSetOption


Prototype  
NTSTATUS DiMgslSetOption( void *Handle, UINT option_id, UINT value );
Parameters  
Handle
handle to open port
option_id
integer that identifies option to set
value
new value of option
Return Value  
STATUS_SUCCESS (0)
opertaion completed successfully
STATUS_INVALID_PARAMETER
invalid option ID or value
STATUS_INVALID_HANDLE
Handle is invalid

Set the current value for the specified option. The option ID is specified with a macro defined in the mghdlc.h header file.

Options are described in detail in the MgslSetOption section.

See also: DiMgslGetOption


Previous Contents Next