4.2 Retrieving Properties of File Server Resource Manager Protocol File Screens
File Server Resource Manager Protocol directory file screen objects are retrievable through a method call on the IFsrmFileScreenManager interface (section 184.108.40.206.29). The following describes how a client gets an existing file screen and retrieves its properties:
The client requests the creation of an instance of the File Screen Manager on the local machine by calling CoCreateInstance with the class GUID of the File Screen Manager, requesting an instance of the File Screen Manager on the server.
The server returns a reference to the IFsrmFileScreenManager interface.
The client calls the method IFsrmFileScreenManager::GetFileScreen (section 220.127.116.11.29.4), passing in the path on a volume on the server for which the client wants to get the file screen.
The server returns a reference to the IFsrmFileScreen interface (section 18.104.22.168.27) of the file screen for the specified path back to the client.
The client calls the IFsrmFileScreenBase::FileScreenFlags (get) (section 22.214.171.124.26.3) method.
The server returns the file screen flags for the file screen.
The client calls the IFsrmFileScreenBase::EnumActions (section 126.96.36.199.26.6) method.
The server collects all the actions for the file screen and returns an IFsrmMutableCollection interface (section 188.8.131.52.2) containing the actions for the file screen.
The client can enumerate the actions in the collection by following steps 5 through 15 of section 4.1.
Figure 2: Flow diagram for querying file screen properties