commit
14daecf293
@ -595,7 +595,7 @@ BOOL drive_file_set_information(DRIVE_FILE* file, UINT32 FsInformationClass, UIN
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
liSize.QuadPart = size;
|
liSize.QuadPart = size;
|
||||||
if (SetFilePointerEx(hFd, liSize, NULL, FILE_BEGIN) == 0)
|
if (SetFilePointer(hFd, liSize.LowPart, &liSize.HighPart, FILE_BEGIN) == 0)
|
||||||
{
|
{
|
||||||
WLog_ERR(TAG, "Unable to truncate %s to %d", file->fullpath, size);
|
WLog_ERR(TAG, "Unable to truncate %s to %d", file->fullpath, size);
|
||||||
CloseHandle(hFd);
|
CloseHandle(hFd);
|
||||||
|
@ -173,6 +173,9 @@ UINT devman_load_device_service(DEVMAN* devman, RDPDR_DEVICE* device, rdpContext
|
|||||||
return ERROR_INVALID_NAME;
|
return ERROR_INVALID_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (device->Name)
|
||||||
|
WLog_INFO(TAG, "Loading device service %s [%s] (static)", ServiceName, device->Name);
|
||||||
|
else
|
||||||
WLog_INFO(TAG, "Loading device service %s (static)", ServiceName);
|
WLog_INFO(TAG, "Loading device service %s (static)", ServiceName);
|
||||||
entry = (PDEVICE_SERVICE_ENTRY) freerdp_load_channel_addin_entry(ServiceName, NULL, "DeviceServiceEntry", 0);
|
entry = (PDEVICE_SERVICE_ENTRY) freerdp_load_channel_addin_entry(ServiceName, NULL, "DeviceServiceEntry", 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user