LPVOID lpPackedStruct;
/* Check that offsets and data are contained within the record
- * (including checking for wrap arounds).
+ * (including checking for wrap-arounds).
*/
if ( lpCreate->offBmi + lpCreate->cbBmi > mr->nSize
|| lpCreate->offBits + lpCreate->cbBits > mr->nSize
debugstr_w(lpszCurrentPath) );
/* fHidden=1 - only visible for the calling app, read-only, not
- * enumbered with EnumFonts/EnumFontFamilies
+ * enumerated with EnumFonts/EnumFontFamilies
* lpszCurrentPath can be NULL
*/
* http://www.lesher.ws/highcolor.html
* http://www.lesher.ws/vidfmt.c
* It hinges on being able to retrieve the bitmaps
- * for the three primary colors in nonpaletted 16 bit mode.
+ * for the three primary colors in non-paletted 16 bit mode.
*/
char dibinfo_buf[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];
LPBITMAPINFO dibinfo = (LPBITMAPINFO) dibinfo_buf;
memset(&path->pathdata.Types[old_count + 1], PathPointTypeBezier,
MAX_ARC_PTS - 1);
- /* An ellipse is an instrinsic figure (always its own subpath). */
+ /* An ellipse is an intrinsic figure (always is its own subpath). */
path->pathdata.Types[old_count] = PathPointTypeStart;
path->pathdata.Types[old_count + MAX_ARC_PTS - 1] |= PathPointTypeCloseSubpath;
path->newfigure = TRUE;
GPContext *context;
#endif
- /* Capabiblities */
+ /* Capabilities */
TW_UINT32 capXferMech; /* ICAP_XFERMECH */
TW_UINT16 pixeltype; /* ICAP_PIXELTYPE */
TW_UINT16 pixelflavor; /* ICAP_PIXELFLAVOR */
#include "icmpapi.h"
#include "wine/debug.h"
-/* Set up endiannes macros for the ip and ip_icmp BSD headers */
+/* Set up endianness macros for the ip and ip_icmp BSD headers */
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
#endif
/* we check that in a block, after the header, samples are present on
* 4-sample packet pattern
- * we also check that the block alignement is bigger than the expected size
+ * we also check that the block alignment is bigger than the expected size
*/
if (((nspb - 1) & 3) != 0) goto theEnd;
if ((((nspb - 1) / 2) + 4) * adsi->pwfxSrc->nChannels < adsi->pwfxSrc->nBlockAlign)
/* we check that in a block, after the header, samples are present on
* 4-sample packet pattern
- * we also check that the block alignement is bigger than the expected size
+ * we also check that the block alignment is bigger than the expected size
*/
if (((nspb - 1) & 3) != 0) goto theEnd;
if ((((nspb - 1) / 2) + 4) * adsi->pwfxDst->nChannels < adsi->pwfxDst->nBlockAlign)
*/
DWORD getInterfaceIndexByName(const char *name, PDWORD index);
-/* Gets a few physical charactersistics of a device: MAC addr len, MAC addr,
+/* Gets a few physical characteristics of a device: MAC addr len, MAC addr,
* and type as one of the MIB_IF_TYPEs.
* len's in-out: on in, needs to say how many bytes are available in addr,
* which to be safe should be MAX_INTERFACE_PHYSADDR. On out, it's how many
/******************************************************************
* IpReleaseAddress (IPHLPAPI.@)
*
- * Release an IP optained through DHCP,
+ * Release an IP obtained through DHCP,
*
* PARAMS
* AdapterInfo [In] adapter to release IP address
* Notify caller whenever the ip-interface map is changed.
*
* PARAMS
- * Handle [Out] handle useable in asynchronus notification
+ * Handle [Out] handle usable in asynchronous notification
* overlapped [In] overlapped structure that notifies the caller
*
* RETURNS
Int64 cmpLen; /* compressed len */
int indexSlot; /* cache index slot */
UChar *lbuffer; /* local buffer ptr */
- UInt32 blockAlign = (UInt32)(block % h->reset_blkcount); /* reset intvl. aln. */
+ UInt32 blockAlign = (UInt32)(block % h->reset_blkcount); /* reset interval align */
UInt32 i; /* local loop index */
/* let the caching system pull its weight! */
if (!TRACE_ON(snoop) || !pModule || !HIWORD(origfun))
return origfun;
- if (!*(LPBYTE)MapSL((SEGPTR)origfun)) /* 0x00 is an imposs. opcode, poss. dataref. */
+ if (!*(LPBYTE)MapSL((SEGPTR)origfun)) /* 0x00 is an impossible opcode, possible dataref. */
return origfun;
while (dll) {
if (hmod == dll->hmod)
/* This one is different from ANSI version: ANSI version doesn't
* touch the buffer, unicode version usually truncates the buffer
- * to zero size. NT still exagerates the required buffer size
+ * to zero size. NT still exaggerates the required buffer size
* sometimes so we cannot test for an exact match. Finally, the
* 'len_with_null - 1' case is so buggy on Windows it's not testable.
* For instance on NT4 it will sometimes return a path without the
* TIME_ZONE_ID_INVALID An error occurred
* TIME_ZONE_ID_UNKNOWN There are no transition time known
* TIME_ZONE_ID_STANDARD Current time is standard time
- * TIME_ZONE_ID_DAYLIGHT Current time is dayligh savings time
+ * TIME_ZONE_ID_DAYLIGHT Current time is daylight savings time
*/
DWORD WINAPI GetTimeZoneInformation( LPTIME_ZONE_INFORMATION tzinfo )
{
* myAddPrinterDriverEx [internal]
*
* Install a Printer Driver with the Option to upgrade / downgrade the Files
- * and a special mode with lazy error ckecking
+ * and a special mode with lazy error checking.
*
*/
static BOOL WINAPI myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCopyFlags, BOOL lazy)