diff options
author | Javier <dev.git@javispedro.com> | 2022-04-12 23:06:38 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-12 23:06:38 +0200 |
commit | d167af14ac9db82418e239060d3ff5e8d8dbf75a (patch) | |
tree | da1ab4eba6801e3503f31a54f0021749993eb468 /vboxdev.h | |
parent | a109a1193ca3cf64a29265103075922d2dd9fc1b (diff) | |
download | vbados-d167af14ac9db82418e239060d3ff5e8d8dbf75a.tar.gz vbados-d167af14ac9db82418e239060d3ff5e8d8dbf75a.zip |
getattr and lock
Diffstat (limited to 'vboxdev.h')
-rw-r--r-- | vboxdev.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1267,6 +1267,25 @@ typedef struct _SHFLCREATEPARMS } SHFLCREATEPARMS; #pragma pack(pop) +/** Lock mode bit mask. */ +#define SHFL_LOCK_MODE_MASK (0x3) +/** Cancel lock on the given range. */ +#define SHFL_LOCK_CANCEL (0x0) +/** Acquire read only lock. Prevent write to the range. */ +#define SHFL_LOCK_SHARED (0x1) +/** Acquire write lock. Prevent both write and read to the range. */ +#define SHFL_LOCK_EXCLUSIVE (0x2) + +/** Do not wait for lock if it can not be acquired at the time. */ +#define SHFL_LOCK_NOWAIT (0x0) +/** Wait and acquire lock. */ +#define SHFL_LOCK_WAIT (0x4) + +/** Lock the specified range. */ +#define SHFL_LOCK_PARTIAL (0x0) +/** Lock entire object. */ +#define SHFL_LOCK_ENTIRE (0x8) + /** @name Shared Folders mappings. * @{ */ |