mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-11 06:43:56 +00:00
[porthole] cosmetics: remove tabs
This commit is contained in:
parent
438548c427
commit
9d6bb57eff
3 changed files with 10 additions and 10 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-17-g0e7e918e2c+1
|
B1-18-g438548c427+1
|
|
@ -130,13 +130,13 @@ bool porthole_dev_share(PortholeDev handle, const uint32_t type, void *buffer, s
|
||||||
{
|
{
|
||||||
DWORD returned;
|
DWORD returned;
|
||||||
|
|
||||||
PortholeMsg msg = {
|
PortholeMsg msg = {
|
||||||
.type = type,
|
.type = type,
|
||||||
.addr = buffer,
|
.addr = buffer,
|
||||||
.size = size
|
.size = size
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!DeviceIoControl(handle->dev, IOCTL_PORTHOLE_SEND_MSG, &msg, sizeof(PortholeMsg), NULL, 0, &returned, NULL))
|
if (!DeviceIoControl(handle->dev, IOCTL_PORTHOLE_SEND_MSG, &msg, sizeof(PortholeMsg), NULL, 0, &returned, NULL))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -146,12 +146,12 @@ bool porthole_dev_unlock(PortholeDev handle, void *buffer, size_t size)
|
||||||
{
|
{
|
||||||
DWORD returned;
|
DWORD returned;
|
||||||
|
|
||||||
PortholeLockMsg msg = {
|
PortholeLockMsg msg = {
|
||||||
.addr = buffer,
|
.addr = buffer,
|
||||||
.size = size
|
.size = size
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!DeviceIoControl(handle->dev, IOCTL_PORTHOLE_UNLOCK_BUFFER, &msg , sizeof(PortholeLockMsg), NULL, 0, &returned, NULL))
|
if (!DeviceIoControl(handle->dev, IOCTL_PORTHOLE_UNLOCK_BUFFER, &msg , sizeof(PortholeLockMsg), NULL, 0, &returned, NULL))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -7,16 +7,16 @@ DEFINE_GUID (GUID_DEVINTERFACE_PORTHOLE,
|
||||||
|
|
||||||
typedef struct _PortholeMsg
|
typedef struct _PortholeMsg
|
||||||
{
|
{
|
||||||
UINT32 type;
|
UINT32 type;
|
||||||
PVOID addr;
|
PVOID addr;
|
||||||
UINT32 size;
|
UINT32 size;
|
||||||
}
|
}
|
||||||
PortholeMsg, *PPortholeMsg;
|
PortholeMsg, *PPortholeMsg;
|
||||||
|
|
||||||
typedef struct _PortholeLockMsg
|
typedef struct _PortholeLockMsg
|
||||||
{
|
{
|
||||||
PVOID addr;
|
PVOID addr;
|
||||||
UINT32 size;
|
UINT32 size;
|
||||||
}
|
}
|
||||||
PortholeLockMsg, *PPortholeLockMsg;
|
PortholeLockMsg, *PPortholeLockMsg;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue