Your pistol will be either a Restricted or Prohibited Firearm. Any pistol magazine with over a 10 round capacity will be a Prohibited Device.
From the Canadian Border Services Agency website: https://cbsa-asfc.gc.ca/publications/dm-md/d19/d19-13-2-eng.html
For Restricted Firearms:
Licensed non-residents
99. Non-residents may import restricted firearms into Canada or may move them in transit through Canada if they have:
(a) a valid purpose for importing the firearms;
(b) a valid Possession and Acquisition Licence (PAL) or Possession Only Licence (POL) authorizing possession of that class of firearm;
(c) a valid registration certificate for the firearm; and
(d) a valid Authorization to Transport (ATT).
100. If the non-resident does not have all of the documentation listed above for the restricted firearm(s) they wish to import, they must:
(a) have a valid purpose for importing the firearms;
(b) have a valid Authorization to Transport (ATT);
(c) complete a Non-resident Firearm Declaration (RCMP 5589) and, if applicable, a Non-resident Firearm Declaration Continuation Sheet (RCMP 5590);
(d) pay the confirmation fee; and
(e) have the form confirmed by the border services officer for either: the length of the ATT; or, 60 days, whichever is shorter.
(f) Once confirmed, in this case, the NRFD acts as a temporary registration for the firearm(s) listed.
Note: The confirmation fee is valid for 60 days from the date of payment and covers all firearms on the declaration. On any subsequent importation within the 60 day period of the same restricted firearm(s), the border services officer will match the firearm(s) to the original NRFD and check the validity of the ATT, but no additional fee is payable. If the non-resident does not have the ATT, CBSA may hold the firearm for 40 days while the non-resident satisfies the outstanding documentation requirements. Non-residents must make bona fide efforts to obtain the missing documentation as quickly as possible. Storage and transportation charges may apply.
For Prohibited:
Personal importations by non-residents
105. Non-residents may not import prohibited firearms. This includes movements in transit through Canada.
For Prohibited Device:
Personal importations by residents, non-residents, settlers, temporary and former residents
140. Residents, non-residents, settlers, temporary and former residents may not import prohibited weapons or devices.
So you cannot bring in a prohibited pistol and you cannot bring in a magazine with more than a 10 round magazine.
Best bet is to send it to a FFL in Alaska and pick it up there.
Bit more:
Definition of a Prohibited Firearm:
Prohibited Firearms
7. Prohibited firearms include most automatic, military firearms, and short-barrelled handguns. Prohibited firearms are:
(a) handguns that:
(i) have a barrel equal to or less than 105 mm (approximately 4.1 inches) in length; or
(ii) are designed or adapted to discharge a 25 or 32 calibre cartridge, unless these handguns are listed in the Regulations Prescribing Exclusions From Certain Definitions of the Criminal Code (International Sporting Competition Handguns), and are for use in international sporting competitions governed by the rules of the International Shooting Sport Federation;
(b) firearms adapted from rifles or shotguns, whether by sawing, cutting, or any other alteration, and that as adapted are:
(i) less than 660 mm (approximately 25.74 inches) in length; or
(ii) 660 mm (approximately 25.74 inches) or more in length but have a barrel less than 457 mm (approximately 17.82 inches) in length.
(c) automatic firearms, even if they have been altered to discharge only one projectile with each pull of the trigger; or
(d) any firearm that is prescribed to be a prohibited firearm as listed in the Regulations Prescribing Certain Firearms and Other Weapons, Components and Parts of Weapons, Accessories, Cartridge Magazines, Ammunition and Projectiles as Prohibited, Restricted or Non-restricted.
Note: (b) (i) (ii) Length means total length of firearm including the barrel.
Restricted Firearm:
Restricted Firearms
8. Restricted firearms are:
(a) handguns that are not prohibited firearms;
(b) firearms that are semi-automatic, centre-fire, have a barrel less than 470 mm long (approximately 18.33 inches), and are not prohibited firearms;
(c) firearms that are designed or adapted to be fired when reduced to a length of less than 660 mm (approximately 25.74 inches) by folding, telescoping, or otherwise; or
(d) any firearm that is prescribed to be a restricted firearm as listed in the Regulations Prescribing Certain Firearms and Other Weapons, Components and Parts of Weapons, Accessories, Cartridge Magazines, Ammunition and Projectiles as Prohibited, Restricted or Non-restricted.
Valid purposes include:
(a) hunting during the applicable hunting season;
(b) use in competitions;
(c) repair;
(d) re-enactments;
(e) in transit movement (i.e., moving in the most direct route possible from point A to point B, through Canada); or
(f) protection against wildlife in remote areas.