The HostKey property contains the key identifier for the current host key.
This property is read/write.
Syntax
HRESULT put_HostKey(
[in] BSTR hostKey
);
HRESULT get_HostKey(
[out] BSTR *hostKey
);
| VB |
|---|
|
Property value
The key identifier for the current host key.
This property value is read/write.
Error codes
| Name | Meaning |
|---|---|
|
The operation was successful. |
|
This property cannot be changed at this time. |
|
The hostKey parameter was NULL. |
Remarks
The value for the host key defaults to the right Alt key on a standard 101-key AT keyboard and is represented by the "Key_RightAlt" string. A list of valid key identifier strings can be found on the IVMRCClientControl::SendKeySequence topic.
Requirements
| Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
| Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
| Header |
|
| Library |
|