Esempio n. 1
0
        public NspiStatus GetTemplateInfo(NspiGetTemplateInfoFlags flags, int type, string dn, int codePage, int localeId, out PropRow row)
        {
            SafeRpcMemoryHandle rowHandle;
            NspiStatus          templateInfo = this.client.GetTemplateInfo(flags, type, dn, codePage, localeId, out rowHandle);

            row = NspiClient.GetRowAndDisposeHandle(rowHandle);
            return(templateInfo);
        }
Esempio n. 2
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);
        }