Using Win32 functions in Visual FoxPro Image Gallery
COM
..msdn
CLSIDFromString
CoCreateGuid
CoTaskMemFree
CreateStreamOnHGlobal
GetHGlobalFromStream
StringFromGUID2
Code examples:
Accessing the list of Windows Recent Documents
Browsing Windows Known Folders (Special Folders)
Reading and setting explicit Application User Model ID for the current process (Win7)
Browsing Windows Known Folders (Special Folders)

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Versions:
click to open
Before you begin:
Special Folders are folders which are presented to the user through an interface as an abstract concept, instead of an absolute folder path.

As of Windows Vista, those folders are referenced by a new set of GUID values called Known Folder IDs, replacing the older system of referring to standard folders by a CSIDL value.



See also:
  • How to get the path to a Special Folder
  • Obtaining the System and Windows folder names
  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    13116 bytes  
    Created: 2011-01-19 16:56:37  
    Modified: 2013-09-10 08:59:44  
    Visits in 7 days: 186  
    Listed functions:
    CoTaskMemFree
    DestroyIcon
    GetWindowLong
    GlobalAlloc
    GlobalFree
    GlobalSize
    SendMessage
    SetWindowLong
    SHBrowseForFolder
    SHGetFileInfo
    SHGetPathFromIDList
    SHGetSpecialFolderLocation
    Printer friendly API declarations
    My comment:


    The Known Folders can be enumerated through call to GetFolderIds method of a class that implements IKnownFolderManager interface.
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.


    Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (54.226.105.198)
    12 sec.Function: 'NetGroupEnum'
    Function group: 'Network Management'
    22 sec.Banners
    37 sec.Function: 'recv'
    Function group: 'Windows Sockets 2 (Winsock)'
    49 sec.Function: 'FindClosePrinterChangeNotification'
    Function group: 'Printing and Print Spooler'
    1.02 min.Function: 'midiOutGetNumDevs'
    Function group: 'Windows Multimedia'
    1.2 min.Function: 'WriteFile'
    Function group: 'File Management'
    1.4 min.Function: 'getsockopt'
    1.55 min.
    1.77 min.Function: 'waveOutGetErrorText'
    Function group: 'Windows Multimedia'
    1.93 min.Function: 'GetVersion'
    Function group: 'System Information'
    Google
    Advertise here!