MsiDecomposeDescriptorW3w
Usage
UINT MsiDecomposeDescriptorW
(
LPCWSTR szDescriptor,
LPWSTR szProduct,
LPWSTR szFeature,
LPWSTR szComponent,
LPDWORD pUsed
)
Overview
Decomposes an MSI descriptor into product, feature and component parts. An MSI descriptor is a string of the form: [base 85 guid] [feature code] '>' [base 85 guid].
Params
szDescriptor [In] the descriptor to decompose.
szProduct [Out] buffer of MAX_FEATURE_CHARS+1 for the product guid.
szFeature [Out] buffer of MAX_FEATURE_CHARS+1 for the feature code.
szComponent [Out] buffer of MAX_FEATURE_CHARS+1 for the component guid.
pUsed [Out] the length of the descriptor.
Returns
ERROR_SUCCESS if everything worked correctly ERROR_INVALID_PARAMETER if the descriptor was invalid
Implementation
Declared in "msipriv.h".
Implemented in "dlls/msi/registry.c".
Debug channel "msi".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.