I've never done this but just looking at the documentation I would consider using CTL_FIND_ANY and then for each one using CertFindSubjectInCTL() to confirm that what I was searching for actually existed.
What documentation did you look at? I missed that type completely. Also, I thought that CertFindSubjectInCTL was what you used to look at the entries. Does your "magic" documentation show more about this function than MSDN?
... and then you remove more useful info from your post...
Only you know what's in this array of BYTEs.
A POINT is a structure containing two LONGs. The conversion from your mystery
BYTE array could be as simple as a cast or as difficult as iterating through the bytes
and creating POINT structs from them.
In your original post, you assumed a method was returning an array of points as a byte
array, but in reality, unless you know the Windows internals and you know it's not going to
change, that was a bad assumption. There's no documentation I know of that describes what's
in those bytes.
Thnks, i know it is in comdef.h, which is part of windows 2003 SDK kit. i have included it but still in vain, may be some library or something elese is missing. please help. infact i have a program which work in .net 2003 but when i try to convert it in to .net 2005, this error occurs while compiling.
I have a application based on a CFormView class btw I use VC++ 2005. I want to know when the x button of the mainFrame is click how to send the app in the status bar instead of closing it. It already work with the File->Quit menu ( I use ON_COMMAND(ID_APP_EXIT, &NameOfTheClassView) ) but I don't know what happen in the code when the X button is clicked so I don't know where to add the code to send my app in the status bar.
I already know all the stuff concerning Shell_NotifyIcon(). My question is how to intercept the X bouton in the main window and then hide the window so that only the tray icon will be visible.... ( intercept here is the KEY word ).