[PATCH v2 2/3] include: Add initial IDL for cmnquery.h

Alexandre Julliard julliard at winehq.org
Tue Aug 1 09:47:35 CDT 2017


Zebediah Figura <zfigura at codeweavers.com> writes:

> +[
> +    object,
> +    uuid(1a3114b8-a62e-11d0-a6c5-00a0c906af45),
> +    local
> +]
> +interface IPersistQuery : IPersist
> +{
> +    HRESULT Clear();
> +
> +    HRESULT ReadInt([in] LPCWSTR section, [in] LPCWSTR name, [out] INT *value);
> +
> +    HRESULT ReadString([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPWSTR buffer, [in] INT buflen);
> +
> +    HRESULT ReadStruct([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPVOID buffer, [in] DWORD buflen);
> +
> +    HRESULT WriteInt([in] LPCWSTR section, [in] LPCWSTR name, [in] INT value);
> +
> +    HRESULT WriteString([in] LPCWSTR section, [in] LPCWSTR name, [in] LPCWSTR value);
> +
> +    HRESULT WriteStruct([in] LPCWSTR section, [in] LPCWSTR name, [in] LPVOID value, [in] DWORD size);
> +};

This doesn't match the PSDK, the order matters.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list