Partager via


InteractWithDesktop

[The InteractWithDesktop property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Specifies whether the generic application can provide a user interface, on the desktop, that can be used by any person logged on to the node on which the resource is online. The following table summarizes the attributes of the InteractWithDesktop property.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_DWORD
Minimum FALSE
Maximum TRUE
Default FALSE

Remarks

The data for the InteractWithDesktop property can be set to TRUE or FALSE. Setting it to TRUE allows the application to display windows on the desktop. The application has read and write access to its own windows but no access to the rest of the desktop.

Setting InteractWithDesktop to FALSE causes the application to be inaccessible from either the desktop or the toolbar.

Examples

The property value portion of a property list entry for InteractWithDesktop can be set with the following example code.

DWORD          InteractWithDesktopData = TRUE;
CLUSPROP_DWORD InteractWithDesktopValue;

InteractWithDesktopValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
InteractWithDesktopValue.cbLength  = sizeof(DWORD);
InteractWithDesktopValue.dw        = InteractWithDesktopData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

Generic Application Private Properties

CLUSPROP_DWORD