This function initializes non-zero, non-null members of pContext
.
int pascal _export xxxInitDoc( void *pCFContext, adDocDesc *pAutoInfo, long lcbFileSize, KPTPIOobj *pIO )
pCFContext
|
A pointer to the global context structure for the custom reader. |
pAutoInfo
|
A pointer to an adDocDesc structure defined in kwautdef . |
lcbFileSize
|
The length of the source file in bytes. |
pIo
|
A pointer to a KPTPIOobj structure defined in kvioobj.h . |
KVERR_Success
.pAutoInfo
variable can be ignored.lcbFileSize
parameter. If it is zero, the file size must be determined in this function.pIO
provides access to file management functions defined in kvioobj.h
.NULL
members of the global context structure should be initialized.
|