TwclNetworkListManager.GetAdapter(string,TwclNetworkAdapter) Method
Gets the network adapter by its ID.
public function GetAdapter(const Id: string; var Adapter: TwclNetworkAdapter): Integer;
Parameters
- Id
- Type: string
The adapter's ID.
- Adapter
- Type: TwclNetworkAdapter
If the method completed with success the parameter will contain the found NDIS adapter details.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.