2.2.1.7.1 RegisterMediaEventCallback (request)

The CallingConvention parameter in the Dispatch Request tag MUST be dslrRequest (0x00000001). The function handle for the Dispatch Request tag for RegisterMediaEventCallback MUST be 0x00000008.

This message is used to create and connect the Media Event Callback Service between the extender device and the host computer and to get events from the extender device to the host.

The request payload (input parameters) is as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Class Id (16 bytes)

...

...

Service ID (16 bytes)

...

...

Class Id (16 bytes): A 16-byte GUID that consists of a DWORD (4 bytes, unsigned 32-bit integer) Data1, WORD (2 bytes, unsigned 16-bit integer) Data2, WORD (2 bytes, unsigned 16-bit integer) Data3, Data4 = 8 bytes field. It MUST be a unique ID per session.

Service ID (16 bytes): A 16-byte GUID that consists of DWORD (4 bytes, unsigned 32-bit integer) Data1, WORD (2 bytes, unsigned 16-bit integer) Data2, WORD (2 bytes, unsigned 16-bit integer) Data3, Data4 = 8 bytes field. It MUST be defined as 6d72a615-ca26-4420-95ac-4e4695991015.