MAC_PARAM

A structure used to store token parameter information.

Definition

typedef struct _tagMAC_PARAM 
{ 
   MAC_VALUE_TYPE eType; 
   WORD wFlags; 
   WORD wReserved; 
   union 
   { 
      DWORD dwValue; 
      void far *lpvPtr; 
      double drValue; 
   } uData; 
} MAC_PARAM, NEAR *NPMAC_PARAM, FAR *LPMAC_PARAM, 
   *PMAC_PARAM;

Types

The following types are used:

MAC_PARAM

Structure containing token parameter information.

NPMAC_PARAM

Near pointer to a MAC_PARAM structure.

LPMAC_PARAM

Far pointer to a MAC_PARAM structure.

PMAC_PARAM

Pointer to a MAC_PARAM structure.

Members

The members are defined as follows:

eType

Parameter type enumeration. See MAC_VALUE_TYPE.

wFlags

When using the token parameter, set wFlags to 00000. When the token parameter is optional and unused, set wFlags to 08000.

uData

Union containing parameter data.

dwValue = Integer data

lpvPtr = String data

drValue = Floating point data