4.1.25 IDL_DRSUnbind (Opnum 1)

The IDL_DRSUnbind method destroys a context handle previously created by the IDL_DRSBind method.

 ULONG IDL_DRSUnbind(
   [in, out, ref] DRS_HANDLE* phDrs
 );

phDrs: A pointer to the RPC context handle returned by the IDL_DRSBind method. The value is set to null on return.

Return Values: 0 if successful, or a Windows error code if a failure occurs.

Exceptions Thrown: This method might throw the following exception beyond those thrown by the underlying RPC protocol (as specified in [MS-RPCE]): ERROR_INVALID_HANDLE.