Jump to content

DMIDATA: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
 
<code>
  typedef struct _DMIDATA {
  typedef struct _DMIDATA {
   ULONG        [[packet_size]];
   ULONG        packet_size;
   ULONG        [[packet_revision_number]];
   ULONG        packet_revision_number;
   PVOID        [[DMI_product_ID]];
   PVOID        DMI_product_ID;
   PVOID        [[DMI_modification_level]];
   PVOID        DMI_modification_level;
   PVOID        [[DMI_fix_level]];
   PVOID        DMI_fix_level;
   ULONG        [[template_filename_length]];
   ULONG        template_filename_length;
   PVOID        [[template_filename]];
   PVOID        template_filename;
  } DMIDATA;
  } DMIDATA;
   
   
  typedef   DMIDATA   * PDMIDATA ;
  typedef DMIDATA *PDMIDATA;
</code>
Use appropriate '''packet_revision_number''' to indicate whether character data in the parameter packet is in UniCode or ASCII format.


Use appropriate [[packet_revision_number]]  to  indicate  whether  character data in the parameter packet is in UniCode or ASCII format .
;packet_size (ULONG):Size, in bytes, of this packet.
;packet_revision_number (ULONG):A long integer value that indicates the revision level of the parameter packet. Use one of the following values defined in FFST.H:
:;UniCode parameter packet.
::Use CONFIGPARMS_OS2_UNICODE to specify the UniCode parameter packet.
:;ASCII parameter packet.
::Use CONFIGPARMS_OS2_ASCII to specify the ASCII parameter packet.
;DMI_product_ID (PVOID):Pointer to the product ID.
;DMI_modification_level (PVOID):Pointer to the product modification level.
;DMI_fix_level (PVOID):Pointer to the product fix level.
;template_filename_length (ULONG):Length of the template repository file name pointed to by template_filename.
;template_filename (PVOID):Pointer to the fully-qualified path of the template repository file.


[[Category:Data type]]
[[Category:Data type]]

Latest revision as of 16:58, 23 January 2018

typedef struct _DMIDATA {
  ULONG         packet_size;
  ULONG         packet_revision_number;
  PVOID         DMI_product_ID;
  PVOID         DMI_modification_level;
  PVOID         DMI_fix_level;
  ULONG         template_filename_length;
  PVOID         template_filename;
} DMIDATA;

typedef DMIDATA *PDMIDATA;

Use appropriate packet_revision_number to indicate whether character data in the parameter packet is in UniCode or ASCII format.

packet_size (ULONG)
Size, in bytes, of this packet.
packet_revision_number (ULONG)
A long integer value that indicates the revision level of the parameter packet. Use one of the following values defined in FFST.H:
UniCode parameter packet.
Use CONFIGPARMS_OS2_UNICODE to specify the UniCode parameter packet.
ASCII parameter packet.
Use CONFIGPARMS_OS2_ASCII to specify the ASCII parameter packet.
DMI_product_ID (PVOID)
Pointer to the product ID.
DMI_modification_level (PVOID)
Pointer to the product modification level.
DMI_fix_level (PVOID)
Pointer to the product fix level.
template_filename_length (ULONG)
Length of the template repository file name pointed to by template_filename.
template_filename (PVOID)
Pointer to the fully-qualified path of the template repository file.