OpenCBM
|
Install the driver and check if anything needed is there. More...
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. More... | |
Install the driver and check if anything needed is there.
Definition in file sys/libcommon/install.c.
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.
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. |
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 51 of file sys/libcommon/install.c.
References CBM_I_DRIVER_INSTALL_0M_NO_INTERRUPT, CBMT_I_INSTALL_OUT_MAKE_VERSION, CBMT_I_INSTALL_OUT_MAKE_VERSION_EX, CBMT_I_INSTALL_OUT::DriverVersion, CBMT_I_INSTALL_OUT::DriverVersionEx, CBMT_I_INSTALL_OUT::ErrorFlags, FUNC_ENTER, and ParPortAllowInterruptIoctl().
Referenced by cbm_execute_devicecontrol().