[AMSTREAM] Sync with Wine Staging 3.9. CORE-14656
[reactos.git] / dll / directx / ddraw / startup.c
index e838959..6383e74 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:            See COPYING in the top level directory
  * PROJECT:              ReactOS kernel
- * FILE:                 lib/ddraw/ddraw.c
+ * FILE:                 dll/directx/ddraw/startup.c
  * PURPOSE:              DirectDraw Library
  * PROGRAMMER:           Magnus Olsen (greatlrd)
  *
@@ -75,7 +75,7 @@ Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface,
 
         DX_STUB_str("2.linking\n");
 
-        /* step 1.Alloc the new  DDRAWI_DIRECTDRAW_INT for the lnking */
+        /* step 1.Alloc the new  DDRAWI_DIRECTDRAW_INT for the link */
         DxHeapMemAlloc(newThis, sizeof(DDRAWI_DIRECTDRAW_INT));
         if (newThis == NULL)
         {
@@ -213,7 +213,7 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
                 DxHeapMemAlloc( ddgbl.lpDDCBtmp , sizeof(DDHAL_CALLBACKS));
                 if (ddgbl.lpDDCBtmp == NULL)
                 {
-                    DX_STUB_str("Out of memmory\n");
+                    DX_STUB_str("Out of memory\n");
                     return DD_FALSE;
                 }
             }
@@ -500,7 +500,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
     }
 
     /* Some card disable the dx after it have been created so
-     * we are force reanble it
+     * we are force reenabling it
      */
     if (!DdReenableDirectDrawObject(This->lpLcl->lpGbl, &newmode))
     {
@@ -650,7 +650,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
         {
             DWORD                dwSize;
             DWORD                dwFlags;
-            PDD_ALPHABLT         AlphaBlt;  // unsuse acoding msdn and always set to NULL
+            PDD_ALPHABLT         AlphaBlt;  // unsuse according to msdn and always set to NULL
             PDD_CREATESURFACEEX  CreateSurfaceEx;
             PDD_GETDRIVERSTATE   GetDriverState;
             PDD_DESTROYDDLOCAL   DestroyDDLocal;