126.96.36.199 S_DSDeleteObjectGuid (Opnum 10)
This method deletes a directory object specified by an object identifier.
HRESULT S_DSDeleteObjectGuid( [in] handle_t hBind, [in, range(1,58)] unsigned long dwObjectType, [in] const GUID* pGuid );
dwObjectType: Specifies the type of object to delete. MUST be set to one of the object types specified in section 2.2.8.
Return Values: If the method succeeds, the return value is 0. If the method fails, the return value is an implementation-specific error code.
Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol, as specified in [MS-RPCE].
The server SHOULD enforce appropriate security measures to make sure that the caller has the required permissions to execute this routine. If the server enforces security measures, and the caller does not have the required credentials, the server MUST return an error.
When processing this call, the server MUST:
The server MAY<36> forward the delete to another server.
Generate the Remove Object from Directory (section 188.8.131.52) event with the following arguments:
iObjectType := dwObjectType
iPathName := NULL
iGuid := pGuid
If rStatus returned by the event is not 0x00000000, return rStatus and take no further action.
The server MAY<37> contact other servers to propagate the changes.