J
Just Me
PARAFORMAT2 is a structure that SendMessage will return stuff in.
Is the "ref" correct or since only a pointer is being passed should it be by
value?
Suppose I was passing data rather then receiving it,
would that change the answer to the above?
[DllImport("user32.dll",
EntryPoint="SendMessage",CharSet=CharSet.Auto )]
public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam,
ref PARAFORMAT2 pf2);
Thanks in advance
Is the "ref" correct or since only a pointer is being passed should it be by
value?
Suppose I was passing data rather then receiving it,
would that change the answer to the above?
[DllImport("user32.dll",
EntryPoint="SendMessage",CharSet=CharSet.Auto )]
public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam,
ref PARAFORMAT2 pf2);
Thanks in advance