Table of Contents NMS Glossary Previous Page Next Page (Page 36 of 36 in this chapter) Version


xxxSetTraceLevel

Description

Called to set the trace mask for a specific client (i.e., context).

Prototype

DWORD xxxSetTraceLevel ( CTAHD ctahd,
void *mgrcontext,
unsigned svcid,
unsigned tracemask)

ctahd Context handle.

mgrcontext Pointer to data structure returned by xxxOpenServiceManager.

svcid ID of the service.

tracemask Trace mask to be used by the service.

Return Values

Events

Details

This binding function is invoked by the dispatcher when the application calls ctaSetTraceLevel on a given context. The service should respond to this call by storing the tracemask in its internal context structure (mgrcontext). When deciding whether to log trace messages to the Natural Access trace log, the service should look at both the global trace pointer and this context-specific trace mask. The trace mask contains bits for use by the dispatcher as well as service specific bits for exclusive use of services.

See Also

xxxFormatMessage, xxxFormatTraceBuffer, xxxGetText



Table of Contents NMS Glossary Previous Page Next Page (Page 36 of 36 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, Natural MicroSystems, Inc. All rights reserved.