HRESULT WRAPIOpenNdisDevice( WCHAR* pwDeviceName );
The WRAPIOpenNdisDevice method returns an HRESULT indicating the status of the call. Error values can be found using GetLastError(). A common error value returned from this function is ERROR_BUSY (HRESULT = 170) which indicated that the requested resource is in use. In that case, make sure that NDISUIO is not being bound to by any other utility or service, e.g. Wireless Zero Configuration.
Windows 95/98/Me: Unsupported.
Header: Declared in WRAPIExports.h.
Library: Use wrapi.lib.