CaptureEXE method (Screen Control)
Builder Syntax |
int __fastcall CaptureEXE(System::AnsiString pFileName, int iResType, char * pResourceID, bool bIsNumberResourceID, bool bCaptureByIndex); |
Delphi Syntax |
function CaptureEXE (pFileName: String; iResType: Integer; pResourceID: pChar; bIsNumberResourceID: Boolean; bCaptureByIndex: Boolean): Integer; |
Overview |
Refer to Implementing Screen Capture. |
Remarks
Captures the resource identified by pResourceID and iResType from the specified executable file.
If you want to pass a string ID in pResourceID, then set bIsNumberResourceID to FALSE and set bCaptureByIndex to FALSE.
If you want to pass a numeric ID in pResourceID, then set bIsNumberResourceID to TRUE and set bCaptureByIndex to FALSE.
If you want to pass an index in pResourceID, then set bIsNumberResourceID to TRUE and set bCaptureByIndex to TRUE.
This method does not require the use of the hot key for capture.
See Also