NeKernel dev
Loading...
Searching...
No Matches
ddk_dev.c File Reference
#include <DriverKit/dev.h>
#include <DriverKit/str.h>

Functions

DDK_EXTERN DDK_DEVICE_PTR kopen_dev (const char *devicePath)
 Open a new binary device from path.
DDK_EXTERN BOOL kclose_dev (DDK_DEVICE_PTR device)
 Close any device.

Function Documentation

◆ kclose_dev()

DDK_EXTERN BOOL kclose_dev ( DDK_DEVICE_PTR device)

Close any device.

Parameters
devicevalid device.

◆ kopen_dev()

DDK_EXTERN DDK_DEVICE_PTR kopen_dev ( const char * devicePath)

Open a new binary device from path.

Open a new device from path.