com.jniwrapper.win32.shell.impl
Class IShellFolderImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.shell.impl.IShellFolderImpl
All Implemented Interfaces:
com.jniwrapper.AutoDeleteParameter, IShellFolder, com.jniwrapper.win32.com.IUnknown, com.jniwrapper.PointerParameter

public class IShellFolderImpl
extends com.jniwrapper.win32.com.impl.IUnknownImpl
implements IShellFolder

Represents COM interface IShellFolder.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
com.jniwrapper.win32.com.impl.IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
d, DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
IShellFolderImpl()
           
IShellFolderImpl(com.jniwrapper.win32.com.types.CLSID clsid, com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
           
IShellFolderImpl(com.jniwrapper.win32.com.types.CLSID clsid, com.jniwrapper.win32.com.impl.IUnknownImpl pUnkOuter, com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
           
IShellFolderImpl(com.jniwrapper.win32.com.impl.IUnknownImpl that)
           
 
Method Summary
 com.jniwrapper.win32.com.impl.IUnknownImpl bindToObject(ItemIDList pidl, com.jniwrapper.win32.ole.IBindCtx pbc, com.jniwrapper.win32.com.types.GUID riid)
          Retrieves IShellFolder object for subfolder.
 com.jniwrapper.win32.com.impl.IUnknownImpl bindToStorage(ItemIDList pidl, com.jniwrapper.win32.ole.IBindCtx pbc, com.jniwrapper.win32.com.types.GUID riid)
          Requests pointer to object's storage interface.
 java.lang.Object clone()
           
 void compareIDs(com.jniwrapper.win32.com.types.LongPtr lParam, ItemIDList pidl1, ItemIDList pidl2)
          Determines the relative order of two file objects or folders, given their item identifier lists.
 com.jniwrapper.win32.com.impl.IUnknownImpl createViewObject(Wnd hwndOwner, com.jniwrapper.win32.com.types.GUID riid)
          Requests object that can be used to obtain information from or interact with a folder object.
 IEnumIDList enumObjects(Wnd hwnd, SHCONTF grfFlags)
          Allows a client to determine the contents of a folder by creating an item identifier enumeration object and returning its IEnumIDList interface.
 void getAttributesOf(com.jniwrapper.UInt cidl, com.jniwrapper.Pointer apidl, com.jniwrapper.UInt32 rgfInOut)
          Retrieves the attributes of one or more file or folder objects contained in the object represented by IShellFolder.
 STRRET getDisplayNameOf(ItemIDList pidl, com.jniwrapper.UInt32 uFlags)
          Retrieves display name for the specified file object or subfolder.
 com.jniwrapper.win32.com.types.IID getIID()
           
 void getUIObjectOf(Wnd hwndOwner, com.jniwrapper.UInt cidl, com.jniwrapper.Pointer apidl, com.jniwrapper.win32.com.types.GUID riid, com.jniwrapper.UInt rgfReserved, com.jniwrapper.Pointer.Void ppv)
          Retrieves OLE interface that can be used to carry out actions on the specified file objects or folders.
 void parseDisplayName(Wnd hwnd, com.jniwrapper.win32.ole.IBindCtx pbc, com.jniwrapper.win32.automation.types.BStr pszDisplayName, com.jniwrapper.UInt32 pchEaten, com.jniwrapper.Pointer ppidl, com.jniwrapper.UInt32 pdwAttributes)
          Translates display name of file object or folder into an item identifier list.
 com.jniwrapper.Pointer setNameOf(Wnd hwnd, ItemIDList pidl, com.jniwrapper.win32.automation.types.BStr pszName, com.jniwrapper.UInt32 uFlags)
          Sets the display name of a file object or subfolder.
 
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
, a, acceptIOPerformer, addRef, asVoidPointer, b, d, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

IShellFolderImpl

public IShellFolderImpl()

IShellFolderImpl

public IShellFolderImpl(com.jniwrapper.win32.com.impl.IUnknownImpl that)
                 throws com.jniwrapper.win32.com.ComException

IShellFolderImpl

public IShellFolderImpl(com.jniwrapper.win32.com.types.CLSID clsid,
                        com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
                 throws com.jniwrapper.win32.com.ComException

IShellFolderImpl

public IShellFolderImpl(com.jniwrapper.win32.com.types.CLSID clsid,
                        com.jniwrapper.win32.com.impl.IUnknownImpl pUnkOuter,
                        com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
                 throws com.jniwrapper.win32.com.ComException
Method Detail

parseDisplayName

public void parseDisplayName(Wnd hwnd,
                             com.jniwrapper.win32.ole.IBindCtx pbc,
                             com.jniwrapper.win32.automation.types.BStr pszDisplayName,
                             com.jniwrapper.UInt32 pchEaten,
                             com.jniwrapper.Pointer ppidl,
                             com.jniwrapper.UInt32 pdwAttributes)
                      throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Translates display name of file object or folder into an item identifier list.

Specified by:
parseDisplayName in interface IShellFolder
Parameters:
hwnd -
pbc -
pszDisplayName -
pchEaten -
ppidl -
pdwAttributes -
Throws:
com.jniwrapper.win32.com.ComException

enumObjects

public IEnumIDList enumObjects(Wnd hwnd,
                               SHCONTF grfFlags)
                        throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Allows a client to determine the contents of a folder by creating an item identifier enumeration object and returning its IEnumIDList interface.

Specified by:
enumObjects in interface IShellFolder
Parameters:
hwnd -
grfFlags -
Returns:
IEnumIDList
Throws:
com.jniwrapper.win32.com.ComException

bindToObject

public com.jniwrapper.win32.com.impl.IUnknownImpl bindToObject(ItemIDList pidl,
                                                               com.jniwrapper.win32.ole.IBindCtx pbc,
                                                               com.jniwrapper.win32.com.types.GUID riid)
                                                        throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Retrieves IShellFolder object for subfolder.

Specified by:
bindToObject in interface IShellFolder
Parameters:
pidl -
pbc -
riid -
Returns:
Throws:
com.jniwrapper.win32.com.ComException

bindToStorage

public com.jniwrapper.win32.com.impl.IUnknownImpl bindToStorage(ItemIDList pidl,
                                                                com.jniwrapper.win32.ole.IBindCtx pbc,
                                                                com.jniwrapper.win32.com.types.GUID riid)
                                                         throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Requests pointer to object's storage interface.

Specified by:
bindToStorage in interface IShellFolder
Parameters:
pidl -
pbc -
riid -
Returns:
Throws:
com.jniwrapper.win32.com.ComException

compareIDs

public void compareIDs(com.jniwrapper.win32.com.types.LongPtr lParam,
                       ItemIDList pidl1,
                       ItemIDList pidl2)
                throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Determines the relative order of two file objects or folders, given their item identifier lists.

Specified by:
compareIDs in interface IShellFolder
Parameters:
lParam -
pidl1 -
pidl2 -
Throws:
com.jniwrapper.win32.com.ComException

createViewObject

public com.jniwrapper.win32.com.impl.IUnknownImpl createViewObject(Wnd hwndOwner,
                                                                   com.jniwrapper.win32.com.types.GUID riid)
                                                            throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Requests object that can be used to obtain information from or interact with a folder object.

Specified by:
createViewObject in interface IShellFolder
Parameters:
hwndOwner -
riid -
Returns:
Throws:
com.jniwrapper.win32.com.ComException

getAttributesOf

public void getAttributesOf(com.jniwrapper.UInt cidl,
                            com.jniwrapper.Pointer apidl,
                            com.jniwrapper.UInt32 rgfInOut)
                     throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Retrieves the attributes of one or more file or folder objects contained in the object represented by IShellFolder.

Specified by:
getAttributesOf in interface IShellFolder
Parameters:
cidl -
apidl -
rgfInOut -
Throws:
com.jniwrapper.win32.com.ComException

getUIObjectOf

public void getUIObjectOf(Wnd hwndOwner,
                          com.jniwrapper.UInt cidl,
                          com.jniwrapper.Pointer apidl,
                          com.jniwrapper.win32.com.types.GUID riid,
                          com.jniwrapper.UInt rgfReserved,
                          com.jniwrapper.Pointer.Void ppv)
                   throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Retrieves OLE interface that can be used to carry out actions on the specified file objects or folders.

Specified by:
getUIObjectOf in interface IShellFolder
Parameters:
hwndOwner -
cidl -
apidl -
riid -
rgfReserved -
ppv -
Throws:
com.jniwrapper.win32.com.ComException

getDisplayNameOf

public STRRET getDisplayNameOf(ItemIDList pidl,
                               com.jniwrapper.UInt32 uFlags)
                        throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Retrieves display name for the specified file object or subfolder.

Specified by:
getDisplayNameOf in interface IShellFolder
Parameters:
pidl -
uFlags -
Returns:
Throws:
com.jniwrapper.win32.com.ComException

setNameOf

public com.jniwrapper.Pointer setNameOf(Wnd hwnd,
                                        ItemIDList pidl,
                                        com.jniwrapper.win32.automation.types.BStr pszName,
                                        com.jniwrapper.UInt32 uFlags)
                                 throws com.jniwrapper.win32.com.ComException
Description copied from interface: IShellFolder
Sets the display name of a file object or subfolder.

Specified by:
setNameOf in interface IShellFolder
Parameters:
hwnd -
pidl -
pszName -
uFlags -
Returns:
Throws:
com.jniwrapper.win32.com.ComException

getIID

public com.jniwrapper.win32.com.types.IID getIID()

clone

public java.lang.Object clone()