~~Title: OpusRegDeleteKeyW~~ OpusRegDeleteKeyW && LONG && Returns **ERROR_SUCCESS** if successful or an error code on failure. && phKey && OPUSREGKEY && [in] The parent key to delete. This must be a valid key returned by [[opusregcreatekeyw|OpusRegCreateKeyW]] or [[opusregopenkeyw|OpusRegOpenKeyW]]. && lpSubKey && LPCWSTR && [in] Path of sub-key to delete, or **NULL** to delete the parent key. The **OpusRegDeleteKeyW** function is used to delete a key from the registry. The specified key and all its sub-keys are recursively deleted.