/*
* 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)
*
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)
{
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;
}
}
}
/* 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))
{
{
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;