home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / Misc / DXSetup / vbshell.odl < prev    next >
Encoding:
Text File  |  2001-10-08  |  1.8 KB  |  43 lines

  1. [
  2.     uuid(78BF8D80-7B03-11d1-AAB1-00AA00BDD685),
  3.     version(1.0),
  4.     helpstring("VB-friendly Shell interfaces")
  5. ]
  6. library VBShell
  7. {
  8.     importlib("stdole2.tlb");
  9.     [
  10.         odl,
  11.         uuid(00000002-0000-0000-C000-000000000046),
  12.         version(1.0)
  13.     ]
  14.  
  15.     interface IVBMalloc : IUnknown
  16.     {
  17.         long Alloc([in] long cb);
  18.         long Realloc([in] long pv, [in] long cb);
  19.         void Free([in] long pv);
  20.         long GetSize([in] long pv);
  21.         long DidAlloc([in] long pv);
  22.         void HeapMinimize();
  23.     };
  24.  
  25.     [
  26.         odl,
  27.         uuid(000214E6-0000-0000-C000-000000000046),
  28.         version(1.0)
  29.     ]
  30.     interface IVBShellFolder : IUnknown
  31.     {
  32.         HRESULT ParseDisplayName([in] long hWndOwner, [in] long pbcReserved, [in] BSTR lpszDisplayName, [out] long* pchEaten, [out] long* ppidl, [in] long* pdwAttributes);
  33.         HRESULT EnumObjects(); //Placeholder: EnumObjects(HWND hwndOwner, DWORD grfFlags, LPENUMIDLIST * ppenumIDList);
  34.         HRESULT BindToObject(); //Placeholder: BindToObject(LPCITEMIDLIST pidl, LPBC pbcReserved, REFIID riid, LPVOID * ppvOut);
  35.         HRESULT BindToStorage(); //Placeholder: BindToStorage(LPCITEMIDLIST pidl, LPBC pbcReserved, REFIID riid, LPVOID * ppvObj);
  36.         HRESULT CompareIDs(); //Placeholder: CompareIDs(THIS_ LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2);
  37.         HRESULT CreateViewObject(); //Placeholder: CreateViewObject(HWND hwndOwner, REFIID riid, LPVOID * ppvOut);
  38.         HRESULT GetAttributesOf(); //Placeholder: GetAttributesOf(UINT cidl, LPCITEMIDLIST * apidl, ULONG * rgfInOut);
  39.         HRESULT GetUIObjectOf(); //Placeholder: GetUIObjectOf(HWND hwndOwner, UINT cidl, LPCITEMIDLIST * apidl, REFIID riid, UINT * prgfInOut, LPVOID * ppvOut);
  40.         HRESULT GetDisplayNameOf(); //Placeholder: GetDisplayNameOf(LPCITEMIDLIST pidl, DWORD uFlags, LPSTRRET lpName);
  41.         HRESULT SetNameOf(); //Placeholder: SetNameOf(HWND hwndOwner, LPCITEMIDLIST pidl, LPCOLESTR lpszName, DWORD uFlags, LPITEMIDLIST * ppidlOut);
  42.     };
  43. };