Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ To create a managed wrapper (RCW) for a native Windows Runtime object pointer. I
object? managed = WindowsRuntimeMarshal.ConvertToManaged(nativePtr);
```

For an explanation of how CsWinRT decides *which* managed type to create for a given native object, see [RCW marshalling](rcw-marshalling.md).

### Create CCW

To marshal a managed object to a native COM pointer. If the object already wraps a native object, this unwraps it (with an `AddRef`). Otherwise, a CCW is created:
Expand Down
Loading