Skip to content

Change LPPAINTSTRUCT to *const PAINTSTRUCT #31

@hugocowan

Description

@hugocowan

Under Painting the Window, you have an argument typed as LPPAINTSTRUCT. This is not defined in your guide, and causes an error. I believe it should instead be *const PAINTSTRUCT.

- pub fn BeginPaint(hWnd: HWND, lpPaint: LPPAINTSTRUCT) -> HDC;
+ pub fn BeginPaint(hWnd: HWND, lpPaint: *const PAINTSTRUCT) -> HDC;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions