Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IKnownFolder (Interfaces)
 
.
Summary
TODO - a short description

C# Definition:

[ComImport, Guid ( "38521333-6A87-46A7-AE10-0F16706816C3" ), InterfaceType ( ComInterfaceType.InterfaceIsIUnknown )]
    internal interface IKnownFolder
    {
    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetId ( out Guid pkfid );

    // Not yet supported - adding to fill slot in vtable
    void spacer1 ( );
    //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    //void GetCategory(out mbtagKF_CATEGORY pCategory);

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetShellItem ( [In] uint dwFlags, ref Guid riid, out IShellItem ppv );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetPath ( [In] uint dwFlags, [MarshalAs ( UnmanagedType.LPWStr )] out string ppszPath );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void SetPath ( [In] uint dwFlags, [In, MarshalAs ( UnmanagedType.LPWStr )] string pszPath );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetLocation ( [In] uint dwFlags, [Out, ComAliasName ( "ShellObjects.wirePIDL" )] IntPtr ppidl );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetFolderType ( out Guid pftid );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetRedirectionCapabilities ( out uint pCapabilities );

    // Not yet supported - adding to fill slot in vtable
    void spacer2 ( );
    //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    //void GetFolderDefinition(out tagKNOWNFOLDER_DEFINITION pKFD);
    }

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IKnownFolder
   TODO
End Interface

User-Defined Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions