在 2019/9/18 17:08, Tomáš Golembiovský 写道:
> There is no *A alternative of this function.
> 
> Signed-off-by: Tomáš Golembiovský <[email protected]>
> ---
>  mingw-w64-headers/include/cfgmgr32.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/mingw-w64-headers/include/cfgmgr32.h 
> b/mingw-w64-headers/include/cfgmgr32.h
> index a0cbd7a4..f1bbcc63 100644
> --- a/mingw-w64-headers/include/cfgmgr32.h
> +++ b/mingw-w64-headers/include/cfgmgr32.h
> @@ -835,6 +835,10 @@ extern "C" {
>  #define CM_Get_DevInst_Custom_PropertyA CM_Get_DevNode_Custom_PropertyA
>  #define CM_Get_DevInst_Custom_Property_ExW CM_Get_DevNode_Custom_Property_ExW
>  #define CM_Get_DevInst_Custom_Property_ExA CM_Get_DevNode_Custom_Property_ExA
> +  CMAPI CONFIGRET CM_Get_DevNode_PropertyW(DEVINST dnDevInst, const 
> DEVPROPKEY *PropertyKey, DEVPROPTYPE *PropertyType, PBYTE PropertyBuffer, 
> PULONG PropertyBufferSize, ULONG ulFlags);


You missed `WINAPI` in the prototype.


> +#ifdef UNICODE
> +#define CM_Get_DevNode_Property CM_Get_DevNode_PropertyW
> +#endif
>    CMAPI CONFIGRET WINAPI CM_Get_DevNode_Status(PULONG pulStatus,PULONG 
> pulProblemNumber,DEVINST dnDevInst,ULONG ulFlags);
>    CMAPI CONFIGRET WINAPI CM_Get_DevNode_Status_Ex(PULONG pulStatus,PULONG 
> pulProblemNumber,DEVINST dnDevInst,ULONG ulFlags,HMACHINE hMachine);
>  #define CM_Get_DevInst_Status CM_Get_DevNode_Status
> 


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to