msptiObjectId

msptiObjectId is called by msptiActivityMarker to identify the process ID, thread ID, device ID, and stream ID of a marker. The definition is as follows:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
typedef union PACKED_ALIGNMENT {
	struct {
                    uint32_t processId;   // Process ID of ActivityMarker
		uint32_t threadId;   // Thread ID of ActivityMarker
	} pt;
	struct {
		uint32_t deviceId;   // ID of the device where the ActivityMarker process resides
		uint32_t streamId;   // ID of the stream of the ActivityMarker process
	} ds;
} msptiObjectId;