| Microsoft DirectX 9.0 | 
The implementation of this method is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.
The GetNetworkInterface method returns the filter's current Network Interface Card (NIC) address.
Syntax
HRESULT GetNetworkInterface(
  ULONG*  pNIC
);
Parameters
pNIC
[out] Pointer to a variable that receives the NIC address, in network order (bytes ordered from left to right). You can use the inet_ntoa function to convert this number to a string in standard dotted format.
Return Values
This method returns an HRESULT value. Possible return codes include, but are not limited to, the values shown in the following table.
| Value | Description | 
| E_INVALIDARG | Invalid argument | 
| S_OK | Success. | 
Remarks
The value returned by this method is not valid until the application configures the filter.
See Also