• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[C#] Hooking a DLL and inject it.

Legendary Battlemage
Loyal Member
Joined
Sep 28, 2008
Messages
600
Reaction score
291
Hey guys,

I'm new to C# =X So i'll post what i'm looking for right here.
Currently, i'm facing a problem in c# where I need to hook SetupDiGetClassDevsExA in SetupApi.dll and return 0. I'll also have to inject that DLL into an application everytime i start it.

Does anyone can give some tips on how to code on that or where to start off?

Thanks in advance.

Regards,
-AuroX
 
Initiate Mage
Joined
Dec 31, 2010
Messages
1
Reaction score
0
This might be what you are looking for :
 
Back
Top