示例#1
0
 private unsafe int GetValueNative(PropertyKey key, out PropertyVariant value)
 {
     fixed(void *pvalue = &value)
     {
         return(LocalInterop.Calli(UnsafeBasePtr, &key, pvalue, ((void **)(*(void **)UnsafeBasePtr))[5]));
     }
 }
示例#2
0
 private unsafe int GetCountNative(out int propertyCount)
 {
     fixed(void *ppc = &propertyCount)
     {
         return(LocalInterop.Calli(UnsafeBasePtr, ppc, ((void **)(*(void **)UnsafeBasePtr))[3]));
     }
 }
示例#3
0
 private unsafe int GetAtNative(int propertyIndex, out PropertyKey propertyKey)
 {
     propertyKey = new PropertyKey();
     fixed(void *ppk = &propertyKey)
     {
         return(LocalInterop.Calli(UnsafeBasePtr, propertyIndex, ppk, ((void **)(*(void **)UnsafeBasePtr))[4]));
     }
 }
示例#4
0
 private unsafe int CommitNative()
 {
     return(LocalInterop.Calli(UnsafeBasePtr, ((void **)(*(void **)UnsafeBasePtr))[7]));
 }
示例#5
0
 private unsafe int SetValueNative(PropertyKey key, PropertyVariant value)
 {
     return(LocalInterop.Calli(UnsafeBasePtr, &key, &value, ((void **)(*(void **)UnsafeBasePtr))[6]));
 }