![]() |
|
|
Регистрация | << Правила форума >> | FAQ | Пользователи | Календарь | Поиск | Сообщения за сегодня | Все разделы прочитаны |
![]() |
|
Опции темы | Поиск в этой теме | Опции просмотра |
#1
|
|||
|
|||
![]() Hi , Can someone helps me in Using this declared API in SetupApi.pas
Код:
function SetupScanFileQueueA(FileQueue: HSPFILEQ; Flags: DWORD; Window: HWND; CallbackRoutine: TSPFileCallbackA; CallbackContext: Pointer; var Result: DWORD): LongBool; stdcall; Just to explain , please take a look at my Sample project to enumerate all Installed devices , so what i want to achieve is to get all Driver' files like : *.inf , *.sys , ...etc please read my comment under ListBox1 OnClick event . |
#2
|
|||
|
|||
![]() Read this: http://msdn.microsoft.com/en-us/libr...35(VS.85).aspx
I'm not sure that this is the correct function to enumerate all drivers installed in system. I think that the EnumDeviceDrivers function is more useful for this. Expample is here: http://msdn.microsoft.com/en-us/libr...19(VS.85).aspx Or just scan Windows home directory with subdirectories for required files using FindFirst/FindNext/FindClose. |
#3
|
|||
|
|||
![]() thank you lmikle , i'm not looking for a code to get all installed drivers but to get driver files , Cause what i will do is a Driver Backup , and before that i must search all the diver files ( *.inf , *.sys ...etc ) them copy them .
So how to get these files . thank you |
#4
|
|||
|
|||
![]() to get what i'm looking for please take a look at this : http://www.chilydriverbackup.com/
|
#5
|
|||
|
|||
![]() look here:
http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx This function return the file name of passed address returned by previouse function. |