Пример #1
0
        public int DestToSource(int dest)
        {
            if (dest == 0)
            {
                return(0);
            }
            int result;

            MmException.Try(AcmInterop.acmStreamSize(this.streamHandle, dest, out result, AcmStreamSizeFlags.Destination), "acmStreamSize");
            return(result);
        }
Пример #2
0
        public int SourceToDest(int source)
        {
            if (source == 0)
            {
                return(0);
            }
            int result;

            MmException.Try(AcmInterop.acmStreamSize(this.streamHandle, source, out result, AcmStreamSizeFlags.Source), "acmStreamSize");
            return(result);
        }