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!

Compiler Error C2640

'identifier' : __based modifier illegal on reference

The __based modifier can be used on pointers only.

Example

void f(int i)
{
    void *vp;
    int _based(vp) &vr = I;  // error
}