This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define WINDOWS_LEAN_AND_MEAN | |
| #include <winsock2.h> | |
| #include <windows.h> | |
| #include <winhttp.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #pragma comment(lib, "Crypt32.lib") | |
| #pragma comment(lib, "bcrypt.lib") | |
| #pragma comment(lib, "ws2_32.lib") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // example of IDropTarget implementation in C | |
| // allows dropping of files and INETURL from clipboard | |
| // can be expanded for more use cases | |
| // https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nn-oleidl-idroptarget | |
| #include <stdint.h> | |
| #define WINDOWS_LEAN_AND_MEAN | |
| #include <windows.h> | |
| #include <shlobj_core.h> |