// ntddstor.h
void IsDsmActionNonDestructive(
_Action
);
View the official Windows Driver Kit DDI referenceNo description available.
The IsDsmActionNonDestructive macro determines whether a data set management (DSM) action is nondestructive.
_ActionThe DeviceDsmAction_*Xxx* action to be performed. DSM action values are defined in ntddstor.h.
IsDsmActionNonDestructive returns TRUE if the action is nondestructive or FALSE if the action is destructive.