Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
CItemContainer Class Reference

#include <ItemContainer.h>

List of all members.

Public Member Functions

 CItemContainer ()
virtual ~CItemContainer ()
virtual HRESULT STDMETHODCALLTYPE ParseDisplayName (IBindCtx __RPC_FAR *pbc, LPOLESTR pszDisplayName, ULONG __RPC_FAR *pchEaten, IMoniker __RPC_FAR *__RPC_FAR *ppmkOut)
virtual HRESULT STDMETHODCALLTYPE EnumObjects (DWORD grfFlags, IEnumUnknown __RPC_FAR *__RPC_FAR *ppenum)
virtual HRESULT STDMETHODCALLTYPE LockContainer (BOOL fLock)
virtual HRESULT STDMETHODCALLTYPE GetObject (LPOLESTR pszItem, DWORD dwSpeedNeeded, IBindCtx __RPC_FAR *pbc, REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject)
virtual HRESULT STDMETHODCALLTYPE GetObjectStorage (LPOLESTR pszItem, IBindCtx __RPC_FAR *pbc, REFIID riid, void __RPC_FAR *__RPC_FAR *ppvStorage)
virtual HRESULT STDMETHODCALLTYPE IsRunning (LPOLESTR pszItem)

Detailed Description

Definition at line 46 of file ItemContainer.h.


Constructor & Destructor Documentation

Definition at line 43 of file ItemContainer.cpp.

{
}

Definition at line 47 of file ItemContainer.cpp.

{
}

Member Function Documentation

HRESULT STDMETHODCALLTYPE CItemContainer::EnumObjects ( DWORD  grfFlags,
IEnumUnknown __RPC_FAR *__RPC_FAR *  ppenum 
) [virtual]

Definition at line 66 of file ItemContainer.cpp.

{
    HRESULT hr = E_NOTIMPL;
/*
    if (ppenum == NULL)
    {
        return E_POINTER;
    }

    *ppenum = NULL;
    typedef CComObject<CComEnumOnSTL<IEnumUnknown, &IID_IEnumUnknown, IUnknown*, _CopyInterface<IUnknown>, CNamedObjectList > > enumunk;
    enumunk* p = NULL;
    p = new enumunk;
    if(p == NULL)
    {
        return E_OUTOFMEMORY;
    }

    hr = p->Init();
    if (SUCCEEDED(hr))
    {
        hr = p->QueryInterface(IID_IEnumUnknown, (void**) ppenum);
    }
    if (FAILED(hRes))
    {
        delete p;
    }
*/
    return hr;
}
HRESULT STDMETHODCALLTYPE CItemContainer::GetObject ( LPOLESTR  pszItem,
DWORD  dwSpeedNeeded,
IBindCtx __RPC_FAR *  pbc,
REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvObject 
) [virtual]

Definition at line 109 of file ItemContainer.cpp.

{
    if (pszItem == NULL)
    {
        return E_INVALIDARG;
    }
    if (ppvObject == NULL)
    {
        return E_INVALIDARG;
    }

    *ppvObject = NULL;
    
    return MK_E_NOOBJECT;
}
HRESULT STDMETHODCALLTYPE CItemContainer::GetObjectStorage ( LPOLESTR  pszItem,
IBindCtx __RPC_FAR *  pbc,
REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvStorage 
) [virtual]

Definition at line 126 of file ItemContainer.cpp.

{
    // TODO
    return MK_E_NOOBJECT;
}
HRESULT STDMETHODCALLTYPE CItemContainer::IsRunning ( LPOLESTR  pszItem) [virtual]

Definition at line 133 of file ItemContainer.cpp.

{
    // TODO
    return MK_E_NOOBJECT;
}
HRESULT STDMETHODCALLTYPE CItemContainer::LockContainer ( BOOL  fLock) [virtual]

Definition at line 98 of file ItemContainer.cpp.

{
    // TODO
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CItemContainer::ParseDisplayName ( IBindCtx __RPC_FAR *  pbc,
LPOLESTR  pszDisplayName,
ULONG __RPC_FAR *  pchEaten,
IMoniker __RPC_FAR *__RPC_FAR *  ppmkOut 
) [virtual]

Definition at line 55 of file ItemContainer.cpp.

{
    // TODO
    return E_NOTIMPL;
}

The documentation for this class was generated from the following files: