Exemplo n.º 1
0
        public NspiStatus GetProps(NspiGetPropsFlags flags, IList <PropTag> propTags, out PropRow row)
        {
            int[] intArrayFromPropTagArray = NspiClient.GetIntArrayFromPropTagArray(propTags);
            this.MarshalStatToNative();
            SafeRpcMemoryHandle rowHandle;
            NspiStatus          props = this.client.GetProps(flags, this.statHandle.DangerousGetHandle(), intArrayFromPropTagArray, out rowHandle);

            this.MarshalNativeToStat();
            row = NspiClient.GetRowAndDisposeHandle(rowHandle);
            return(props);
        }
Exemplo n.º 2
0
 // Token: 0x060000D6 RID: 214 RVA: 0x000051A8 File Offset: 0x000033A8
 public NspiGetPropsDispatchTask(CancelableAsyncCallback asyncCallback, object asyncState, ProtocolRequestInfo protocolRequestInfo, NspiContext context, NspiGetPropsFlags flags, NspiState state, PropertyTag[] propertyTags) : base(asyncCallback, asyncState, protocolRequestInfo, context, state)
 {
     this.flags        = flags;
     this.propertyTags = propertyTags;
 }
 // Token: 0x06000185 RID: 389 RVA: 0x00007E00 File Offset: 0x00006000
 public ICancelableAsyncResult BeginGetProps(ProtocolRequestInfo protocolRequestInfo, IntPtr contextHandle, NspiGetPropsFlags flags, NspiState state, PropertyTag[] propTags, CancelableAsyncCallback asyncCallback, object asyncState)
 {
     return(this.BeginContextWrapper("BeginGetProps", asyncCallback, asyncState, contextHandle, (NspiContext context) => new NspiGetPropsDispatchTask(asyncCallback, asyncState, protocolRequestInfo, context, flags, state, propTags)));
 }