Files
marlersoft-win32json/api/Storage.Compression.json
Jonathan Marler ceca95edd3 15.0.1-preview
2021-11-09 11:19:10 -07:00

307 lines
12 KiB
JSON

{
"Constants":[
{
"Name":"COMPRESS_ALGORITHM_INVALID"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":0
,"Attrs":[]
}
,{
"Name":"COMPRESS_ALGORITHM_NULL"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":1
,"Attrs":[]
}
,{
"Name":"COMPRESS_ALGORITHM_MAX"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":6
,"Attrs":[]
}
,{
"Name":"COMPRESS_RAW"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":536870912
,"Attrs":[]
}
]
,"Types":[
{
"Name":"COMPRESS_ALGORITHM"
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
,"Flags":false
,"Scoped":false
,"Values":[
{"Name":"COMPRESS_ALGORITHM_MSZIP","Value":2}
,{"Name":"COMPRESS_ALGORITHM_XPRESS","Value":3}
,{"Name":"COMPRESS_ALGORITHM_XPRESS_HUFF","Value":4}
,{"Name":"COMPRESS_ALGORITHM_LZMS","Value":5}
]
,"IntegerBase":"UInt32"
}
,{
"Name":"COMPRESSOR_HANDLE"
,"Architectures":[]
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
,"Def":{"Kind":"Native","Name":"IntPtr"}
,"FreeFunc":"CloseDecompressor"
}
,{
"Name":"PFN_COMPRESS_ALLOCATE"
,"Architectures":[]
,"Platform":null
,"Kind":"FunctionPointer"
,"SetLastError":false
,"ReturnType":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"ReturnAttrs":[]
,"Attrs":[]
,"Params":[
{"Name":"UserContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In"]}
,{"Name":"Size","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"PFN_COMPRESS_FREE"
,"Architectures":[]
,"Platform":null
,"Kind":"FunctionPointer"
,"SetLastError":false
,"ReturnType":{"Kind":"Native","Name":"Void"}
,"ReturnAttrs":[]
,"Attrs":[]
,"Params":[
{"Name":"UserContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In"]}
,{"Name":"Memory","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In"]}
]
}
,{
"Name":"COMPRESS_ALLOCATION_ROUTINES"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
,"Size":0
,"PackingSize":0
,"Fields":[
{"Name":"Allocate","Type":{"Kind":"ApiRef","Name":"PFN_COMPRESS_ALLOCATE","TargetKind":"FunctionPointer","Api":"Storage.Compression","Parents":[]},"Attrs":[]}
,{"Name":"Free","Type":{"Kind":"ApiRef","Name":"PFN_COMPRESS_FREE","TargetKind":"FunctionPointer","Api":"Storage.Compression","Parents":[]},"Attrs":[]}
,{"Name":"UserContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":[]}
]
,"NestedTypes":[
]
}
,{
"Name":"COMPRESS_INFORMATION_CLASS"
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
,"Flags":false
,"Scoped":false
,"Values":[
{"Name":"COMPRESS_INFORMATION_CLASS_INVALID","Value":0}
,{"Name":"COMPRESS_INFORMATION_CLASS_BLOCK_SIZE","Value":1}
,{"Name":"COMPRESS_INFORMATION_CLASS_LEVEL","Value":2}
]
,"IntegerBase":"Int32"
}
]
,"Functions":[
{
"Name":"CreateCompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"Algorithm","Type":{"Kind":"ApiRef","Name":"COMPRESS_ALGORITHM","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"AllocationRoutines","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"COMPRESS_ALLOCATION_ROUTINES","TargetKind":"Default","Api":"Storage.Compression","Parents":[]}},"Attrs":["In","Optional"]}
,{"Name":"CompressorHandle","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"IntPtr"}},"Attrs":["Out"]}
]
}
,{
"Name":"SetCompressorInformation"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"CompressorHandle","Type":{"Kind":"ApiRef","Name":"COMPRESSOR_HANDLE","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformationClass","Type":{"Kind":"ApiRef","Name":"COMPRESS_INFORMATION_CLASS","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In",{"Kind":"MemorySize","BytesParamIndex":3},"Const"]}
,{"Name":"CompressInformationSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"QueryCompressorInformation"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"CompressorHandle","Type":{"Kind":"ApiRef","Name":"COMPRESSOR_HANDLE","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformationClass","Type":{"Kind":"ApiRef","Name":"COMPRESS_INFORMATION_CLASS","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":3}]}
,{"Name":"CompressInformationSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"Compress"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"CompressorHandle","Type":{"Kind":"ApiRef","Name":"COMPRESSOR_HANDLE","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"UncompressedData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In",{"Kind":"MemorySize","BytesParamIndex":2},"Optional","Const"]}
,{"Name":"UncompressedDataSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
,{"Name":"CompressedBuffer","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":4},"Optional"]}
,{"Name":"CompressedBufferSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
,{"Name":"CompressedDataSize","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UIntPtr"}},"Attrs":["Out"]}
]
}
,{
"Name":"ResetCompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"CompressorHandle","Type":{"Kind":"ApiRef","Name":"COMPRESSOR_HANDLE","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
]
}
,{
"Name":"CloseCompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"CompressorHandle","Type":{"Kind":"ApiRef","Name":"COMPRESSOR_HANDLE","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
]
}
,{
"Name":"CreateDecompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"Algorithm","Type":{"Kind":"ApiRef","Name":"COMPRESS_ALGORITHM","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"AllocationRoutines","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"COMPRESS_ALLOCATION_ROUTINES","TargetKind":"Default","Api":"Storage.Compression","Parents":[]}},"Attrs":["In","Optional"]}
,{"Name":"DecompressorHandle","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"IntPtr"}},"Attrs":["Out"]}
]
}
,{
"Name":"SetDecompressorInformation"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"DecompressorHandle","Type":{"Kind":"Native","Name":"IntPtr"},"Attrs":["In"]}
,{"Name":"CompressInformationClass","Type":{"Kind":"ApiRef","Name":"COMPRESS_INFORMATION_CLASS","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In",{"Kind":"MemorySize","BytesParamIndex":3},"Const"]}
,{"Name":"CompressInformationSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"QueryDecompressorInformation"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"DecompressorHandle","Type":{"Kind":"Native","Name":"IntPtr"},"Attrs":["In"]}
,{"Name":"CompressInformationClass","Type":{"Kind":"ApiRef","Name":"COMPRESS_INFORMATION_CLASS","TargetKind":"Default","Api":"Storage.Compression","Parents":[]},"Attrs":["In"]}
,{"Name":"CompressInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":3}]}
,{"Name":"CompressInformationSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"Decompress"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"DecompressorHandle","Type":{"Kind":"Native","Name":"IntPtr"},"Attrs":["In"]}
,{"Name":"CompressedData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In",{"Kind":"MemorySize","BytesParamIndex":2},"Optional","Const"]}
,{"Name":"CompressedDataSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
,{"Name":"UncompressedBuffer","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":4},"Optional"]}
,{"Name":"UncompressedBufferSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
,{"Name":"UncompressedDataSize","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UIntPtr"}},"Attrs":["Out","Optional"]}
]
}
,{
"Name":"ResetDecompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"DecompressorHandle","Type":{"Kind":"Native","Name":"IntPtr"},"Attrs":["In"]}
]
}
,{
"Name":"CloseDecompressor"
,"SetLastError":true
,"DllImport":"Cabinet"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows8.0"
,"Attrs":[]
,"Params":[
{"Name":"DecompressorHandle","Type":{"Kind":"Native","Name":"IntPtr"},"Attrs":["In"]}
]
}
]
,"UnicodeAliases":[
]
}