Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define VM_ASSERT_STATE_RETURN ( pVM,
_enmState,
rc   ) 

Value:

AssertMsgReturn((pVM)->enmVMState == (_enmState), \
                        ("state %s, expected %s\n", VMGetStateName(pVM->enmVMState), VMGetStateName(_enmState)), \
                        (rc))
Asserts a certain VM state.

Asserts a certain VM state and returns if it doesn't match.

Definition at line 245 of file vm.h.


Generated by  Doxygen 1.6.0   Back to index