public HRESULT SetShellFolder(IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlFolder, HKEY hKey, [NativeTypeName("DWORD")] uint dwFlags)
 {
     return(((delegate * unmanaged <IShellMenu *, IShellFolder *, ITEMIDLIST *, HKEY, uint, int>)(lpVtbl[5]))((IShellMenu *)Unsafe.AsPointer(ref this), psf, pidlFolder, hKey, dwFlags));
 }
 public HRESULT LeaveFolder(IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidl)
 {
     return(((delegate * unmanaged <INamespaceWalkCB2 *, IShellFolder *, ITEMIDLIST *, int>)(lpVtbl[5]))((INamespaceWalkCB2 *)Unsafe.AsPointer(ref this), psf, pidl));
 }
 public HRESULT InitializeSFB(IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidl)
 {
     return(((delegate * unmanaged <IShellFolderBand *, IShellFolder *, ITEMIDLIST *, int>)(lpVtbl[3]))((IShellFolderBand *)Unsafe.AsPointer(ref this), psf, pidl));
 }
 public HRESULT CallBack(IShellFolder *psf, HWND hwndOwner, IDataObject *pdtobj, uint uMsg, WPARAM wParam, LPARAM lParam)
 {
     return(((delegate * unmanaged <IContextMenuCB *, IShellFolder *, HWND, IDataObject *, uint, WPARAM, LPARAM, int>)(lpVtbl[3]))((IContextMenuCB *)Unsafe.AsPointer(ref this), psf, hwndOwner, pdtobj, uMsg, wParam, lParam));
 }
示例#5
0
 public HRESULT SetParentAndItem([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlParent, IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlChild)
 {
     return(((delegate * unmanaged <IParentAndItem *, ITEMIDLIST *, IShellFolder *, ITEMIDLIST *, int>)(lpVtbl[3]))((IParentAndItem *)Unsafe.AsPointer(ref this), pidlParent, psf, pidlChild));
 }
 public HRESULT GetEnumFlags(IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlFolder, HWND *phwnd, [NativeTypeName("DWORD *")] uint *pgrfFlags)
 {
     return(((delegate * unmanaged <IFolderFilter *, IShellFolder *, ITEMIDLIST *, HWND *, uint *, int>)(lpVtbl[4]))((IFolderFilter *)Unsafe.AsPointer(ref this), psf, pidlFolder, phwnd, pgrfFlags));
 }
 public HRESULT ShouldShow(IShellFolder *psf, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlFolder, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlItem)
 {
     return(((delegate * unmanaged <IFolderFilter *, IShellFolder *, ITEMIDLIST *, ITEMIDLIST *, int>)(lpVtbl[3]))((IFolderFilter *)Unsafe.AsPointer(ref this), psf, pidlFolder, pidlItem));
 }
 public HRESULT Initialize(HWND hwnd, IContextMenuCB *pcmcb, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlFolder, IShellFolder *psf, uint cidl, [NativeTypeName("LPCITEMIDLIST *")] ITEMIDLIST **apidl, IUnknown *punkAssociation, uint cKeys, [NativeTypeName("const HKEY *")] HKEY *aKeys)
 {
     return(((delegate * unmanaged <IDefaultFolderMenuInitialize *, HWND, IContextMenuCB *, ITEMIDLIST *, IShellFolder *, uint, ITEMIDLIST **, IUnknown *, uint, HKEY *, int>)(lpVtbl[3]))((IDefaultFolderMenuInitialize *)Unsafe.AsPointer(ref this), hwnd, pcmcb, pidlFolder, psf, cidl, apidl, punkAssociation, cKeys, aKeys));
 }
 public static extern HRESULT SHCreateShellItemArray([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlParent, IShellFolder *psf, uint cidl, [NativeTypeName("LPCITEMIDLIST *")] ITEMIDLIST **ppidl, IShellItemArray **ppsiItemArray);
示例#10
0
 public static extern HRESULT SHCreateItemWithParent([NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidlParent, IShellFolder *psfParent, [NativeTypeName("LPCITEMIDLIST")] ITEMIDLIST *pidl, [NativeTypeName("const IID &")] Guid *riid, void **ppvItem);