#include "generic.h"
Go to the source code of this file.
Defines | |
#define | ICMSEG |
#define | TempBfSize 128 |
#define | LINELENG 128 |
Functions | |
BOOL EXTERN | SetCPLastError (SINT LastError) |
SINT EXTERN | GetCPLastError () |
BOOL EXTERN | MemAlloc (SINT Size, HGLOBAL FAR *hMemory, LPMEMPTR lpMH) |
BOOL EXTERN | MemFree (HGLOBAL hMem) |
BOOL EXTERN | LoadCP (LPCSTR filename, HGLOBAL FAR *phMem, LPCHANDLE lpCP) |
BOOL EXTERN | FreeCP (HGLOBAL hMem) |
BOOL EXTERN | GetCPElementCount (CHANDLE CP, LPSINT lpCount) |
BOOL EXTERN | GetCPElementInfo (CHANDLE CP, SINT Index, LPMEMPTR lpTagData, LPMEMPTR lpElemData) |
BOOL EXTERN | ValidateCP (CHANDLE CP) |
BOOL EXTERN | DoesCPTagExist (CHANDLE CP, CSIG CPTag) |
BOOL EXTERN | GetCPTagIndex (CHANDLE CP, CSIG CPTag, LPSINT lpIndex) |
BOOL EXTERN | GetCPTagSig (CHANDLE CP, SINT Index, LPCSIG lpCPTag) |
BOOL EXTERN | GetCPElementType (CHANDLE CP, SINT Index, LPCSIG lpCSig) |
BOOL EXTERN | GetCPElementSize (CHANDLE CP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElementDataSize (CHANDLE CP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElement (CHANDLE CP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementData (CHANDLE CP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementDataType (CHANDLE CP, SINT Index, long far *lpDataType) |
BOOL EXTERN | ValidateCPElement (CHANDLE CP, SINT Index) |
BOOL EXTERN | GetCPSize (CHANDLE CP, LPSINT lpSize) |
BOOL EXTERN | GetCPCMMType (CHANDLE CP, LPCSIG lpType) |
BOOL EXTERN | GetCPVersion (CHANDLE CP, LPSINT lpVers) |
BOOL EXTERN | GetCPClass (CHANDLE CP, LPCSIG lpClass) |
BOOL EXTERN | GetCPDevSpace (CHANDLE CP, LPCSIG lpInSpace) |
BOOL EXTERN | GetCPConnSpace (CHANDLE CP, LPCSIG lpOutSpace) |
BOOL EXTERN | GetCPTarget (CHANDLE CP, LPCSIG lpTarget) |
BOOL EXTERN | GetCPManufacturer (CHANDLE CP, LPCSIG lpManuf) |
BOOL EXTERN | GetCPModel (CHANDLE CP, LPCSIG lpModel) |
BOOL EXTERN | GetCPFlags (CHANDLE CP, LPSINT lpFlags) |
BOOL EXTERN | GetCPRenderIntent (CHANDLE CP, LPSINT lpIntent) |
BOOL EXTERN | GetCPWhitePoint (CHANDLE CP, LPSFLOAT lpWP) |
BOOL EXTERN | GetCPAttributes (CHANDLE CP, LPATTRIB lpAttributes) |
BOOL EXTERN | GetCPMediaWhitePoint (CHANDLE cp, LPSFLOAT lpMediaWP) |
BOOL EXTERN | GetPS2ColorRenderingIntent (CHANDLE cp, DWORD Intent, MEMPTR lpMem, LPDWORD lpcbSize) |
BOOL EXTERN | ValidColorSpace (LPPDEVICE lppd, LPICMINFO lpICMI) |
SINT | WriteHexBuffer (MEMPTR lpMem, MEMPTR lpBuff, MEMPTR lpLineStart, DWORD dwBytes) |
SINT | WriteObject (MEMPTR lpMem, MEMPTR Obj) |
SINT | WriteObjectN (MEMPTR lpMem, MEMPTR Obj, SINT n) |
SINT | WriteInt (MEMPTR lpMem, SINT Number) |
SINT | WriteHex (MEMPTR lpMem, SINT Number) |
SINT | WriteFloat (MEMPTR lpMem, double dFloat) |
SINT | WriteStringToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteHNAToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteIntStringU2S (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteIntStringU2S_L (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteInt2ByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteASCII85Cont (MEMPTR lpDest, SINT BufSize, MEMPTR lpSource, SINT DataSize) |
SINT | WriteAscii85 (MEMPTR lpDest, unsigned long inWord, SINT nBytes) |
SINT | ConvertBinaryData2Ascii (MEMPTR lpMem, SINT DataSize, SINT BufSize) |
SINT | Convert2Ascii (CHANDLE CP, SINT Index, MEMPTR lpData, SINT BufSize, SINT DataSize, BOOL AllowBinary) |
Variables | |
char | NewLine [] = "\n" |
char | ASCII85DecodeBegine [] = "<~" |
char | ASCII85DecodeEnd [] = "~> cvx exec " |
SINT | CPLastError |
|
|
|
Definition at line 7 of file dec97/dll32/csprof.c. |
|
Definition at line 6 of file dec97/dll32/csprof.c. |
|
Definition at line 1468 of file dec97/dll32/csprof.c. References AllowBinary, ASCII85DecodeBegine, ASCII85DecodeEnd, ConvertBinaryData2Ascii(), GetCPElementDataType(), Index, and SINT.
|
|
Definition at line 1423 of file dec97/dll32/csprof.c. References ASCII85DecodeBegine, ASCII85DecodeEnd, MEMPTR, NewLine, NULL, SINT, WriteASCII85Cont(), and WriteObject.
|
|
Definition at line 401 of file dec97/dll32/csprof.c. References BOOL, Count, EXTERN, FALSE, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Definition at line 210 of file dec97/dll32/csprof.c. References BOOL, EXTERN, and MemFree().
|
|
Definition at line 883 of file dec97/dll32/csprof.c. References BOOL, EXTERN, and TRUE.
|
|
Definition at line 782 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 760 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 804 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, pcs, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 793 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 555 of file dec97/dll32/csprof.c. References BOOL, CP_NO_MEMORY_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SINT, Size, TRUE, and ui32toSINT.
|
|
Definition at line 216 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpProfile, lpcpTagList, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 583 of file dec97/dll32/csprof.c. References BOOL, CP_NO_MEMORY_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), icUInt32Number, Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SINT, Size, TRUE, and ui32toSINT.
|
|
Definition at line 520 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), icUInt32Number, Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 619 of file dec97/dll32/csprof.c. References __huge, BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 230 of file dec97/dll32/csprof.c. References BOOL, Count, CP_NULL_POINTER_ERR, CP_OUT_OF_RANGE_ERR, EXTERN, FALSE, Index, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, NULL, SetCPLastError(), SINT, TRUE, and ui32toSINT.
|
|
Definition at line 499 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 483 of file dec97/dll32/csprof.c. References BOOL, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTagBase, LPMEMPTR, MEMPTR, SigtoCSIG, and TRUE.
|
|
Definition at line 848 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 24 of file dec97/dll32/csprof.c. References CPLastError, EXTERN, and SINT.
|
|
Definition at line 826 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 888 of file dec97/dll32/csprof.c. References BOOL, DoesCPTagExist(), EXTERN, FALSE, GetCPElement(), GetCPElementSize(), GetCPTagIndex(), icS15Fixed16Number, icSigMediaWhitePointTag, Index, lpcpXYZType, LPMEMPTR, LPSINT, MemAlloc(), MemFree(), MEMPTR, SFLOAT, si16f16toSFLOAT, SINT, and TRUE.
|
|
Definition at line 837 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 859 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 749 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 424 of file dec97/dll32/csprof.c. References BOOL, Count, CP_NOT_FOUND_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, NULL, SetCPLastError(), SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Definition at line 459 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 815 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 771 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 870 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SFLOAT, si16f16toSFLOAT, and TRUE.
|
|
Definition at line 936 of file dec97/dll32/csprof.c. References BOOL, DoesCPTagExist(), DWORD, EXTERN, FALSE, GetCPElementData(), GetCPElementDataSize(), GetCPTagIndex(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigPs2Intent0Tag, icSigPs2Intent1Tag, icSigPs2Intent2Tag, icSigPs2Intent3Tag, Index, Intent, LPSINT, NULL, SINT, Size, and TRUE.
|
|
Definition at line 77 of file dec97/dll32/csprof.c. References BOOL, CHANDLE, CP_FILE_OPEN_ERR, CP_FILE_READ_ERR, CP_FORMAT_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, icMagicNumber, L, LPMEMPTR, LPVOID, MemAlloc(), MEMPTR, NULL, SetCPLastError(), SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Definition at line 29 of file dec97/dll32/csprof.c. References BOOL, CP_MEMORY_ALLOC_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, LPVOID, MEMPTR, NULL, SetCPLastError(), Size, and TRUE.
|
|
Definition at line 60 of file dec97/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, NULL, SetCPLastError(), and TRUE.
|
|
Definition at line 18 of file dec97/dll32/csprof.c. References BOOL, CPLastError, EXTERN, and TRUE.
|
|
Definition at line 258 of file dec97/dll32/csprof.c. References BOOL, CP_NOT_FOUND_ERR, CSIG, DoesCPTagExist(), EXTERN, FALSE, GetCPClass(), icSigAbstractClass, icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigBlueColorantTag, icSigBlueTRCTag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigColorSpaceClass, icSigCopyrightTag, icSigDisplayClass, icSigGamutTag, icSigGrayTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigInputClass, icSigLinkClass, icSigMediaWhitePointTag, icSigOutputClass, icSigProfileDescriptionTag, icSigProfileSequenceDescTag, icSigRedColorantTag, icSigRedTRCTag, LPCSIG, SetCPLastError(), and TRUE.
|
|
|
Definition at line 1027 of file dec97/dll32/csprof.c.
|
|
Definition at line 1383 of file dec97/dll32/csprof.c. References BYTE, lpDest, MEMPTR, and SINT.
|
|
Definition at line 1322 of file dec97/dll32/csprof.c. References BYTE, LINELENG, lpDest, lpSource, MEMPTR, NewLine, SINT, WriteAscii85(), and WriteObject.
|
|
Definition at line 1282 of file dec97/dll32/csprof.c. References SINT.
|
|
Definition at line 1176 of file dec97/dll32/csprof.c. References DWORD, SINT, and TempBfSize.
|
|
Definition at line 1160 of file dec97/dll32/csprof.c. References SINT, and TempBfSize.
|
|
Definition at line 1100 of file dec97/dll32/csprof.c. References MAX_LINELENG, MEMPTR, NewLine, SINT, TempBfSize, and WriteObject.
|
|
Definition at line 1224 of file dec97/dll32/csprof.c. References BYTE, SINT, and Token.
|
|
Definition at line 1145 of file dec97/dll32/csprof.c. References MEMPTR, SINT, and TempBfSize.
|
|
Definition at line 1297 of file dec97/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1240 of file dec97/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1262 of file dec97/dll32/csprof.c. References BYTE, icUInt16Number, PUSHORT, and SINT.
|
|
Definition at line 1126 of file dec97/dll32/csprof.c. References SINT.
|
|
Definition at line 1135 of file dec97/dll32/csprof.c.
|
|
Definition at line 1210 of file dec97/dll32/csprof.c. References BYTE, SINT, and Token.
|
|
Definition at line 10 of file dec97/dll32/csprof.c. Referenced by Convert2Ascii(), and ConvertBinaryData2Ascii(). |
|
Definition at line 11 of file dec97/dll32/csprof.c. Referenced by Convert2Ascii(), and ConvertBinaryData2Ascii(). |
|
Definition at line 16 of file dec97/dll32/csprof.c. Referenced by GetCPLastError(), and SetCPLastError(). |
|
Definition at line 9 of file dec97/dll32/csprof.c. |