windows-nt/Source/XPSP1/NT/ds/security/gina/snapins/gpedit/structs.h

52 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//*************************************************************
// File name: STRUCTS.H
//
// Description: Structures and function prototypes used in this project
//
//
// Microsoft Confidential
// Copyright (c) Microsoft Corporation 1998
// All rights reserved
//
//*************************************************************
//
// Max displayname for a namespace item
//
#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 iIcon;
INT iOpenIcon;
INT iStringID;
INT iStringDescID;
INT cChildren;
TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
INT cResultItems;
LPRESULTITEM pResultItems;
const GUID *pNodeID;
LPCTSTR lpHelpTopic;
} NAMESPACEITEM, *LPNAMESPACEITEM;
//
// External function proto-types that we dynamicly link with
//
typedef BOOL (*PFNREFRESHPOLICY)(BOOL bMachine);