Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to Hook "StartDocPrinter" api (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145115(v=vs.85).aspx[^])

Any idea or article how to hook a api?

thanks
Posted
Comments
Mike Meinz 2-Feb-13 11:10am    
You might find what you are looking for in the Printer Change Notification Functions. Rather than hooking a Windows API, you can use the facility that is provided to get notifications of printer activity.

1 solution

hi,
This may help you a little-
EasyHook - The reinvention of Windows API Hooking[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900