Next: MPEGDriverEntry
Up: General functions
Previous: FMPTrayOperation
  Contents
  Index
This function will initialize the stream or the driver with specified setting
of local storage and dealing with registries.
DWORD FMPWriteProfileWord(DWORD dwKeyIndex, DWORD wValue);
Arguments
- DWORD dwKeyIndex dwKeyIndex of the value to write
- DWORD wValue New value for the setting
dwKeyIndex are:
- 00 RMREG_LANGUAGECODE
- 01 RMREG_MENU_LANGUAGECODE
- 02 RMREG_AUDIO_LANGUAGECODE
- 03 RMREG_SUBPICTURE_LANGUAGECODE
- 04 RMREG_SUBPICTURE_DISPLAY_MODE
- 05 RMREG_USER_ASPECT_RATIO
- 06 RMREG_USER_VIDEO_OUTPUT_MODE
- 07 RMREG_COUNTRYCODE
- 08 RMREG_PARENTALCONTROL
- 09 RMREG_PASSW_LOW_WORD
- 0A RMREG_PASSW_HIGH_WORD
- 0B RMREG_PASSW_STATE
- 0c RMREG_AUTOPLAY
- 0D RMREG_PBC_OFF
- 0E RMREG_MACROVISION
- 0F RMREG_REGION_CODE
- 10 RMREG_AUDIO_TYPE
- 11 RMREG_OUTPUTMODE
- 12 RMREG_HDTV_RES
- 13 RMREG_MAX
Return value
Value of the setting. Or 0xFFFFFFFF in case of error.
FMPGetLastError can be used to obtain error information about the command.
Remarks
The FMPWritetProfileWord command allows you to write a parameter of a stream or the driver.
Need to restart the application to take affect the new setting.
See also
Settings(7),FMPGetProfileWord(1.5.4)
Figure 1.57:
FMPWriteProfileWord Operating Systems and Streaming Models
 |
Next: MPEGDriverEntry
Up: General functions
Previous: FMPTrayOperation
  Contents
  Index
mabelsha
2002-03-26