lmaccess.h: Add some LOCALGROUP defines.
This commit is contained in:
parent
611eb3fa8a
commit
e476cf8cbc
|
@ -403,6 +403,46 @@ typedef struct _NET_DISPLAY_GROUP {
|
||||||
DWORD grpi3_next_index;
|
DWORD grpi3_next_index;
|
||||||
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;
|
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_INFO_0 {
|
||||||
|
LPWSTR lgrpi0_name;
|
||||||
|
} LOCALGROUP_INFO_0, *PLOCALGROUP_INFO_0, *LPLOCALGROUP_INFO_0;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_INFO_1 {
|
||||||
|
LPWSTR lgrpi1_name;
|
||||||
|
LPWSTR lgrpi1_comment;
|
||||||
|
} LOCALGROUP_INFO_1, *PLOCALGROUP_INFO_1, *LPLOCALGROUP_INFO_1;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_INFO_1002 {
|
||||||
|
LPWSTR lgrpi1002_comment;
|
||||||
|
} LOCALGROUP_INFO_1002, *PLOCALGROUP_INFO_1002, *LPLOCALGROUP_INFO_1002;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_MEMBERS_INFO_0 {
|
||||||
|
PSID lgrmi0_sid;
|
||||||
|
} LOCALGROUP_MEMBERS_INFO_0, *PLOCALGROUP_MEMBERS_INFO_0, *LPLOCALGROUP_MEMBERS_INFO_0;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_MEMBERS_INFO_1 {
|
||||||
|
PSID lgrmi1_sid;
|
||||||
|
SID_NAME_USE lgrmi1_sidusage;
|
||||||
|
LPWSTR lgrmi1_name;
|
||||||
|
} LOCALGROUP_MEMBERS_INFO_1, *PLOCALGROUP_MEMBERS_INFO_1, *LPLOCALGROUP_MEMBERS_INFO_1;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_MEMBERS_INFO_2 {
|
||||||
|
PSID lgrmi2_sid;
|
||||||
|
SID_NAME_USE lgrmi2_sidusage;
|
||||||
|
LPWSTR lgrmi2_domainandname;
|
||||||
|
} LOCALGROUP_MEMBERS_INFO_2, *PLOCALGROUP_MEMBERS_INFO_2, *LPLOCALGROUP_MEMBERS_INFO_2;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_MEMBERS_INFO_3 {
|
||||||
|
LPWSTR lgrmi3_domainandname;
|
||||||
|
} LOCALGROUP_MEMBERS_INFO_3, *PLOCALGROUP_MEMBERS_INFO_3, *LPLOCALGROUP_MEMBERS_INFO_3;
|
||||||
|
|
||||||
|
typedef struct _LOCALGROUP_USERS_INFO_0 {
|
||||||
|
LPWSTR lgrui0_name;
|
||||||
|
} LOCALGROUP_USERS_INFO_0, *PLOCALGROUP_USERS_INFO_0, *LPLOCALGROUP_USERS_INFO_0;
|
||||||
|
|
||||||
|
#define LOCALGROUP_NAME_PARMNUM 1
|
||||||
|
#define LOCALGROUP_COMMENT_PARMNUM 2
|
||||||
|
|
||||||
NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,LPBYTE*);
|
NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,LPBYTE*);
|
||||||
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
|
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
|
||||||
NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID);
|
NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID);
|
||||||
|
|
Loading…
Reference in New Issue