NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshalling Method Calls

The methods defined on the interfaces the RCW implements look like NGWS runtime methods and follow NGWS runtime conventions. This implies that the NGWS runtime view of these methods differ from the COM view. The static conversion of the interfaces can be done automatically with TlbImp as described above but RCW is responsible for marshaling calls from one view to another at runtime.

The marshaling process involves the following steps:

Managing Code Transitions

Handling Errors

Converting Parameters and Return Values

Marshaling Data Types