Jump to content

question about the calling of api BitBlt


Recommended Posts

i want to captuare my desktop to Clipboard in labview via win api. but when call the function BitBlt(HDC hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,HDC hdcSrc,int nXSrc,int nYSrc,DWORD dwRop) i don't know how to input the last para in labview. The data type is DWORD. Should i input SRCCOPY directly?

When i call function SetClipboardData(UINT uFormat, HANDLE hMem) to set the bitmap to clipboard i met the same question. How to input the first para which type is UINT.

help ~thanks~~

Link to comment

QUOTE(phillip @ Mar 4 2008, 03:01 AM)

but still i want to know what problam with my code:

I'm not sure you're using the functions correctly, but I don't feel like starting to read up on them to understand how they work. Essentially, a UINT should be a U32.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.