IVMKeyboard::HasExclusiveAccess property
The HasExclusiveAccess property contains whether this IVMKeyboard object has exclusive control over the virtual machine's keyboard device.
This property is read/write.
Syntax
HRESULT put_HasExclusiveAccess(
[in] VARIANT_BOOL makeExclusive
);
HRESULT get_HasExclusiveAccess(
[out] VARIANT_BOOL *isExclusive
);
VB |
---|
|
Property value
Contains vbTrue if exclusive access to the virtual machine's keyboard device has been acquired, vbFalse otherwise.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The isExclusive parameter is NULL. |
|
The requested exclusive mode is already set for this device. This could happen when trying to set exclusive mode when it has already been acquired, or when trying to release exclusive mode when it had not been previously acquired. |
|
Failed to set or release exclusive mode as requested. This could be because the virtual machine is no longer running, or because another process has already acquired exclusive mode on the virtual machine's keyboard device. |
|
An unexpected error occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|