|
// *********************************************************
// バイナリの登録
// *********************************************************
BOOL LboxReg::SetBinValue(LPCTSTR lpEntry, void *Value, int nLen )
{
LONG nRet;
nRet = RegSetValueEx(
LboxReg::hKey,
lpEntry,
0,
REG_BINARY,
(const unsigned char *)Value,
nLen
);
if ( nRet == ERROR_SUCCESS ) {
return TRUE;
}
else {
return FALSE;
}
}
| |