diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-14 00:00:22 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-14 00:00:22 +0300 |
| commit | 69905917cf2c46fa0093df7323e5326450d1246b (patch) | |
| tree | 2ec12ee6f588f7bcefab713c976ed64aa1e729ec /src/main.cpp | |
| parent | rename the project (diff) | |
| download | privilege-check-69905917cf2c46fa0093df7323e5326450d1246b.tar.gz privilege-check-69905917cf2c46fa0093df7323e5326450d1246b.zip | |
move code from headers to .cpp files
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5e59ff0..d13325c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,9 @@ #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") +namespace +{ + HWND get_dialog_item(HWND wnd, int id) { const auto lbl = GetDlgItem(wnd, id); @@ -218,6 +221,8 @@ INT_PTR CALLBACK dialog_main( } } +} + int APIENTRY wWinMain( HINSTANCE instance, HINSTANCE, |
