Register/unregister a DLL server. Input: flag !=0: register ==0: unregister
0 success !=0 failure
See Implementation
Register/unregister a DLL server. Input: flag !=0: register ==0: unregister