Desktop Functions: Smart Device Functions:
|
Search Results for "AI" in [All]msports
static extern int ComDBClaimPort(IntPtr hComDB, out int ComNumber)
Declare Function ComDBClaimNextFreePort Lib "msports.dll" (TODO) As TODO
static extern int ComDBClaimPort(IntPtr hComDB, int ComNumber, [MarshalAs(UnmanagedType.Bool)] bool ForceClaim, [MarshalAs(UnmanagedType.Bool)] out bool Forced);
Declare Function ComDBClaimPort Lib "msports.dll" (TODO) As TODO ForceClaim and Forced are documented as reserved for internal use. Set the former to false and ignore the latter. 3: ComDBClose 4: ComDBOpen · #R2äz)êFߨ¸ð®ÎFHç·8÷8xÖÀ4Æà AöÎÈÚr';x²nu{eß«å >0þ">Îcà )[\ßgDºØËI'õSî|AVcÙaI®ürÖmH)ýeØ¢ßO2!Lõ"ný|mÌkéUö¤Fü-As»¥øA8º7ÝÍøðî¥cÿÕN©r®>Zï¥ölÒ"eÇ,&Þ³òþ5Õ6Íô`l®tÀù[ÅYjt1½LÔéæfozü¾OGZ¯»¢/2³®$F\©mÓ¹ñ)Zg6ñèã>ÙÐßÚXøÙK,db!³ Rãß÷EK"Ô§´h®zLzgHLÔf£Ìûa[îñ±AëMQÔàBc d(Àr òÞ3ò8
1É÷jg+)yH*³¢TgÁW5@ÍbO¶j ·#QW{ÈHþ¶ráØ; ª[siÖ¿Ë^ª6*A ã®Ô¨üQ¦5Á-ïR,½Ë!d-ÃVüZ¸÷fèï£<$7(&] IÌäw_¸z+(³À-°«ÅÓÚ¬aî¡¡eb4gÕ¢FìuÊzW\éûaVå¨ù_^¢f êKûǵGV^ L* ¡I\·»1ÿ«¯hãöí¹ë¯ ×ÒÏI{(¤f«Fì¬PjõýâmÏZ9ôY¯a:3o³sB ƬSS9¢¤ÍÍûJ&CÏ5Ë9ÁL×5pWÖ-9¯äíFºê÷Y[õ!£z¿7-ZSÕíº!Ù}'DHÇuý'Ï]yA·ÅµDäq45#3^z®N«[ÔÕjÂõP¾¾ÚCÁo}9àä9»} $â×T¶ÇußaQ÷¾ÑÀaÄl)v°W»·¸m£në3Ä1:Ì8WkÄuÿ1bÐiØð9ôôNXBuÇ×(gX$ÅäëÑÕ·þ(Ù¯ÿ®;4¶Ýô¦Ø#íÈTÉHµÛß¿}®ò(õßCC;ÿ>î,`zkzÅÐðüÜj©ô¿5²6ÄÖâéÖ Ç'IÆÙR½/B7ð3õøYK(ãã¤ì|H8;Éùãúvaf·ÄHàÛ\K·C¾l|uâÜÐG#àQnÿÃf=ÿ£çÍÇÒ,ËYJàe£"¶È¹öì¤ÍÖW¤JÿèªSóG b3ÑopÓdËsäj6ÂùCÌ}c]u(D2<Ķëóô õA D̰ŷkH<6©WìdÄßÉ«l¦YP}n ÐérIÚüøV©²ô®ä§&/Q¯R"5MúwfßÔ×}"w'K§¹¸2ÍÓCÚv×\Ù¶ñ·l&w)møùÃGÚ£Ò¾D(·>HMÞºøº÷Ù/;n`òoõ¬$'lUQ̳ìawfª>w¨ñÒn³ß9ulV«Î~Êo\QLob{& .º©_^pÊ1DÒáT±»*û¹r:M,¬A¯J(ä¶yÿâÍëÉû¸[Q8]ÔQw<®I³ÇðÚ¸ÃA¨§/§Ë Oß¿Ã?ê<n|ïªEH0ÿÇ>X¾ö2j"³ Ai{ex)¸Ü(l°a¤iɵÚE?㫼n§ã)ûç?ݵϸ%=A¹æáàrîÝÝþ!8ì xìæU`ûÎ[AeW Oh[8Tûdó½è¸$«Ç 7¦í¸Z9U40:`#v®]ÿï©¥'&¦»Å«øº¾ºÝS ?]xø`î8Czke\eLNrÛåsã»ÿQ$q×OÈ,®«£_oËïX^à7,¥a¡ôØêé[ ²F§z*g¶þ¬Ú®Õ^óyÅ'AIÂtbÓæÌ©µ¢ÏI4Ï®gLY ½E,æ+áÊ/eÆ%QÊb=^å´¢5ÌÖÿR M9@ îòÇÌ Çpäl¼ÎFKÅ´©gLvHnüÓáÛ7ò³O®Y\ýºYøºãU$pzD¹Zÿïï àlÎ~NòAÔô"²jõ³sÊçL3 X ,ùÄÙ¥mgZÚÒðpÏàjcwS»LËÌaèFô¯Däbg8æÄ!&L¾YÒÁU?J¤Ø@Îo帺ûàrø$]I®¿©RÐá¡vn8%L×Cpqx¢·©l¡íOËP¡k÷³º?GÒ®9@·Þåt¶H!ûÖüèczz¥ä"ò>Ús×!±iHêDÊÉð«aIðÅõܤåXóÔÇuÿä}ÐiiöU8`ÝãÞO0ÍÝ{ö/"¹ÆN(À¶ì$4¿C)G¥Þ,%ØM å "]©¨£ÃP ¨:cêÁ§V÷±08иúV4¥dãÐ8w °¥Óip¶u¿À%íâÔ_¬ï$}'ïÀ'&;|UÐáÔ'V%0[fr,2;k¾Õplù¢´q$h_7ìo@A©®á:l¸"h+8µ(=ØhaI7>¥Ù^*ÔÅ :E±ÙÿËËO\õÀk îàvO,J^üR'Ìwl¦ïIp»Ã'=êNÀÜ9 Moï»f´¿ä§)#É´VÍÍõkäîòÿEé5«q5:vÌèÏ\L>'íÄgDâÏ;P¶ñ¤±Ô5>ü,5ôÁ5ãá\ëq¬2)BCùüç9ÒBV`:ù¿ª&1à¦?nõX®³-y_!utÔ´ çÏsn#ÇÕÐîÆªÓøÕ?j±¿]Ç çé&« Ö?)âú»@GMâ3çz)¥ £|[pTAþißKo!R¼³¤ªÔÞȳî&ؤw>Ùî³ä2aI95\/4<@K°ÜÊwZ¾@Kâx5ó9hs;õìFO:~ØÈ¾¾ "!og]þnT¼Êâ ¬ËÍ,:TµÂõaÍ(qßFÁñ«oø Pi¨uYÎoÜuy7iXÎ<èY/2rõÌñýû zô¸Ê{É@(4è²Ëçãÿe^ IL"ѳPoÔð7Kkqüzø yâe {qF2uì¸tÄRêdÎYÃémÌÞ@ñ@÷ÍYâ Qüs4¿ÞÌ×än?,õ-TmÖØðeï¨SÝ#³r¿»b±U¿aIDDpÍ-ÂÇBáü§@hAëC-N8 ¢¸íù~p 1;iûøj¥ÒÝ×Í_¦ÂH˺õIÓ=ûä Ä!WobÃGaì:~ÛÒS²-ÍË-»}F4fùý´RL}sv'xÁÅó¹Â uxtheme
IntPtr pPaintParams,
ref BP_PAINTPARAMS pPaintParams,
static extern IntPtr BeginBufferedPaint(IntPtr hdcTarget, [In] ref RECT prcTarget, BP_BUFFERFORMAT dwFormat, [In] ref BP_PAINTPARAMS pPaintParams, out IntPtr phdc);
Declare Function BeginBufferedPaint Lib "uxtheme.dll" (TODO) As TODO RECT, BP_BUFFERFORMAT, BP_PAINTPARAMS
static extern int BufferedPaintInit();
Declare Function BufferedPaintInit Lib "uxtheme.dll" (TODO) As TODO
static extern bool BufferedPaintRenderAnimation(IntPtr hwnd, IntPtr hdcTarget);
Declare Function BufferedPaintRenderAnimation Lib "uxtheme.dll" (TODO) As TODO
static extern int BufferedPaintSetAlpha(IntPtr hBufferedPaint, [In] ref RECT prc, byte alpha);
Declare Function BufferedPaintSetAlpha Lib "uxtheme.dll" (TODO) As TODO
static extern IntPtr BufferedPaintStopAllAnimations(IntPtr hwnd);
Declare Function BufferedPaintStopAllAnimations Lib "uxtheme.dll" (TODO) As TODO
static extern int BufferedPaintUnInit();
Declare Function BufferedPaintUnInit Lib "uxtheme.dll" (TODO) As TODO 15: EndBufferedPaint
static extern int EndBufferedPaint(IntPtr hBufferedPaint, bool fUpdateTarget);
Declare Function EndBufferedPaint Lib "uxtheme.dll" (TODO) As TODO 16: GetThemeFilename
[in] Value of type int that specifies the part that contains the filename property. See Parts and States. 17: GetWindowTheme None available. Filename of the .msstyle file containing the VisualStyle shell32¹s;7W´$.OÅô®âdÌuý¹mã¹MMo£ë^æÙuZé4N;TßFPÆ»Mv¦[æ/ÌÉÄK±#é¨l,m9YÙ*Tü<rnhXyo¸? éÌ Û÷Á¦Y¬t¤à#YÒyÃvh\kÁfNKúG óæRàÿ9ÊßõæC´v ¬æáx2ªáw¼5Ú%,ÿÜgµ\-¶ç7C)¢·ã 5ݦ7ÿ±6ø=8/c<¯ÂaIÔ3 ýãEï'/Ó,H£ªÿ H¯yzlþ¯í © p¦QD)2d`Ù¾º)Z.o#ÐS]»î á{7T$Ñc Øïx-Èw§9²ü¬n@ïÕUÈã&ÇEÕѵ 0J£cÐ@;Òþ®Ûó8ì<ú¬ gä`Ï8¿qçÈÐß!CÍ5yZ'\ai/r½{ârnÀF'vR ×8pÔ~d?k\¿ õCdàÒËL[¼ÕÃh¬¥MÇbÒ¸®øølb6±$Ûíô!\ö¡ôݵÛ0DÓKÐKlµÊBznÛõÒkëm¥ÈUIºk91±Ô:ÂØÓáÛäGrø÷§O¡Ö÷ÈpÜ»$t§ùÈ)%Ð0~ÕÅ:¼#]ìÍaòEOmÙ˵#B¬±Ôr>!vÄ2J.ô4ÅmÒÓ<S¾ÕÑý"êVÐÜwdk¸ËÜßg£¶V±ù®zéõ§LÖÆ0K5&d)I sç$ç`¦øÉµçlÚ¯l þ®BÔ¬Äoç m5Hó¾Å©ä$¢ª?nË®>vÿøÍ¥=µ½jlr1ÛÖìÁÔ!2°eh£9à$(¹çx÷ë¾Î<|8w÷Ý(ÞÌ=`nõ©wÒ©ß°kã¦Ì"eSÜ;£ùË;9.³¤ñ<¤ËrRwz·EóÙÇ[[¬4<ÓþÌǰ9$Çzvóä9lëÝ*êÏZ#ßB[>®ÆïêGö j1FÅJâÛ?²®e¤Üä¾þëïzE¼v??`751Ó¢ÁTUöJ"Jùoèw¼¬é\ìwÕ߬y¾ßb¸ôd'×jì%ÂïØõqúâ£;§uñ&Ö¶-4¬ßÈmd±v-)ªðÃÊv£7ÊÚDZO:×^ä»wõÞeþ üÞnÈInûGoç±Ý«\×±cëU]5ß,,îfa²GmóÎÞvØê6bõX#¸Ð×ÁEä§&DqÇmÝcüðø+|ÜqRsQaÛñç\Y[ÞÖ¦És¹ctó¢Ö4𢨠i-<íQ7ùuØ`7¬btègôûw«çåM1¯iÊÛkEodGWÛõ¬£/;qÕ_7 ÒñG¯s{@b¡ñ6øEdjÿlÔÄ©ëzá÷Ë»>ä}²ÓËpv½½ÞÄW¥%xûZC.*Ó&Ê¢ï»ÖËßB+¡¬û¯"CúAf®ñîiýgØÎM¿qsÊqjÚ@PºåÚ ë¶¶é%D×ÒQ.QV[ÒT6êé·zo ¶É`©¼"¦=EUÙ9=ZX[¤eï¦ÕÌ'ݱ@ ¨è¶·eÕ;§©D?8ºïÁ´ÓÀ¹æS>ûu(M5=ðd(ÕÓ9ü½Tµ»4µ¡©1äL§-K2&-Ã$ùZ$ÐW tÌkö,)Þç´p3J'SOµ`sJÜÕ.+ ÉëÝoðÓ60¿¿å}`Îkm7(Ji²7v·öy´ãp¥z´è÷-\8Â&ÌâÑlù9[9W»ËC5^c'¥ W¿TC¾hõi¥õC ÐôçÕòFåL5[9oØÏò9iøø>iáÞ&Òô©8õªÑÉðsi|Õ¸æþm¸·®#"ûû3BmËfØc7Äáaiöרÿ¤iG¯·Ë¶ DMðÏkíÃw½OÅíEtêRb¯n'üMvb&áaÚP\î÷ðïæÈr²¦Ò¾§PeĽý1Ô½9¼°xÇæËû½¶Ü;ÒIíÚÃ]øÑrFäsªËy$¨Ì_9 l¶yY0å®\jǶ¡³´&©²«píòW>#KvRº%gÂK7íàDºùÛõªGÒ Æ&eêá XmhFNàêá?¸åï赫ë^ Åo=Èóô«4æFgÔÚM²8ÇS|WÌRí´Äµlg.-*D'¯`òìHÙäFÊPùêß&nl ¨áüø?WHÁþ»ò¡YËB¿ØóA»@Q,öóssñ #8ÂÞ#¬øÄ¥V´³§]lssJ¬-àz®<[¼±PWøª×ô¥V çL(ûzÆ÷àdø54O·)Ú¾ÅÂnoAÙèÿsQ°ø»£A×óµÄuÃÛ7Ì}³ñc¬ÁE½`Åbmq¿ÊìÊØ|=¯Qù©õÅkrÃ÷Ém1âz6Ryþ&7£ïÁ±óþNÌzÅH*ÒcRºeÁ*ÒíÛ«¨E!"YR¾g|Rà1#u«b=µïCz9Y×5ßWDk/§Ð¿ÎVÙ;Æcðib¯ÇéõU 0`Z1²õÛ+½»W}¿¶W/ÜcÙ<u©Àh@#ßNè O}X7¶»j×SÌ£ïÝqõª¸:q¼[`bnßGø¿:æÊ?03"Öü}»Èqi`áæ·ò6aww8tj/Íp6²¨Aå²k/Ü|rÿl%¨IÝÜúÓBï¯îcXfïñÚð·4Pô?,#U-ÿiì¯xlòÚ`Ô)ã ýAq9½åù2mVÓ±µôN¯E[ #<L´U¯{ÂZíÌuÞÁóô§ÃîÛwEwüpðM#^4Î=·â®dbç¼±ø/ 4¢JǤ}¯v9!VúL¯lN :2Ó¬©®~P+°½À`Zyê·ÖqKÏúĪ: :ÇÄ,QîýºXìâñJç¼îÂ"ÊJÞõ<âé =ù$³wFÒÜlÊ îÇ¡½Àäai±øfÌZ5¤ýø(¹´ì¢ETðÛ`ðòdhÅ©Áðe·eãi{T½þþlå îg{ÇÝË2pîìN¬Çal ´Ó>¼-d'äÜi¼ÑÃÑ©ªK9ãN×qÿØBÃ.í¢pÓ5ïMújF¢Ænد37ûûc_n 4¡eã'{àæ+tyº`42 xJ®àÏ}åþÂ;£:¶JFZ?[È1ɰiä6¡ÐVD«»ÌòÁSK6a̹¦tVÓÍF íY°f6 LOÝ#ïï´Ò.¾Y | ý¬\h¥µrdÄÔ§§M 4í4ÄWUyâL`»ÛYÎ0>îiôI%trrfûòÜñèX¬TÃ#Êë¬Åq¦yÚ#zG1°â}æø¶²L±çN-:¼<}3xáþQÛ' »õi©·KMQÃÙ.JAYPpÅrqkO¾»Ù%s)SnxÂ/ã=~Fçóe$ ÄÂ.-»er(·Cçu¤QòUõç¦fò¦¨àBè\GbaiVSm³ ùåñ^ ß(÷ú%¢09¡V+ÎÖh°íÜ?Úë|Qö-Ìr¸å¥Ë%ØÄ½å íçÍwqééé-¾1Ê^kô(¹ ÙçÅ*:˽OÓõú3÷øû:M¼HíìS}|¡µ1<èk>ñøUñÑ>½ ĵVEM?ùOhC¡V]¨³sø¦ªÕ¹# aI.#&É[æXsÉT501U¦ìÑ&)(yÎ![JútðS3^í!LHYCd5)±ÆP©O¯ú_ðêT?4çØÂÕ1®ªÄ¡«Y·¡óÌÂíÁ¢ÓEé½Â
Ö·1Ç~bùDv[¾â'@ 4ñ§ïØêÜð c>¡sýH&1ÌKF,2É!ÞYÇ.F_A¨Rª¾Jú4(â[Whîëfþ4_AiýX¦\-§Óµ`K~L>ð×øÜ?\K¦'¥ÿÊó}þÒ%Ϩ@1äbÙ|®"°ÂUWD¼rðÓ ¼½ !Y¸Ë´êvfÁOÈað)Ïÿm~4IþÃî¬wzµ2µÊóq0p¯QõB/³}£x¥ó¤±ÏÉ@Uuüjø<«[Z·WW- O5#çýÖ¾;;¤EßfºUHÚ_ÂÝä _¦±D1M6J¦ÓF¦¨NJ%áw±·:®U8ÇùÒÛìS¨ ÿ{µ¦ úgÏ^ø7LDÍÎ,$ íÈ`Ç\KÙ"¤Rß¡îWÁ¡¢NÀ7±Ìm³.aþz^¹³ ëw>ÕþdSSX7ßU°\ЮÅñ¶õ^î*«Ä§ÇÉÿ¶,¸ÿé y礯 ©d¢¬ßÉÃc#·;qAÇY&Ì©ª/k82+ÁÓÕóýå½×§vjD×ÓfxôõýѲ¹G÷ñãÛRLþ4nÉ«Y±L7Ò-rï¡<T¶P>O»6ÒÉ]æÂSîð¶§>Àþ\ÑxàdóòkG<Z¥$Ül"ÄÃmol5h\Ç"§0zO{µÉiùä);u©¡ÔOYÄ®B]i6!Ç6Øüz(½ ?æ\ ù:eèáâé°¿¢ØUÐuþ§ë0 Ý¥aF×½)ÓI$ÞaI4ÓGÔñPRèo<u !ËѹiagAÛoê)ûÉ.DãáVy¹¡Ê¸Þ-ek¾tø>§îuY!¤¼¨!© ÷CG¼íª O:R(wñ³Ûä)ô Vq" Ú=¸uSæº2PV#Î,B Ä»dxu1-"ܳq°%t«Ú¬Ë:°°¸©óÈ2¬[¿ôïÂ&}6jéW'åddE.m5G²w)f¯pYõó|·ÍïÙsÖXüÂD/>qéT/§¼Þ×e+Î8ue£¹Füú®·àÓ°pqºp´N±-_¼¾%³ j-ì}7«¾ENÑ$ªR}# t4âZ¬U6ÛMOÁѺHÎ;¬+ã\`{úªî!xòëcc§¬ù°UÂ% kA 20: APPBARDATA Initialy the C# signature in this article used a public static readonly int for cbSize so it could be initialized inline but the static field is then no longer where you expect it to be in memory so the call to SHAppBarMessage() fails. The field cannot be static.
// CommandLineToArgvW returns NULL upon failure.
// Make sure the memory ptrToSplitArgs to is freed, even upon failure.
// Free memory obtained by CommandLineToArgW. 22: CSIDL
CSIDL_LOCAL_APPDATA = 0x001c, // <user name>\Local Settings\Applicaiton Data (non roaming) 23: CSIDL
/// The remaining CSIDLs correspond to either file system folders or virtual folders. Where the CSIDL
CSIDL_BITBUCKET = 0x000a, // The virtual folder containing the objects in the user's Recycle Bin.
/// Version 6.0. The file system directory acting as a staging area for files waiting to be written to CD.
/// Version 5.0. The file system directory containing administrative tools for all users of the computer.
/// Version 5.0. The file system directory containing application data for all users. A typical path is
/// The file system directory that contains files and folders that appear on the desktop for all users.
/// The file system directory that contains documents that are common to all users. A typical paths is
/// The file system directory that contains the directories for the common program groups that appear on the
/// The file system directory that contains the programs and folders that appear on the Start menu for all users.
/// The file system directory that contains the programs that appear in the Startup folder for all users.
/// The file system directory that contains the templates that are available to all users. A typical path is
CSIDL_CONTROLS = 0x0003, // The virtual folder containing icons for the Control Panel applications.
/// The virtual folder representing My Computer, containing everything on the local computer: storage devices,
/// printers, and Control Panel. The folder may also contain mapped network drives.
CSIDL_FONTS = 0x0014, // A virtual folder containing fonts. A typical path is C:\Windows\Fonts.
/// A file system directory containing the link objects that may exist in the My Network Places virtual folder.
CSIDL_PRINTERS = 0x0004, // The virtual folder containing installed printers.
/// The file system directory that contains the link objects that can exist in the Printers virtual folder.
/// Version 6.0. The file system directory containing user profile folders. A typical path is C:\Documents and Settings.
/// The file system directory that contains the user's program groups (which are themselves file system directories).
/// The file system directory that contains shortcuts to the user's most recently used documents. A typical path is
/// The file system directory that contains Send To menu items. A typical path is C:\Documents and Settings\username\SendTo.
/// The file system directory containing Start menu items. A typical path is C:\Documents and Settings\username\Start Menu. in Pointer to a string that specifies the full path and file name of the file that contains the icon. The function extracts the icon handle from that file, or from an executable file associated with that file. If the icon handle is obtained from an executable file, the function stores the full path and file name of that executable in the string pointed to by lpIconPath. in, out Pointer to a WORD that specifies the index of the icon whose handle is to be obtained. If the icon handle is obtained from an executable file, the function stores the icon's identifier in the WORD pointed to by lpiIcon. this.fileSystemWatcher.EnableRaisingEvents = true; 26: FindExecutable 2) Make sure the following references are available:
/// If more than one event is specified, the values contained
/// <para><b>Windows NT/2000/XP:</b> <i>dwItem2</i> contains the index
/// <para><b>Windows 95/98:</b> <i>dwItem1</i> contains the index
/// <i>dwItem1</i> contains the item or folder that has changed.
/// <i>dwItem1</i> contains the item that was created.
/// <i>dwItem1</i> contains the item that was deleted.
/// <i>dwItem1</i> contains the root of the drive that was added.
/// <i>dwItem1</i> contains the root of the drive that was added.
/// <i>dwItem1</i> contains the root of the drive that was removed.
/// <i>dwItem1</i> contains the root of the drive on which the free space changed.
/// <i>dwItem1</i> contains the root of the drive that contains the new media.
SHCNE_MEDIAINSERTED = 0x00000020,
/// <i>dwItem1</i> contains the root of the drive from which the media was removed.
/// <i>dwItem1</i> contains the folder that was created.
/// <i>dwItem1</i> contains the folder that is being shared.
/// <i>dwItem1</i> contains the folder that is no longer being shared.
/// <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder.
/// <i>dwItem2</i> contains the new PIDL or name of the folder.
/// <i>dwItem1</i> contains the previous PIDL or name of the item.
/// <i>dwItem2</i> contains the new PIDL or name of the item.
/// <i>dwItem1</i> contains the folder that was removed.
/// <i>dwItem1</i> contains the server from which the computer was disconnected.
/// <i>dwItem1</i> contains the folder that has changed.
' <i>dwItem1</i> contains the item or folder that has changed.
' <i>dwItem1</i> contains the item that was created.
' <i>dwItem1</i> contains the item that was deleted.
' <i>dwItem1</i> contains the root of the drive that was added.
' <i>dwItem1</i> contains the root of the drive that was added.
' <i>dwItem1</i> contains the root of the drive that was removed.
' <i>dwItem1</i> contains the root of the drive on which the free space changed.
' <i>dwItem1</i> contains the root of the drive that contains the new media.
SHCNE_MEDIAINSERTED = &H20
' <i>dwItem1</i> contains the root of the drive from which the media was removed.
' <i>dwItem1</i> contains the folder that was created.
' <i>dwItem1</i> contains the folder that is being shared.
' <i>dwItem1</i> contains the folder that is no longer being shared.
' <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder.
' <i>dwItem2</i> contains the new PIDL or name of the folder.
' <i>dwItem1</i> contains the previous PIDL or name of the item.
' <i>dwItem2</i> contains the new PIDL or name of the item.
' <i>dwItem1</i> contains the folder that was removed.
' <i>dwItem1</i> contains the server from which the computer was disconnected.
' <i>dwItem1</i> contains the folder that has changed.
/// maximum length MAX_PATH that contain the full path names
/// maximum length MAX_PATH that contain the full path names
SHCNF_FLUSHNOWAIT = 0x2000
' maximum length MAX_PATH that contain the full path names
' maximum length MAX_PATH that contain the full path names
SHCNF_FLUSHNOWAIT = &H2000 29: IShellIcon 30: ITaskbarList
void SetThumbnailTooltip(
void SetThumbnailClip(
Sub SetThumbnailTooltip(hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> pszTip As String)
Sub SetThumbnailClip(hwnd As IntPtr, prcClip As IntPtr) 31: ITaskbarList3
/// functionality added in Windows 7. This functionality includes thumbnail representations and switch
/// targets based on individual tabs in a tabbed application, thumbnail toolbars, notification and
/// Informs the taskbar that a new tab or document thumbnail has been provided for display in an
/// <param name="hWndMDI">Handle of the application's main window. This value tells the taskbar
/// which application's preview group to attach the new thumbnail to. This value is required and
/// Removes a thumbnail from an application's preview group when that tab or document is closed in the application.
/// <param name="hWndTab">The handle of the tab window whose thumbnail is being removed. This is the same
/// value with which the thumbnail was registered as part the group through ITaskbarList3::RegisterTab.
/// Inserts a new thumbnail into a tabbed-document interface (TDI) or multiple-document interface
/// (MDI) application's group flyout or moves an existing thumbnail to a new position in the
/// <param name="hWndTab">The handle of the tab window whose thumbnail is being placed. This value
/// <param name="hWndInsertBefore">The handle of the tab window whose thumbnail that hwndTab is
/// If this value is NULL, the new thumbnail is added to the end of the list.</param>
/// <param name="hWndMDI">Handle of the application's main window. This value tells the taskbar
/// which group the thumbnail is a member of. This value is required and cannot be NULL.</param>
/// <param name="tbatFlags">None, one, or both of the following values that specify a thumbnail
/// Adds a thumbnail toolbar with a specified set of buttons to the thumbnail image of a window in a
/// <param name="hWnd">The handle of the window whose thumbnail representation will receive the toolbar.
/// Specifies an image list that contains button images for a toolbar embedded in a thumbnail image of a
/// <param name="hWnd">The handle of the window whose thumbnail representation contains the toolbar to be
/// <param name="himl">The handle of the image list that contains all button images to be used in the toolbar.</param>
/// individual preview thumbnail in a taskbar button flyout.
/// <param name="hWnd">The handle to the window whose thumbnail displays the tooltip. This handle must
void SetThumbnailTooltip(IntPtr hWnd, string pszTip);
/// Selects a portion of a window's client area to display as that window's thumbnail in the taskbar.
/// in place and return to the default display of the thumbnail, set this parameter to NULL.</param>
void SetThumbnailClip(IntPtr hWnd, IntPtr prcClip); 32: ITaskbarList4
void SetThumbnailTooltip(
void SetThumbnailClip( 33: MRTRJ8AVAILWY1ZPND4SZM155ZVREWTNJ3D2OS8Q0BE0UY432S5BY6IX86BKKL9O4VMM3UH2M6F4Z6GNX8TXCNJGYKEQ17LUKETS q²¿ÈíǹÚÝô6D¿"b7ºä)7èAiL¦½a8èÀº³¦QÈü?6¡5ÝÈìPª6¡bN¸ ÍÏáꥺ"LÅ(*³}§ ùIÍVÍXf.Ìk¯¤¦Ü4ß#:¤ËÒ{C[+[ûä]¨øµývL¾àCáHÒÚ+,÷ Y¤<ÎîçÊFBK[ÙOE$-8¡ÎíNé©{?réè<O'¿z0êðE h04öÄ~^«nÎkûF1Fy 34: PathIsExe
/// <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param>
''' <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param> 35: PickIconDlg Dim retval As Integer ' Will contain the result of the PickIconDlg. 1 = OK, 0 = Canceled class MainForm : Form { 37: SHAppBarMessage
/// working area available to your application—, use the GetMonitorInfo function.
ByVal repaint As Boolean) As Boolean
public const int BFFM_VALIDATEFAILEDA = 3;
public const int BFFM_VALIDATEFAILEDW = 4;
private uint BIF_DONTGOBELOWDOMAIN = 0x0002; // For starting the Find Computer You need to be in an STA thread for the BIF_NEWDIALOGSTYLE to work correctly. Use the STAThread attribute on your Main function, or create a new thread and call SetApartmentState before it is started. The default apartment state is MTA so if this isn't working for you, that could be why. 39: ShellAbout Windows 95/98/Me: ShellAbout is supported by the Microsoft Layer for Unicode (MSLU). To use MSLU, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows Me/98/95 Systems. 40: ShellExecuteEx
SEE_MASK_FLAG_DDEWAIT = SEE_MASK_NOASYNC,
SEE_MASK_WAITFORINPUTIDLE = 0x02000000, lpVerb member can be used for a varity of actions like "properties", "find", "openas", "print"..etc depending on the file type you're dealing with.Actions available for a specific file type are stored in registry, setting lpVerb to null results in the default action of that file type to be executed. 41: Shell_NotifyIcon
// E_FAIL, will happen if the icon is not there.
throw new Win32Exception(hresult, "Failed to get icon position.");
// E_FAIL, will happen if the icon is not there.
throw new Win32Exception(hresult, "Failed to get icon position."); 43: SHFileOperation I tried to use this to send files to the recycle bin. It failed (Marshal.GetLastWin32Error was 6, invalid handle) and sometimes threw a NullReferenceException. To make it work I did the following;
FOF_NORECURSEREPARSE = 0x8000, // treat reparse points as objects, not containers 44: SHFormatDrive
/// Throw Exception with a detailed message 45: SHGetFolderPath
// Version 5.0. The file system directory containing
// Version 5.0. The file system directory containing
// The file system directory that contains documents
CSIDL_LOCAL_APPDATA = 0x001c, // <user name>\Local Settings\Applicaiton Data (non roaming) 46: SHGetImageList
// s now contains the path for the all-users "Public Desktop" folder
FILESYSANCESTOR = &H10000000 ' may contain children with FILESYSTEM
HASSUBFOLDER = &H80000000UI ' may contain children with FOLDER
STORAGEANCESTOR = &H800000 ' may contain children with STORAGE or STREAM 49: SHGetRealIDL
/// <param name="pidlReal">[out] Pointer to the full converted PIDL. If the function fails, this parameter is set to NULL.</param>
/// The main entry point for the application.
static void Main()
CSIDL_LOCAL_APPDATA = 0x001c, // <user name>\Local Settings\Applicaiton Data (non roaming) However not all of the enums are available (e.g. CSIDL_COMMON_DOCUMENTS missing on .NET 1.1) therefore this is needed sometimes. (not 100% certain this is correct, need to test) Took me forever (okay, less than an hour) to figure out that this function failed with Integers or Longs and it wanted UInt32 for hwnd and shopObjectType.
Sub Main()
''' Sets the parent directory containing the files that will be selected. 55: SHOpenWithDialog
private static extern int SHOpenWithDialog(IntPtr hWndParent, ref tagOPENASINFO oOAI);
public tagOPEN_AS_INFO_FLAGS oaifInFlags;
OAIF_ALLOW_REGISTRATION = 0x00000001, // Show "Always" checkbox
OAIF_REGISTER_EXT = 0x00000002, // Perform registration when user hits OK
OAIF_EXEC = 0x00000004, // Exec file after registering
OAIF_FORCE_REGISTRATION = 0x00000008, // Force the checkbox to be registration
OAIF_HIDE_REGISTRATION = 0x00000020, // Vista+: Hide the "always use this file" checkbox
OAIF_URL_PROTOCOL = 0x00000040, // Vista+: cszFile is actually a URI scheme; show handlers for that scheme
OAIF_FILE_IS_URI = 0x00000080 // Win8+: The location pointed to by the pcszFile parameter is given as a URI
tagOPENASINFO oOAI = new tagOPENASINFO();
oOAI.cszFile = sFilename;
oOAI.cszClass = String.Empty;
oOAI.oaifInFlags = tagOPEN_AS_INFO_FLAGS.OAIF_ALLOW_REGISTRATION | tagOPEN_AS_INFO_FLAGS.OAIF_EXEC;
SHOpenWithDialog(hwndParent, ref oOAI);
void Main() 57: SHRunFileDialog Use the Documented IShellDispatch->Run(), but this can be a pain in C# if you are pressed for time. You can pass zero or more flags to the function. If the function fails, check your character encoding. It seems that it expects Unicode characters by default.
static extern UInt32 SHSetUnreadMailCount(string pszMailAddress, UInt32 dwCount, string pszShellExecuteCommand);
Public Shared Function SHSetUnreadMailCount(ByVal pszMailAddress As String, ByVal dwCount As Integer, ByVal pszShellExecuteCommand As String) As Integer 59: THUMBBUTTON gdi3260: 3HVO9Y0G941PUJCOCQIFYME6AYH2IS2XB0YYDBJUX8Y4DQQBWY63HVK4U4EP650P21QXXHOX8DPYXJREWWWFJHP94GVDHRPQC52R ����K���?�����d��>��YQX�{�<J��e�m�&�¦փ��ɔ N�q���o�6�60�ʳΔ�.���١��0����٬˿DGJ�=�c�Y<��X���&�\l؛�u�ڣ��n�d�c�γf2�HF��]��ai�.ә� \:V}k9��+ЁJ5�i)�́ S�ƅ��oed�/����c���tM�R���9Ϗfx��GS�BS1��<��`O8�(�i7�aA�]���zg# �� p��߂��$5�N`y!f>�X�=}�H����ҁ���'c���@w}ʈw=���) ���J��D�͎d�db�i��~B��N�>P%��N�r�ē�l(7^9������Ϛc��i�(G��H��j[�`�:�Ǭ8��G����1�@�l���?KsX !V��4¼q�5�)���g������H�5�?Qza"���nA6�'��G�<�������pI<P�����4l> 2�]0'C�s�h&F��?�R;D$Z�?�+��^C��;��,�5_�i4.9C��Hmr;�zA�d���Y�G�}�;��y�)�!��۟���[��F�.��xȈQ��n��w�,$K���Đ_�aIUp\>C |l�>Z�@]�� ;��M�]@/��ϱp�]J��l|�:P.<���NV5��M���.
� �Xۣ� �(6a��Ԣ�'�Q9��ěr�|�)�$i��d [D��C���D��e/i ]ZlC�hү ��I�6Bmd��7��T)��I��i��ڼ�Y��./��:��W����%�V� L��Fn0�,��ӵz~j(�����!'���i��e%$�Z�I��,ai�Nh�Ud���[/��g��Ր6�Zs���k*�0�^�`��3f���$ ��&Y���r3�o���8��n�٫���T=�~ҬSBA���"y��S�zyK\R=���a'K+%�������7�ͩ��TTa�;���z�]��~������G�~�<W5�ĸ�����i�ú����{!���r���������79�?lp�����O���#vg{�>��w��3�4�>� f>p'�U�MaPcB�������&�/p��!�r���i��!)��/��:� ,���D*q���'D5���w�lJ�O���������Yd5��K��-vm�)�k�A����4����|S1 �ɜ$�hN�M� �C���K&o"����:�.�i坣�N0�zV���]����aI�jɱC�)=-������3���8HWF�vhn�̜D0%��ka��ܕgc���������k#���ߜ�@yXPG��+�=��nE" ����D��&�.�J��Ԏ�0ؗ�2��?9���QN&%Rv����)EތA�s��$s��2O�.q��$��H�I�ۮҩm4�hb��(�Or6��4��}�O<��U�&���e$���w0D� ���%]{/"�@����c�p~���\�Z�0�La�%���N��.����/NQ9�p3HdAF��аv�У���N�Xnk�F�o�/��FWn7/Z]d�<�zo`�"��ߏ "cZ�B�>��R�s�m,����(0"������<��HY%���J�<��^S�a����(ל Cut off search results after 60. Please refine your search. |