home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
system
/
rivatuner
/
RivaTuner20RC16.exe
/
Tools
/
NVXML
/
Include
/
NVXMLPropertyEnum3.rtl
< prev
next >
Wrap
Text File
|
2006-05-21
|
2KB
|
59 lines
ifsupportedUNI
else
ifsupportedD3D
else
ifsupportedOGL
else
return REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER
endif
endif
endif
ifget
decvar dwValue, 4
decvar dwError, 4
ifsupportedUNI
getreg HKLM, szUNIKeyName, szUNIValName, dwValue, dwType, 4
geterr dwError
ifeqdw dwError, S_OK
setvar ioBuf, dwValue conddw #_UNI_T0_:_S0_ #_UNI_T1_:_S1_ #_UNI_T2_:_S2_
return S_OK
endif
endif
ifsupportedD3D
getreg HKLM, szD3DKeyName, szD3DValName, dwValue, dwType, 4
geterr dwError
ifeqdw dwError, S_OK
setvar ioBuf, dwValue conddw #_D3D_T0_:_S0_ #_D3D_T1_:_S1_ #_D3D_T2_:_S2_
return S_OK
endif
endif
ifsupportedOGL
getreg HKLM, szOGLKeyName, szOGLValName, dwValue, dwType, 4
geterr dwError
ifeqdw dwError, S_OK
setvar ioBuf, dwValue conddw #_OGL_T0_:_S0_ #_OGL_T1_:_S1_ #_OGL_T2_:_S2_
return S_OK
endif
endif
return E_FAIL
endif
ifset
decvar dwValue, 4
ifsupportedUNI
setvar dwValue, ioBuf condszi #_S0_:_UNI_T0_ #_S1_:_UNI_T1_ #_S2_:_UNI_T2_
setreg HKLM, szUNIKeyName, szUNIValName, dwValue, dwType, 4
endif
ifsupportedD3D
setvar dwValue, ioBuf condszi #_S0_:_D3D_T0_ #_S1_:_D3D_T1_ #_S2_:_D3D_T2_
setreg HKLM, szD3DKeyName, szD3DValName, dwValue, dwType, 4
endif
ifsupportedOGL
setvar dwValue, ioBuf condszi #_S0_:_OGL_T0_ #_S1_:_OGL_T1_ #_S2_:_OGL_T2_
setreg HKLM, szOGLKeyName, szOGLValName, dwValue, dwType, 4
endif
return S_OK
endif
return REGISTRYINTERFACE_E_NOT_IMPLEMENTED