Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
735 B

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
data.h
Abstract:
Contains registry "Data" abstraction
Author:
Mike Cirello
Vijay Jayaseelan (vijayj)
Revision History:
03 March 2001 :
Rewamp the whole source to make it more maintainable
(particularly readable)
--*/
#pragma once
#include <windows.h>
//
// Registry data abstraction
//
class Data{
public:
//
// member functions
//
Data(PBYTE b,DWORD d, PCTSTR t, DWORD flag, int bSize);
virtual ~Data(){}
PBYTE GetData() { return pByte; }
int Sizeof() const { return size; }
private:
//
// data members
//
PBYTE pByte;
DWORD dword;
PCTSTR pTchar;
DWORD nFlags;
int size;
};