Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2004-09-14 19:31:22 +00:00 committed by Alexandre Julliard
parent f7fb4d2b50
commit c27db9b07c
11 changed files with 17 additions and 17 deletions

View File

@ -84,7 +84,7 @@ mode_t FILE_umask = 0;
* PARAMS * PARAMS
* handle [O] Variable that receives the file handle on return * handle [O] Variable that receives the file handle on return
* access [I] Access desired by the caller to the file * access [I] Access desired by the caller to the file
* attr [I] Structue describing the file to be opened * attr [I] Structure describing the file to be opened
* io [O] Receives details about the result of the operation * io [O] Receives details about the result of the operation
* sharing [I] Type of shared access the caller requires * sharing [I] Type of shared access the caller requires
* options [I] Options for the file open * options [I] Options for the file open

View File

@ -1835,16 +1835,16 @@ BOOL WINAPI GetMIMETypeSubKeyW(LPCWSTR lpszType, LPWSTR lpszBuffer, DWORD dwLen)
/************************************************************************* /*************************************************************************
* @ [SHLWAPI.330] * @ [SHLWAPI.330]
* *
* Get the files extension for a given Mime type. * Get the file extension for a given Mime type.
* *
* PARAMS * PARAMS
* lpszType [I] Mime type to get the file extension for * lpszType [I] Mime type to get the file extension for
* lpExt [O] Destingtion for the resulting extension * lpExt [O] Destination for the resulting extension
* iLen [I] Length og lpExt in characters * iLen [I] Length of lpExt in characters
* *
* RETURNS * RETURNS
* Success: TRUE. lpExt contains the file extension. * Success: TRUE. lpExt contains the file extension.
* Failure: FALSE, if any paramater is invalid or the extension cannot be * Failure: FALSE, if any parameter is invalid or the extension cannot be
* retrieved. If iLen > 0, lpExt is set to an empty string. * retrieved. If iLen > 0, lpExt is set to an empty string.
* *
* NOTES * NOTES

View File

@ -1,7 +1,7 @@
----- Old Corel README, probably outdated ---------------------------------- ----- Old Corel README, probably outdated ----------------------------------
1. INTRODUCTION 1. INTRODUCTION
This library (twain32.dll) is an implementation of TWAIN API for providing image acquisition devices (scanner or digital camera) support. It uses SANE drivers as the backend and translates TWAIN API calls into SANE API calls. Unlike the twain32 library on Windows platform, it combines the Data Source Manager and Data Sources into a single library. Thus it is our responsiblity to provide a graphical user interface and capability negotiation, which usually are performed by data sources. This library (twain_32.dll) is an implementation of TWAIN API for providing image acquisition devices (scanner or digital camera) support. It uses SANE drivers as the backend and translates TWAIN API calls into SANE API calls. Unlike the twain32 library on Windows platform, it combines the Data Source Manager and Data Sources into a single library. Thus it is our responsiblity to provide a graphical user interface and capability negotiation, which usually are performed by data sources.
2. WHAT'S IMPLEMENTED 2. WHAT'S IMPLEMENTED
@ -12,7 +12,7 @@ This library (twain32.dll) is an implementation of TWAIN API for providing image
- The operation triplets that deal with the UI (such as DG_CONTROL/DAT_USERINTERFACE/MSG_ENABLEDS, MSG_DISABLEDS and MSG_ENABLEDSUIONLY) are partially implemented although it does not really do much. - The operation triplets that deal with the UI (such as DG_CONTROL/DAT_USERINTERFACE/MSG_ENABLEDS, MSG_DISABLEDS and MSG_ENABLEDSUIONLY) are partially implemented although it does not really do much.
- The operation triplets that deal with native image transfering (DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET) are also partially implemented. Still need to figure out how to convert the image data obtained from sane to the Windows DIB format. - The operation triplets that deal with native image transfers (DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET) are also partially implemented. Still need to figure out how to convert the image data obtained from sane to the Windows DIB format.
- Only the CAP_ICAPXFERMECH capability is implemented. - Only the CAP_ICAPXFERMECH capability is implemented.

View File

@ -103,7 +103,7 @@ TW_UINT16 TWAIN_ImageInfoGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
{ {
if (pSource->currentState == 6) if (pSource->currentState == 6)
{ {
/* return general image description information about the image about to be transfer */ /* return general image description information about the image about to be transferred */
status = sane_get_parameters (pSource->deviceHandle, &pSource->sane_param); status = sane_get_parameters (pSource->deviceHandle, &pSource->sane_param);
} }
@ -265,7 +265,7 @@ TW_UINT16 TWAIN_ImageNativeXferGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
sizeof (buffer), &buff_len); sizeof (buffer), &buff_len);
if (status == SANE_STATUS_GOOD) if (status == SANE_STATUS_GOOD)
{ {
/* FIXME: put code for coverting the image data into DIB here */ /* FIXME: put code for converting the image data into DIB here */
} }
else if (status != SANE_STATUS_EOF) else if (status != SANE_STATUS_EOF)

View File

@ -237,7 +237,7 @@ TW_UINT16 TWAIN_OpenDS (pTW_IDENTITY pOrigin, TW_MEMREF pData)
if (pIdentity->ProductName[0] != '\0') if (pIdentity->ProductName[0] != '\0')
{ {
/* Make sure the source to be open exists in the device list */ /* Make sure the source to be opened exists in the device list */
for (i = 0; device_list[i]; i ++) for (i = 0; device_list[i]; i ++)
{ {
if (strcmp (device_list[i]->name, pIdentity->ProductName) == 0) if (strcmp (device_list[i]->name, pIdentity->ProductName) == 0)

View File

@ -32,7 +32,7 @@
#include "winbase.h" #include "winbase.h"
#include "twain.h" #include "twain.h"
/* internel information about an active data source */ /* internal information about an active data source */
typedef struct tagActiveDS typedef struct tagActiveDS
{ {
struct tagActiveDS *next; /* next active DS */ struct tagActiveDS *next; /* next active DS */
@ -45,7 +45,7 @@ typedef struct tagActiveDS
#ifdef HAVE_SANE #ifdef HAVE_SANE
SANE_Handle deviceHandle; /* device handle */ SANE_Handle deviceHandle; /* device handle */
SANE_Parameters sane_param; /* parameters about the image SANE_Parameters sane_param; /* parameters about the image
transfered */ transferred */
#endif #endif
/* Capabiblities */ /* Capabiblities */
TW_UINT16 capXferMech; /* ICAP_XFERMECH */ TW_UINT16 capXferMech; /* ICAP_XFERMECH */

View File

@ -43,7 +43,7 @@ extern "C" {
/* WNASPI32/WINASPI defs */ /* WNASPI32/WINASPI defs */
#define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2) #define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2)
#define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1) #define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1)
#define NO_DATA_TRANSFERED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3) #define NO_DATA_TRANSFERRED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
#define INQUIRY_VENDOR 8 #define INQUIRY_VENDOR 8

View File

@ -154,7 +154,7 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode)
else if (HOST_TO_TARGET(prb)) { else if (HOST_TO_TARGET(prb)) {
TRACE("\tData transfer: Host to target. Length checked.\n"); TRACE("\tData transfer: Host to target. Length checked.\n");
} }
else if (NO_DATA_TRANSFERED(prb)) { else if (NO_DATA_TRANSFERRED(prb)) {
TRACE("\tData transfer: none\n"); TRACE("\tData transfer: none\n");
} }
else { else {

View File

@ -167,7 +167,7 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb)
else if (HOST_TO_TARGET(prb)) { else if (HOST_TO_TARGET(prb)) {
TRACE("\tData transfer: Host to target. Length checked.\n"); TRACE("\tData transfer: Host to target. Length checked.\n");
} }
else if (NO_DATA_TRANSFERED(prb)) { else if (NO_DATA_TRANSFERRED(prb)) {
TRACE("\tData transfer: none\n"); TRACE("\tData transfer: none\n");
} }
else { else {

View File

@ -93,7 +93,7 @@ ASPI_GetHCforController( int controller );
/* WNASPI32/WINASPI defs */ /* WNASPI32/WINASPI defs */
#define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2) #define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2)
#define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1) #define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1)
#define NO_DATA_TRANSFERED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3) #define NO_DATA_TRANSFERRED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
#define INQUIRY_VENDOR 8 #define INQUIRY_VENDOR 8

View File

@ -492,7 +492,7 @@ typedef struct _OVERLAPPED {
HANDLE hEvent; HANDLE hEvent;
} OVERLAPPED, *LPOVERLAPPED; } OVERLAPPED, *LPOVERLAPPED;
typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped); typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
/* Process startup information. /* Process startup information.
*/ */