TOKEN_TYPE
SeTokenType(
  IN  PACCESS_TOKEN Token
  );

Routine Description:

    This function returns the type of an instance of a token (TokenPrimary,
    or TokenImpersonation).


Arguments:

    Token - Points to the token whose type is to be returned.

Return Value:

    The token's type.