Skip to content

Friendly overload for MsiFormatRecord() can't accept a null hInstall value. #2178

@mjr4077au

Description

@mjr4077au

Actual behavior

Another one where the docs say this should accept a null handle:

Parameters
[in] hInstall

Handle to the installation. This may be omitted, in which case only the record field parameters are processed and properties are not available for substitution.

Expected behavior

That hInstall accepts null, same as mentioned in #2177.

Repro steps

  1. NativeMethods.txt content:
MsiFormatRecord
  1. NativeMethods.json content (if present): N/A

  2. Any of your own code that should be shared? N/A

Context

  • CsWin32 version: 0.3.257
  • Win32Metadata version (if explicitly set by project): N/A
  • Target Framework: net472
  • LangVersion (if explicitly set by project): N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions