R robertliucd Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-26 #1 MEDIA_UNIT* pVideoUnit = (MEDIA_UNIT*)dwParam1;<br><br><br>MEDIA_UNIT是一个结构,dwparam1是dword类型的参数
来 来如风 Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-26 #2 PMEDIA_UNIT = ^MEDIA_UNIT;<br><br>var<br> pVideoUnitMEDIA_UNIT;<br><br> pVideoUnit := PMEDIA_UNIT(dwParam1);
PMEDIA_UNIT = ^MEDIA_UNIT;<br><br>var<br> pVideoUnitMEDIA_UNIT;<br><br> pVideoUnit := PMEDIA_UNIT(dwParam1);
W waterspace Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-26 #3 type MEDIA_UNIT = record<br> ……<br> end;<br><br>type PMEDIA_UNIT = ^MEDIA_UNIT;<br><br>var pVideoUnit: PMEDIA_UNIT;<br> pVideoUnit = PMEDIA_UNIT(dwParam1);
type MEDIA_UNIT = record<br> ……<br> end;<br><br>type PMEDIA_UNIT = ^MEDIA_UNIT;<br><br>var pVideoUnit: PMEDIA_UNIT;<br> pVideoUnit = PMEDIA_UNIT(dwParam1);
L liucanwei509 Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-26 #4 结构上面的都说过了,补充下<br>DWORD值是一个32位(4个字节,即双字)长度的数值。这里应该是存放的地址,然后将它赋给指针。