Platform SDK: SMTP Server Events

AddRefContext

[This is preliminary documentation and subject to change.]

The AddRefContext function increments the reference count to the FIO_CONTEXT structure, the address of which is passed as an argument.

void
AddRefContext( PFIO_CONTEXT pFioContext ) ;

Parameters

pFioContext
A reference to the FIO_CONTEXT structure to which to add a reference.

Remarks

Call the AddRefCount function whenever you duplicate an FIO_CONTEXT structure to increment the current reference count. Each call to AddRefContext must be matched with a call to the ReleaseContext function to decrement the reference count when the FIO_CONTEXT is no longer needed.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in filehc.h; include filehc.h.
  Library: Use fcachdll.lib.

See Also

FIO_CONTEXT, ReleaseContext