IGPMClientSideExtension::IsComputerEnabled method (gpmgmt.h)

Checks whether the client-side extension can be called during the processing of computer policy.

Syntax

HRESULT IsComputerEnabled(
  [out] VARIANT_BOOL *pvbEnabled
);

Parameters

[out] pvbEnabled

Value that indicates whether the client-side extension can be called during the processing of computer policy. If VARIANT_TRUE, the client-side extension is called during the processing of computer policy, provided that there are policy settings for the client-side extension in the computer portion of one or more of the applied GPOs.

Return value

C++

Returns S_OK if successful. Returns a failure code if an error occurs.

JScript

Value that indicates whether the client-side extension can be configured in the computer portion of the GPO. If VARIANT_TRUE, the client-side extension can be configured.

VB

Value that indicates whether the client-side extension can be configured in the computer portion of the GPO. If VARIANT_TRUE, the client-side extension can be configured.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPMClientSideExtension