# IRsKernelFactory Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | CreateNamedItem ([in] GUID *pId,[out, retval] IRsNamedItem **ppNamedItem)
HRESULT | CreateObjectList ([out, retval] IRsObjectList **ppObjectList)

## Detailed Description

Factory for creating auxiliary objects provided by kernel package.

## Member Function Documentation

HRESULT IRsKernelFactory::CreateNamedItem | ( | [in] GUID * | pId,
|  | [out, retval] IRsNamedItem ** | ppNamedItem |
| ) |  |  |

Creates named item which is identified by specified GUID.

Parameters:

  | pID | [in] ID of the named item.

Returns:
  ppNamedItem [out,retval] Returned named item object.

  S_OK if succesful, E_FAIL if named item was not found or could not be created.

HRESULT IRsKernelFactory::CreateObjectList | ( | [out, retval] IRsObjectList ** | ppObjectList | ) |

Creates generic object list.

Parameters:

  | ppObjectList | [out,retval] Returned instance of empty object list.