GETMONITORINFOEX struct not generated #188
-
My NativeMethods.txt is simply I'm not sure if I am doing something incorrectly or this is a bug. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
There is no To get |
Beta Was this translation helpful? Give feedback.
There is no
GETMONITORINFO
struct, norGETMONITORINFOEX
. I think you meantMONITORINFOEX
(noGET
in front).Structs aren't exported from User32 or any other module. They are simply in header files. We autogenerate structs when you ask for a method based on the method signature. You get
MONITORINFO
because that is used in the method signature, butMONITORINFOEX
is not.To get
MONITORINFOEX
, you will need to ask for it explicitly in the NativeMethods.txt file.