IWDTFSystemAction2::get_Critical method (wdtfsystemaction.h)

Gets or sets a value that indicates whether the system power state is critical.

This property is read/write.

Syntax

HRESULT get_Critical(
  VARIANT_BOOL *pbCritical
);

Parameters

pbCritical

A value that indicates whether the system power state is critical.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Windows
Header wdtfsystemaction.h

See also

IWDTFSystemAction2