次の方法で共有


IPC_USER structure

Represents a user or a group ID of a particular type.

Syntax

typedef struct _IPC_USER {
  DWORD   dwType;
  LPCWSTR wszID;
} IPC_USER, *PIPC_USER;typedef const IPC_USER *PCIPC_USER;

Members

dwType

The type of principal that has been granted rights in the license. The value of wszID must match the specified type.

IPC_USER_TYPE_EMAIL (1)

Email address.

IPC_USER_TYPE_IPC (2)

IPC-internal user or group ID.

wszID

The user or group ID. Depending on the value of dwType this is either an email address or one of the following user or group ID values.

If wszID is set to one of the values in the possible values set that follows, dwType should be set to IPC_USER_TYPE_IPC.

IPC_USER_ID_EVERYONE (_TEXT("ANYONE"))

IPC group ID for the group that contains all users.

IPC_USER_ID_NULL (_TEXT("NULL"))

IPC user ID used to represent the absence of a user.

IPC_USER_ID_OWNER (_TEXT("OWNER"))

IPC user ID used to represent the owner principal.

Requirements

Minimum supported client
Windows Vista with SP2
Minimum supported server
Windows Server 2008
Header
Ipcprot.h (include Msipc.h)