#include <windows.h>
#include <stdio.h>
#include <string.h>
#include "resource.h"
Go to the source code of this file.
◆ MainWndProc()
Definition at line 62 of file popupmenu.c.
63{
65 {
67 {
69 {
72 break;
73 }
74 break;
75 }
77 {
80
84
86 {
88 }
89 break;
90 }
92 {
94 break;
95 }
96 default:
97 {
99 }
100 }
101 return 0;
102}
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI TrackPopupMenu(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _Reserved_ int, _In_ HWND, _Reserved_ LPCRECT)
HMENU WINAPI GetMenu(_In_ HWND)
Referenced by WinMain().
◆ WinMain()
Definition at line 9 of file popupmenu.c.
13{
17
29 {
32 return(1);
33 }
34
36 "PopupMenu Test",
38 0,
39 0,
47 {
50 return(1);
51 }
52
54 {
57 }
58
60}
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(void)
BOOL WINAPI TranslateMessage(_In_ const MSG *)