Share via


ExecuteNetworkInterfaceControl method of the MSCluster_NetworkInterface class

Executes a control code on the network interface.

Syntax

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

Parameters

ControlCode [in]

A control code specifying the operation to be performed. For a list of network interface control codes, see Network Interface Control Codes.

InputBuffer [in]

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

This corresponds to the lpInBuffer parameter to the ClusterNetInterfaceControl function listed on the network interface control code reference pages.

OutputBuffer [out]

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 ClusterNetInterfaceControl function listed on the network interface control code reference pages.

OutputBufferSize [out]

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

This corresponds to the cbOutBufferSize parameter to the ClusterNetInterfaceControl function listed on the network interface control code reference pages.

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_NetworkInterface

ClusterNetInterfaceControl

Network Interface Control Codes