WHEAErrorSourceMethods::GetAllErrorSourcesRtn method

The WHEAErrorSourceMethods::GetAllErrorSourcesRtn WMI provider method returns a list of error source descriptor structures that describe all of the error sources that are supported by the hardware platform.

Syntax


void GetAllErrorSourcesRtn(
  [out, retval]  uint32 *Status,
  [out, retval]  uint32 *Count,
  [out, retval]  uint32 *Length,
  [out, retval]  uint8 *ErrorSourceArray[]
);

Parameters

Status [out, retval]

The result of the call to the WHEAErrorSourceMethods::GetAllErrorSourcesRtn method. The value that is returned is an NTSTATUS code.

Count [out, retval]

The number of error source descriptor structures that are contained in the buffer that is returned in the ErrorSourceArray parameter.

Length [out, retval]

The size, in bytes, of the buffer that is returned in the ErrorSourceArray parameter.

ErrorSourceArray[] [out, retval]

A pointer to a buffer that contains an array of WHEA_ERROR_SOURCE_DESCRIPTOR structures.

Return value

None

Remarks

A user-mode WHEA management application calls the WHEAErrorSourceMethods::GetAllErrorSourcesRtn method to get a list of error source descriptor structures that describe all of the error sources that are supported by the hardware platform.

A user-mode WHEA management application does not call the WHEAErrorSourceMethods::GetAllErrorSourcesRtn method directly. It must call it indirectly by calling the IWbemServices::ExecMethod method. For more information about how to call methods in WMI provider classes, see the Calling a Provider Method topic in the Microsoft Windows SDK documentation.

Requirements

Version

Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows.

See also

WHEA_ERROR_SOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft