void TestSetGPRM() { int hr; IDvdCmd ppCmd; GPRMArray pGRegisterArray; hr = m_idc2.SetGPRM(13, 13, DvdCmdFlags.None, out ppCmd); DsError.ThrowExceptionForHR(hr); hr = m_idi2.GetAllGPRMs(out pGRegisterArray); DsError.ThrowExceptionForHR(hr); Debug.Assert(pGRegisterArray.registers[13] == 13, "SetGPRM"); }