ExecuteResourceTypeControl Method of the MSCluster_ResourceType Class

Executes a control code on the resource type.

Syntax

void ExecuteResourceTypeControl(
  [in]   sint32 ControlCode,
  [in]   uint8 InputBuffer[],
  [out]  uint8 OutputBuffer[],
  [out]  sint32 OutputBufferSize
);

Parameters

  • ControlCode
    A resource type control code specifying the operation to be performed. For a list of resource control codes, see Resource Type Control Codes.

    This corresponds to the dwControlCode parameter to the ClusterResourceTypeControl function listed on the cluster resource type control code reference pages.

  • InputBuffer
    An input buffer containing information needed for the operation, or NULL if no information is needed.

    This corresponds to the lpInBuffer parameter to the ClusterResourceTypeControl function listed on the cluster resource type control code reference pages.

  • OutputBuffer
    An output buffer to receive the data resulting from the operation, or NULL if no data will be returned.

    This corresponds to the lpOutBuffer parameter to the ClusterResourceTypeControl function listed on the cluster resource type control code reference pages.

  • OutputBufferSize
    The allocated size (in bytes) of the output buffer.

    This corresponds to the cbOutBufferSize parameter to the ClusterResourceTypeControl function listed on the cluster resource type control code reference pages.

Requirements

Server Requires Windows ServerĀ 2008 Enterprise or Windows ServerĀ 2008 Datacenter.
MOF

Declared in ClusWmi.mof.

Namespace

Defined in \\.\Root\MSCluster.

See Also

MSCluster_ResourceType
ClusterResourceTypeControl
Resource Type Control Codes

Send comments about this topic to Microsoft

Build date: 3/20/2008