Previous | Contents | Next
3.2.17 IBandiCapture::CaptureImage
ÇöÀç Ãâ·ÂµÇ°í Àִ ȸéÀ» À̹ÌÁö ÆÄÀϷΠĸóÇÕ´Ï´Ù.
ÀÌ ÇÔ¼ö´Â D3DXSaveSurfaceToFile()º¸´Ù ÈξÀ ºü¸¥¼Óµµ·Î µ¿ÀÛÇÕ´Ï´Ù.
HRESULT CaptureImage(LPCWSTR pwszFilePath, INT nFileType, INT nQuality, INT nCaptureMode,
BOOL bIncludeCursor, LONG_PTR lpParam1, LONG_PTR lpParam2)
-
ÆĶó¸ÞÅÍ
-
LPCWSTR pwszFilePath
-
[in] ĸóµÈ JPEG ÆÄÀÏÀÌ ÀúÀåµÉ ÆÄÀÏ °æ·Î¸í. ÆÄÀÏÀÇ È®ÀåÀÚ ±îÁö Á¤È®È÷ °æ·Î¸¦ ÁöÁ¤ÇÏ¿©¾ß ÇÕ´Ï´Ù.
-
INT nFileType
-
[in] ÀúÀåÇÒ ÆÄÀÏÀÇ Á¾·ù¸¦ ÁöÁ¤ÇÕ´Ï´Ù.
-
BCAP_IMAGE_BMP
-
BMP Æ÷¸ËÀ¸·Î ÀúÀåÇÕ´Ï´Ù. BMP Æ÷¸ËÀº µ¥ÀÌÅ͸¦ ¾ÐÃàÇÏÁö ¾Ê½À´Ï´Ù.
-
BCAP_IMAGE_JPG
-
JPEG Æ÷¸ËÀ¸·Î ÀúÀåÇÕ´Ï´Ù. JPEG Æ÷¸ËÀº ¼Õ½Ç¾ÐÃà Æ÷¸ËÀ̸ç, À̹ÌÁö µ¥ÀÌÅÍÀÇ ÈÁú ¿È°¡ ÀÖ½À´Ï´Ù.
-
BCAP_IMAGE_PNG
-
PNG Æ÷¸ËÀ¸·Î ÀúÀåµË´Ï´Ù. D3D9ȸéÀ» ĸóÇÒ °æ¿ì, È¸é ¸ðµå°¡ D3DFMT_A8R8G8B8 À̸é ALPHA°ªÀ» Æ÷ÇÔÇÏ¿© 32bpp·Î ÀúÀåµÇ¸ç, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â 24bpp·Î ÀúÀåµË´Ï´Ù. ÀÌ Æ÷¸ËÀº ȸ鿡 ·»´õ¸µµÈ µ¥ÀÌŸ¸¦ ¾ËÆÄ°ª±îÁö ÀúÀåÇÏ°íÀÚ ÇÒ¶§ À¯¿ëÇÕ´Ï´Ù. PNG Æ÷¸ËÀº ºñ¼Õ½Ç ¾ÐÃàÆ÷¸ËÀÔ´Ï´Ù.
-
INT nQuality
-
[in] JPEG ÆÄÀÏ·Î ÀúÀå½Ã JPEG À̹ÌÁöÀÇ Ç°ÁúÀ» °áÁ¤ÇÕ´Ï´Ù. 1 ~ 100 ±îÁö ¼³Á¤ÀÌ °¡´ÉÇϸç 100¿¡ °¡±î¿ï ¼ö·Ï Ç°ÁúÀÌ ÁÁ½À´Ï´Ù. º¸Åë 80Á¤µµ¸é Àû´çÇÑ ÈÁúÀÇ ¿µ»óÀ» ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.
-
INT nCaptureMode
-
[in] ĸó ¸ðµå¸¦ °áÁ¤ÇÕ´Ï´Ù.
-
BCAP_MODE_D3D9
-
BCAP_MODE_D3D9_SCALE
-
BCAP_MODE_D3D9_SWAPCHAIN
-
D3D9 ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BCAP_MODE_D3D8
-
D3D8 ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BCAP_MODE_D3D10
-
D3D10 ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BCAP_MODE_GL
-
OpenGL ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BCAP_MODE_DDRAW7
-
DDRAW7 ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BCAP_MODE_D3D11
-
D3D11 ȸéÀ» ĸóÇÕ´Ï´Ù.
-
BOOL bIncludeCursor
-
[in] ĸóµÈ À̹ÌÁö¿¡ ¸¶¿ì½º Ä¿¼ À̹ÌÁö¸¦ Æ÷ÇÔ½ÃųÁö ¿©ºÎ¸¦ °áÁ¤ÇÕ´Ï´Ù.
-
LONG_PTR lpParam1
-
[in] nCaptureMode ¸ðµå¿¡ µû¸¥ µð¹ÙÀ̽º Æ÷ÀÎÅÍ°ªÀ» ÆĶó¸ÞÅÍ·Î Àü´ÞÇÕ´Ï´Ù.
-
BCAP_MODE_D3D9 : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ Direct3D9 ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDirect3DDevice9*)
-
BCAP_MODE_D3D9_SCALE : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ Direct3D9 ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDirect3DDevice9*)
-
BCAP_MODE_D3D9_SWAPCHAIN : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ Direct3D9 SwapChain ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDirect3DSwapChain9*)
-
BCAP_MODE_D3D8 : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ Direct3D8 ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDirect3DDevice8*)
-
BCAP_MODE_D3D10 : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ SwapChain ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDXGISwapChain*)
-
BCAP_MODE_GL : ÆĶó¸ÞÅ͸¦ ¼³Á¤ÇÏÁö ¾ÊÀ½ (NULL)
-
BCAP_MODE_DDRAW7 : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ DDRAW7 ¹é¹öÆÛ ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDirectDrawSurface7*)
-
BCAP_MODE_D3D11 : ĸó ´ë»óÀÌ µÇ´Â ¿µ¿ªÀÇ SwapChain ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ (IDXGISwapChain*)
-
¸®ÅÏ°ª
-
BCERR_INVALIDARG
-
ÀÔ·ÂµÈ ÆĶó¸ÞÅÍ°¡ À߸øµÇ¾ú½À´Ï´Ù.
-
BCERR_FILE_CREATE
-
À̹ÌÁö ÆÄÀÏÀ» »ý¼ºÇÒ ¼ö ¾ø½À´Ï´Ù.
-
BCERR_FILE_WRITE
-
À̹ÌÁö ÆÄÀÏÀ» ÀúÀåÇÒ ¼ö ¾ø½À´Ï´Ù.
-
BC_OK
-
À̹ÌÁö ĸó°¡ Á¤»óÀûÀ¸·Î ¼öÇàµÇ¾ú½À´Ï´Ù.
Copyright(C) 2008-2017 Bandicam.com, https://www.bandicam.com
Bandi Capture Library 2.5.0.250 created : 2017-02-03 ¿ÀÈÄ 3:34:51