Home Anonymous
login
|
DBHOOKVEC | |
#include <nsfdb.h> Hook Driver Vector C definition
typedef struct dbhookvec {
HMODULE hModule; /* Module handle of the hook library */
/* Initialization function. Called for each process that does a NotesInit. Must be ordinal #1 in hook driver DLL. */
STATUS (LNCALLBACKPTR Init)( struct dbhookvec far *vec);
/* Termination function. Called once for each process that did an Init call, just prior to the process's exiting. */
STATUS (LNCALLBACKPTR Term)( struct dbhookvec far *vec);
/* Note open hook. This routine is called just AFTER a note is opened by the NSF subsystem. */
STATUS (LNCALLBACKPTR NoteOpen)( struct dbhookvec far *vec, char far *UserName, LIST far *GroupList, DBHANDLE hDB, NOTEID NoteID, NOTEHANDLE hNote, WORD OpenFlags);
/* Note add/update hook, also handles deletion. Called before a note is updated. */
STATUS (LNCALLBACKPTR NoteUpdate)( struct dbhookvec far *vec, char far *UserName, LIST far *GroupList, DBHANDLE hDB, NOTEID NoteID, NOTEHANDLE hNote, WORD far *UpdateFlags);
/* Note stamp (Categorization) hook. Called just BEFORE a set of notes is Categorized by the NSF subsystem. */
STATUS (LNCALLBACKPTR DbStampNotes)( struct dbhookvec far *vec, char far *UserName, LIST far *GroupList, DBHANDLE hDB, HANDLE hIDTable, char far *ItemName, WORD ItemNameLength, void far *Data, WORD Length);
/* Flags used by Domino or Notes to describe the hook driver -- RESERVED */
DWORD Flags;
} DBHOOKVEC;
LotusScript Definition(s) Item is used by Addin functionality and cannot be used from LotusScript.
|