Simon Mourier's Avatar
Simon Mourier's blog (1352 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • com
  • winapi

Serialize COM variant to BLOB or IStream

Apr 9, 2014 See the question and my original answer on StackOverflow

You can do this using the the VARIANT_UserMarshal function.

General information on this function (and similar ones for other OLE Automation types) is available here: Marshaling OLE Data Types and here: The type_UserMarshal Function

  • SmoBlog © 2010-2025 Simon Mourier. All rights reserved.
  • Privacy & Terms