InteractWithDesktop Property for Generic Applications

The InteractWithDesktop property specifies whether the application can provide a user interface on the desktop that can be used by any person logged in on the node on which the resource is online.

Quick Info

Type: DWORD
Access: Read/write
Status: Optional
Function: ClusterResourceControl
Structure: CLUSPROP_DWORD
Control Code: CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES

Remarks

When ClusterResourceControl processes the CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES control code, it returns a property list that includes the InteractWithDesktop property as one of the entries. The property value portion of the entry contains a CLUSPROP_DWORD structure that is set as follows:

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

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 access to its own windows but only write access to the rest of the desktop.

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

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.