Skip to content

Latest commit

 

History

History
133 lines (82 loc) · 5.4 KB

nf-iads-iadsextension-privateinvoke.md

File metadata and controls

133 lines (82 loc) · 5.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:iads.IADsExtension.PrivateInvoke
IADsExtension::PrivateInvoke (iads.h)
The IADsExtension::PrivateInvoke method is normally called by ADSI after the IADsExtension::PrivateGetIDsOfNames method. This method can either have a custom implementation or it can delegate the operation to IDispatch::DispInvoke method.
DISPATCH_METHOD
DISPATCH_PROPERTYGET
DISPATCH_PROPERTYPUT
DISPATCH_PROPERTYPUTREF
IADsExtension interface [ADSI]
PrivateInvoke method
IADsExtension.PrivateInvoke
IADsExtension::PrivateInvoke
PrivateInvoke
PrivateInvoke method [ADSI]
PrivateInvoke method [ADSI]
IADsExtension interface
_ds_iadsextension_privateinvoke
adsi.iadsextension__privateinvoke
adsi.iadsextension_privateinvoke
iads/IADsExtension::PrivateInvoke
adsi\iadsextension_privateinvoke.htm
adsi
5af74a05-df64-4679-890b-a5a031633fd8
12/05/2018
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, IADsExtension interface [ADSI],PrivateInvoke method, IADsExtension.PrivateInvoke, IADsExtension::PrivateInvoke, PrivateInvoke, PrivateInvoke method [ADSI], PrivateInvoke method [ADSI],IADsExtension interface, _ds_iadsextension_privateinvoke, adsi.iadsextension__privateinvoke, adsi.iadsextension_privateinvoke, iads/IADsExtension::PrivateInvoke
iads.h
Windows
Windows Vista
Windows Server 2008
Activeds.dll
Windows
19H1
IADsExtension::PrivateInvoke
iads/IADsExtension::PrivateInvoke
c++
APIRef
kbSyntax
COM
Activeds.dll
IADsExtension.PrivateInvoke

IADsExtension::PrivateInvoke

-description

The IADsExtension::PrivateInvoke method is normally called by ADSI after the IADsExtension::PrivateGetIDsOfNames method. This method can either have a custom implementation or it can delegate the operation to IDispatch::DispInvoke method.

-parameters

-param dispidMember [in]

Identifies the member. Use the IADsExtension::PrivateGetIDsOfNames method to obtain the dispatch identifier.

-param riid [in]

Reserved for future use. Must be IID_NULL.

-param lcid [in]

The locale context in which to interpret arguments. The IADsExtension::PrivateGetIDsOfNames function uses lcid. It is also passed to the PrivateInvoke method to allow the object to interpret the arguments that are specific to a locale.

-param wFlags [in]

Flags that describe the context of the PrivateInvoke call, include.

DISPATCH_METHOD

The member is invoked as a method. If a property has the same name, both this and the DISPATCH_PROPERTYGET flag may be set.

DISPATCH_PROPERTYGET

The member is retrieved as a property or data member.

DISPATCH_PROPERTYPUT

The member is changed as a property or data member.

DISPATCH_PROPERTYPUTREF

The member is changed by a reference assignment, rather than a value assignment. This flag is valid only when the property accepts a reference to an object.

-param pdispparams [in]

Pointer to a DISPPARAMS structure that receives an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.

-param pvarResult [out]

Pointer to the location where the result is to be stored, or NULL if the caller expects no result. This argument is ignored if DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF is specified.

-param pexcepinfo [out]

Pointer to a structure that contains exception data. This structure should be filled in if DISP_E_EXCEPTION is returned. Can be NULL.

-param puArgErr [out]

The index within the rgvarg member of the DISPPARAMS structure in pdispparams for the first argument that has an error. Arguments are stored in the rgvarg array in reverse order, so the first argument is the one with the highest index in the array. This parameter is returned only when the resulting return value is DISP_E_TYPEMISMATCH or DISP_E_PARAMNOTFOUND.

-returns

This method supports the standard return values, as well as the following.

For more information about other return values, see ADSI Error Codes.

-see-also

ADSI Error Codes

DispInvoke

IADsExtension

IADsExtension::PrivateGetIDsOfNames