⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ui43api.h

📁 CAM-TOOL 是高效率高质量的模具制造的最好CAM解决方案。在当今的 Windows 操作环境里
💻 H
📖 第 1 页 / 共 5 页
字号:
                           );

/* ****************************************************************** */
/*                        I43_SetMemLocationPtr                       */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  wLocation   - the memory location to set the values for.          */
/*	pbBuffer    - pointer to the buffer to set as the new memory      */
/*                location.                                           */
/*  dwSize      - the buffer size.                                    */
/* Return Value:                                                      */
/*	Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function sets the memory location to the given pointer.       */
/* The buffer size will be used for Read/Write operations.            */
/* When the user wants to use a function that involves bulk transfers */
/* to a predefined memory location, he must set the memory location   */
/* pointer by calling this function before using the API function.    */
/* Note that when the buffer is not to be used any more, the buffer   */
/* should be UnSet by calling the I43_UnSetMemLocationPtr API.        */
/* failing to do so, will cause the API to try to release this memory */
/* buffer when the application will shut down.                        */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*	None.                                                             */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetMemLocationPtr(I43_MEMORY_LOCATION wLocation,
                                     I43_UINT8*          pbBuffer,
                                     I43_UINT32          dwSize
                                    );
I43_ERROR_CODE I43_UnSetMemLocationPtr(I43_MEMORY_LOCATION wLocation
									);
/* ****************************************************************** */
/*                             I43_XMTFile                            */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  bAccessMethod - Tells the I43 whether to access the file by Index */
/*    or File Name:                                                   */
/*    I43_FALSE - Access by Index. The accessed file is the file      */
/*                corresponding to the current image.                 */
/*    I43_TURE  - Access by File Name. The accessed file is the file  */
/*                corresponding to the name that was last set using   */
/*                the I43_SetFileName API.                            */
/*  bTarget     - the target where to transfer the file to:           */
/*    I43_FALSE - Current host.                                       */
/*    I43_TRUE  - SCP, IrDA.                                          */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function tells the I43 to start transferring the requested    */
/* File from the storage media through the required channel.          */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  XMTFile                                                           */
/* ****************************************************************** */
I43_ERROR_CODE I43_XMTFile( I43_BOOL bAccessMethod,
                            I43_BOOL bTarget
                          );

/* ****************************************************************** */
/*                          I43_SetFileName                           */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  pbName     - Array containing the file name. (containing the      */
/*               name + the file extention).                          */
/*               The name should comply to the 8.3 name convention.   */
/*               The file name must be ended by a NULL (0x00) char.   */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function alllows the host to set the file_name parameter      */
/* for future file or directory operations.                           */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  SetFileName                                                       */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetFileName( I43_UINT8 pbName[]
                              );

/* ****************************************************************** */
/*                          I43_SetCurrentPath                        */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  None.                                                             */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function sets the current Path to be used for storage         */
/* media operations.                                                  */
/* The path is read from the I43_CURRENT_PATH_MEM_LOCATION memory     */
/* location.                                                          */
/* The operation result is given in SR1 as a status code.             */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  SetCurrentPath                                                    */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetCurrentPath();

/* ****************************************************************** */
/*                        I43_GetWeightedLuma                         */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  pbLuma - pointer where to write the returned weighted lume value. */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function is useful for systems where the auto exposure        */
/* algorithm is not done by the I43, but the I43 is employed as a     */
/* math processor for the calculation of the weighted average of the  */
/* luminance.                                                         */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  GetWeightedLuma                                                   */
/* ****************************************************************** */
I43_ERROR_CODE I43_GetWeightedLuma( I43_UINT8* pbLuma
                                  );

/* ****************************************************************** */
/*                      I43_SetPreviewExposure                        */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  bIndex  - The index of the entry in the EVTT to be used.          */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function allows the host to control the TG in order to change */
/* the exposure of the previewed image by only specifying an entry in */
/* the EVTT.                                                          */
/* Note: The API is not allowed if the COACH is the AE master.        */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  SetPreviewExposure                                                */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetPreviewExposure( I43_UINT8 bIndex
                                     );

/* ****************************************************************** */
/*                          I43_SetFileName                           */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  pbName     - Array containing the file name. (containing the      */
/*               name + the file extention).                          */
/*               The name should comply to the 8.3 name convention.   */
/*               The file name must be ended by a NULL (0x00) char.   */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function alllows the host to set the file_name parameter      */
/* for future file or directory operations.                           */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  SetFileName                                                       */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetFileName( I43_UINT8 pbName[]
                              );

/* ****************************************************************** */
/*                          I43_SetFileType                           */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  wType - The type of files to access in future API:                */
/*          The parameter is an OR operation of the following:        */
/*          I43_JPEG, I43_TIFF, I43_WAV, I43_AVI.                     */
/* Return Value:                                                      */
/*  None.                                                             */
/* ****************************************************************** */
/* This function alllows the host to set the Type of files that he    */
/* wishes to access in future host commands.                          */
/* ****************************************************************** */
/* I43 host commands in use:                                          */
/*  SetFileType                                                       */
/* ****************************************************************** */
I43_ERROR_CODE I43_SetFileType( I43_UINT16 wType
                              );

/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/*                         General Commands                           */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */

/* ****************************************************************** */
/*                          I43_SetParamArray                         */
/* ****************************************************************** */
/* Input Parameters:                                                  */
/*  wParamID - The ID of the param array to set.                      */
/*       (See host commmand spec for details)                         */
/*  wOffset - Offset from the array base address in which data        */
/*  should be written                                                 */
/*  wSize - the size of data to write to the param array              */
/* Return Value:                                                      */
/*  Success - I43ERR_OK.                                              */
/*  Fail    - I43 error code according to the specific error.         */
/* ****************************************************************** */
/* This function sets an array of parameters in the COACH.            */
/* Each parameter array which can be set via this command has a unique*/
/* ParamID.                                                           */
/* The array data is read from the I43_SET_PARAM_ARRAY_MEM_LOCATION   */
/* ****************************************************************** */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -