Zitat:
Na klar, du übergibst als Typ REG_NONE, und erhältst im Gegenzug dafür den richtigen Typ geliefert.
hallo mathias, mich hat nur das hier stutzig gemacht:

Zitat von
PSDK:
lpType
[out] Pointer to a variable that receives a code indicating the type of data stored in the specified value. For a list of the possible type codes, see Registry Value Types. The lpType parameter can be NULL if the type code is not required.
also weil da "out" und nicht "in" steht, deswegen wunder ich mich wieso man denn da den typ doch(ß) bekommt.