Export (0) Print
Expand All

IFsrmFileScreenTemplateManager::CreateTemplate method

Creates a file screen template object.

Syntax


HRESULT CreateTemplate(
  [out]  IFsrmFileScreenTemplate **fileScreenTemplate
);

Parameters

fileScreenTemplate [out]

An IFsrmFileScreenTemplate interface to the newly create template. To add the template to FSRM, call the IFsrmFileScreenTemplate::Commit method.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

The fileScreenTemplate parameter cannot be NULL.

 

Examples

For an example, see Using Templates to Define File Screens.

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

 

 

Show:
© 2014 Microsoft