please dont rip this site Prev Next

SHGetSpecialFolderLocation info

Retrieves the location of a special folder.

WINSHELLAPI HRESULT WINAPI SHGetSpecialFolderLocation(;

    HWND hwndOwner,

    int nFolder,

    LPITEMIDLIST *ppidl

   );

Parameters

hwndOwner
Handle of the owner window that the client should specify if it displays a dialog box or message box.
nFolder
Value specifying the folder to retrieve the location of. This parameter can be one of the following values:

CSIDL_BITBUCKET

Recycle bin ¾ file system directory containing file objects in the user’s recycle bin. The location of this directory is not in the registry; it is marked with the hidden and system attributes to prevent the user from moving or deleting it.

CSIDL_COMMON_DESKTOP

File system directory that contains files and folders that appear on the desktop for all users.

CSIDL_COMMON_PROGRAMS

File system directory that contains the directories for the common program groups that appear on the Start menu for all users.

CSIDL_COMMON_STARTMENU

File system directory that contains the programs and folders that appear on the Start menu for all users.

CSIDL_COMMON_STARTUP

File system directory that contains the programs that appear in the Startup folder for all users. The system starts these programs whenever any user logs on to Windows NT or starts up Windows 95.

CSIDL_CONTROLS

Control Panel ¾ virtual folder containing icons for the control panel applications.

CSIDL_DESKTOP

Windows desktop ¾ virtual folder at the root of the name space.

CSIDL_DESKTOPDIRECTORY

File system directory used to physically store file objects on the desktop (not to be confused with the desktop folder itself).

CSIDL_DRIVES

My Computer ¾ virtual folder containing everything on the local computer: storage devices, printers, and Control Panel. The folder may also contain mapped network drives.

CSIDL_FONTS

Virtual folder containing fonts.

CSIDL_NETHOOD

File system directory containing objects that appear in the network neighborhood.

CSIDL_NETWORK

Network Neighborhood ¾ virtual folder representing the top level of the network hierarchy.

CSIDL_PERSONAL

File system directory that serves as a common respository for documents.

CSIDL_PRINTERS

Printers folder ¾ virtual folder containing installed printers.

CSIDL_PROGRAMS

File system directory that contains the user’s program groups (which are also file system directories).

CSIDL_RECENT

File system directory that contains the user’s most recently used documents.

CSIDL_SENDTO

File system directory that contains Send To menu items.

CSIDL_STARTMENU

File system directory containing Start menu items.

CSIDL_STARTUP

File system directory that corresponds to the user’s Startup program group.

CSIDL_TEMPLATES

File system directory that serves as a common repository for document templates.

ppidl
Address that receives a pointer to an item identifier list specifying the folder’s location relative to the root of the name space (the desktop).

Return Values

Returns NOERROR if successful or an OLE-defined error result otherwise.


file: /Techref/os/win/api/win32/func/src/f85_6.htm, 7KB, , updated: 2000/4/7 11:06, local time: 2024/11/6 23:21,
TOP NEW HELP FIND: 
18.227.21.21:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f85_6.htm"> SHGetSpecialFolderLocation</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .