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!

8.1.4.5 External procedure parameters

The parameters of an external procedure are marshaled out of the NGWS Runtime using the default NGWS Runtime data type marshalling rules, with one exception. Value String parameters are by default marshaled to the Automation BSTR type rather than a LPSTR. Also, the value is marshaled by reference, so changes to the string in the external procedure are reflected in the argument passed, even though the parameter is declared as being a value parameter. Reference String parameters are marshaled to a pointer to a Automation BSTR rather than a pointer to a LPSTR.