Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.62 KB

nf-propsys-pspropertybag_writeulonglong.md

File metadata and controls

87 lines (66 loc) · 2.62 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.PSPropertyBag_WriteULONGLONG
PSPropertyBag_WriteULONGLONG function (propsys.h)
Sets the ULONGLONG value of a property in a property bag.
PSPropertyBag_WriteULONGLONG
PSPropertyBag_WriteULONGLONG function [Windows Properties]
properties.PSPropertyBag_WriteULONGLONG
propsys/PSPropertyBag_WriteULONGLONG
shell.PSPropertyBag_WriteULONGLONG
shell_PSPropertyBag_WriteULONGLONG
properties\PSPropertyBag_WriteULONGLONG.htm
properties
37854C80-00B9-465c-88D9-619695D418CD
12/05/2018
PSPropertyBag_WriteULONGLONG, PSPropertyBag_WriteULONGLONG function [Windows Properties], properties.PSPropertyBag_WriteULONGLONG, propsys/PSPropertyBag_WriteULONGLONG, shell.PSPropertyBag_WriteULONGLONG, shell_PSPropertyBag_WriteULONGLONG
propsys.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Propsys.lib
Propsys.dll (version 6.0 or later)
Windows
19H1
PSPropertyBag_WriteULONGLONG
propsys/PSPropertyBag_WriteULONGLONG
c++
APIRef
kbSyntax
DllExport
Propsys.dll
PSPropertyBag_WriteULONGLONG

PSPropertyBag_WriteULONGLONG function

-description

Sets the ULONGLONG value of a property in a property bag.

-parameters

-param propBag [in]

Type: IPropertyBag*

A pointer to an IPropertyBag object that represents the property bag in which the property is stored.

-param propName [in]

Type: LPCWSTR

A null-terminated property name string.

-param value [in]

Type: ULONGLONG

An ULONGLONG value to which the property should be set.

-returns

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The property bag property function API converts between window types and the VARIANT type that is used to express values in a property bag. Doing so eases property bag usage, simplifies applications, and avoids common coding errors.

-see-also

PSPropertyBag_ReadULONGLONG