The purpose of this function is to create the opaque keys that are used by the related APIs MSJavaSetObjectKey and MSJavaGetObjectKey; developers should read the documentation of those APIs in order to understand more about how this one should be used.
The value that this API returns is opaque, and cannot be deallocated: developers should not use this API to allocate arbitrarily large number of keys. If you want to store an extensible set of values on objects, you should allocate a single in which you store a hashtable or dictionary.
||Opaque pointer to use as a key for lookup or mutation.|
MSJavaObjectKey key = MSJavaCreateObjectKey();