Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.03 KB

File metadata and controls

18 lines (14 loc) · 1.03 KB
description Learn more about: Marshaling
title Marshaling
ms.date 11/04/2016
helpviewer_keywords
marshaling, COM interop
marshaling
COM interfaces, marshaling
ms.assetid 40644b0a-1106-4fc8-9dfb-9bee9915d825

Marshaling

The COM technique of marshaling allows interfaces exposed by an object in one process to be used in another process. In marshaling, COM provides code (or uses code provided by the interface implementor) both to pack a method's parameters into a format that can be moved across processes (as well as, across the wire to processes running on other machines) and to unpack those parameters at the other end. Likewise, COM must perform these same steps on the return from the call.

Note

Marshaling is typically not necessary when an interface provided by an object is being used in the same process as the object. However, marshaling may be needed between threads.

See also

Introduction to COM
Marshaling Details