{"id":59,"date":"2007-05-11T21:16:02","date_gmt":"2007-05-11T19:16:02","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/shgetspecialfolderlocation\/"},"modified":"2007-05-11T21:16:04","modified_gmt":"2007-05-11T19:16:04","slug":"shgetspecialfolderlocation","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/shgetspecialfolderlocation\/","title":{"rendered":"SHGetSpecialFolderLocation"},"content":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]Var<br \/>\n  SFolder :  pItemIDList;<br \/>\n  SpecialPath : Array[0..MAX_PATH] Of Char;<br \/>\nbegin<br \/>\nSHGetSpecialFolderLocation(Form1.Handle, CSIDL_STARTUP, SFolder);<br \/>\nSHGetPathFromIDList(SFolder, SpecialPath);<br \/>\nLabel1.Caption := StrPas(SpecialPath);<\/p>\n<p>Other folders :<br \/>\nCSIDL_BITBUCKET<br \/>\nCSIDL_CONTROLS<br \/>\nCSIDL_DESKTOP<br \/>\nCSIDL_DESKTOPDIRECTORY<br \/>\nCSIDL_DRIVES<br \/>\nCSIDL_FONTS<br \/>\nCSIDL_NETHOOD<br \/>\nCSIDL_NETWORK<br \/>\nCSIDL_PERSONAL<br \/>\nCSIDL_PRINTERS<br \/>\nCSIDL_PROGRAMS<br \/>\nCSIDL_RECENT<br \/>\nCSIDL_SENDTO<br \/>\nCSIDL_STARTMENU<br \/>\nCSIDL_STARTUP<br \/>\nCSIDL_TEMPLATES[\/code]<\/p>\n<p>[tags]Delphi, API[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]Var SFolder : pItemIDList; SpecialPath : Array[0..MAX_PATH] Of Char; begin SHGetSpecialFolderLocation(Form1.Handle, CSIDL_STARTUP, SFolder); SHGetPathFromIDList(SFolder, SpecialPath); Label1.Caption := StrPas(SpecialPath); Other folders : CSIDL_BITBUCKET&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[84,75],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-X","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/59"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}