open();
}
private void open()
{
final DCAMWAIT_OPEN lDCAMWAIT_OPEN = new DCAMWAIT_OPEN();
lDCAMWAIT_OPEN.size(BridJ.sizeOf(DCAMWAIT_OPEN.class));
lDCAMWAIT_OPEN.hdcam(mDcamDevice.getHDCAMPointer());
final IntValuedEnum<DCAMERR> lError = DcamapiLibrary.dcamwaitOpen(pointerTo(lDCAMWAIT_OPEN));
final boolean lSuccess = addErrorToListAndCheckHasSucceeded(lError);
if (lSuccess)
{
mHwaitPointer = lDCAMWAIT_OPEN.hwait();
mDCAMWAIT_START = new DCAMWAIT_START();
mPointerToDCAMWAIT_START = pointerTo(mDCAMWAIT_START);
}
}