Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

install.c File Reference

Install the driver and check if anything needed is there. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "cbmioctl.h"
#include "version.h"

Go to the source code of this file.

Functions

NTSTATUS cbm_install (IN PDEVICE_EXTENSION Pdx, OUT PCBMT_I_INSTALL_OUT ReturnBuffer, IN OUT PULONG ReturnLength)
 Complete driver installation.


Detailed Description

Install the driver and check if anything needed is there.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
install.c,v 1.10 2006/04/19 16:48:18 trikalio Exp


Definition in file install.c.


Function Documentation

NTSTATUS cbm_install IN PDEVICE_EXTENSION  Pdx,
OUT PCBMT_I_INSTALL_OUT  ReturnBuffer,
IN OUT PULONG  ReturnLength
 

Complete driver installation.

This function performs anything that is needed for completing the driver installation.

Parameters:
Pdx Pointer to the device extension.
ReturnBuffer Pointer to a buffer which will contain the result.
ReturnLength Pointer to a ULONG which contains the length of the ReturnBuffer on entry, and which will contain the length of the written ReturnBuffer on exit.
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.
If ReturnLength is smaller then the length of CBMT_I_INSTALL_OUT, then only the the first settings are copied there. This way, a caller can get information even if newer versions have more informations to give.

Definition at line 52 of file install.c.

References CBM_I_DRIVER_INSTALL_0M_NO_INTERRUPT, CBMT_I_INSTALL_OUT_MAKE_VERSION, CBMT_I_INSTALL_OUT_MAKE_VERSION_EX, FUNC_ENTER, and ParPortAllowInterruptIoctl().

Referenced by cbm_execute_devicecontrol().


Generated on Sun Apr 30 18:46:10 2006 for opencbm by  doxygen 1.4.2