OpenNet
Classes | Public Member Functions | Static Public Member Functions | List of all members
OpenNetK::Adapter Class Reference

This class maintains information about an adapter on the OpenNet internal network. More...

#include <Adapter.h>

Classes

struct  BufferInfo
 DirectGMA Buffer information. This structur is not documented and may change or disapear in futur version. More...
 

Public Member Functions

void FileCleanup (void *aFileObject)
 Cleanup on file close. More...
 
void SetHardware (Hardware *aHardware)
 Connect the Hardware instance. More...
 
void SetOSDep (OpenNetK_OSDep *aOSDep)
 Set the OSDep structure. More...
 
unsigned int Event_GetPendingCount () const
 Does some events pending? More...
 
void Event_RegisterCallback (Event_Callback aCallback, void *aContext)
 Register an event callback. More...
 

Static Public Member Functions

static bool IoCtl_GetInfo (unsigned int aCode, OpenNetK_IoCtl_Info *aInfo)
 Retrieve information about an IoCtl code. More...
 

Detailed Description

This class maintains information about an adapter on the OpenNet internal network.

Note
This class is part of the Driver Development Kit (DDK).
Kernel class - No constructor, no destructor, no virtual method

Member Function Documentation

unsigned int OpenNetK::Adapter::Event_GetPendingCount ( ) const

Does some events pending?

Returns
This method returns the number of currently pending events.
void OpenNetK::Adapter::Event_RegisterCallback ( Event_Callback  aCallback,
void *  aContext 
)

Register an event callback.

Parameters
aCallbackThe function to call
aContextThe context to pass to the function
void OpenNetK::Adapter::FileCleanup ( void *  aFileObject)

Cleanup on file close.

Parameters
aFileObjectThe closing file
static bool OpenNetK::Adapter::IoCtl_GetInfo ( unsigned int  aCode,
OpenNetK_IoCtl_Info aInfo 
)
static

Retrieve information about an IoCtl code.

Parameters
aCodeThe IoCtl code
aInfoThe output buffer
Return values
falseError
trueOK
void OpenNetK::Adapter::SetHardware ( Hardware aHardware)

Connect the Hardware instance.

Parameters
aHardwareThe Hardware instance
Note
Level = Thread, Thread = Init
void OpenNetK::Adapter::SetOSDep ( OpenNetK_OSDep aOSDep)

Set the OSDep structure.

Parameters
aOSDepThe OSDep structure

The documentation for this class was generated from the following file: