Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.5 KiB

/*****************************************************************************
* *
* CMDOBJ.H *
* *
* Copyright (C) Microsoft Corporation 1990. *
* All Rights reserved. *
* *
*****************************************************************************/
/*****************************************************************************
* *
* Defines *
* *
*****************************************************************************/
/*
These flags are combined together to specify which branch of the
union in a JI is to be used.
*/
#define fIMember 1
#define fSzMember 2
#define fSzFile 4
/*****************************************************************************
* *
* Typedefs *
* *
*****************************************************************************/
/*
The Jump Information structure is placed in the command table and
is used for all interfile and secondary window jumps.
The char arrays contain 0-terminated strings. szMemberAndFile[]
contains two contiguous 0-terminated strings.
*/
typedef struct
{
BYTE bFlags; // combination of flags above
HASH hash;
union
{
BYTE iMember;
CHAR szMemberAndFile[1]; // actually variable size
CHAR szMemberOnly[1]; // actually variable size
CHAR szFileOnly[1]; // actually variable size
} uf;
} JI, FAR *QJI;
/* EOF */