IOfflineFilesSuspendInfo::IsSuspended method

Determines whether an item is suspended.

If an item is suspended and is a suspended root, it was suspended by using the IOfflineFilesSuspend::SuspendRoot method. If an item is suspended but is not a suspended root, its suspension was inherited from a suspended root.

Syntax

HRESULT IsSuspended(
  BOOL *pbSuspended,
  BOOL *pbSuspendedRoot
);

Parameters

pbSuspended

Receives TRUE if the item is suspended, or FALSE otherwise.

pbSuspendedRoot

Receives TRUE if the item is a suspended root, or FALSE otherwise. If the item is not suspended, this value is always FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See Also

IOfflineFilesSuspendInfo