// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.


//---------------------------------------------------------------------------

//
// This file is automatically generated.  Please do not edit it directly.
//
// File name: generated_resource_factory.h
//---------------------------------------------------------------------------

#pragma once

/// <summary>
///   MILCE resource object factory
/// </summary>
class CResourceFactory
{
private:
    /// <remarks>
    ///   This is a static class.
    /// </remarks>
    virtual ~CResourceFactory() { }

public:
    /// <summary>
    ///   Given a composition object and a resource type, creates
    ///   a new empty resource object.
    /// </summary>
    static HRESULT Create(
        __in_ecount(1) CComposition* pComposition,
        __in_ecount(1) CMilSlaveHandleTable *pHTable,
        MIL_RESOURCE_TYPE type,
        __deref_out_ecount(1) CMilSlaveResource** ppResource
        );
};


