Share via


EXPERTENUMINFO

The EXPERTENUMINFO structure provides information about the expert. Network Monitor allocates memory for the structure, and passes it to the expert when it calls the Register Expert function. When the expert receives the structure, it must then fill-in all the information that Network Monitor requests.

typedef struct {
  char szName[EXPERTSTRINGLENGTH];
  char szVendor[EXPERTSTRINGLENGTH];
  char szDescription[EXPERTSTRINGLENGTH];
  DWORD Version;
  DWORD Flags;
  HEXPERT hExpert;
  char szDllName[MAX_PATH];
  HINSTANCE hModule;
  PEXPERTREGISTERPROC pRegisterProc;
  PEXPERTCONFIGPROC pConfigProc;
  PEXPERTRUNPROC pRunProc;
} EXPERTENUMINFO, 
 *PEXPERTENUMINFO;

Members

  • szName
    Name of the expert.

  • szVendor
    Name of the vendor that creates the expert.

  • szDescription
    Description of the expert. The value of the szDescription member may be NULL. If the name is too long, it is truncated in the default viewer configuration.

  • Version
    The value must be zero.

  • Flags
    The following flags describe the expert.

    Value Meaning
    EXPERT_ENUM_FLAG_CONFIGURABLE The expert supports calls to the Configure method.
    EXPERT_ENUM_FLAG_VIEWER_PRIVATE The expert requires a private (non-shared) Event Viewer.
    EXPERT_ENUM_FLAG_NO_VIEWER The expert does not send event notifications.
    EXPERT_ENUM_FLAG_ADD_ME_TO_RMC_IN_SUMMARY When the focus is in the summary pane, the expert appears on the context menu.
    EXPERT_ENUM_FLAG_ADD_ME_TO_RMC_IN_DETAIL When the focus is in the detail pane, the expert appears on the context menu.
  • hExpert
    Handle to the expert. When the EXPERTENUMINFO structure is used to register an expert, the parameter is ignored.

  • szDllName
    Private member; do not use.

  • hModule
    Private member; do not use.

  • pRegisterProc
    Private member; do not use.

  • pConfigProc
    Private member; do not use.

  • pRunProc
    Private member; do not use.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.