Loosely based on query_property in dlls/mountmgr.sys/device.c.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57790
The implementation uses memcpy because the program calls DeviceIoControl(STORAGE_PROPERTY_QUERY) with query type PropertyStandardQuery and the output buffer size hardcoded to 8 bytes and expects it to succeed.