reactos/dll/cpl/usrmgr/usrmgr.h
Katayama Hirofumi MZ 8532f1874a
[USRMGR] Get text correctly even if length is zero (#5543)
- Add GetDlgItemTextAlloc and
  GetComboBoxLBTextAlloc helper functions.
- Get the text data correctly even if
  the text length is zero.
CORE-18275
2023-08-07 22:55:49 +09:00

59 lines
1.2 KiB
C

#ifndef _USRMGR_H
#define _USRMGR_H
#include <stdarg.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(usrmgr);
#ifdef UNICODE
#define dbgstrx(x) wine_dbgstr_w(x)
#else
#define dbgstrx(x) (const char*)(x)
#endif
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include <cpl.h>
#include <tchar.h>
#include <lmaccess.h>
#include <lmapibuf.h>
#include <lmerr.h>
#include "resource.h"
typedef struct _APPLET
{
int idIcon;
int idName;
int idDescription;
APPLET_PROC AppletProc;
} APPLET, *PAPPLET;
extern HINSTANCE hApplet;
INT_PTR CALLBACK UsersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK GroupsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK ExtraPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
LPTSTR GetDlgItemTextAlloc(HWND hwndDlg, INT nDlgItem);
LPTSTR GetComboBoxLBTextAlloc(HWND hwndDlg, INT nDlgItem, INT nIndex);
/* groupprops.c */
BOOL
GroupProperties(HWND hwndDlg);
/* misc.c */
BOOL
CheckAccountName(HWND hwndDlg,
INT nIdDlgItem,
LPTSTR lpAccountName);
/* userprops.c */
BOOL
UserProperties(HWND hwndDlg);
#endif /* _USRMGR_H */