DiMgslGetOption


Prototype  
NTSTATUS DiMgslGetOption( void *Handle, UINT option_id, UINT *value );
Parameters  
Handle
handle to open port
option_id
integer identifying option to get
value
pointer to buffer to hold returned option value
Return Value  
STATUS_SUCCESS (0)
parameters set successfully
STATUS_INVALID_PARAMETER
invalid option ID or value pointer
STATUS_INVALID_HANDLE
Handle is invalid

Returns the current value of the specified option. Option is specified with macros defined in the mghdlc.h header file.

Options are described in detail in the MgslSetOption section.

See also: DiMgslSetOption


Previous Contents Next