I am using some native methods to bind to running objects in a COM-based application. One of the methods is the CreateBindCtx, which has the following signature (from MSDN)
WINOLEAPI CreateBindCtx(DWORD reserved, LPBC FAR * ppbc)
I have defined the wrapper to be
public static extern void CreateBindCtx(int reserved, out IBindCtx ppbc);
But FXCop is complaining about the void return type. What should the .Net/C# data type be?