MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / RemoveNotifyIcon

Function RemoveNotifyIcon

WinArk/WinArk.cpp:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool RemoveNotifyIcon() {
93 NOTIFYICONDATA notifyIcon = { sizeof(NOTIFYICONDATA) };
94
95 notifyIcon.uFlags = NIF_GUID;
96 notifyIcon.hWnd = _hMainWnd;
97 notifyIcon.uID = IDR_MAINFRAME;
98 notifyIcon.guidItem = iconGuid;
99
100 return Shell_NotifyIcon(NIM_DELETE, &notifyIcon);
101}
102
103int Run(LPTSTR lpstrCmdLine = nullptr, int nCmdShow = SW_SHOWDEFAULT) {
104 CMessageLoop theLoop;

Callers 1

RunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected