Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IFsrmFileScreenTemplateManager::GetTemplate method

Retrieves the specified file screen template.

Syntax


HRESULT GetTemplate(
  [in]   BSTR name,
  [out]  IFsrmFileScreenTemplate **fileScreenTemplate
);

Parameters

name [in]

The name of the file screen template to retrieve. The name is limited to 4,000 characters.

fileScreenTemplate [out]

An IFsrmFileScreenTemplate interface to the retrieved template.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The fileScreenTemplate parameter cannot be NULL.

FSRM_E_INVALID_NAME

The name parameter cannot be NULL or empty.

FSRM_E_OUT_OF_RANGE

The specified name is too long.

FSRM_E_NOT_FOUND

The specified template was not found.

 

Examples

For an example, see Updating a File Screen.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

DLL

SrmSvc.dll

CLSID

CLSID_FsrmFileScreenTemplateManager is defined as 243111df-e474-46aa-a054-eaa33edc292a

IID

IID_IFsrmFileScreenTemplateManager is defined as cfe36cba-1949-4e74-a14f-f1d580ceaf13

See also

IFsrmFileScreenTemplateManager
FsrmFileScreenTemplateManager

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.