Skip to content

Latest commit

 

History

History
108 lines (88 loc) · 3.91 KB

nf-propsys-ipropertysystem-unregisterpropertyschema.md

File metadata and controls

108 lines (88 loc) · 3.91 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:propsys.IPropertySystem.UnregisterPropertySchema
IPropertySystem::UnregisterPropertySchema (propsys.h)
Informs the schema subsystem of the removal of a property description schema (.propdesc) file, using a file path to the .propdesc file on the local machine.
IPropertySystem interface [Windows Properties]
UnregisterPropertySchema method
IPropertySystem.UnregisterPropertySchema
IPropertySystem::UnregisterPropertySchema
UnregisterPropertySchema
UnregisterPropertySchema method [Windows Properties]
UnregisterPropertySchema method [Windows Properties]
IPropertySystem interface
properties.IPropertySystem_UnregisterPropertySchema
propsys/IPropertySystem::UnregisterPropertySchema
shell.IPropertySystem_UnregisterPropertySchema
shell_IPropertySystem_UnregisterPropertySchema
properties\IPropertySystem_UnregisterPropertySchema.htm
properties
de81e174-9c32-455f-a7ba-a3d1b2223b84
12/05/2018
IPropertySystem interface [Windows Properties],UnregisterPropertySchema method, IPropertySystem.UnregisterPropertySchema, IPropertySystem::UnregisterPropertySchema, UnregisterPropertySchema, UnregisterPropertySchema method [Windows Properties], UnregisterPropertySchema method [Windows Properties],IPropertySystem interface, properties.IPropertySystem_UnregisterPropertySchema, propsys/IPropertySystem::UnregisterPropertySchema, shell.IPropertySystem_UnregisterPropertySchema, shell_IPropertySystem_UnregisterPropertySchema
propsys.h
Windows
Windows XP with SP2, Windows Vista [desktop apps only]
Windows Server 2003 with SP1 [desktop apps only]
Propsys.idl
Propsys.dll (version 5.0 or later)
Windows
Windows Desktop Search (WDS) 3.0
19H1
IPropertySystem::UnregisterPropertySchema
propsys/IPropertySystem::UnregisterPropertySchema
c++
APIRef
kbSyntax
COM
Propsys.dll
IPropertySystem.UnregisterPropertySchema

IPropertySystem::UnregisterPropertySchema

-description

Informs the schema subsystem of the removal of a property description schema (.propdesc) file, using a file path to the .propdesc file on the local machine.

-parameters

-param pszPath [in]

Type: LPCWSTR

Pointer to the file path for the .propdesc file on the local machine.

-returns

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates schema is unregistered.
E_ACCESSDENIED
Indicates calling context does not have proper privileges.

-remarks

Call this method when the file is being uninstalled from the machine. Typically, a setup application calls this method before or after uninstalling the .propdesc file. This method can be called after the file no longer exists.

Call IPropertySystem::RefreshPropertySchema in order for the newly-unregistered schema files to be unincorporated from the search index and the schema subsystem cache.

This method fails with E_ACCESSDENIED if the calling context does not have proper privileges, which include write access to the local machine. It is the caller's responsibility to obtain privileges via least-privileged user account (LUA) mechanisms.

-see-also

IPropertySystem