Rob Shearman : oleaut32: Dump symbolic names for VT_LPSTR and VT_LPWSTR in dump_TypeDesc.

Alexandre Julliard julliard at winehq.org
Tue Jul 1 08:27:36 CDT 2008


Module: wine
Branch: master
Commit: 501da4fa2a01b0775305ad9c3220a80745a86452
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=501da4fa2a01b0775305ad9c3220a80745a86452

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Mon Jun 30 23:05:54 2008 +0100

oleaut32: Dump symbolic names for VT_LPSTR and VT_LPWSTR in dump_TypeDesc.

---

 dlls/oleaut32/typelib.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index dae9ff1..bbdae10 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -1084,6 +1084,8 @@ static void dump_TypeDesc(const TYPEDESC *pTD,char *szVarType) {
     case VT_HRESULT: sprintf(szVarType, "VT_HRESULT"); break;
     case VT_USERDEFINED: sprintf(szVarType, "VT_USERDEFINED ref = %x",
 				 pTD->u.hreftype); break;
+    case VT_LPSTR: sprintf(szVarType, "VT_LPSTR"); break;
+    case VT_LPWSTR: sprintf(szVarType, "VT_LPWSTR"); break;
     case VT_PTR: sprintf(szVarType, "ptr to ");
       dump_TypeDesc(pTD->u.lptdesc, szVarType + 7);
       break;




More information about the wine-cvs mailing list