GetDestInfo
Previous  Top  Next


   SHORT error = GetDestInfo (
            [out] SHORT destType,
            [out] SHORT targetType,
            [out] SHORT active,
            [out] SHORT disconnected
            )

Description

This method gets information about the current destination selected by DestNumber.

Parameters

On return from the method, the parameters contain information about the destination only if the value returned by the method is MSSMERR_NOERROR.

destTypeis the Destination Type.  
 
targetTypeis the destination Target Type.  
 
activeis non-zero if the destination is currently active (in use), zero otherwise.  
 
disabledis non-zero if the destination is currently disabled, otherwise it is zero.  

Return value

The return value is MSSMERR_NOERROR (0) if the destination information was found, otherwise the value returned indicates an error.