NWSM_EXTENSION_INFORMATION

Describes an extension information.

Syntax

  typedef struct 
  { 
     UINT32   extensionTag ; 
     UINT32   tagVersion ; 
     UINT32   extensionSize; 
     void     info; 
  } NWSM_EXTENSION_INFORMATION;
  

Fields

extensionTag

Specifies the extension tag value. See Section 9.5, ExtensionTag Values.

tagVersion

Specifies the extension tag version. See Section 9.5, ExtensionTag Values.

extensionSize

Contains the extension size in bytes as encountered in the encoded extension buffer.

info

Points to the extension information. Encoded as per the extension tag and version structure definition.

Remarks

extensionSize points to the number of bytes of information that was used in the encoded extension buffer to represent the extension. This does not represent the size of the info field.

The info field can be type casted to the extensionTag structure whose version is equal to or lower than tagVersion field.

info field may contain a NULL if the extension was not encoded.

Extension tag structures that contain pointers fields may contain NULL if no information is encoded regarding the same.