InitTkn

Attempts to allocate a memory block to contain a token and its specified number of parameters.

Definition

void WINAPI InitTkn ( WORD nParmCount ) 
{ //Allocate one less mac_param because 1 is already 
   defined in theMAC_TOKEN structure 
if ((lpTknData = (LPMAC_TOKEN)AllocPtr (sizeof (MAC_TOKEN) 
   +(sizeof(MAC_PARAM) *(nParmCount-1) + 100), GHND)) == 
   NULL) 
{ 
   lpTknData = (LPMAC_TOKEN)NULL; 
   } 
}