From: "Vitaly Lipatov" <[EMAIL PROTECTED]> wrote:

> +#ifdef UNICODE
> +typedef DEVNODEID_W DEVNODEID;
> +typedef DEVINSTID_W DEVINSTID;
> +#else
> +typedef DEVNODEID_A DEVNODEID;
> +typedef DEVINSTID_A DEVINSTID;
> +#endif

Wine headers do that differently.

> +CMAPI CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST,DEVINSTID_A,ULONG);
> +CMAPI CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST,DEVINSTID_W,ULONG);
> +#define     CM_Locate_DevNode WINELIB_NAME_AW(CM_Locate_DevNode)
> +
> +CMAPI CONFIGRET WINAPI CM_Reenumerate_DevNode(DEVINST,ULONG);
> +CMAPI CONFIGRET WINAPI CM_Reenumerate_DevNode_Ex(DEVINST,ULONG,HMACHINE);

You need to add the prototypes when you add implementations.


-- 
Dmitry.


Reply via email to