Lazy WinAPI
lazy-winapi.c

Documentation Source code

Simple and lazy wrapper over WinAPI

Requirements

Usage

Build from source

Headers are together with source code in src/lazy_winapi

1 mkdir build
2 cd build/
3 cmake ../
4 make

Options:

Commands:

Import source code directly

In src/lazy_winapi you can find source code for each module.

Modules are designed to be independent so you can take source code of any module and import it into your project.

Import to your CMake project

1 set(MY_PREFIX <some_dir>)
2 include(ExternalProject)
3 ExternalProject_Add(lazy-winapi
4  URL https://github.com/DoumanAsh/lazy-winapi.c/archive/master.zip
5 
6  INSTALL_COMMAND ""
7  PREFIX ${MY_PREFIX}
8 )
9 add_dependencies(<my_target> LazyWinApi)
10 include_directories(SYSTEM ${MY_PREFIX}/src/lazy-winapi/src)
11 target_link_libraries(<my_target> ${MY_PREFIX}/src/lazy-winapi-build/liblazy_winapi.a)

Modules

Each module has a corresponding .c & .h files. Module are independent of each other so you're free to take a particular module sources. And import it into your project.

Clipboard

Provides utilities to access Windows clipboard.

Process

Accessing information about process.

Error

Utilities to work with WinAPI error.