Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EXPERTCONFIG structure contains the configuration data of the expert. The expert overlays the RawConfigData member with an expert-specific structure.
Syntax
typedef struct {
DWORD RawConfigLength;
BYTE RawConfigData[];
} EXPERTCONFIG, *PEXPERTCONFIG;
Members
-
RawConfigLength
-
Total length of the structure, including the four bytes used for the member. Network Monitor uses the value when the structure is saved-to and read-from a disk drive.
-
RawConfigData
-
Configuration data. The expert must add the configuration data. For example, suppose that you had a data structure that looked like this.
typedef struct { DWORD RawConfigLength; // Overlay of structure DWORD PickNumEvents; DWORD NumEventsSpecific; DWORD PickSpeedThroughCapture; DWORD PickStartup; DWORD PickAttachProperties; } TESTEXPERTCONFIG; typedef TESTEXPERTCONFIG* LPTESTEXPERTCONFIG;
Note that RawConfigLength ensures that the overlay works correctly. When you use the data, your code might look like this:
BOOL WINAPI Configure( HEXPERTKEY ExpertKey, PEXPERTCONFIG * ppConfig, PEXPERTSTARTUPINFO pStartupInfo, DWORD StartupFlags, HWND hWnd ) { LPTESTEXPERTCONFIG lpConfig; //... lpConfig = (LPTESTEXPERTCONFIG)(*ppConfig); //... }
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|