Link to home
Start Free TrialLog in
Avatar of devoured_elysium
devoured_elysium

asked on

Through which functions can HDC type variables be created?

Hello. I'd like to know which functions can create an HDC type variable. I am hooking a program that is using HDCs and I'd like to know which functions might be creating it and also which ones can be using it. I know this program will use things drawed in small pictures to put everything in a big picture(I guess it's double buffering), before it shows me the final pic. Thanks
Avatar of Zoppo
Zoppo
Flag of Germany image

Hi devoured_elysium,

well, HDCs are create with ::CreateDC. A list of all functions which can use a HDC is quite long since nearly and GDI function uses a HDC. You can take a look at the GDI description in MSDN here http://msdn.microsoft.com/en-us/library/dd145203(VS.85).aspx, there you'll find (I guess) all functions which use HDC.

ZOPPO
ASKER CERTIFIED SOLUTION
Avatar of alb66
alb66
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of devoured_elysium
devoured_elysium

ASKER

Yes, it seems to be using GetDC(). I thought I'd already tried that one but now I see that's being used. Thanks

One more question, though. If this application is indeed using double buffering, is it probably using bitmaps or is there any other common way of doing it? I mean this as I've hooked CreateBitmap and it shows nothing.