IMLCore::GetFactory (Compact 7)

3/12/2014

This method returns a pointer to the IMLFactory interface that is used to create Media Library objects.

Syntax

HRESULT GetFactory (
  IMLFactory **pFactory
);

Parameters

  • pFactory
    [out] Pointer to the IMLUserStore IMLFactoryinterface.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description

S_OK

The method was successful.

E_INVALIDARG

The input parameter is invalid.

E_POINTER

The pFactory parameter is invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Remarks

This method returns a pointer to the IMLFactory interface that creates the bindings, stream, and sort order objects of the Media Library. The factory interface is associated with this instance of IMLCore.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLCore