Dashboard > Virtual Disk Toolkit > Helper functions provided by the toolkit > Information > Page Comparison
Log In   View a printable version of the current page.
Helper functions provided by the toolkit
Version 1 by RĂ¼diger Jungbeck
on Mar 31, 2008 17:48.


 
compared with
Current by RĂ¼diger Jungbeck
on May 09, 2008 12:53.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 0 changes. View first change.

 h4. Memory Management
 {code}
 #include "abstractvd.h"
  
 AVD_RET AVD_LINK AvdMemoryAlloc (void ** Memeory,
  size_t Length);
  
 AVD_RET AVD_LINK AvdMemoryFree (void *Memory);
 {code}
  
 h4. File Access
 {code}
 #include "abstractvd.h"
  
 AVD_RET AVD_LINK AvdFileOpen (AVD_HANDLE *FileHandle,
  const char *FilePath);
  
 AVD_RET AVD_LINK AvdFileClose (AVD_HANDLE FileHandle);
  
 AVD_RET AVD_LINK AvdFileRead (unsigned char *Buffer,
  AVD_HANDLE FileHandle,
  UINT64 Offset,
  size_t Length,
  size_t *BytesRead);
  
 AVD_RET AVD_LINK AvdFileWrite (unsigned char *Buffer,
  AVD_HANDLE FileHandle,
  UINT64 Offset,
  size_t Length,
  size_t *BytesWritten);
  
 AVD_RET AVD_LINK AvdFileSizeGet (AVD_HANDLE FileHandle,
  UINT64 *FileSize);
  
 AVD_RET AVD_LINK AvdFileSizeSet (AVD_HANDLE FileHandle,
  UINT64 NewSize);
 {code}
  
 h4. Commands to User Space
 {code}
 #include "abstractvd.h"
  
 AVD_RET AVD_LINK AvdCommandIssue (void *RequestContext,
  void *Request,
  size_t Length,
  void **Response,
  size_t *ResponseLen);
 {code}
  
 h4. Log
 {code}
 #include "abstractvd.h"
  
 AVD_RET AVD_LINK AvdDebugMessage (int Level,
  const char *FormatString,
  ...);
  
 {code}
  
 h4. Timestamp
 {code}
 #include "abstractvd.h"
  
 AVD_RET AVD_LINK AvdTimestampGet (UINT64 *Timestamp);
 {code}
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2 Build:#512 Apr 26, 2006) - Bug/feature request - Contact Administrators