Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Alternative to memset for kernel mode drivers [modified] Pin
Electric Eddy18-Feb-10 13:07
Electric Eddy18-Feb-10 13:07 
QuestionInstall INF file Pin
john563217-Feb-10 23:54
john563217-Feb-10 23:54 
AnswerRe: Install INF file Pin
Richard MacCutchan18-Feb-10 0:18
mveRichard MacCutchan18-Feb-10 0:18 
GeneralRe: Install INF file Pin
john563218-Feb-10 0:20
john563218-Feb-10 0:20 
GeneralRe: Install INF file Pin
Richard MacCutchan18-Feb-10 0:22
mveRichard MacCutchan18-Feb-10 0:22 
GeneralRe: Install INF file Pin
john563218-Feb-10 1:35
john563218-Feb-10 1:35 
GeneralRe: Install INF file Pin
Richard MacCutchan18-Feb-10 1:53
mveRichard MacCutchan18-Feb-10 1:53 
GeneralRe: Install INF file Pin
john563218-Feb-10 2:01
john563218-Feb-10 2:01 
ok, trying to install kQemu driver through .inf file

Code:--
; Copyright (C) 2005 Filip Navara, Damien Mascord

[Version]
Signature   = "$Windows NT$"
Class       = System
ClassGuid   = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider    = %Author%
DriverVer   = 04/28/2005,1.0

[DestinationDirs]
DefaultDestDir    = 12
KQemu.DriverFiles = 12
KQemu.InfFiles    = 10,inf

[SourceDisksNames]
1 = %InstDisk%
   
[SourceDisksFiles]
kqemu.sys = 1

[Manufacturer]
%Author% = KQemu.Manufacturer

[KQemu.Manufacturer]
%Description% = DefaultInstall,kqemu

[DefaultInstall.NT]
CopyFiles = KQemu.DriverFiles, KQemu.InfFiles
AddReg = KQemu.UninstallRegistry

[DefaultInstall.NT.Services]
AddService = kqemu,,KQemuService_Inst

[Uninstall.NT]
DelFiles = KQemu.DriverFiles, KQemu.InfFiles
DelReg = KQemu.UninstallRegistry

[Uninstall.NT.Services]
DelService = kqemu,0x00000200

[KQemu.DriverFiles]
kqemu.sys

[KQemu.InfFiles]
kqemu.inf

[KQemu.UninstallRegistry]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"DisplayName",,%Description%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"UninstallString",0x20000,"RunDll32 setupapi.dll,InstallHinfSection Uninstall 132 %SystemRoot%\inf\kqemu.inf"

[KQemuService_Inst]
DisplayName   = %Description%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\kqemu.sys

[Strings]
Author = "Fabrice Bellard"
Description = "KQEMU virtualisation module for QEMU"
InstDisk = "KQEMU Install Disk"
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1

GeneralRe: Install INF file Pin
Richard MacCutchan18-Feb-10 6:08
mveRichard MacCutchan18-Feb-10 6:08 
GeneralRe: Install INF file Pin
john563218-Feb-10 20:06
john563218-Feb-10 20:06 
GeneralRe: Install INF file Pin
Richard MacCutchan18-Feb-10 22:03
mveRichard MacCutchan18-Feb-10 22:03 
GeneralRe: Install INF file Pin
vasu_sri18-Feb-10 22:50
vasu_sri18-Feb-10 22:50 
QuestionRe: Install INF file Pin
David Crow19-Feb-10 4:36
David Crow19-Feb-10 4:36 
AnswerRe: Install INF file Pin
krmed18-Feb-10 0:44
krmed18-Feb-10 0:44 
GeneralRe: Install INF file Pin
john563218-Feb-10 1:35
john563218-Feb-10 1:35 
AnswerRe: Install INF file Pin
Randor 19-Feb-10 9:49
professional Randor 19-Feb-10 9:49 
QuestionTesting File Access Rights in MFC [Not solved yet] Pin
staffan_v17-Feb-10 22:48
professionalstaffan_v17-Feb-10 22:48 
AnswerRe: Testing File Access Rights in MFC Pin
CPallini17-Feb-10 23:24
mveCPallini17-Feb-10 23:24 
GeneralRe: Testing File Access Rights in MFC Pin
staffan_v17-Feb-10 23:32
professionalstaffan_v17-Feb-10 23:32 
GeneralRe: Testing File Access Rights in MFC Pin
Richard MacCutchan17-Feb-10 23:44
mveRichard MacCutchan17-Feb-10 23:44 
GeneralRe: Testing File Access Rights in MFC Pin
staffan_v17-Feb-10 23:50
professionalstaffan_v17-Feb-10 23:50 
GeneralRe: Testing File Access Rights in MFC Pin
Richard MacCutchan18-Feb-10 0:17
mveRichard MacCutchan18-Feb-10 0:17 
GeneralRe: Testing File Access Rights in MFC [code] Pin
staffan_v18-Feb-10 4:19
professionalstaffan_v18-Feb-10 4:19 
QuestionRe: Testing File Access Rights in MFC Pin
David Crow19-Feb-10 5:53
David Crow19-Feb-10 5:53 
AnswerRe: Testing File Access Rights in MFC Pin
staffan_v21-Feb-10 22:49
professionalstaffan_v21-Feb-10 22:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.