// DWORD dwType; // PCVOID pData; // DWORD cbData; LWMSG_STRUCT_BEGIN(REG_IPC_SET_KEY_VALUE_REQ), LWMSG_MEMBER_HANDLE(REG_IPC_SET_KEY_VALUE_REQ, hKey, HKEY), LWMSG_ATTR_HANDLE_LOCAL_FOR_RECEIVER, LWMSG_MEMBER_PWSTR(REG_IPC_SET_KEY_VALUE_REQ, pSubKey), LWMSG_MEMBER_PWSTR(REG_IPC_SET_KEY_VALUE_REQ, pValueName), LWMSG_MEMBER_UINT32(REG_IPC_SET_KEY_VALUE_REQ, dwType), LWMSG_MEMBER_UINT32(REG_IPC_SET_KEY_VALUE_REQ, cbData), LWMSG_MEMBER_POINTER(REG_IPC_SET_KEY_VALUE_REQ, pData, LWMSG_UINT8(BYTE)), LWMSG_ATTR_LENGTH_MEMBER(REG_IPC_SET_KEY_VALUE_REQ, cbData), LWMSG_STRUCT_END, LWMSG_TYPE_END }; /******************************************************************************/ static LWMsgTypeSpec gRegSetValueExSpec[] = { // HKEY hKey; // PCTSTR pValueName; //DWORD dwType; // const PBYTE pData; // DWORD cbData;
*/ #include "ipc.h" /******************************************************************************/ static LWMsgTypeSpec gNtlmSecBufferSpec[] = { // DWORD cbBuffer; // DWORD BufferType; // PVOID pvBuffer; LWMSG_STRUCT_BEGIN(SecBuffer), LWMSG_MEMBER_UINT32(SecBuffer, cbBuffer), LWMSG_MEMBER_UINT32(SecBuffer, BufferType), LWMSG_MEMBER_POINTER(SecBuffer, pvBuffer, LWMSG_UINT8(CHAR)), LWMSG_ATTR_LENGTH_MEMBER(SecBuffer, cbBuffer), LWMSG_ATTR_ENCODING("hex+ascii"), LWMSG_STRUCT_END, LWMSG_TYPE_END }; /******************************************************************************/ static LWMsgTypeSpec gNtlmSecBufferDescSpec[] = { // For now, I don't believe we need this version information // DWORD ulVersion; // DWORD cBuffers; // PSecBuffer pBuffers;
LWMSG_MEMBER_UINT32(LWIO_STATUS_REPLY, dwError), /* End structure */ LWMSG_STRUCT_END, LWMSG_TYPE_END }; static LWMsgTypeSpec gDriverNameSpec[] = { LWMSG_PWSTR, LWMSG_ATTR_NOT_NULL, LWMSG_TYPE_END }; static LWMsgTypeSpec gDriverStateSpec[] = { LWMSG_UINT8(LWIO_DRIVER_STATE), LWMSG_ATTR_RANGE(LWIO_DRIVER_STATE_UNKNOWN, LWIO_DRIVER_STATE_LOADED), LWMSG_TYPE_END }; static LWMsgTypeSpec gPidSpec[] = { LWMSG_INT32(pid_t), LWMSG_TYPE_END }; static LWMsgProtocolSpec gLwIoDaemonProtocolSpec[] = { LWMSG_MESSAGE(LWIO_QUERY_STATE_DRIVER, gDriverNameSpec), LWMSG_MESSAGE(LWIO_QUERY_STATE_DRIVER_SUCCESS, gDriverStateSpec), LWMSG_MESSAGE(LWIO_QUERY_STATE_DRIVER_FAILED, gStatusReplySpec),
LWMSG_TYPE_END }; static LWMsgTypeSpec gLWNetDcInfoSpec[] = { LWMSG_STRUCT_BEGIN(LWNET_DC_INFO), LWMSG_MEMBER_UINT32(LWNET_DC_INFO, dwPingTime), LWMSG_MEMBER_UINT32(LWNET_DC_INFO, dwDomainControllerAddressType), LWMSG_MEMBER_UINT32(LWNET_DC_INFO, dwFlags), LWMSG_MEMBER_UINT32(LWNET_DC_INFO, dwVersion), LWMSG_MEMBER_UINT16(LWNET_DC_INFO, wLMToken), LWMSG_MEMBER_UINT16(LWNET_DC_INFO, wNTToken), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszDomainControllerName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszDomainControllerAddress), LWMSG_MEMBER_ARRAY_BEGIN(LWNET_DC_INFO, pucDomainGUID), LWMSG_UINT8(UCHAR), LWMSG_ARRAY_END, LWMSG_ATTR_LENGTH_STATIC(LWNET_GUID_SIZE), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszNetBIOSDomainName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszFullyQualifiedDomainName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszDnsForestName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszDCSiteName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszClientSiteName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszNetBIOSHostName), LWMSG_MEMBER_PSTR(LWNET_DC_INFO, pszUserName), LWMSG_STRUCT_END, LWMSG_TYPE_END }; static LWMsgTypeSpec gLWNetDcAddressSpec[] = {