126.96.36.199.29.4 GetFileScreen (Opnum 10)
[id(FSRM_DISPID_FILESCREEN_MANAGER | 0x02)] HRESULT GetFileScreen( [in] BSTR path, [out, retval] IFsrmFileScreen** fileScreen );
path: Contains the path of the file screen to return.
fileScreen: Pointer to an IFsrmFileScreen interface pointer (section 188.8.131.52.27) that upon completion contains a pointer to the file screen for the specified path. The caller MUST release the file screen when it is done with it.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
The file screen for the specified path could not be found.
The content of the path parameter exceeds the maximum length of 260 characters.
This code is returned for the following reasons:
The path parameter is NULL.
The fileScreen parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that path is not NULL.
Verify that fileScreen is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
Upon successful validation of parameters, the server MUST perform the following actions.
Create a new Non-Persisted File Screen Instance (section 184.108.40.206.1.2).
Populate the configuration data of the Non-Persisted File Screen Instance from the Persisted File Screen (section 220.127.116.11.1.1) in the List of Persisted File Screens with the specified path.
Set fileScreen to the IFsrmFileScreen interface pointer of the newly created Non-Persisted File Screen Instance.
If a file screen does not exist for the specified path, the server MUST return FSRM_E_NOT_FOUND.