Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
static NTSTATUS (WINAPI *pD3DKMTCloseAdapter)(const D3DKMT_CLOSEADAPTER*); static NTSTATUS (WINAPI *pD3DKMTOpenAdapterFromGdiDisplayName)(D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME*);
+char** myARGV; +int myARGC;
I don't think this is necessary. You can keep them in the local scope of START_TEST(monitor) and pass their values to corresponding functions via parameters.