NeKernel dev
Loading...
Searching...
No Matches
dev.h File Reference
#include <DDKKit/ddk.h>

Go to the source code of this file.

Classes

struct  DDK_FINAL
 Object handle manifest. More...

Macros

#define DDK_DEVICE_NAME_LEN   (255)

Typedefs

typedef struct _DDK_DEVICE DDK_FINAL DDK_DEVICE
 Kernel Device driver.
typedef struct _DDK_DEVICE DDK_FINALDDK_DEVICE_PTR

Functions

DDK_EXTERN DDK_DEVICE_PTR open (const char *path)
 Open a new device from path.
DDK_EXTERN BOOL close (DDK_DEVICE_PTR device)
 Close any device.

Macro Definition Documentation

◆ DDK_DEVICE_NAME_LEN

#define DDK_DEVICE_NAME_LEN   (255)

Typedef Documentation

◆ DDK_DEVICE

typedef struct _DDK_DEVICE DDK_FINAL DDK_DEVICE

Kernel Device driver.

◆ DDK_DEVICE_PTR

typedef struct _DDK_DEVICE DDK_FINAL * DDK_DEVICE_PTR

Function Documentation

◆ close()

DDK_EXTERN BOOL close ( DDK_DEVICE_PTR device)

Close any device.

Parameters
devicevalid device.

◆ open()

DDK_EXTERN DDK_DEVICE_PTR open ( const char * devicePath)

Open a new device from path.

Parameters
paththe device's path.

Open a new device from path.