Writing a REG_DWORD_BIG_ENDIAN in the registry

  • Thread starter Thread starter stelios
  • Start date Start date
S

stelios

I am developing an application which at some point must write registry
value in the registry of type
REG_DWORD_BIG_ENDIAN.

Does anyone know what data type i have to use to write REG_DWORD_BIG_ENDIAN
in the registry



May thanks in advance

Stelios Panayi
 
Stelios, you will have to wrap the Win32 API Registry settings with
P/Invoke. Once you have that done you can call RegSetKeyValue and pass 5
(REG_DWORD_BIG_ENDIAN const) as the type. Here's a page with the VB
declarations which you can translate to C# (or find them with google).

http://www.developerfusion.com/show/2145/
 
Back
Top