* @returns 0 on success, otherwise a Win32 error code.
*/
UINT cliprdr_parse_file_list(const BYTE* format_data, UINT32 format_data_length,
- FILEDESCRIPTOR** file_descriptor_array, UINT32* file_descriptor_count)
+ FILEDESCRIPTORW** file_descriptor_array, UINT32* file_descriptor_count)
{
UINT result = NO_ERROR;
UINT32 i;
}
*file_descriptor_count = count;
- *file_descriptor_array = calloc(count, sizeof(FILEDESCRIPTOR));
+ *file_descriptor_array = calloc(count, sizeof(FILEDESCRIPTORW));
if (!*file_descriptor_array)
{
result = ERROR_NOT_ENOUGH_MEMORY;
{
int c;
UINT64 lastWriteTime;
- FILEDESCRIPTOR* file = &((*file_descriptor_array)[i]);
+ FILEDESCRIPTORW* file = &((*file_descriptor_array)[i]);
Stream_Read_UINT32(s, file->dwFlags); /* flags (4 bytes) */
Stream_Seek(s, 32); /* reserved1 (32 bytes) */
*
* @returns 0 on success, otherwise a Win32 error code.
*/
-UINT cliprdr_serialize_file_list(const FILEDESCRIPTOR* file_descriptor_array,
+UINT cliprdr_serialize_file_list(const FILEDESCRIPTORW* file_descriptor_array,
UINT32 file_descriptor_count, BYTE** format_data,
UINT32* format_data_length)
{
{
int c;
UINT64 lastWriteTime;
- const FILEDESCRIPTOR* file = &file_descriptor_array[i];
+ const FILEDESCRIPTORW* file = &file_descriptor_array[i];
/*
* There is a known issue with Windows server getting stuck in
#endif
FREERDP_API UINT cliprdr_parse_file_list(const BYTE* format_data, UINT32 format_data_length,
- FILEDESCRIPTOR** file_descriptor_array,
+ FILEDESCRIPTORW** file_descriptor_array,
UINT32* file_descriptor_count);
- FREERDP_API UINT cliprdr_serialize_file_list(const FILEDESCRIPTOR* file_descriptor_array,
+ FREERDP_API UINT cliprdr_serialize_file_list(const FILEDESCRIPTORW* file_descriptor_array,
UINT32 file_descriptor_count, BYTE** format_data,
UINT32* format_data_length);
FREERDP_API UINT cliprdr_serialize_file_list_ex(UINT32 flags,