ResUtilOpenDriver

The ResUtilOpenDriver utility function opens an I/O driver.

DWORD WINAPI ResUtilOpenDriver(
  HANDLE *Handle,  
  LPWSTR DriverName  
);
 

Parameters

Handle
[out] Pointer to a handle to the opened driver.
DriverName
[in] Pointer to the name of the driver to open.

Return Values

ERROR_SUCCESS
The operation completed successfully.

If the operation was unsuccessful, ResUtilOpenDriver returns a Win32® error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.