IMonitorEventer::GetEventData
The GetEventData method allocates space for the NMEVENTDATA and NMCOLUMNINFO structures.
HRESULT GetEventData(BYTEbNumColumns,
PNMEVENTDATA*ppNMEventData);
Parameters
- bNumColumns
[in] Number of NMCOLUMNINFO structures needed. - ppNMEventData
[out] Address of the NMEVENTDATA structure that is returned.
Return Values
If the method is successful, the return value is S_OK.
If the method is unsuccessful, the return value is NMERR_OUT_OF_MEMORY.
Remarks
Monitors call this method to allocate memory for the event data and column information structures. To free memory allocated for an NMEVENTDATA structure, see IMonitorEventer::FreeEventData.
Requirements
| Client | Requires Windows 2000 Professional or Windows NT Workstation 4.0. |
| Server | Requires Windows 2000 Server or Windows NT Server 4.0. |
| Header | Declared in Netmon.h. |