mirror of https://github.com/tongzx/nt5src
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.
33 lines
737 B
33 lines
737 B
|
|
#define NUM_NAMESPACE_ITEMS 2
|
|
#define MAX_DISPLAYNAME_SIZE 100
|
|
|
|
|
|
typedef struct _RESULTITEM
|
|
{
|
|
DWORD dwID;
|
|
DWORD dwNameSpaceItem;
|
|
INT iStringID;
|
|
INT iImage;
|
|
TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
|
|
} RESULTITEM, *LPRESULTITEM;
|
|
|
|
|
|
typedef struct _NAMESPACEITEM
|
|
{
|
|
DWORD dwID;
|
|
DWORD dwParent;
|
|
INT iStringID;
|
|
INT cChildren;
|
|
TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
|
|
INT cResultItems;
|
|
LPRESULTITEM pResultItems;
|
|
const GUID *pNodeID;
|
|
} NAMESPACEITEM, *LPNAMESPACEITEM;
|
|
|
|
|
|
extern RESULTITEM g_Root[];
|
|
extern RESULTITEM g_Undefined[];
|
|
extern NAMESPACEITEM g_NameSpace[];
|
|
|
|
BOOL InitNameSpace();
|