부모글 보이기/감추기 What is the property system?; http://blogs.msdn.com/benkaras/archive/2006/08/28/729153.aspxVista 에 소개되는 새로운 기능이군요.다음 회에서는 사용예까지 보여준다고 하니 일단 대강 읽어보기만 해도 될 것 같습니다.WinFS 의 일부 기능을 지원한 듯도 보이고. AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. Property consumerism ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/property-consumerism 약속대로 코드 예제를 공개했습니다. 별로 많은 내용이 아니니, 여기에 복사해 넣습니다. Reading properties is rather simple. First, bind to the item. SHCreateItemFromIDList and SHCreateItemFromParsingName are appropriate for this. Then read your properties. Be sure to clean up after yourself. IShellItem2 *psi;if (SUCCEEDED(SHCreateItemFromParsingName(L"c:\tortoise.doc", NULL, IID_IShellItem2, (void**)&psi))) { IPropertyStore *pps; if (SUCCEEDED(psi->GetPropertyStore(GPS_DEFAULT, IID_IPropertyStore, (void**)&pps))) { PROPVARIANT propvar = {0}; if (SUCCEEDED(pps->GetValue(PKEY_Title, &propvar))) { wprintf(L"Title: %s\n", PropVariantToStringWithDefault(propvar, L"")); PropVariantClear(&propvar); } pps->Release(); } psi->Release();} Not bad for reading the title of a document! And I even checked the return results. --- Constable Umer walked down the narrow flagstone path, then onto cobblestones and finally gravel stones. Turning a corner, Cons. Umer found a door with a small card pinned to next to it. "Great Flying Tortoise: Purveyor of fine, proper teas." [다음 글] Vista : 8. What is the property system?[이전 글] Vista : 8. The source of property types [최초 등록일: 10/20/2006] [최종 수정일: 4/26/2024] 비밀번호 댓글 작성자 2006-10-06 10시35분 Properties coding expedition #1 - Binding to an item ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-1-binding-to-an-itemProperties coding expedition #2 - printing the IPropertyStore ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-2-printing-the-ipropertystoreProperties coding expedition #3 - Printing a value ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-3-printing-a-valueProperties coding expedition #4 - The output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-4-the-outputProperties coding expedition #5 - Stripping characters; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-5-stripping-charactersProperties coding expedition #6 - Developer friendly output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-6-developer-friendly-outputProperties coding expedition #7 - The final output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-7-the-final-output kevin25 ... 31 32 33 34 35 36 [37] 38 39 40 41 42 43 44 45 ... NoWriterDateCnt.TitleFile(s) 269정성태5/4/200611978Visual Studio 2005 Team System Level 200 Course Material268정성태5/4/200612360Microsoft Component Installer Software Development Kit for Windows (x86) Version 2.0267정성태5/4/200612359101 Code Samples for Visual Basic 2005266정성태5/3/200614315Consolas Font Pack for Microsoft Visual Studio 2006 [2]264정성태5/1/200613792Team System for C++ Developers262정성태5/1/200623876Registry 등록 없이 COM 개체 사용 [1]2261정성태4/30/2006135124GB 메모리 인식 [2]259정성태4/30/200612250Building ASP.NET 2.0 Web Sites Using Web Standards260정성태4/30/200611708 XHTML Validator Modulle258정성태4/29/200612257WebServiceStudio 2.0263정성태5/1/200611765 Calling an Arbitrary Web Service257정성태4/29/200611727TypeForwardedToAttribute 256정성태4/29/200611959Windows API - Using Condition Variables252정성태4/26/200611938한글 관련 메세지 정리1251정성태4/26/200612603IIS 7.0 에서 소개되는 새로운 기능들 [1]250정성태4/25/200613212툴 소개: VisualNDepend 249정성태4/25/200619216Integrating a debugger into Reflector265정성태5/1/200613518 Deblector: First Version285정성태5/15/200611540 New Deblector version ( an Add-In to debug with reflector )248정성태4/21/200611889VS.NET 2005 Add-In : CSS Properties Window247정성태4/21/200611744VS.NET 2005 Add-In : Spell Checker for HTML and ASP.NET pages244정성태4/19/200611647SQL Server 2005 Service Pack 1241정성태4/19/200611156VSTS Annotations for C++: Beyond Just Documenting Method Behavior [1]1240정성태4/18/200611774Accessing System Power and Network Status Using SENS 253정성태4/29/200611980 [HowToUse]: Accessing System Power and Network Status Using SENS 239정성태4/18/200611607Display a Web Page in a Plain C Win32 Application ... 31 32 33 34 35 36 [37] 38 39 40 41 42 43 44 45 ...