ReactOS  0.4.15-dev-994-ga9f6032
content.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <cryptuiapi.h>
#include "inetcpl.h"
#include "wine/debug.h"
Include dependency graph for content.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (inetcpl)
 
static BOOL display_cert_manager (HWND parent, DWORD flags)
 
BOOL WINAPI LaunchSiteCertDialog (HWND parent)
 
INT_PTR CALLBACK content_dlgproc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
 

Function Documentation

◆ content_dlgproc()

INT_PTR CALLBACK content_dlgproc ( HWND  hwnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)

Definition at line 78 of file content.c.

79 {
80  if ((msg != WM_SETCURSOR) && (msg != WM_NCHITTEST) && (msg != WM_MOUSEMOVE))
81  TRACE("(%p, 0x%08x/%d, 0x%lx, 0x%lx)\n", hwnd, msg, msg, wparam, lparam);
82 
83  if (msg == WM_COMMAND)
84  {
85  switch (LOWORD(wparam))
86  {
87  case IDC_CERT:
89  break;
90 
91  case IDC_CERT_PUBLISHER:
93  break;
94  }
95  }
96  return FALSE;
97 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define CRYPTUI_CERT_MGR_PUBLISHER_TAB
Definition: cryptuiapi.h:47
static BOOL display_cert_manager(HWND parent, DWORD flags)
Definition: content.c:39
#define WM_NCHITTEST
Definition: winuser.h:1668
#define FALSE
Definition: types.h:117
#define WM_SETCURSOR
Definition: winuser.h:1618
#define IDC_CERT
Definition: inetcpl.h:92
static UINT WPARAM LPARAM lparam
Definition: combo.c:716
#define TRACE(s)
Definition: solgame.cpp:4
#define IDC_CERT_PUBLISHER
Definition: inetcpl.h:93
#define WM_COMMAND
Definition: winuser.h:1722
#define WM_MOUSEMOVE
Definition: winuser.h:1757
#define msg(x)
Definition: auth_time.c:54
#define LOWORD(l)
Definition: pedump.c:82
static UINT WPARAM wparam
Definition: combo.c:716

Referenced by display_cpl_sheets().

◆ display_cert_manager()

static BOOL display_cert_manager ( HWND  parent,
DWORD  flags 
)
static

Definition at line 39 of file content.c.

40 {
42 
43  TRACE("(%p, 0x%x)\n", parent, flags);
44 
45  ZeroMemory(&dlg, sizeof(CRYPTUI_CERT_MGR_STRUCT));
46  dlg.dwSize = sizeof(CRYPTUI_CERT_MGR_STRUCT);
47  dlg.hwndParent = parent;
48  dlg.dwFlags = flags;
49 
50  return CryptUIDlgCertMgr(&dlg);
51 }
BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
Definition: main.c:1297
#define ZeroMemory
Definition: winbase.h:1648
struct _CRYPTUI_CERT_MGR_STRUCT CRYPTUI_CERT_MGR_STRUCT
#define TRACE(s)
Definition: solgame.cpp:4
r parent
Definition: btrfs.c:2944
GLbitfield flags
Definition: glext.h:7161

Referenced by content_dlgproc(), and LaunchSiteCertDialog().

◆ LaunchSiteCertDialog()

BOOL WINAPI LaunchSiteCertDialog ( HWND  parent)

Definition at line 69 of file content.c.

70 {
71  return display_cert_manager(parent, 0);
72 }
static BOOL display_cert_manager(HWND parent, DWORD flags)
Definition: content.c:39
r parent
Definition: btrfs.c:2944

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( inetcpl  )