MsiGetProductInfo

GPTKB entity

Statements (22)
Predicate Object
gptkbp:instanceOf gptkb:software
gptkbp:book msi.lib
gptkbp:callingConvention WINAPI
gptkbp:category Windows API
gptkbp:definedIn gptkb:Windows_Installer_API
gptkbp:dll msi.dll
gptkbp:documentation https://learn.microsoft.com/en-us/windows/win32/api/msi/nf-msi-msigetproductinfoa
gptkbp:headerFile msi.h
https://www.w3.org/2000/01/rdf-schema#label MsiGetProductInfo
gptkbp:introducedIn gptkb:Windows_2000
gptkbp:parameter LPCSTR szProduct
LPCSTR szProperty
LPDWORD pcchValueBuf
LPSTR lpValueBuf
gptkbp:purpose retrieves product information from Windows Installer database
gptkbp:result ERROR_INVALID_PARAMETER on invalid parameter
ERROR_SUCCESS on success
ERROR_UNKNOWN_PRODUCT if product is not registered
gptkbp:returnType UINT
gptkbp:usedFor querying product properties such as version, install location, publisher
gptkbp:bfsParent gptkb:Windows_Installer_API
gptkbp:bfsLayer 7