how to use the GetObjectByPersistReference3

if I have the byte array containing the persistent reference ID assigned to that object,then I save these byte array as a context.

for example :

the fisrt face  is

{48,17,0,0,3,0,0,0,255,254,255,0,0,0,0,0,255,255,1,0,11,0,109,111,69,100,103,101,82,101,102,95,99,1,0,0,0,0,0,0,0,4,0,0,0,0,3,0,0,0,

0,0,0,125,195,148,37,173,73,178,84,125,195,148,37,173,73,178,84,0,0,255,255,1,0,24,0,109,111,69,110,100,70,97,99,101,51,73,110,116,83,117,

114,102,73,100,82,101,112,95,99,0,0,255,255,1,0,6,0,109,111,70,82,95,99,255,255,1,0,13,0,109,111,69,120,116,79,98,106,101,99,116,95,99,255,

255,1,0,17,0,109,111,67,83,116,114,105,110,103,72,97,110,100,108,101,95,99,255,254,255,52,67,0,58,0,92,0,68,0,111,0,99,0,117,0,109,0,101,0,110,0,

116,0,115,0,32,0,97,0,110,0,100,0,32,0,83,0,101,0,116,0,116,0,105,0,110,0,103,0,115,0,92,0,65,0,100,0,109,0,105,0,110,0,115,0,116,0,114,0,97,

0,116,0,111,0,114,0,92,0,76,104,98,151,92,0,246,150,246,78,50,0,46,0,83,0,76,0,68,0,80,0,82,0,84,0,9,128,255,254,255,3,246,150,246,78,50,0,2,

0,0,188,250,206,75,0,36,141,60,120,0,0,0,0,0,0,0,0,0,0,0,0,255,254,255,2,216,158,164,139,0,0,0,0,0,0,0,0,188,250,206,75,24,0,0,0,254,250,206,

75,1,0,0,0,0,0,0,0,0,0,0,0,255,255,1,0,27,0,109,111,70,114,111,109,83,107,116,69,110,116,51,73,110,116,83,117,114,102,73,100,82,101,112,95,99,

0,0,5,128,8,0,24,0,0,0,254,250,206,75,3,0,0,0,255,255,255,255,0,0,0,0,12,128,0,0,5,128,8,0,24,0,0,0,254,250,206,75,1,0,0,0,255,255,255,255,0,0,0,0,

12,128,0,0,5,128,8,0,24,0,0,0,254,250,206,75,2,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,}

how can I use these array packaging a (BYTE ) *persistId  and call the GetObjectByPersistReference3

then show this face HighLight .

(C++)

SolidworksApi macros