IWDTFSystemAction2::put_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 put_Critical(
  VARIANT_BOOL bCritical
);

Parameters

bCritical

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