请教一个dllcall的问题
原型是§ wimlib_get_xml_data()int wimlib_get_xml_data ( WIMStruct * wim,
void ** buf_ret,
size_t * bufsize_ret
) Read a WIM file's XML document into an in-memory buffer.
The XML document contains metadata about the WIM file and the images stored in it.
Parameters
wim Pointer to the WIMStruct to query. This need not represent a standalone WIM (e.g. it could represent part of a split WIM).
buf_ret On success, a pointer to an allocated buffer containing the raw UTF16-LE XML document is written to this location.
bufsize_ret The size of the XML document in bytes is written to this location.
Returns
0 on success; a wimlib_error_code value on failure.
Return values
WIMLIB_ERR_NO_FILENAME wim is not backed by a file and therefore does not have an XML document.
WIMLIB_ERR_READ Failed to read the XML document from the WIM file.
WIMLIB_ERR_UNEXPECTED_END_OF_FILE Failed to read the XML document from the WIM file.
如何在au3中调用
页:
[1]