Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

Commit 7bc87f5

Browse files
committed
Remove stub methods from header/code
1 parent 7afbd81 commit 7bc87f5

2 files changed

Lines changed: 2 additions & 57 deletions

File tree

msi-interop/database.c

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -479,63 +479,6 @@ MsiDatabaseApplyTransformW(MSIHANDLE hDatabase, LPCWSTR szTransformFile,
479479
return ret;
480480
}
481481

482-
/* -------------------------------------------------------------------------- */
483-
/* MsiDatabaseGenerateTransform (stub) */
484-
/* -------------------------------------------------------------------------- */
485-
486-
UINT WINAPI
487-
MsiDatabaseGenerateTransformA(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference,
488-
LPCSTR szTransformFile, int iReserved1, int iReserved2)
489-
{
490-
(void)hDatabase;
491-
(void)hDatabaseReference;
492-
(void)szTransformFile;
493-
(void)iReserved1;
494-
(void)iReserved2;
495-
return ERROR_CALL_NOT_IMPLEMENTED;
496-
}
497-
498-
UINT WINAPI
499-
MsiDatabaseGenerateTransformW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference,
500-
LPCWSTR szTransformFile, int iReserved1, int iReserved2)
501-
{
502-
(void)hDatabase;
503-
(void)hDatabaseReference;
504-
(void)szTransformFile;
505-
(void)iReserved1;
506-
(void)iReserved2;
507-
return ERROR_CALL_NOT_IMPLEMENTED;
508-
}
509-
510-
/* -------------------------------------------------------------------------- */
511-
/* MsiCreateTransformSummaryInfo (stub) */
512-
/* -------------------------------------------------------------------------- */
513-
514-
UINT WINAPI
515-
MsiCreateTransformSummaryInfoA(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference,
516-
LPCSTR szTransformFile, int iErrorConditions,
517-
int iValidation)
518-
{
519-
(void)hDatabase;
520-
(void)hDatabaseReference;
521-
(void)szTransformFile;
522-
(void)iErrorConditions;
523-
(void)iValidation;
524-
return ERROR_CALL_NOT_IMPLEMENTED;
525-
}
526-
527-
UINT WINAPI
528-
MsiCreateTransformSummaryInfoW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference,
529-
LPCWSTR szTransformFile, int iErrorConditions,
530-
int iValidation)
531-
{
532-
(void)hDatabase;
533-
(void)hDatabaseReference;
534-
(void)szTransformFile;
535-
(void)iErrorConditions;
536-
(void)iValidation;
537-
return ERROR_CALL_NOT_IMPLEMENTED;
538-
}
539482

540483
/* -------------------------------------------------------------------------- */
541484
/* MsiVerifyPackage */

msi-interop/msi_interop.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,12 @@ MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseMergeA(MSIHANDLE hDatabase, MSIHANDLE
673673
MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseMergeW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseMerge, LPCWSTR szTableName);
674674
MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseApplyTransformA(MSIHANDLE hDatabase, LPCSTR szTransformFile, int iErrorConditions);
675675
MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseApplyTransformW(MSIHANDLE hDatabase, LPCWSTR szTransformFile, int iErrorConditions);
676+
/* NOT IMPLEMENTED - Transform generation requires full MSI database comparison
676677
MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseGenerateTransformA(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference, LPCSTR szTransformFile, int iReserved1, int iReserved2);
677678
MSI_INTEROP_EXPORT UINT WINAPI MsiDatabaseGenerateTransformW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference, LPCWSTR szTransformFile, int iReserved1, int iReserved2);
678679
MSI_INTEROP_EXPORT UINT WINAPI MsiCreateTransformSummaryInfoA(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference, LPCSTR szTransformFile, int iErrorConditions, int iValidation);
679680
MSI_INTEROP_EXPORT UINT WINAPI MsiCreateTransformSummaryInfoW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseReference, LPCWSTR szTransformFile, int iErrorConditions, int iValidation);
681+
*/
680682

681683
/* ========================================================================== */
682684
/* View functions */

0 commit comments

Comments
 (0)