The handle of the request is -1 because the GetLogicalDriveStrings method applies at global level.
The client sends:
{
"jsonrpc": "2.0",
"id": 0,
"method": "GetLogicalDriveStrings",
"handle": -1,
"params": []
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"qDrives": [
{
"qDrive": "C:\\",
"qType": "fixed",
"qName": "Windows"
},
{
"qDrive": "D:\\",
"qType": "fixed",
"qName": "System"
},
{
"qDrive": "E:\\",
"qType": "fixed",
"qName": "New Volume"
}
]
}
}
The list of drives is returned.