View Single Post
  #1 (permalink)  
Old 05-16-2008, 04:04 AM
sakishrist's Avatar   
sakishrist sakishrist is offline
Learning Programmer
 
Join Date: Dec 2007
Location: Greece - Syros
Posts: 58
Rep Power: 3
sakishrist is on a distinguished road
Send a message via MSN to sakishrist Send a message via Skype™ to sakishrist
Lightbulb How to convert a structure from C

Hello!
I have this structure:
Code:
typedef struct _DISK_PERFORMANCE {
  LARGE_INTEGER BytesRead;
  LARGE_INTEGER BytesWritten;
  LARGE_INTEGER ReadTime;
  LARGE_INTEGER WriteTime;
  LARGE_INTEGER IdleTime;
  DWORD ReadCount;
  DWORD WriteCount;
  DWORD QueueDepth;
  DWORD SplitCount;
  LARGE_INTEGER QueryTime;
  DWORD StorageDeviceNumber;
  WCHAR StorageManagerName[8];
} DISK_PERFORMANCE, 
 *PDISK_PERFORMANCE;
It's from the msdn
I need to convert it to vb.net but I have two problems: First one, I'm not really sure about the data types ... is LARGE_INTEGER int64, and what is WCHAR? And second one, how should I use the StorageManagerName[8] in vb.net?
Thanks!
Reply With Quote

Sponsored Links