2.2.1.6 GetPosition

GetPosition is a two-way request message, so the CallingConvention parameter in the Dispatch Request tag MUST be dslrRequest (0x00000001) (see [MS-DSLR] section 2.2.2.1). The function handle for the Dispatch Request tag for GetPosition MUST be 0x00000006.

This message is called to get the current position of media.

The message does not take any input parameters.

The response payload (result and output 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

Result

Position

...

Result (4 bytes): An unsigned 32-bit integer. An HRESULT that is returned from the function call. See [MS-DSLR] section 2.2.2.5 for error codes.

Position (8 bytes): An unsigned 64-bit integer. It is used to get the current position of media in units of 10 milliseconds.