@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetHGlobalFromILockBytes API !!!!C# Signature: /// <summary> /// The GetHGlobalFromILockBytes function retrieves a global memory handle to a /// byte array object created using the CreateILockBytesOnHGlobal function. /// </summary> /// /// <param name="pLkbyt">Pointer to the ILockBytes interface on the byte-array /// object previously created by a call to the CreateILockBytesOnHGlobal function.</param> /// /// <param name="phglobal">Pointer to the current memory handle used by the /// specified byte-array object.</param> /// /// <returns></returns> [DllImport("ole32.dll")] static extern int GetHGlobalFromILockBytes(ILockBytes pLkbyt, out IntPtr phglobal); or [DllImport("ole32.dll", EntryPoint="GetHGlobalFromILockBytes", ExactSpelling=true, PreserveSig=true, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.StdCall)] static extern int GetHGlobalFromILockBytes([MarshalAs(UnmanagedType.Interface)] object /* ILockBytes* */pLkbyt, out IntPtr /* HGLOBAL* */ phglobal); !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetHGlobalFromILockBytes@msdn on MSDN
Edit ole32.gethglobalf...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.