المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Calling GetPrinterData (windows api) from c#



C# Programming
06-29-2009, 09:22 PM
Hello Forum

I need to make a call the GetPrinterData

the parameters are

DWORD GetPrinterData(
__in HANDLE hPrinter,
__in LPTSTR pValueName,
__out LPDWORD pType,
__out LPBYTE pData,
__in DWORD nSize,
__out LPDWORD pcbNeeded
);

I have difficulties How to implement the LPBYTE in C#?

Please help

Thank you very much