Freigeben über


3.1.4.21.4 IsContainerPaused (Opnum 6)

This method is called by a client to determine if an instance container is paused.

 HRESULT IsContainerPaused(
   [in] GUID* ContainerIdentifier,
   [out] BOOL* bPaused
 );

ContainerIdentifier: The container identifier of an instance container.

bPaused: A pointer to a variable that, upon successful completion, MUST be set to indicate whether or not the instance container is paused.

Return Values: This method MUST return S_OK (0x00000000) on success, and a failure result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST be treated identically.

Upon receiving a call to this method, the server MUST verify that there exists an instance container with the container identifier specified in ContainerIdentifier, and fail the call if not.<350>

The server then MUST attempt to determine if the instance container is paused, and fail the call if it cannot.

The server then MUST set the value referenced by bPaused to indicate whether the instance container is paused.