mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
864 B
66 lines
864 B
#ifndef __WMSG_SYSTEM__
|
|
#define __WMSG_SYSTEM__
|
|
|
|
class WMSG_SYSTEM : public WMSG_SHARED_HEAP_OBJECT {
|
|
|
|
public:
|
|
|
|
LONG SequenceNumber;
|
|
|
|
WMSG_CONNECT_PORT_LIST PortList;
|
|
|
|
WMSG_SYSTEM(
|
|
);
|
|
|
|
~WMSG_SYSTEM(
|
|
);
|
|
|
|
VOID
|
|
InsertPort(
|
|
WMSG_CONNECT_PORT * Port
|
|
);
|
|
|
|
VOID
|
|
RemovePort(
|
|
WMSG_CONNECT_PORT * Port
|
|
);
|
|
|
|
WMSG_CONNECT_PORT *
|
|
ReferencePortByName(
|
|
LPCSTR PortName
|
|
);
|
|
|
|
LONG
|
|
GetNextSequenceNumber(
|
|
);
|
|
|
|
};
|
|
|
|
WMSG_SYSTEM *
|
|
WmsgSystemGetContext(
|
|
);
|
|
|
|
VOID
|
|
WmsgSystemInsertPort(
|
|
WMSG_CONNECT_PORT * Port
|
|
);
|
|
|
|
VOID
|
|
WmsgSystemRemovePort(
|
|
WMSG_CONNECT_PORT * Port
|
|
);
|
|
|
|
WMSG_CONNECT_PORT *
|
|
WmsgSystemReferencePortByName(
|
|
LPCSTR PortName
|
|
);
|
|
|
|
VOID
|
|
WmsgSystemDereferenceConnectPorts(
|
|
);
|
|
|
|
LONG
|
|
WmsgSystemGetNextSequenceNumber(
|
|
);
|
|
|
|
#endif
|