winIDEA SDK
isys::IConnect Struct Reference

Description

This struct defines flags used by isystem.connect API.

#include <i_ConnectTypes.h>

Public Types

enum  EDetachFlags {
  dfCloseServerNone = 0x00000000 , dfCloseServerIfLastClient = 0x00000001 ,
  dfCloseServerUnconditional = 0x00000002 , dfCloseServerMask = 0x0000000F ,
  dfCloseAutoSaveDefault = 0x00000000 , dfCloseAutoSaveAll = 0x00000010 ,
  dfCloseAutoSaveNone = 0x00000020 , dfCloseAutoSaveMask = 0x00000030
}
 Detach flags define winIDEA operation, when the client disconnects. More...
 
enum  ELaunchFlags {
}
 This enumeration defines the following groups of flags: More...
 

Member Enumeration Documentation

◆ EDetachFlags

Detach flags define winIDEA operation, when the client disconnects.

Flags dfCloseServer... and dfCloseAuto... may be ORed together, for example dfCloseServerIfLastClient | dfCloseAutoSaveAll.

Enumerator
dfCloseServerNone 

server will not close

dfCloseServerIfLastClient 

server will exit if this is the last client attached

dfCloseServerUnconditional 

server will exit unconditionally. In this case (and if shared memory connection is used), Detach becomes a blocking call until server exits

dfCloseAutoSaveDefault 

upon exiting prompt by default

dfCloseAutoSaveAll 

upon exiting save all

dfCloseAutoSaveNone 

upon exiting discard all

◆ ELaunchFlags

This enumeration defines the following groups of flags:

  • the lfStartXXX flags determine under what conditions to start a new instance of winIDEA. Note that if any lfStartXXX flags other than lfStartEnumerate are used, isystem.connect will finish discovery as soon as the first matching instance is found.
  • The lfWaitXXX flags determine how long the isystem.connect should wait for running instances to respond.
  • The lfShowXXX flags determine how the newly launched instance will start
Enumerator
lfStartIfRequired 

Starts winIDEA if an instance isn't running yet.

lfStartAlways 

Always launch a new instance.

lfStartExisting 

Find an existing instance, do not launch new.

lfStartEnumerate 

When used, all instances of winIDEA with pszID on pszIPAddress will be enumerated.

lfStartMask 

mask for lfStart values

 

lfWaitDefault 

Currently one second.

lfWait30ms 

30 milliseconds

lfWait100ms 

100 milliseconds

lfWait300ms 

300 milliseconds

lfWait1s 

1 second

lfWait3s 

3 seconds

lfWait10s 

10 seconds

lfWait30s 

30 seconds

lfWaitMask 

mask for lfWait values

 

lfUseIPCDiscovery 

locally running winIDEA instances will be discovered using local IPC discovery

 

lfShowDefault 

No special provision.

lfShowMinimized 

winIDEA is started minimized

lfShowMaximized 

winIDEA is started maximized

lfShowHidden 

winIDEA is started hidden

lfShowMask 

mask for lfShow values

lfDiag_1 

internal usse