The Dynamic Link Library (DLL) Interface
If you create your own Windows DLL with the name ADSOptsExits.dll (case-insensitive) and replace this DLL in the %PSHOME%\Bin directory, the ADS connector will call entry points into the DLL to execute your custom code each time an ADS object is created.
The following two optional entry points (exits) into ADSOptsExits.dll are called from the ADS connector:
The PreAdd entry point is called immediately before an ADS object is created and the PostAdd entry point is called immediately after an ADS object is created. By implementing these entry points in your version of ADSOptsExits.dll, your custom code is executed each time an ADS object is created by the ADS Connector. From the custom code it is possible to read the attribute values of the new ADS object.
Note: The ADS connector is a Windows DLL that is called from the C++ Connector Server process. After ADSOptsExits.dll is added to %PSHOME%\Bin, the C++ Connector Server process must be restarted.
Copyright © 2013 CA.
All rights reserved.
|
|