Skip to content

WIN32_FIND_DATAA issue with CfGetPlaceholderStateFromFindData and FindFirstFile #2252

@catmanjan

Description

@catmanjan

Actual behavior

CfGetPlaceholderStateFromFindData takes an ANSI WIN32_FIND_DATAA but it may be unicode only

Expected behavior

CfGetPlaceholderStateFromFindData should accept WIN32_FIND_DATAW

Repro steps

  1. NativeMethods.txt content:
CfGetPlaceholderStateFromFindData 
  1. NativeMethods.json content (if present):
  1. Any of your own code that should be shared?

Context

  • CsWin32 version: [e.g. 0.4.422-beta]
  • Win32Metadata version (if explicitly set by project):
  • Target Framework: [e.g. netstandard2.0]
  • LangVersion (if explicitly set by project): [e.g. 9]

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