Click here to Skip to main content
15,891,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear ,

I face a problem while hooking printing service, I am beginner in windows hooking. My idea to hook printing spooler service to control any printing job. I use C# to implement my propopsed solution, I am trying to use SHELLHockstruct,
C++
[DllImport("user32.dll",CharSet=CharSet.Auto,
 CallingConvention=CallingConvention.StdCall)]
public static extern int SetWindowsHookEx(int idHook, HookProc lpfn, 
IntPtr hInstance, int threadId);

Please I need your help in solving that urgent issue, give me shortcut for control printing service, any material I can read, example, and so on.

Best Regards
Hany Mohamed
Posted
Updated 21-Apr-11 3:23am
v3
Comments
Marc A. Brown 21-Apr-11 9:15am    
A couple of points... first, your use of txtspk isn't going to endear you to the community. Second, your claim that it's "urgent" is also not going to endear you to the community. Third, what have you tried, any error messages?

1 solution

 
Share this answer
 
Comments
thatraja 25-Apr-11 22:10pm    
Good bunch SA
Sergey Alexandrovich Kryukov 25-Apr-11 22:12pm    
Thank you very much.
--SA

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