Example #1
0
        private static bool CheckErrPtr(IntPtr errPtr)
        {
            var errStruct = Marshal.PtrToStructure <HeifError>(errPtr);
            var result    = errStruct.code != 0;

            LibHeifNative.HeifFreeHeifError(errPtr);
            return(result);
        }