[PATCH 4/4] mfplat/tests: Add tests.

Andrew Eikum aeikum at codeweavers.com
Fri Apr 28 07:54:46 CDT 2017


On Fri, Apr 28, 2017 at 04:29:07AM +0000, Alistair Leslie-Hughes wrote:
> +static void test_register(void)
> +{
> +    static WCHAR name[] = {'W','i','n','e',' ','t','e','s','t',0};
> +    MFT_REGISTER_TYPE_INFO input;
> +    MFT_REGISTER_TYPE_INFO output;
> +    CLSID *clsids;
> +    UINT32 count;
> +    HRESULT ret;
> +
> +    memcpy(&input.guidMajorType, &DUMMY_GUID1, sizeof(GUID));
> +    memcpy(&input.guidMajorType, &DUMMY_GUID2, sizeof(GUID));
> +    memcpy(&output.guidSubtype, &DUMMY_GUID1, sizeof(GUID));
> +    memcpy(&output.guidSubtype, &DUMMY_GUID3, sizeof(GUID));
> +

Looks like some copy-paste errors here.

Andrew



More information about the wine-devel mailing list