Typo fix in type names

Francois Gouget fgouget at free.fr
Mon Jan 19 06:39:44 CST 2004


In dlls/dplayx/lobbysp.h I found types and a field with a typo:
   SPDATA_BUILDPARENTALHEIRARCHY
   LPSPDATA_BUILDPARENTALHEIRARCHY
   LPSP_BUILDPARENTALHEIRARCHY
   BuildParentalHeirarchy

I checked in the latest Microsoft SDK and in the DirectX 9.0a SDK and
couldn't find any type with a spelling of 'HEIRARCHY'. I also searched
on Google and could not find them here either. However I did not find
these types with the correct spelling either.

That may be because these are internal types (they are defined in an
internal header after all), or because they are badly documented.

In any case I doubt they would be badly spelled in Microsoft's headers.
But if there is evidence to the contrary, let me know.  So here is a
patch fixing their spelling. As you will notice, these types are not
used either (things keep getting stranger).
(btw, shouldn't it be ParentHierarchy rather than ParentalHierarchy?)


Changelog:

 * dlls/dplayx/lobbysp.h

   Fix spelling of the BuildParentalHierarchy types and fields.


Index: dlls/dplayx/lobbysp.h
===================================================================
RCS file: /home/cvs/wine/dlls/dplayx/lobbysp.h,v
retrieving revision 1.8
diff -u -r1.8 lobbysp.h
--- dlls/dplayx/lobbysp.h	9 Sep 2003 19:39:32 -0000	1.8
+++ dlls/dplayx/lobbysp.h	19 Jan 2004 11:30:18 -0000
@@ -70,14 +70,14 @@
   LPDPNAME    lpName;
 } SPDATA_ADDREMOTEPLAYERTOGROUP, *LPSPDATA_ADDREMOTEPLAYERTOGROUP;

-typedef struct SPDATA_BUILDPARENTALHEIRARCHY
+typedef struct SPDATA_BUILDPARENTALHIERARCHY
 {
   DWORD       dwSize;
   LPDPLOBBYSP lpISP;
   DWORD       dwGroupID;
   DWORD       dwMessage;
   DWORD       dwParentID;
-} SPDATA_BUILDPARENTALHEIRARCHY, *LPSPDATA_BUILDPARENTALHEIRARCHY;
+} SPDATA_BUILDPARENTALHIERARCHY, *LPSPDATA_BUILDPARENTALHIERARCHY;

 typedef struct SPDATA_CLOSE
 {
@@ -388,7 +388,7 @@
 /* Prototypes for callbacks returned by DPLSPInit */
 typedef HRESULT (WINAPI *LPSP_ADDGROUPTOGROUP)(LPSPDATA_ADDGROUPTOGROUP);
 typedef HRESULT	(WINAPI *LPSP_ADDPLAYERTOGROUP)(LPSPDATA_ADDPLAYERTOGROUP);
-typedef HRESULT	(WINAPI *LPSP_BUILDPARENTALHEIRARCHY)(LPSPDATA_BUILDPARENTALHEIRARCHY);
+typedef HRESULT	(WINAPI *LPSP_BUILDPARENTALHIERARCHY)(LPSPDATA_BUILDPARENTALHIERARCHY);
 typedef HRESULT	(WINAPI *LPSP_CLOSE)(LPSPDATA_CLOSE);
 typedef HRESULT	(WINAPI *LPSP_CREATEGROUP)(LPSPDATA_CREATEGROUP);
 typedef HRESULT (WINAPI *LPSP_CREATEGROUPINGROUP)(LPSPDATA_CREATEGROUPINGROUP);
@@ -422,7 +422,7 @@
   DWORD                            dwFlags;
   LPSP_ADDGROUPTOGROUP             AddGroupToGroup;
   LPSP_ADDPLAYERTOGROUP            AddPlayerToGroup;
-  LPSP_BUILDPARENTALHEIRARCHY      BuildParentalHeirarchy;
+  LPSP_BUILDPARENTALHIERARCHY      BuildParentalHierarchy;
   LPSP_CLOSE                       Close;
   LPSP_CREATEGROUP                 CreateGroup;
   LPSP_CREATEGROUPINGROUP          CreateGroupInGroup;



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
     The software said it requires Win95 or better, so I installed Linux.



More information about the wine-patches mailing list