The SAP_IF_INFO structure MAY<113> be used to contain information about the SAP interface. This structure is returned as part of the following methods:
RMIBEntryGetNext (section 3.1.4.32)
typedef struct _SAP_IF_INFO {
ULONG AdminState;
ULONG UpdateMode;
ULONG PacketType;
ULONG Supply;
ULONG Listen;
ULONG GetNearestServerReply;
ULONG PeriodicUpdateInterval;
ULONG AgeIntervalMultiplier;
} SAP_IF_INFO,
*PSAP_IF_INFO;
AdminState: This MUST be the desired state of the interface. A value of 0x00000001 disables the SAP on the interface, and a value of 0x00000002 enables the SAP on the interface.
UpdateMode: This MUST be the SAP update mechanism used on the interface.
PacketType: This MUST be the SAP packet type used on this interface.
Supply: This MUST be set to a value of 0x00000001 to disable sending SAP updates on this interface and to a value of 0x00000002 to enable.
Listen: This MUST be set to a value of 0x00000001 to disable listening to SAP updates on this interface and to a value of 0x00000002 to enable.
GetNearestServerReply: Set to a value of 0x00000001 to disable GetNearestServer and to a value of 0x00000002 to enable.
PeriodicUpdateInterval: This MUST be the interval, in seconds, at which the information is periodically updated. The default value is 60.
AgeIntervalMultiplier: Each time a periodic update is done at the server, PeriodicUpdateInterval is multiplied by AgeIntervalMultiplier. The default value is 3.