ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

d3d9_helpers.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS ReactX
00004  * FILE:            dll/directx/d3d9/d3d9_helpers.h
00005  * PURPOSE:         d3d9.dll helper functions
00006  * PROGRAMERS:      Gregor Brunmar <gregor (dot) brunmar (at) home (dot) se>
00007  */
00008 #ifndef _D3D9_HELPERS_H_
00009 #define _D3D9_HELPERS_H_
00010 
00011 #include "d3d9_common.h"
00012 #include "d3d9_private.h"
00013 
00014 
00015 /* Reads a registry value if it's of the correct value type */
00016 BOOL ReadRegistryValue(IN DWORD ValueType, IN LPCSTR ValueName, OUT LPBYTE DataBuffer, IN OUT LPDWORD DataBufferSize);
00017 
00018 /* Safe string formatting */
00019 HRESULT SafeFormatString(IN OUT LPSTR Buffer, IN DWORD BufferSize, IN LPCSTR FormatString, ... );
00020 HRESULT SafeCopyString(OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src);
00021 HRESULT SafeAppendString(IN OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src);
00022 
00023 /* Allocates memory and returns an aligned pointer */
00024 HRESULT AlignedAlloc(IN OUT LPVOID *ppObject, IN SIZE_T dwSize);
00025 
00026 /* Frees memory allocated with AlignedAlloc */
00027 VOID AlignedFree(IN OUT LPVOID pObject);
00028 
00029 
00030 #endif // _D3D9_HELPERS_H_

Generated on Sun May 27 2012 04:21:14 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.