IAPI::EnableNetworkDevices

property EnableNetworkDevices.

Enables or Disables Network Devices like from Devices Manager User Interface.

 

HRESULT EnableNetworkDevices(
  BSTR devIndexes,
  long devEnable,
  long *pVal
);

Parameters

devIndexes

[in, defaultvalue("0,1,2")] . Network Devices indexes which identify each device.

devEnable

[in,defaultvalue(1)] . 0 to disable, 1 to enable the Network Devices.

 

   pVal

[out, retval] . 0 if succeeded, other value if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI