Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Representing IUnknown In Managed C
- public static IntPtr GetIUnknownForObject(Object o);
- long MY_COMInterface(IntPtr hDevice,
- [Out, MarshalAs(UnmanagedType.Interface)]
- out object pUnknown);
- ref object pUnknown
- MyObject o = pUnknown as MyObject
Add Comment
Please, Sign In to add comment