Skip to content

Latest commit

 

History

History
161 lines (128 loc) · 5.02 KB

nf-functiondiscoveryprovider-ifunctiondiscoveryprovider-instancepropertystoreopen.md

File metadata and controls

161 lines (128 loc) · 5.02 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:functiondiscoveryprovider.IFunctionDiscoveryProvider.InstancePropertyStoreOpen
IFunctionDiscoveryProvider::InstancePropertyStoreOpen (functiondiscoveryprovider.h)
Opens the property store of the provider.
IFunctionDiscoveryProvider interface
InstancePropertyStoreOpen method
IFunctionDiscoveryProvider.InstancePropertyStoreOpen
IFunctionDiscoveryProvider::InstancePropertyStoreOpen
InstancePropertyStoreOpen
InstancePropertyStoreOpen method
InstancePropertyStoreOpen method
IFunctionDiscoveryProvider interface
STGM_READ
STGM_READWRITE
STGM_WRITE
functiondiscoveryprovider/IFunctionDiscoveryProvider::InstancePropertyStoreOpen
ncd.ifunctiondiscoveryprovider_instancepropertystoreopen
ncd\ifunctiondiscoveryprovider_instancepropertystoreopen.htm
ncd
35e98e8a-5e6c-4cbb-9a61-9720f11f90d6
12/05/2018
IFunctionDiscoveryProvider interface,InstancePropertyStoreOpen method, IFunctionDiscoveryProvider.InstancePropertyStoreOpen, IFunctionDiscoveryProvider::InstancePropertyStoreOpen, InstancePropertyStoreOpen, InstancePropertyStoreOpen method, InstancePropertyStoreOpen method,IFunctionDiscoveryProvider interface, STGM_READ, STGM_READWRITE, STGM_WRITE, functiondiscoveryprovider/IFunctionDiscoveryProvider::InstancePropertyStoreOpen, ncd.ifunctiondiscoveryprovider_instancepropertystoreopen
functiondiscoveryprovider.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
FunctionDiscoveryProvider.idl
Windows
19H1
IFunctionDiscoveryProvider::InstancePropertyStoreOpen
functiondiscoveryprovider/IFunctionDiscoveryProvider::InstancePropertyStoreOpen
c++
APIRef
kbSyntax
COM
FunctionDiscoveryProvider.h
IFunctionDiscoveryProvider.InstancePropertyStoreOpen

IFunctionDiscoveryProvider::InstancePropertyStoreOpen

-description

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Opens the property store of the provider. This method is called whenever IFunctionInstance::OpenPropertyStore is called if the provider did not provide a property store at creation time. The provider can provide the property store at this time, or handle the IProviderProperties methods as they are called.

-parameters

-param pIFunctionInstance [in]

A pointer to the IFunctionInstance interface for the store that is to be opened. Each property store is associated with a function instance.

-param iProviderInstanceContext [in]

The context associated with the specific function instance.

-param dwStgAccess [in]

The access mode to be assigned to the open stream. For this method, the following modes are supported:

STGM_READ

STGM_READWRITE

STGM_WRITE

-param ppIPropertyStore [out]

A pointer to an IPropertyStore interface pointer.

-returns

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
The method completed successfully.
E_NOTIMPL
The provider does not implement an instance property store.
STG_E_ACCESSDENIED
The method could not open a writable property store because the caller has insufficient access, the discovery provider does not allow write access to its property store, or another property store is already open for this function instance.
E_INVALIDARG
One of the parameters contains an invalid argument.
E_OUTOFMEMORY
The method is unable to allocate the memory required to perform this operation.

-see-also

IFunctionDiscoveryProvider