mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
8532f1874a
- Add GetDlgItemTextAlloc and GetComboBoxLBTextAlloc helper functions. - Get the text data correctly even if the text length is zero. CORE-18275
59 lines
1.2 KiB
C
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 */
|