3.2.4.4.1.48 IVolumeClient::SetDontShow (Opnum 57)

The SetDontShow method sets a Boolean value that indicates whether to show a disk initialization tool.<174>

 HRESULT SetDontShow(
   [in] boolean bSetNoShow
 );

bSetNoShow: Boolean value that determines whether the New Disk Wizard is enabled or disabled.

Value

Meaning

FALSE

0

Enables New Disk Wizard. This value is the default. It indicates that the user has not selected the check box in the New Disk Wizard to request that the wizard not be displayed in the future.

TRUE

1

Disables New Disk Wizard. This value indicates that the user has selected the check box in the New Disk Wizard to request that the wizard not be displayed in the future.

Return Values: The method MUST return 0 or a nonerror HRESULT on success, or an implementation-specific nonzero error code on failure (as specified in [MS-ERREF]; see also section 2.2.1 for HRESULT values predefined by the Disk Management Remote Protocol).

The server MUST process the message as follows:

  1. Save the bSetNoShow setting on persistent storage (registry). The value of the setting MUST be returned to the client in subsequent calls to IVolumeClient::GetDontShow.

  2. Wait for the operation to succeed or fail.

  3. Return a response to the client that contains the status of the operation.