IFsrmFileScreenTemplateManager::EnumTemplates method

Enumerates the file screen templates on the server.

Syntax


HRESULT EnumTemplates(
  [in]   FsrmEnumOptions options,
  [out]  IFsrmCommittableCollection **fileScreenTemplates
);

Parameters

options [in]

The options to use when enumerating the file screen templates. For possible values, see the FsrmEnumOptions enumeration.

fileScreenTemplates [out]

An IFsrmCommittableCollection interface that contains a collection of file screen templates.

Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmFileScreenTemplate interface.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The fileScreenTemplates parameter cannot be NULL.

FSRM_E_NOT_SUPPORTED

The FsrmEnumOptions_Asynchronous option is not supported.

 

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