Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVssComponent::GetDirectedTargetCount method

The GetDirectedTargetCount method returns the number of directed target specifications associated with the current component. Either a writer or a requester can call this method.

Syntax


HRESULT GetDirectedTargetCount(
  [out]  UINT *pcDirectedTarget
);

Parameters

pcDirectedTarget [out]

The address of a caller-allocated variable that receives the number of directed target specifications.

Return value

The following are the valid return codes for this method.

ValueMeaning
S_OK

Successfully returned the attribute value.

E_INVALIDARG

One of the parameter values is not valid.

E_OUTOFMEMORY

The caller is out of memory or other system resources.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

VsWriter.h (include Vss.h or VsWriter.h)

Library

VssApi.lib

See also

IVssComponent
IVssComponent::AddDirectedTarget
IVssComponent::GetDirectedTarget

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.