NWFSE_SERVER_SET_CMDS_INFO

Returns server set command information. Used by NWGetServerSetCommandsInfo.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct 
  { 
     SERVER_AND_VCONSOLE_INFO   serverTimeAndVConsoleInfo ; 
     nuint16                    reserved ; 
     nuint32                    numberOfSetCommands ; 
     nuint32                    nextSequenceNumber ; 
     nuint32                    setCmdType ; 
     nuint32                    setCmdCategory ; 
     nuint32                    setCmdFlags ; 
     nuint8                     setNameAndValueInfo [500]; 
  } NWFSE_SERVER_SET_CMDS_INFO;
  

Delphi Structure

  uses calwin32 
   
    NWFSE_SERVER_SET_CMDS_INFO = packed Record 
      serverTimeAndVConsoleInfo : SERVER_AND_VCONSOLE_INFO;  
      reserved : nuint16;
      padding  : nuint16;  
      numberOfSetCommands : nuint32;  
      nextSequenceNumber : nuint32;  
      setCmdType : nuint32;  
      setCmdCategory : nuint32;  
      setCmdFlags : nuint32;  
      setNameAndValueInfo : Array[0..499] Of nuint8; 
    End; 
  

Fields

serverTimeAndVConsoleInfo
Specifies the SERVER_AND_VCONSOLE_INFO structure containing the time since the server was brought up. This time is returned in ticks (approximately 1/8 of a second). When this parameter reaches 0xFFFFFFFF, it wraps to zero.
reserved
Is reserved for future use.
numberOfSetCommands
Specifies the total number of set commands for all the categories on the server.
nextSequenceNumber
Specifies the next number to be used for startNum on the next call.
setCmdType
Specifies how to interpret the command as follows:
  O   FSE_TYPE_NUMBER  
  1   FSE_TYPE_BOOLEAN  
  2   FSE_TYPE_TICKS  
  3   FSE_TYPE_BLOCK_SHIFT (512*number)  
  4   FSE_TYPE_TIME_OFFSET ([+|-]hh:mm:ss converted to seconds )  
  5   FSE_TYPE_STRING  
  6   FSE_TYPE_TRIGGER 
  

The following show the types of triggers:

  0x00   FSE_TYPE_TRIGGER_OFF  
  0x01   FSE_TYPE_TRIGGER_ON   
  0x10   FSE_TYPE_TRIGGER_PENDING 
  0x20   FSE_TYPE_TRIGGER_SUCCESS 
  0x30   FSE_TYPE_TRIGGER_FAILED 
  
setCmdCategory
Specifies the category the command belongs to, as follows:
  0   FSE_COMMUNICATIONS  
  1   FSE_MEMORY  
  2   FSE_FILE_CACHE  
  3   FSE_DIR_CACHE  
  4   FSE_FILE_SYSTEM  
  5   FSE_LOCKS  
  6   FSE_TRANSACTION_TRACKING  
  7   FSE_DISK  
  8   FSE_TIME  
  9   FSE_NCP  
  10  FSE_MISCELLANEOUS  
  11  FSE_ERRORS 
  12  FSE_DIRECTORY_SERVICES 
  13  FSE_MULTIPROCESSOR 
  14  FSE_SERVICE_LOCATION_PROTOCOL 
  
setCmdFlags
Specifies the ways in which this category may be changed, as follows:
  0x01   FSE_STARTUP_ONLY  
  0x02   FSE_HIDE  
  0x04   FSE_ADVANCED  
  0x08   FSE_STARTUP_OR_LATER  
  0x10   FSE_NOT_SECURED_CONSOLE (Can’t be performed on secured
                                  console) 
  
setNameAndValueInfo
Specifies the NULL-terminated string containing the name of the command at index zero, and the value that begins at strlen(name)+1. The string is not length-preceded.