mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.4 KiB
74 lines
1.4 KiB
#include "adminpch.h"
|
|
#pragma hdrstop
|
|
|
|
#include <msi.h>
|
|
|
|
static
|
|
INSTALLSTATE
|
|
WINAPI
|
|
MsiGetComponentPathW(LPCWSTR szProduct,
|
|
LPCWSTR szComponent,
|
|
LPWSTR lpPathBuf,
|
|
DWORD *pcchBuf)
|
|
{
|
|
return INSTALLSTATE_UNKNOWN;
|
|
}
|
|
|
|
static
|
|
UINT
|
|
WINAPI
|
|
MsiGetProductInfoW(LPCWSTR szProduct,
|
|
LPCWSTR szAttribute,
|
|
LPWSTR lpValueBuf,
|
|
DWORD *pcchValueBuf)
|
|
{
|
|
return ERROR_PROC_NOT_FOUND;
|
|
}
|
|
|
|
static
|
|
INSTALLSTATE
|
|
WINAPI
|
|
MsiQueryFeatureStateFromDescriptorW(LPCWSTR szDescriptor)
|
|
{
|
|
return INSTALLSTATE_UNKNOWN;
|
|
}
|
|
|
|
static
|
|
INSTALLSTATE
|
|
WINAPI
|
|
MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
|
|
{
|
|
return INSTALLSTATE_UNKNOWN;
|
|
}
|
|
|
|
static
|
|
UINT
|
|
WINAPI
|
|
MsiDecomposeDescriptorW(LPCWSTR szDescriptor,
|
|
LPWSTR szProductCode,
|
|
LPWSTR szFeatureId,
|
|
LPWSTR szComponentCode,
|
|
DWORD* pcchArgsOffset)
|
|
{
|
|
return ERROR_PROC_NOT_FOUND;
|
|
}
|
|
|
|
|
|
//
|
|
// !! WARNING !! The entries below must be in order by ORDINAL
|
|
//
|
|
DEFINE_ORDINAL_ENTRIES(msi)
|
|
{
|
|
DLOENTRY(70, MsiGetProductInfoW)
|
|
DLOENTRY(111, MsiQueryFeatureStateW)
|
|
DLOENTRY(173, MsiGetComponentPathW)
|
|
DLOENTRY(188, MsiQueryFeatureStateFromDescriptorW)
|
|
DLOENTRY(201, MsiDecomposeDescriptorW)
|
|
};
|
|
|
|
DEFINE_ORDINAL_MAP(msi);
|
|
|
|
|
|
|
|
|
|
|