Hi,
First stop could be pinvoke.net.
You can get the values of the objects from the wingdi.h file ( I included
the brush values at the bottom) , IIRC you get it if you install the PPC SDK
Also you can get better answer in the CF ng.
#define WHITE_BRUSH 0
#define LTGRAY_BRUSH 1
#define GRAY_BRUSH 2
#define DKGRAY_BRUSH 3
#define BLACK_BRUSH 4
#define NULL_BRUSH 5
#define HOLLOW_BRUSH NULL_BRUSH
#define WHITE_PEN 6
#define BLACK_PEN 7
#define NULL_PEN 8
#define SYSTEM_FONT 13
#define DEFAULT_PALETTE 15
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"yogi" <yo***********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
hi all,
i m developing an application on compact framework using c# in which i
need to use getstockobject pinvoke for which i need to get the constant
values for NULL_BRUSH,HOLLOW_BRUSH used as a parameter in
getstockobject call.
[DllImport("coredll",SetLastError=true)]
public static extern IntPtr GetStockObject(int fnObject);
i have no idea about from where to get the constant values and exact
signature for most of the api method calls.
Is there any tool like apiviewer available for .net compact framework
too ?
wud be waiting for ur replies.
thanks
Yogi